Commit graph

148 commits

Author SHA1 Message Date
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
skodak
42f103be4c MDL-18910 moving modedit features to modname_supports() 2009-04-21 08:57:20 +00:00
stronk7
b09f731cd8 Cleaning wiki recent activity URLs. MDL-15896 ; merged from 19_STABLE 2008-09-26 09:35:53 +00:00
skodak
f432bebff2 MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks; merged from MOODLE_19_STABLE 2008-07-24 21:59:13 +00:00
dongsheng
4d6ba0f097 "MDL-14129, fix print_error" 2008-06-15 10:47:14 +00:00
skodak
655b09ca8a MDL-15117 wiki converted and other regressions fixed 2008-06-04 21:34:14 +00:00
skodak
c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak
7cac0c4b2b MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +00:00
skodak
e2fc9a8850 MDL-14978 removed obsoleted get_course_students() 2008-05-25 11:06:23 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
skodak
95aa0af862 MDL-11472 fixed harcoded mdl_ prefix in sql queries 2007-09-27 08:41:19 +00:00
mattc-catalyst
27978302ad MDL-10888: groupings - mod/wiki - add support for groupings, use new groups functions 2007-08-23 04:56:39 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
poltawski
2ee60b4944 MDL-9742 Replaced stray tabs with spaces 2007-05-08 16:11:58 +00:00