Commit graph

1425 commits

Author SHA1 Message Date
dongsheng
a75c78d318 "REPOSITORY/MDL-18354, enabled local and upload repository plugins when upgrading" 2009-03-05 04:40:51 +00:00
tjhunt
af52eceef4 qtype admin: MDL-18425 also related to MDL-18355.
Allow question types  to be displayed in order that is better than random or alphabetical. Since we don't know all the qtypes there may be:
1. Store the order in the DB (config plugins).
2. Set up a good default order for the standard types. (Unknown types go at the end by default.)
3. Allow admins to edit the order on the qtype admin screen.
2009-03-03 07:47:32 +00:00
danmarsden
bc7ec91a0d MDL-12037 Backup Log - add new field to backup_log table to allow other backup related functions to save log data 2009-03-03 00:06:08 +00:00
sam_marshall
7556422816 MDL-18272, MDL-18271: Conditional availability - grade condition to use percentages not raw grades; use wording rather than >= symbol in form because (apparently) teachers are functionally innumerate. ;) 2009-02-18 17:50:13 +00:00
skodak
795a08adb7 MDL-17458 upgrade logging implemented + a lot more refactoring + exceptions implemented in install/upgrade code + lang pack cleanup + some more improvements 2009-01-31 20:07:32 +00:00
skodak
dc6f76b959 MDL-17427 oops - forgot to add version field, sorry 2009-01-29 20:21:33 +00:00
skodak
1f20942c3b MDL-17427 new upgrade log table 2009-01-29 19:50:02 +00:00
skodak
b9fb71030f MDL-17942 reimplemented detection of mysql max_packet_size problems 2009-01-19 08:03:55 +00:00
skodak
17d9348991 MDL-14992 towards better db sessions 2009-01-16 20:43:17 +00:00
skodak
3f57bd454a MDL-14992 towards new moodle db sessions 2009-01-14 17:08:29 +00:00
skodak
301bf0b29c MDL-17878 new table for logging of changes in admin settings - only changes done through admin UI are logged 2009-01-13 19:02:00 +00:00
skodak
eb6a973cdf MDL-17847 moev backup_config to config_plugin table 2009-01-11 15:49:35 +00:00
skodak
1caea91efb MDL-17457 moved a lot of code into lib/db/install.php + other refactoring and cleanup 2009-01-11 09:41:48 +00:00
skodak
ab2eb65c88 MDL-17846 moved blocks code from /blocks/db/* to core 2009-01-10 21:06:53 +00:00
skodak
ac4fef1d98 MDL-15919, MDL-15920 - removing old zip/unzip support, the new zip ext in PHP 5.2.8 seems to work fine 2009-01-08 14:53:23 +00:00
tjhunt
4413941fee course requests: MDL-6160 clean up admin option for choosing who is notified. Merged from MOODLE_19_STABLE.
Also, change the 'notifyloginfailures' setting to use the same sort of admin setting type.
2009-01-08 07:07:00 +00:00
skodak
656be89301 MDL-14123 Full IPv6 support - updating all db fields to theoretical 45 char limit 2009-01-06 18:14:28 +00:00
tjhunt
807a1a8427 question bank database: MDL-17608 Drop originalquestion field from the question_states table - it was never used for anything. 2009-01-06 05:20:21 +00:00
skodak
6d04a2fd0c MDL-17787 removed unused health test and cleanup up config table - MoodleTest cookie not used anymore 2009-01-05 22:45:06 +00:00
skodak
1870f24166 MDL-17787 removed unused health test and cleanup up config table - MoodleTest cookie not used anymore 2009-01-05 22:45:06 +00:00
skodak
81f2bb8122 MDL-14992 new database based session table - not used yet 2008-12-31 12:24:19 +00:00
sam_marshall
82bd6a5ea9 MDL-15499: Conditional availability of activities 2008-12-17 16:37:35 +00:00
stronk7
9d510a2ea0 MDL-13746 course shortname up to 100cc (applied to mnet_enrol_course) 2008-12-08 08:21:19 +00:00
tjhunt
9136a60c46 course settings: MDL-17501 check for moodle/course:visibility in the course settings form.
1. If a user does not have that capability, don't let them change whether the course is visible.
2. Give teachers that capability by default.
3. To avoid regressions, on upgrade, give moodle/course:visibility to any role that has moodle/course:update.
2008-12-08 02:31:05 +00:00
skodak
745c0ee508 MDL-17537 course request: shortname in course_request is now the same length as in course table - 100 chars 2008-12-07 22:13:39 +00:00
sam_marshall
cbb17d54a8 MDL-15499 Database tables for conditional activities (code to follow! I hope) 2008-11-24 17:21:30 +00:00
sam_marshall
0953a4e7bc MDL-15499 Database tables for conditional activities (code to follow! I hope) 2008-11-24 17:09:55 +00:00
tjhunt
40c792c3d1 roles database: MDL-17253 add unique index to role.name and role.shortname
We were trying to enforce it in PHP, but much better to have the database watching our back.
2008-11-18 07:41:28 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
dongsheng
d9e673c10b "MDL-16549, fixed typo" 2008-11-08 14:24:53 +00:00
tjhunt
06de498b70 accesslib: MDL-16549 Now that moodle/site:doanything is not editiable, reset the permissions to default on all roles. 2008-11-06 08:35:23 +00:00
tjhunt
01a80f51e5 role assign: MDL-8312 Restrict which roles can be assigned at which contextlevels.
* New table role_context_levels
* Populate table with defaults on install
* Populate table on upgrade with the same defaults, plus any additional ones needed to ensure all the role assignments already in the database are allowed.
* Change get_assignable_roles to respect these settings.
* UI for these settings on the add/edit role form.
* Save these settings when a role definition is saved.
* If in a context, there are no roles you can assign, display a polite message.
* Back up these settings.
* Restore these settings. When resotring a <=1.9.x backup file, any newly imported roles are set to be assignable at all contextlevels.

Restore not tested because it is broken in HEAD.
2008-11-06 07:34:01 +00:00
skodak
cbc08f3bfc MDL-17130 dml: eliminated $CFG->dbfamily 2008-11-05 00:12:30 +00:00
stronk7
5e7206a8f6 Adding new setting "statsruntimedays" to configure the number of days to
calculate as max per stats cron invocation. Part of MDL-16709 ; merged from 19_STABLE
2008-10-13 21:53:49 +00:00
stronk7
a7df430b71 Set the user->lang DB default to en_utf8. MDL-16845 ; merged from 19_STABLE 2008-10-10 18:06:16 +00:00
skodak
53b20fe35a MDL-16637 removing obsoleted spellchecker support 2008-09-23 15:12:07 +00:00
jerome
948c286025 MDL-15402: implement readonly repository instances (support flickr_public) 2008-09-16 09:08:36 +00:00
tjhunt
6f49dd0f36 MDL-16411 Oops, I had the logic backwards. 2008-09-10 10:30:43 +00:00
tjhunt
d849880e56 MDL-16411 Move all plugintype_pluginname_version values from config to config_plugins 2008-09-10 10:15:05 +00:00
jbeedell
b91de8a599 Essential patch for MDL-11992 course tagging. This prevents a bug that removes offical tags for a course when a user adds a personal tag to that course. 2008-09-05 14:49:06 +00:00
dongsheng
fb7cae3bc3 "MDL-13766, donot create boxnet and flickr instances automatically, for local and upload plugin, the instance name should get from lang file" 2008-09-04 06:50:44 +00:00
dongsheng
ff7e7f92bc "MDL-13766, create instances for each plugin, testing" 2008-09-01 09:10:33 +00:00
mjollnir_
2c48aeab95 MDL-16180 - change field precision of parent_type to 20 in mnet rpc function table to fit 'portfolio' 2008-08-29 18:30:01 +00:00
tjhunt
62e76c6766 MDL-16263 A way for students to flag/bookmark, particular questions during a quiz attempt for later review.
This is an initial implementation that is now at a working state, but with a few things left to do. It seemed like a good idea to commit it before leaving work on Friday night.
2008-08-29 10:08:27 +00:00
skodak
8f3f6cc3fa MDL-13766 rerunning latest repo upgrade block, the 2008082600 was not correct in upgrade.php, should have been 2008082601 2008-08-26 19:49:54 +00:00
skodak
c6dc4709c6 MDL-13766 optimised upgrade - no need to create & modify repository table and delete it afterwards 2008-08-26 19:44:04 +00:00
dongsheng
27051e4319 MDL-13766
1. Chanage database, create 2 more tables for repository
2. One-step download in file picker
2008-08-26 07:20:56 +00:00
mjollnir_
ff2f69bc7c MDL-16046 - beginning of, adding userid field to portfolio tempdata 2008-08-19 15:02:46 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
tjhunt
f9a2cf86a9 MDL-7308 - Check all the DB columns used to store grades, and make sure they all use a consistent type. 2008-08-15 11:15:08 +00:00