361 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
67fcc9989a Merge branch 'MDL-27829_block_pagetype_master' of git://github.com/andyjdavis/moodle 2011-07-01 11:51:26 +02:00
Andrew Davis (andyjdavis)
346a32a75b MDL-27829 blocks: added some more page types to some _page_type_list() functions 2011-07-01 15:43:26 +08:00
Sam Hemelryk
f86e19b1ee Merge branch 'MDL-27829_block_pagetype_master' of git://github.com/andyjdavis/moodle 2011-06-29 17:04:13 +08: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
6708a1f525 MDL-27810 portfolio: Added ->portfolioenabled checks before creating portfolio buttons to avoid initialising portfolio requirements 2011-06-21 10:35:53 +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
Eloy Lafuente (stronk7)
f2e725930b MDL-27471 rating - whitespace cleanup 2011-05-25 16:54:51 +02:00
Eloy Lafuente (stronk7)
5b52ce19c5 Merge branch 'MDL-27625_master' of git://github.com/stronk7/moodle
Conflicts:
	mod/forum/lib.php
2011-05-25 16:37:43 +02:00
Eloy Lafuente (stronk7)
5693d56cd8 MDL-27625 rating - consider RATING_UNSET_RATING a valid rating value 2011-05-25 12:00:16 +02: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
Sam Hemelryk
74cf2d0015 MDL-26704 Fixed up variable typo 2011-05-18 15:32:40 +08:00
Eloy Lafuente (stronk7)
94a74f549a MDL-26704 gradebook: adding TODO comment to avoid forgetting 2011-05-17 11:58:22 +02:00
Eloy Lafuente (stronk7)
dcc26efb70 Merge branch 'MDL-26704_user_outline_report_master' of git://github.com/andyjdavis/moodle 2011-05-17 11:55:04 +02:00
Andrew Davis (andyjdavis)
6ac149dce3 MDL-27387 rating: prevent the submission of ratings outside of the range allowed by the current scale 2011-05-11 11:29:31 +08:00
Andrew Davis (andyjdavis)
4433f871f2 MDL-26704 gradebook: added some intelligence to the dates displayed on the user outline activity report 2011-05-10 11:14:16 +08:00
Sam Hemelryk
d045b479f4 Merge branch 's9_MDL-26854_spam_comments_master_2' of git://github.com/dongsheng/moodle 2011-05-05 10:41:53 +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
Andrew Davis (andyjdavis)
778361c330 MDL-26838 rating: multiple fixes after a review of rating validation code 2011-05-04 15:43:30 +08:00
Andrew Davis (andyjdavis)
2c2ff8d5fc MDL-26838 rating: remove logged in users ability to sidestep rating validity checks 2011-05-01 18:50:13 +08:00
Aparup Banerjee
37695a6ff6 glossary MDL-22970 uid is reserved in ORACLE! changed to userid 2011-02-16 04:46:20 +01:00
Aparup Banerjee
fb473042ae glossary MDL-22970 changed fieldname so that MSSQL does not complain about same fieldnames
something should be done about this in the driver
2011-02-15 09:33:25 +01:00
Aparup Banerjee
fe1776b9f2 MDL-22970 glossary - perf. improvements in recent activity 2011-02-15 00:33:13 +01:00
Eloy Lafuente (stronk7)
ec577b0538 MDL-25708 recordsets - glossary module 2011-01-25 19:59:01 +01:00
Petr Skoda
99d19c13ae MDL-25855 some more missing filelib includes 2011-01-23 18:34:41 +01:00
Eloy Lafuente (stronk7)
dde5bfbcf7 MDL-25178 glossary - add completionentries rule 2010-12-20 20:02:04 +01:00
Andrew Davis
ae27608564 rating MDL-22412 removed references to legacy ratings tables 2010-11-25 06:40:27 +00:00
Eloy Lafuente
3b953472ac MDL-25227 glossary - fix delete_instance() and clean orphaned entries 2010-11-15 15:16:57 +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
Petr Skoda
ea7a9614e7 MDL-24859 adding missing glossary ajax text formatting (patch by Jason Platts) + adding missing context param to formatting options 2010-10-26 15:05:04 +00:00
Petr Skoda
6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Andrew Davis
2ac5625874 rating MDL-23586 shifted deletion of ratings out of per module delete instance functions and into delete_context() 2010-09-20 03:25:35 +00:00
Aparup Banerjee
d484419c61 assignment MDL-24159 made glossary_reset_userdata clear glossary_alias of relevant data. 2010-09-20 01:48:34 +00:00
Petr Skoda
72d2982eb1 hmm, it is reset course not courses 2010-09-18 12:08:16 +00:00
Petr Skoda
91421f3ead a few spelling fixes 2010-09-18 12:07:01 +00:00
Dongsheng Cai
674abb945e MDL-24087, removed commments deletion from module lib.php 2010-09-08 09:06:00 +00:00
Petr Skoda
4758639429 MDL-24080 converting remaining NOT LIKEs 2010-09-04 14:52:47 +00:00
Petr Skoda
e99cfeb83f MDL-24079 glossary now using new sql_like 2010-09-04 14:15:48 +00:00
Petr Skoda
dd88de0ebd MDL-14679 fixed remaining old style update_record()s 2010-09-03 18:01:25 +00:00
Dongsheng Cai
d846488e65 "MDL-23917, display comments for not logged in users" 2010-08-25 03:50:19 +00:00
Petr Skoda
1ca1c8f820 MDL-23901 copy/paste style migration of glossary to export via pluginfile.php 2010-08-23 14:42:31 +00:00
Dongsheng Cai
650a0c0a66 COMMENT MDL-23585 delete comments when centain contexts are being deleted 2010-08-02 07:44:45 +00:00
Petr Skoda
35716b8682 MDL-22001 filter_text() and filter_string() now use context parameter instead of courseid, PAGE->context is used only as a fallback; moved comment stuff away from format_text() because it does not belong there; filterlib is not using courseid except for legacy filters; fixed coding style in filters;Êimproved php docs; fixed upgrade of filters (should be in plugins, not core) 2010-07-30 20:51:01 +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
Andrew Davis
274f98409a rss MDL-23391 refactored rss feeds to make them standard across components 2010-07-20 07:49:34 +00:00
Andrew Davis
452d77ed99 glossary MDL-23373 made glossary save rating settings properly when its first created 2010-07-20 02:04:11 +00:00
Andrew Davis
aa60291e12 rss MDL-23391 alter the rss urls to be component names ie mod_forum instead of just module name ie forum 2010-07-19 10:57:52 +00:00
Petr Skoda
72c4be397c MDL-23204 fixed import/export format issues 2010-07-18 08:52:21 +00:00
Andrew Davis
4ce274696f glossary MDL-23360 fixed some display problems with the glossary 2010-07-18 08:28:09 +00:00
Andrew Davis
0074247f95 rating MDL-23187 added rating caps to those listed within activity cap check pages 2010-07-16 07:42:10 +00:00