177 Commits

Author SHA1 Message Date
Simon Coggins
fd1d829500 MDL-35991 - use PARAM_LOCALURL for local urls 2013-01-07 10:09:20 +08:00
Jason Fowler
b815ccd319 MDL-35979 - Commenting - Adding an empty alt attribute to the javascript generated delete icon for comments 2012-12-05 10:00:38 +08:00
Eloy Lafuente (stronk7)
9986cd9013 NOBUG: Trivial whitespace fix to quickly fix ongoing CI status. 2012-11-07 11:49:56 +01:00
Ankit Agarwal
b512b9dee2 MDL-31010 comments: setup_course should update if passed courseid is different from the cached one 2012-10-11 10:55:37 +08:00
Nadav Kavalerchik
9fe40de660 MDL-35481 - Invert "search option" listbox "open" arrow, when in RTL mode (page: manual user course registration ) and Personal Blog page 2012-09-22 21:05:14 +03:00
Ankit Agarwal
5fbe2118bc MDL-34549 libraries: Changing strictness of context::instance_by_id() when required 2012-08-24 11:30:35 +08:00
Ankit Agarwal
d197ea4300 MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
Petr Škoda
3993f027db MDL-34741 use 2in3 in comments 2012-08-11 20:40:10 +02:00
Sam Hemelryk
e432bf2472 Merge branch 'MDL-34471-master' of git://github.com/ankitagarwal/moodle 2012-08-08 15:05:39 +12:00
Andrew Davis
a2592fecd1 MDL-22937 mod_chat: switched chat from tables to div/span + css and made chat, comment and message formats more similar 2012-08-03 08:40:49 +08:00
Ankit Agarwal
bf0f06b1be MDL-34471 libraries: Replace all uses of get_context_instance() with respective context_XXXX::instance() method 2012-08-02 15:37:38 +08:00
Andrew Robert Nicols
088258c160 MDL-33186 Ensure that the comment textarea exists before toggling it 2012-05-22 11:24:24 +01:00
Petr Skoda
54352ac979 MDL-32251 more E_STRICT fixes 2012-03-30 19:02:58 +02:00
Petr Skoda
9aa09d8fed MDL-32251 more E_STRCT fixes 2012-03-29 16:29:29 +02:00
Ankit Agarwal
efd6defecb MDL-28592 blocks: changing the arguments to moodle_url::out() 2012-03-20 10:57:12 +08:00
Ankit Agarwal
db4ac453c3 MDL-28952 blocks: Fixing the extra escaping issue with profile links 2012-03-16 14:27:05 +08:00
Dongsheng Cai
35453657a2 MDL-30984 comment API, check and update DocBlock 2012-02-15 11:21:35 +08:00
Rajesh Taneja
2d8732d199 MDL-30375 Blocks: Comments block will show blank textbox rather then hiding and 'add a comment' will be visible if it's empty 2011-11-23 10:32:14 +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
Sam Hemelryk
5167f4c9b1 MDL-28503 Removed the ability for plugins to override comment capabilities and the defaults associated with it 2011-07-28 13:39:21 +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
99f2cd5435 comment MDL-27024 Removed last check within comment.js for block_comment env 2011-04-11 10:31:13 +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
Dongsheng Cai
7cb854fe60 MDL-25331, fixed comment javascript 2010-11-22 02:20:05 +00: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
Petr Skoda
7e3b826516 fixed unterminated JS statements 2010-09-17 11:56:18 +00:00
Dongsheng Cai
c343ddf84e MDL-24157, clean up page_comments when reseting courses 2010-09-16 07:38:52 +00:00
Dongsheng Cai
4ef81b6cd8 "MDL-23917, fixed arrows in comments" 2010-08-27 10:02:02 +00:00
Dongsheng Cai
9e9dd1a356 "NOBUG, change loading image, comment api" 2010-08-27 07:21:54 +00:00
Dongsheng Cai
a85265f486 "MDL-23917, fixed ignore_premission logic" 2010-08-26 09:25:13 +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
d37e440a7b "MDL-23917, fixed js error in comment block" 2010-08-25 06:05:02 +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
Dongsheng Cai
6b9be73729 "MDL-23915 fixed js error in comment" 2010-08-25 03:28:34 +00:00