Commit Graph

309 Commits

Author SHA1 Message Date
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
Andrew Davis d251b25937 rating MDL-21657 updated version of ratings including checks for both new system capabilities and old per module capabilities 2010-04-23 09:44:19 +00:00
Sam Hemelryk 3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Petr Skoda 596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
Sam Hemelryk dca032a15f mod-glossary mod-data MDL-22065 Changed support for these two modules for ratings to false until Andrews next ratings patch gets commit 2010-04-12 09:01:19 +00:00
Dongsheng Cai 866354a905 MDL-21951, improve comments performance 2010-04-09 09:03:51 +00:00
Petr Skoda 846e4e177e MDL-16438 separating subplugin detection from the plugin_supports code because it was running into infinite loops in get_string() which is often incorrectly used in lib.php files, but the get_string() itself needs to know about subplugins 2010-04-04 19:58:03 +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
Sam Hemelryk 0b29477be9 navigation MDL-21565 Update this xxx is now automatically added to the nav for all modules by default and is renamed to settings as that is what was being used in the tabs system presently anyway.
The following minor changes were also made:
* Added roles links to the navigation automatically
* Handling of block context for settings navigation
* Tidied up init code for settings navigation
2010-03-22 03:04:00 +00:00
Andrew Davis 6c5fcef746 rating MDL-21657 changing from ratings (plural) to rating (singular) 2010-03-16 09:37:31 +00:00
Andrew Davis a09aeee47b rating MDL-21657 first commit for rating library 2010-03-16 05:57:51 +00:00
Dongsheng Cai 36051c9e91 "MDL-21786, moving comments library files to consistency" 2010-03-15 07:59:28 +00:00
Petr Skoda 9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +00:00
Petr Skoda 9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00