215 Commits

Author SHA1 Message Date
nicolasconnault
9c8c6c29f0 MDL-19754 MDL-19676 Reverted blog tables in install.xml 2009-09-21 03:31:18 +00:00
nicolasconnault
20e4b1d344 MDL-19754 MDL-8776 MDL-19678 MDL-20314 Reverting an uninentional table delete from install.xml 2009-09-18 07:49:56 +00:00
nicolasconnault
947eaf5781 MDL-19754 MDL-8776 MDL-19678 MDL-20314 Converting old post table to blog_entries, upgrading blog code accordingly, and tags in tag_instance table 2009-09-18 06:57:52 +00:00
skodak
5b9a70a15a MDL-20273 updated web services and functions description tables , includes indexes and foreign keys - oops forgot unique service name index 2009-09-13 20:05:44 +00:00
skodak
5d820ca273 MDL-20273 updated web services and functions description tables , includes indexes and foreign keys 2009-09-13 19:09:16 +00:00
jerome
4313fa89d9 webservice MDL-12886 fix bad database manual generation by xmleditor generation + update web services database 2009-09-11 09:46:01 +00:00
jerome
9baf682518 webservice MDL-12886 web service administration 2009-09-09 07:55:03 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
skodak
0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +00:00
peterbulmer
1b509b3699 MDL17980 mnet improvements
* Allow multiple roles to be allocated by identity provider
* Allow existing enrolment plugins to manage mnet enrolments


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-08-03 03:38:23 +00:00
dongsheng
1bcb7eb540 "MDL-19118, comments api" 2009-07-24 02:44:44 +00:00
tjhunt
13a0d3d3c9 blocks MDL-19536: rename block_instances.contextid to parentcontextid to avoid gross confusion 2009-07-10 05:58:59 +00:00
skodak
b4154c2d64 MDL-14990 implemented query loggin in new native DML drivers 2009-06-13 15:59:55 +00:00
skodak
1aa01caf90 MDL-16231 reimplemented deleting of files + cron cleanup 2009-06-03 08:10:21 +00:00
tjhunt
66b10689e2 blocklib: MDL-19010 upgrade database tables ready for now blocks system 2009-05-06 09:12:03 +00:00
stronk7
74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +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
tjhunt
0fc9c00901 filters: MDL-7336 database tables for per-context filter settings. 2009-04-13 06:42:02 +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
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
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
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
eb6a973cdf MDL-17847 moev backup_config to config_plugin table 2009-01-11 15:49:35 +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
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
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
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
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
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
jerome
948c286025 MDL-15402: implement readonly repository instances (support flickr_public) 2008-09-16 09:08:36 +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
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
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