Commit Graph

55 Commits

Author SHA1 Message Date
Sam Hemelryk 9da3c2efad MDL-28503 Removed the ability for plugins to override comment capabilities and the defaults associated with it 2011-07-28 13:40:06 +08:00
Sam Hemelryk 5b239d6e8e MDL-27456 Fixed typo in comment/lib.php after last refatoring 2011-05-13 11:18:19 +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 1c64a9cd58 comment MDL-27024 Fixed bug that arose when a comment section didnt require pagination but the JS still looked for pageination HTML in the page 2011-04-11 10:31:13 +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 d664d673a7 comment MDL-27024 Fixed up whitespace issues 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
Sam Hemelryk 8aab32297d comment MDL-27024 Cleaned up HTML output in comment class 2011-04-11 10:31:13 +08:00
Sam Hemelryk 2f181b8c83 comment MDL-27024 Cleaned up use of undefined property $this->link 2011-04-11 10:31:13 +08:00
Sam Hemelryk 367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Dongsheng Cai 034699d20a MDL-24657, fixed xhtml in comment 2010-10-14 03:21:31 +00:00
Petr Skoda cd811d1a60 MDL-24650 xhtml strict fix in comments 2010-10-13 17:28:17 +00: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
Petr Skoda fbaea88faa MDL-24321 switching to stdClass in /c*/ 2010-09-21 08:13:11 +00:00
Dongsheng Cai c343ddf84e MDL-24157, clean up page_comments when reseting courses 2010-09-16 07:38:52 +00:00
Dongsheng Cai 2be0842e6b "NOBUG rename username from comment api, it supposed to be secret" 2010-08-25 09:11:36 +00:00
Dongsheng Cai e6efa0cfdb "MDL-23917, fixed the capability check, comment api" 2010-08-25 08:20:46 +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 e993559256 "MDL-23917, automatically start comments block" 2010-08-25 06:15:01 +00:00
Dongsheng Cai d846488e65 "MDL-23917, display comments for not logged in users" 2010-08-25 03:50:19 +00:00
Dongsheng Cai b667ba0049 "COMMENT MDL-19118 improve nonjs comment ui link" 2010-08-02 08:16:51 +00:00
Dongsheng Cai 650a0c0a66 COMMENT MDL-23585 delete comments when centain contexts are being deleted 2010-08-02 07:44:45 +00:00
Dongsheng Cai 08a5988a0f MDL-23108, fixed userid 2010-07-13 09:07:19 +00:00
Dongsheng Cai 4df53d1a23 MDL-23108, fixed fullname in nonjs comment block 2010-07-12 08:49:11 +00:00
Martin Dougiamas 326d9aaac9 MDL-19118 Use 'Save comments' instead of 'Submit' for usability 2010-07-09 03:57:41 +00:00
Dongsheng Cai 2522800428 MDL-21676, fixed comment code 2010-07-05 08:53:42 +00:00
Petr Skoda 3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
Martin Dougiamas fe40925a79 MDL-19118 DOn't throw an error when course isn't present, use SITEID for profile links 2010-05-03 16:14:05 +00:00
Dongsheng Cai cdbf0f5a4c "MDL-19118, fixed warning when comment blocks in course module context" 2010-04-19 08:09:05 +00:00
Dongsheng Cai 5b95daecb3 "MDL-19118, comments api requires courseid error message added" 2010-04-19 03:05:28 +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
Dongsheng Cai a53062105b MDL-21955, fixed potential page parameter collision in nonjs comments paging code 2010-04-08 05:38:44 +00:00
Dongsheng Cai 1150c1bdba MDL-21944, remve ### link target 2010-04-07 09:09:32 +00:00
Dongsheng Cai 4b201bc6f5 MDL-19118, comments api improvement 2010-04-07 06:42:17 +00:00
Dongsheng Cai a0e68ffc81 "MDL-21945, do not pass by reference to plugin_callback" 2010-03-30 07:49:21 +00:00
Dongsheng Cai b9a689e8e3 "MDL-21952, comments api, fixed delete_record" 2010-03-30 07:38:47 +00:00
Dongsheng Cai 07eebf2027 "MDL-21954, fixed theme pix output" 2010-03-29 06:07:31 +00:00
Dongsheng Cai 05fe3ab530 "MDL-21958, stop using "_" prefix for private functions" 2010-03-29 05:44:48 +00:00
Dongsheng Cai 1d51d1e001 "MDL-21950 use $PAGE->coures instead of $COURSE" 2010-03-29 05:37:22 +00:00
Dongsheng Cai c794595d5f "MDL-21943, fixed paging class name" 2010-03-29 05:29:53 +00:00
Dongsheng Cai b1d124d1df "MDL-21943, remove hard-coded style" 2010-03-29 04:06:13 +00:00
Dongsheng Cai 5dce9d1b18 "MDL-21942, use $PAGE->url instead of qualified_me" 2010-03-29 03:54:14 +00:00
Dongsheng Cai 08a22be6af "MDL-19118, fixed comments api in format_text function" 2010-03-19 04:53:54 +00:00
Dongsheng Cai 3e34183a97 "MDL-19118, improve comments pagination" 2010-03-18 09:57:32 +00:00
Dongsheng Cai 7695110029 "MDL-19118, improve comments block" 2010-03-18 09:42:30 +00:00
Dongsheng Cai 36051c9e91 "MDL-21786, moving comments library files to consistency" 2010-03-15 07:59:28 +00:00
Petr Skoda 929d7a8362 MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits 2010-02-17 16:59:41 +00:00