Commit Graph

25 Commits

Author SHA1 Message Date
Aparup Banerjee 6c847bbb9e MDL-31636 redirect debugging to error log for ajax 2013-02-19 11:35:56 +08:00
Aparup Banerjee cff7e83d2d MDL-37687 use $SITE to allow non-logged-in users to browse comment via ajax 2013-02-12 16:19:40 +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
Dongsheng Cai df796bf0ec MDL-24540, fixed comments UI for not logged in users 2010-10-07 08:18:56 +00:00
Petr Skoda 6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Dongsheng Cai a85265f486 "MDL-23917, fixed ignore_premission logic" 2010-08-26 09:25:13 +00:00
Dongsheng Cai 287ccb31da "MDL-23917, by pass permission when view comments in front page" 2010-08-25 07:47:22 +00:00
Dongsheng Cai 7ade777c54 "MDL-23917, added component parameter to comment api" 2010-08-25 06:24:17 +00:00
Dongsheng Cai 18fb4d75f5 "MDL-23917, move action parameter above" 2010-08-25 05:56:48 +00:00
Dongsheng Cai d846488e65 "MDL-23917, display comments for not logged in users" 2010-08-25 03:50:19 +00:00
Petr Skoda bce08d9a37 MDL-23739 improved ajax headers - now using application/json with the exception of YUI upload 2010-08-10 08:50:08 +00:00
Dongsheng Cai 467c85d732 MDL-19118, set $PAGE->context for comment_ajax.php 2010-04-14 05:01:43 +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
Petr Skoda 2696b976ae MDL-21940 comments migrated to new ajax error handler 2010-03-28 09:52:50 +00:00
Dongsheng Cai 08a22be6af "MDL-19118, fixed comments api in format_text function" 2010-03-19 04:53:54 +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 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 b9f6ca7052 "MDL-19118, add comments counter" 2009-10-02 06:22:17 +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