17 Commits

Author SHA1 Message Date
Marina Glancy
c0e3e9da37 MDL-54116 block_comments: warnings when commenting outside of a course 2016-05-26 10:19:31 +08:00
Simon Coggins
fd1d829500 MDL-35991 - use PARAM_LOCALURL for local urls 2013-01-07 10:09:20 +08:00
Dongsheng Cai
35453657a2 MDL-30984 comment API, check and update DocBlock 2012-02-15 11:21:35 +08:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02: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
Petr Skoda
6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Dongsheng Cai
287ccb31da "MDL-23917, by pass permission when view comments in front page" 2010-08-25 07:47:22 +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
Petr Skoda
2c3c4c8d63 MDL-21940 removing the old custom exception handling from nonajax code too + redirects without messags are always better 2010-03-28 10:08:18 +00:00
Dongsheng Cai
6aee047797 "MDL-19118, fixed the code of requiring moodle course object" 2010-03-17 02:41:01 +00:00
Dongsheng Cai
80555111bc "MDL-19118, replace course it with course object to improve performance" 2010-03-16 08:09:19 +00:00
Dongsheng Cai
5758852313 "MDL-19118, fixed security bug in comments, thanks to Petr" 2010-03-16 07:57:45 +00:00
Dongsheng Cai
88342307b0 "MDL-21786, remove old comment lib file" 2010-03-15 08:03:18 +00:00
Dongsheng Cai
36051c9e91 "MDL-21786, moving comments library files to consistency" 2010-03-15 07:59:28 +00:00
dongsheng
15894c65e0 "MDL-19118, use exception instead of error code to check comments api errors" 2009-10-12 05:46:34 +00:00
dongsheng
21afd0461d "MDL-19118, remove moodleforms, check contextlevel, remove trailing whitespace" 2009-07-27 07:32:56 +00:00
dongsheng
1bcb7eb540 "MDL-19118, comments api" 2009-07-24 02:44:44 +00:00