Commit graph

336 commits

Author SHA1 Message Date
Tom Lanyon
af9b14446d MDL-28701 Change uses of make_upload_directory(temp) to make_temp_directory(). 2011-09-10 10:43:49 +02:00
Tom Lanyon
7aa06e6ded MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir 2011-09-10 10:35:39 +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
ea2052ab8e MDL-27954 mod_database - fixed search navigation link 2011-07-11 10:09:44 +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)
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
Nadav Kavalerchik
b41fc49c26 CSS MDL-26013 Fixed several display bugs when using right to left languages 2011-04-14 15:56:10 +08:00
Petr Skoda
0393a8b706 MDL-26464 improve coding style and fix phpdocs 2011-03-14 20:54:00 +01:00
Rossiani Wijaya
e4e9611570 MDL-26464: remove 'add entry' link on setting block when it reachs the max number of records. Link removal does not apply to user who has data:manageentries capability (eg: teacher). 2011-03-11 10:03:14 +08:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
David Mudrak
dd8ab1fb4a MDL-26353 Database activity module: display help icon with the new help strings
This commit makes the new strings added by Helen used at the Import
entries page. Note that the syntax of the strings had to be fixed as
there must not be leading whitespace before the asterisk in Markdown format.

Also as requested by Helen, the wording or export/import links is
improved now.

As a bonus for free, the patch fixes incorrect API usage of get_record()
and friends.
2011-02-12 00:02:20 +01:00
Eloy Lafuente (stronk7)
6b1b1d0339 MDL-25708 recordsets - assignment and data modules 2011-01-25 19:59:00 +01:00
Andrew Davis
ae27608564 rating MDL-22412 removed references to legacy ratings tables 2010-11-25 06:40:27 +00:00
Andrew Davis
720f37fdc2 data MDL-24619 fixed a bug that made importing a preset database unlikely to work 2010-10-18 08:45:45 +00:00
Petr Skoda
f011a8fb57 MDL-24647 fixed mod/data approval file access check + fixed security issue + improved coding style 2010-10-13 17:19:17 +00:00
Petr Skoda
375053ed10 MDL-24042 mod/data is using weaker require_course_login instead of standard require_login - fixing regression for data files 2010-10-03 13:15:49 +00:00
Andrew Davis
263819c8dd database MDL-24349 added support for Moodle 2.0 data storage to database presets 2010-10-01 02:06:56 +00:00
Andrew Davis
fe9d5f7efc database MDL-24349 fixed a bug with database field presets. textareas werent being successfully set up. 2010-09-30 02:40:51 +00:00
Andrew Davis
60a1a25cf1 database MDL-24349 made exporting of preset database activities produce valid preset zip files 2010-09-23 06:45:05 +00:00
Petr Skoda
e9da9f5bb6 MDL-24318 fixed incorrect sql conversion 2010-09-21 21:57:03 +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
Petr Skoda
fa7f82beda initialized objects and improved coding style 2010-09-18 12:46:11 +00:00
Petr Skoda
cf792cfc13 fixed unfinished file api conversion 2010-09-18 12:42:06 +00:00
Petr Skoda
810860d25a fixed missing global 2010-09-18 12:40:24 +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
Andrew Davis
07f05a04b1 rating MDL-23933 Removed a bunch of no longer used strings and moved rating strings into the rating lang file.
AMOS BEGIN
 MOV [couldnotdeleteratings,mod_forum],[couldnotdeleteratings,core_rating]
 MOV [aggregatenone,mod_forum],[aggregatenone,core_rating]
 MOV [aggregateavg,mod_forum],[aggregateavg,core_rating]
 MOV [aggregatecount,mod_forum],[aggregatecount,core_rating]
 MOV [aggregatemax,mod_forum],[aggregatemax,core_rating]
 MOV [aggregatemin,mod_forum],[aggregatemin,core_rating]
 MOV [aggregatesum,mod_forum],[aggregatesum,core_rating]
AMOS END
2010-09-17 06:32:46 +00:00
Aparup Banerjee
fdeb3e1f3b data MDL-24131 fixed numeric field names throwing db error. numeric field names are not good for DB->sql_like() 2010-09-16 02:56:26 +00:00
Dongsheng Cai
674abb945e MDL-24087, removed commments deletion from module lib.php 2010-09-08 09:06:00 +00:00
Eloy Lafuente
fd3f6bf99d MDL-22151 backup - data activity backup & restore first cut 2010-09-07 08:32:41 +00:00
Petr Skoda
800bb0f70f MDL-24079 mod/data now using new sql_like 2010-09-04 14:08:03 +00:00
Dongsheng Cai
d846488e65 "MDL-23917, display comments for not logged in users" 2010-08-25 03:50:19 +00:00
Sam Hemelryk
8aff1574dc mod-data MDL-23656 Convert mod-data-preset to use the new file API 2010-08-25 01:22:15 +00:00
Andrew Davis
d2e09d60d7 rating MDL-23586 made mod data delete ratings when an instance is deleted 2010-08-09 08:46:52 +00:00