20 Commits

Author SHA1 Message Date
Petr Skoda
60c452b4a2 MDL-29504 fix invalid plugin callback names
Only modules are allow to use old style non-frankenstyle callback names, all other plugins must use full component prefix.
2011-09-27 00:37:18 +02:00
Dongsheng Cai
480fe33538 MDL-26854 Added comments block lib.php, it contains comments callbacks 2011-05-05 11:22:39 +08:00
Dongsheng Cai
c1951ea953 MDL-26854 COMMENT
1. added pluginname_comment_validate callback to comments api
2. change permission callback defaults to false
3. Tidied up serveal areas of comments and implemented callback to
ignore system permissions for view (credits to Sam Hemelryk)

AMOS BEGIN
    MOV [modulerejectcomment,error],[callbackrejectcomment,error]
AMOS END
2011-05-04 17:23:46 +08:00
Sam Hemelryk
93b86f6239 comment MDL-27024 Removed last reference to the comment block within the comment API and used the options properly 2011-04-11 10:31:13 +08:00
Sam Hemelryk
116a48b133 comment MDL-27024 made notoggle and autoload into proper options to remove comment block conditions from comment API 2011-04-11 10:31:13 +08:00
Petr Skoda
6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Dongsheng Cai
e929eda61e MDL-24157, remove instance_delete function block, it is supposed to used to display comments only 2010-09-16 08:00:31 +00:00
Dongsheng Cai
d846488e65 "MDL-23917, display comments for not logged in users" 2010-08-25 03:50:19 +00:00
Petr Skoda
8571833f0b MDL-23069 moving version and cron info into standard version.php - finally, yay! 2010-07-04 12:18:22 +00:00
Dongsheng Cai
af140288c4 MDL-8224, minor changes to tweak ui 2010-05-20 06:26:40 +00:00
Dongsheng Cai
29323f27ed "MDL-19118 fixed a context id" 2010-05-17 03:20:05 +00:00
Dongsheng Cai
442636301f MDL-19839, rename file area for comments block, and migrating old comments in that area, thanks Eloy's migrating sql 2010-04-28 06:08:31 +00:00
Dongsheng Cai
4ecc7bfce4 "MDL-19118, use page context instead of block context" 2010-04-13 05:39:34 +00:00
Petr Skoda
3588897512 MDL-22054 startinging blocks to pluginname
AMOS START
 CPY [comments,core],[pluginname,block_comments]
AMOS END
2010-04-11 11:14:03 +00:00
Dongsheng Cai
866354a905 MDL-21951, improve comments performance 2010-04-09 09:03:51 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Dongsheng Cai
5738fbfd15 "MDL-21786, fixed function name" 2010-03-15 08:39:51 +00:00
Dongsheng Cai
36051c9e91 "MDL-21786, moving comments library files to consistency" 2010-03-15 07:59:28 +00:00
nicolasconnault
b58961acaa MDL-20565 When editing is off, hiding blocks whose sub-system is disabled at site level. When editing is on, printing a "[subsytem] is disabled" message. 2009-10-15 01:36:50 +00:00
dongsheng
346ac86b10 "MDL-19839, comments block" 2009-07-24 02:52:09 +00:00