112 Commits

Author SHA1 Message Date
Petr Skoda
f20edd5208 MDL-32094 fix various E_STRICT compatibility problems 2012-03-18 18:37:24 +01:00
Eloy Lafuente (stronk7)
d395ad7042 Revert "[MDL-31708] - wiki 2.0 non-group member can see edit option in navigation block."
This reverts commit ebadb9b9a674f5e91ddb7460ea3f9dafc6c34523.
2012-03-09 01:58:09 +01:00
Eloy Lafuente (stronk7)
61b0512c44 Revert "MDL-31708 wiki groups: whitespace fix"
This reverts commit 6273fb83770305c2631e13c309d1409d75c5b3d0.
2012-03-09 01:58:01 +01:00
Eloy Lafuente (stronk7)
6273fb8377 MDL-31708 wiki groups: whitespace fix 2012-03-06 11:45:34 +01:00
Gilles-Philippe Leblanc
ebadb9b9a6 [MDL-31708] - wiki 2.0 non-group member can see edit option in navigation block. 2012-03-06 10:20:42 +08:00
Eloy Lafuente (stronk7)
d8c9ff403b Merge branch 's17_MDL-30973_file_docblock_master' of git://github.com/dongsheng/moodle 2012-03-01 00:25:18 +01:00
Dongsheng Cai
d2b7803e5a MDL-30973 Files API, check and update DocBlock 2012-02-15 12:48:57 +08:00
Dongsheng Cai
35453657a2 MDL-30984 comment API, check and update DocBlock 2012-02-15 11:21:35 +08:00
Eloy Lafuente (stronk7)
4a94d2c61f Merge branch 'MDL-27001-master' of git://github.com/sammarshallou/moodle 2011-09-06 15:50:26 +02:00
sam marshall
3e4c243500 MDL-27001 'Show description' feature part 3: Implementation for all modules
For modules that still used the 'old' generic object return from _get_coursemodule_info instead of returning a cached_cm_info object, I changed them to use the new format as part of this. This made a few areas of code regarding onclick links slightly nicer.
2011-09-06 11:03:06 +01:00
Rajesh Taneja
ac0a82cf92 MDL-23520 mod-wiki-2.0: Added delete page and version feature as it was in 1.9 2011-08-31 13:54:05 +08:00
sam marshall
05b7cd7ae9 MDL-27491 Add 'complete on view' support to wiki, survey 2011-08-10 10:56:14 +01:00
Andrew Davis (andyjdavis)
b38e2e28a1 MDL-27829 blocks: altered the algorithm used to find plugin page types 2011-06-27 12:27:41 +08:00
Sam Hemelryk
46d3b9be73 Merged branch 's7_MDL-26105_block_settings_master' git://github.com/andyjdavis/moodle.git with changes 2011-06-13 16:54:52 +08:00
Dongsheng Cai
b1627a92e5 MDL-26105 Block settings should contains less options, and be more user friendly
AMOS BEGIN
    MOV [page-blog-index, pagetype], [page-blog-index, blog]
    MOV [page-blog-x, pagetype], [page-blog-x, blog]
    MOV [page-tag-x, pagetype], [page-tag-x, tag]
    MOV [page-course-view-weeks, pagetype], [page-course-view-weeks, format_weeks]
    MOV [page-course-view-weeks-x, pagetype], [page-course-view-weeks-x, format_weeks]
    MOV [page-course-view-topics, pagetype], [page-course-view-topics, format_topics]
    MOV [page-course-view-topics-x, pagetype], [page-course-view-topics-x, format_topics]
AMOS END
2011-06-09 13:51:14 +08:00
Dongsheng Cai
12c9bbbdd2 MDL-26392 WIKI added file managment support to wiki editor 2011-06-03 11:22:18 +08:00
Sam Hemelryk
2b04c41c58 MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
* Added the component and ratingarea fields and implemented it throughout
  the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
  API.
2011-05-23 12:35:39 +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
f0f77dfaae MDL-24888, wiki tags' itemtype should be wiki_pages, taglib will try to query table by itemtype in cron 2010-10-28 07:51:59 +00:00
Sam Marshall
1c79d7db3b survey, wiki MDL-24712 Survey and wiki claim to support grades, outcomes but in fact do not 2010-10-18 10:57:41 +00:00
Dongsheng Cai
7c61b94c1c WIKI MDL-24162 added comments deletion to wiki reset function, added $data->reset_wiki_tags switch 2010-09-20 06:30:24 +00:00
Aparup Banerjee
0cdbbc17df course MDL-24162 added wiki_reset_userdata() to delete tag instances during course reset. 2010-09-20 06:02:14 +00:00
Jordi Piguillem
f6e56f2890 [MDL-23556]
Fixing this issue at wiki creation.
2010-08-03 17:28:17 +00:00
Jordi Piguillem
621f3ef519 [MDL-23130]
Fixing sql code style and sql injection problems
2010-07-30 10:49:41 +00:00
Dongsheng Cai
16b86ae420 MDL-23187, added extra comments caps to modules (glossary, data and wiki) 2010-07-27 10:05:12 +00:00
Jordi Piguillem
532d319d50 MDL-23136
I moved the require to the function that needed it.
2010-07-26 10:09:22 +00:00
Andrew Davis
e8930396ee course MDL-22973 altering a pointless 2.0 function to match the equally pointless 1.9 version to at least avoid a php error 2010-07-25 05:05:44 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
David Mudrak
75a8ba5461 NOBUG wiki: Fixing wiki_scale_used_anywhere()
Firstly, the conditions array was passed incorrectly. Secondly, the
scale id would be probably saved as negative integer. Thirdly, the
column does not exist in the new wiki yet.
2010-06-01 13:01:20 +00:00
Jordi Piguillem
3ca72eb7a3 [MDL-22352]
Fixing this problem.
2010-05-14 08:20:21 +00:00
Jordi Piguillem
ebe93f74da [MDL-22112]
Marc's Patch

Moodle 2 Backups
2010-05-12 08:26:34 +00:00
Dongsheng Cai
e8cf27e860 MDL-22112, wiki attachments should be belong to subwiki not page id 2010-05-03 05:58:46 +00:00
Dongsheng Cai
00710f4cc1 MDL-22112, push wiki 2.0 into head 2010-05-02 11:28:11 +00:00
Petr Skoda
98da60215e MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints 2010-04-07 07:37:12 +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
f8dab96615 MDL-20204 a lot more steps away from html_select 2010-02-10 09:37:50 +00:00
Eloy Lafuente
eb712e4280 MDL-21265 wiki - fix problem for students not able to see entries in other groups until own entry is created by teacher. Merged from 19_STABLE 2010-01-21 23:43:11 +00:00
Petr Skoda
14a960ac7b MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 19:53:01 +00:00
samhemelryk
87a6540343 mod-wiki MDL-19817 Added set_url calls, replaced deprecated functions 2009-09-24 08:58:36 +00:00
nicolasconnault
7ce73e926e MDL-19817 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:46:39 +00:00
nicolasconnault
56da74f311 MDL-19817 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:17:28 +00:00
nicolasconnault
7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault
928c9b4af6 MDL-19817 Converted calls to popup_form() 2009-08-10 03:37:57 +00:00
nicolasconnault
9ab0a4fac1 MDL-19817 Upgraded calls to print_headline 2009-08-06 01:38:00 +00:00
nicolasconnault
6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
skodak
17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
skodak
bb4b6010f3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:17:10 +00:00
samhemelryk
e5cc530bca mod lib MDL-19294 Added boilerplate and phpdocs 2009-05-28 06:32:35 +00:00
skodak
b4615a96ca MDL-18934 removed legacy grading support 2009-04-22 21:29:54 +00:00
skodak
dc5c2bd9eb MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:17:21 +00:00