525 Commits

Author SHA1 Message Date
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
Nadav Kavalerchik
b41fc49c26 CSS MDL-26013 Fixed several display bugs when using right to left languages 2011-04-14 15:56:10 +08:00
Dongsheng Cai
cfdac90f2b MOD-WIKI MDL-26213
1. Rewrite the image urls in diff.php and viewdiff.php
2. Fxied image urls in search.php
3. Add modcontext variable to avoid using duplicated
get_context_instance calls
2011-03-28 17:31:01 +08:00
Petr Skoda
23c799459d Revert "MDL-26392, nwiki and creole format wiki pages should support file attachments"
This reverts commit 0c5e812ba7c43856b5193f03b75a3f7a3d51d686  because UI is going to be reimplemented.
2011-03-08 10:11:07 +01:00
Dongsheng Cai
0c5e812ba7 MDL-26392, nwiki and creole format wiki pages should support file attachments 2011-03-04 15:44:20 +08:00
David Mudrak
d5b7f35d65 MDL-17357 Removed duplicate string definitions 2011-02-07 15:08:07 +01:00
Dongsheng Cai
79f0bac62e WIKI MDL-25501 1. check if wiki entry exists before insert new entry 2. check wiki version record mimetype, if it is not empty, try to export the content to file pool 2011-01-14 14:17:24 +08:00
Sam Hemelryk
912d099cc9 Merge branch 'MDL-25637' 2011-01-24 16:20:51 +08:00
Aparup Banerjee
2b9ce62e23 performance MDL-25637 converted tabs to spaces 2011-01-24 15:49:18 +08:00
Aparup Banerjee
f179cdb73e performance MDL-25637 some of more similar performance tweaks to come 2011-01-24 14:51:21 +08:00
Petr Skoda
99d19c13ae MDL-25855 some more missing filelib includes 2011-01-23 18:34:41 +01:00
Petr Skoda
90c42e0f43 MDL-25501 reverting PULL-95 2011-01-11 22:53:16 +01:00
Eloy Lafuente (stronk7)
742d877eaf Merge branch 'MDL-25793' of git://github.com/samhemelryk/moodle 2011-01-11 00:33:56 +01:00
Sam Hemelryk
d481e2a8e3 mod-wiki MDL-25793 Bumped version number and adjusted version number in new upgrade code. 2011-01-10 17:31:40 +08:00
Dongsheng Cai
77064d2b4f WIKI MDL-25501 1. check if wiki entry exists before insert new entry 2. check wiki version record mimetype, if it is not empty, try to export the content to file pool 2011-01-10 10:07:34 +08:00
Sam Hemelryk
1be9192173 mod-wiki MDL-25793 Fixed database discrepancies between a fresh install and an upgraded site within the Wiki module 2011-01-04 09:43:45 +08:00
Petr Skoda
c81f657b4a MDL-22449 bumping major version to lang invalidate caches and fix phpdocs 2010-12-27 13:48:10 +01:00
Dongsheng Cai
d92b5e7f01 mod-wiki MDL-22449 wiki module needs more help text 2010-12-14 02:43:17 +08:00
Dongsheng Cai
cc26cb3b33 MDL-10783, added span class and tag title 2010-12-20 17:00:34 +01:00
Dongsheng Cai
7b8b366218 Linking wiki pages to other moodle stuff by tag, and remove an unused function in wiki 2010-12-20 17:00:34 +01:00
Helen Foster
f705b4347a MDL-21250 capital letters removal 2010-12-02 18:22:19 +00:00
Dongsheng Cai
d2d1db7a84 "MDL-25406 WIKI, use swid instead of wid, gid, uid" 2010-11-29 08:30:15 +00:00
Dongsheng Cai
33ea845ab2 "MDL-25406 WIKI, fixed wid parameter" 2010-11-29 08:25:03 +00:00
Dongsheng Cai
ad85f2629d "NOMDL, fixed wiki upgrade, credits to David Mudrak" 2010-11-24 08:50:29 +00:00
Aparup Banerjee
70b082fa6d wiki MDL-24862 fixed wiki upgrade error (tested for mssql and mysql) 2010-11-19 08:36:49 +00:00
Dongsheng Cai
49550e4964 "MDL-24862 revert previous change, sub query works better" 2010-11-19 07:43:13 +00:00
Aparup Banerjee
bb7603e900 wiki MDL-24862 fixed the upgrade code breaking in mssql. 2010-11-19 06:10:33 +00:00
Dongsheng Cai
cece1791b0 MDL-23929 WIKI, fixed has_capability parameter 2010-11-19 02:59:10 +00:00
Dongsheng Cai
134d38ff18 MDL-22553, fixed wiki upgrade sql to running on sql server 2010-11-19 02:30:00 +00:00
Dongsheng Cai
d4800079b7 MDL-22898, fixed wiki preview 2010-11-17 09:41:25 +00:00
Dongsheng Cai
6f1b029b6f MDL-22449, improve wiki help info 2010-11-17 09:04:46 +00:00
Dongsheng Cai
af857b05c2 MDL-25250, fixed php coding error in wiki module 2010-11-17 08:43:16 +00:00
Helen Foster
77d9f6143d MDL-22449 wiki lang string polishing plus adding link strings 2010-11-16 16:59:00 +00:00
Eloy Lafuente
0f66acede0 MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
Sam Hemelryk
41a42c1d02 mod-wiki MDL-25003 Wiki history diff view now uses divs for layout rather than table which fixes the nasty overflow problems that were occurring 2010-11-11 04:02:37 +00:00
Dongsheng Cai
9bb0a9e7d8 MDL-23587 Italicise the names of unedited pages 2010-11-10 09:40:31 +00:00
Dongsheng Cai
86cfd27314 MDL-25070 fixed Wiki Search results in double breadcrumb node 2010-11-10 09:35:45 +00:00
Dongsheng Cai
d6887efca0 MDL-23636, fixed text when deleting or editing wiki comments 2010-11-10 09:24:57 +00:00
Dongsheng Cai
e0f0c304fc MDL-23677, fixed commenting on creole format wiki page 2010-11-10 09:09:14 +00:00
Dongsheng Cai
b9ec7dd288 MDL-24491, removed print_object in wiki upgrade code 2010-11-10 08:22:16 +00:00
Dongsheng Cai
231b0b30c4 MDL-23138 WIKI removed standard_head_html, use standard $OUTPUT->header() 2010-11-08 08:16:26 +00:00
Dongsheng Cai
77b8c5cafe MDL-23134, use foreach to read recordset instead of valid(), next() 2010-11-08 08:05:15 +00:00
Dongsheng Cai
52f3088482 MDL-23135, added defined('MOODLE_INTERNAL') || die; to old ewiki code 2010-11-08 07:52:54 +00:00
Dongsheng Cai
d2807da895 MDL-23139, fixed CSRF in wiki editing page 2010-11-08 07:43:18 +00:00
Dongsheng Cai
97f2eb45a1 MDL-23395, go straight to page editing page when title is not empyt and forceformat is set 2010-11-08 06:33:00 +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
980c237e6c MDL-25002, fixed wiki preview 2010-11-02 05:19:37 +00:00
Sam Hemelryk
37a75bee9f mod-wiki MDL-25001 Added missing arguments to optional_param_calls 2010-11-02 03:02:08 +00:00
Sam Marshall
49a874ce80 Unit tests MDL-24992 Fixed mod/wiki unit test CRLF issue (ahem, not using ereg) 2010-11-01 18:06:10 +00:00
Sam Marshall
cf72c96949 Unit tests MDL-24992 Fixed mod/wiki unit test CRLF issue 2010-11-01 18:04:26 +00:00