851 Commits

Author SHA1 Message Date
stronk7
2a88f626f7 MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts. 2009-05-01 01:19:16 +00:00
skodak
35079f539c MDL-18951 standardised group support in grader report (not complete yet) 2009-04-30 08:07:43 +00:00
tjhunt
dc740f9788 MDL-18132 - fix upgrade SQL for MS SQL. 2009-04-28 09:55:46 +00:00
stronk7
e37cd84ad4 MDL-18577 drop enums support - step1: transforming all enums to nomal varchar + prevent creation of new ones 2009-04-27 20:29:01 +00:00
stronk7
6bdf4c99b3 MDL-16824 messaging - move unread messages from deleted users to message_read.
Pending to commit changes to uploaduser.php. Credit goes to Anthony Borrow. Thanks!
Merged from 19_STABLE
2009-04-26 22:56:56 +00:00
sam_marshall
0f9534c121 MDL-18297: Forgot that course cache needs rebuilding for upgraded dates 2009-04-17 16:21:15 +00:00
sam_marshall
e7c6bf0eab MDL-18297: Changed date conditions so that the text and behaviour is more natural. 2009-04-17 16:06:29 +00:00
tjhunt
5b8fa09b00 filters: MDL-7336 Finish admin settings page. 2009-04-13 07:04:07 +00:00
tjhunt
bbb459050e filters: MDL-7336 Set ->stringfilters on upgrade 2009-04-13 06:55:21 +00:00
tjhunt
9421125080 filters: MDL-7336 create new moodle/filter:manage capability 2009-04-13 06:54:11 +00:00
tjhunt
c07e6d8da5 filters: MDL-7336 upgrade $CFG->textfilters into filter_active table. 2009-04-13 06:51:45 +00:00
tjhunt
0fc9c00901 filters: MDL-7336 database tables for per-context filter settings. 2009-04-13 06:42:02 +00:00
skodak
c94985efb1 MDL-18552 different TeX trouble fix 2009-03-31 10:03:10 +00:00
tjhunt
c468795ce9 switch roles: MDL-18132 New Role allow switches page finished.
I also set up a reasonable set of default allows, including setting up some sensible allow_overrides, whatever the rant in MDL-15841 says.
2009-03-25 04:20:57 +00:00
tjhunt
82701e2443 switch roles: MDL-18132 separate database table role_allow_switch instead of re-using role_allow_assign.
This is part 1 that does the back-end:

1. New table role_allow_switch.
2. Upgrade that copies all the allows from role_allow_assign, and then drops the old CFG->allowuserswitchrolestheycantassign.
3. Old function get_assignable_roles_for_switchrole renamed to get_switchable_roles and changed to use the new table. Fixes MDL-18604 in HEAD.
4. Switch callers to use the new function name.
5. Unit tests for this new function.
6. To make those unit tests work, new switch_global_user_id and revert_global_user_id methods in UnitTestCaseUsingDatabase for toggling $USER->id.

I still need to do the editing interface under Administration ► Users ► Permissions ► Define roles. That will be done as a second commit.
2009-03-23 08:15:21 +00:00
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
jerome
d27c5d3383 web service MDL-17135 add moodle/site:usewebservice capability - display only web service users into administration page 2009-02-16 08:06:14 +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
88582df496 MDL-17458 refactored guest and admin user creation + refactored roles install + added protection for installation hijacking + added reliable session test right before editting of admin account 2009-01-29 22:54:41 +00:00
skodak
dc6f76b959 MDL-17427 oops - forgot to add version field, sorry 2009-01-29 20:21:33 +00:00
skodak
0cb93a7e45 MDL-17427 another round of refactoring of upgrade related functions - this should be final now I hope ;-) 2009-01-29 19:58:47 +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
19a4a32e53 MDL-17942 fixed some incorrect uses of exceptions and typos 2009-01-17 23:24:31 +00:00
skodak
ac173d3ebe MDL-17267 simplified create_role - not adding assign and override perm to admin accounts, they have it now always 2009-01-17 23:16:20 +00:00
skodak
17d9348991 MDL-14992 towards better db sessions 2009-01-16 20:43:17 +00:00
skodak
0361508976 MDL-17457 moved all STATEMENTS into install.php 2009-01-15 21:36:48 +00:00
skodak
3f57bd454a MDL-14992 towards new moodle db sessions 2009-01-14 17:08:29 +00:00
skodak
5ac9b67c38 MDL-17878 new table for logging of changes in admin settings - only changes done through admin UI are logged, grrrrrrrrrrrrrr 2009-01-13 19:03:51 +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
c20ce8742a MDL-17457 removed all statements from main install.xml, some more improvements 2009-01-12 19:36:59 +00:00
skodak
1045a0074c MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead 2009-01-12 16:52:53 +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
f1953d38f3 MDL-17847 moved backup install.xml and upgrade.php to core 2009-01-10 20:03:08 +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
bc4c980010 MDL-17797 fixed cap definition - thanks Andrea Bicciolo; merged from MOODLE_19_STABLE 2009-01-07 19:56:30 +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
tjhunt
e452210a18 course request: MDL-17575 and MDL-6160 further improvements:
1/ email notification when course requested
2/ course request capability so that we can limit who can request new course
3/ list of my pending course requests on the request form

Implemented in 1.9 by Petr Skoda, and reviewed and merged to HEAD by me.
2008-12-10 02:57:41 +00:00
stronk7
9d510a2ea0 MDL-13746 course shortname up to 100cc (applied to mnet_enrol_course) 2008-12-08 08:21:19 +00:00