Commit Graph

322 Commits

Author SHA1 Message Date
Andrew Davis (andyjdavis) f5a1b068cc MDL-27387 rating: prevent the submission of ratings outside of the range allowed by the current scale 2011-05-12 10:44:46 +08:00
Sam Hemelryk 7390fdde63 Merge branch 's9_MDL-26854_spam_comments_20_2' of git://github.com/dongsheng/moodle into MOODLE_20_STABLE 2011-05-05 10:42:58 +08:00
Sam Hemelryk 1374c61bb4 Merge branch 'MDL-26838_ratings_bad_data3' of git://github.com/andyjdavis/moodle into MOODLE_20_STABLE 2011-05-05 10:19:54 +08:00
Dongsheng Cai b4730465e6 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:59:19 +08:00
Andrew Davis (andyjdavis) 34b5e856b0 MDL-26838 rating: multiple fixes after a review of rating validation code 2011-05-04 15:33:35 +08:00
Andrew Davis (andyjdavis) 4af7c9d188 MDL-26838 rating: remove logged in users ability to sidestep rating validity checks 2011-05-01 18:44:12 +08:00
Nadav Kavalerchik a7e920fbfb CSS MDL-26013 Fixed several display bugs when using right to left languages 2011-04-14 15:59:03 +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
Sam Hemelryk cba87c36ea mod-data MDL-23618 Converted preset page to make use of mforms and new file picker element 2010-08-04 08:23:52 +00:00
Aparup Banerjee 19edef1b7f database MDL-22558 minor- improved alignment in database fields display. 2010-08-03 05:57:28 +00:00
Dongsheng Cai 650a0c0a66 COMMENT MDL-23585 delete comments when centain contexts are being deleted 2010-08-02 07:44:45 +00:00
Andrew Davis 2742ffe7c9 data MDL-23488 made database activity respect availability and visibility dates
AMOS BEGIN
 CPY [expired,mod_choice],[expired,mod_data]
 CPY [notopenyet,mod_choice],[notopenyet,mod_data]
AMOS END
2010-07-29 03:26:02 +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 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
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
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
Dongsheng Cai a7d4cb676d MDL-22980, move mod/data/field/*/icon.gif to mod/data/pix/field/*.gif 2010-06-29 07:20:51 +00:00
Dongsheng Cai bbdfd8ce01 MDL-22574, move import form to import.php, use csv_import_reader class to process csv file, use filepicker to replace legacy upload form. 2010-06-04 08:21:24 +00:00
Andrew Davis aeafd4366b rating MDL-22526 added item checks to rating submission 2010-05-21 07:50:38 +00:00
Andrew Davis 9e86f2e7a9 rss MDL-22204 fixed rss autodiscovery and made the RSS UI elements placement consistent 2010-05-13 08:44:35 +00:00
Penny Leach c3e1b5bd5a portfolio & data MDL-21032 add leap2a to database module
This commit changes drastically the previous portfolio api support in
mod/data to get rid of csv etc and add leap2a, refactor and tidy up a
lot.
2010-05-02 18:01:19 +00:00
David Mudrak 7719b4db37 MDL-21695 Database module now uses new help strings
AMOS BEGIN
 HLP data/exportzip.html,[exportaszip_help,mod_data]
 HLP data/fields.html,[newfield_help,mod_data]
 HLP data/fieldmappings.html,[fieldmappings_help,mod_data]
 HLP data/importcsv.html,[csvimport_help,mod_data]
 HLP data/importfromfile.html,[fromfile_help,mod_data]
 HLP data/maxentries.html,[maxentries_help,mod_data]
 HLP data/requireapproval.html,[requireapproval_help,mod_data]
 HLP data/requiredentries.html,[requiredentries_help,mod_data]
 HLP data/requiredentriestoview.html,[requiredentriestoview_help,mod_data]
 HLP data/savepreset.html,[saveaspreset_help,mod_data]
 HLP data/tags.html,[availabletags_help,mod_data]
 HLP data/usepreset.html,[usestandard_help,mod_data]
AMOS END
2010-04-30 14:56:41 +00:00