Commit Graph

196 Commits

Author SHA1 Message Date
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
tjhunt 4f089b2155 MDL-6095 - Question bank tables are created by the quiz module. The really core tables are now created by lib/db, the datasetdependent tables are not created by the datasetdependent question type, and the question_numerical_units table is now created by the numerical question type. The last two are shared by the calculated question type, but there is no problem with them being created in the order they are now created in. In the past, before the policy that upgrade to 2.0 woudl have to go via 1.9, there would have been bit problems to do with the order of updates, but fortunately that is no longer an issue. 2008-08-15 07:23:18 +00:00
stronk7 e9017adcf4 Missing NEXT attribute in previous commit breaking install. MDL-13766
(I'd suggest to always check those changes in the XMLDB Editor)
2008-08-07 10:17:47 +00:00
dongsheng 348c350b98 MDL-13766, new field for repository table 2008-08-07 07:48:14 +00:00
mjollnir_ 84a449853f MDL-15777 - move all portfolio storage to portfolio_tempdata rather than session.
This allows us to always have a unique id for a portfolio export which can be used as itemid for files api.
Also it makes the session smaller :)
2008-08-06 15:27:42 +00:00
mjollnir_ 04f35360ac MDL-15934 - new table and infastructure for portfolio callers to store export data that is too big to put in the session. 2008-08-05 13:24:47 +00:00
peterbulmer 1ce2da5836 MDL-12558 modify emails as they are being sent
replace urls in-place to direct users to their idp first
2008-08-03 23:24:12 +00:00
skodak 172dd12c63 MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906 2008-07-31 22:15:30 +00:00
moodler 120b375891 MDL-10107 Fixed the definition of message providers ... it now works through files very similar to those for events and capabilities, which makes them easy to add/remove/change as necessary 2008-07-31 08:01:46 +00:00
mjollnir_ 4ab16a0957 MDL-15762 - add table for portfolio logging 2008-07-30 15:04:19 +00:00
sam_marshall 4e781c7b50 MDL-15498: Completion system 2008-07-28 12:31:29 +00:00
moodler 3b120e464f MDL-10107 - First check-in of Messaging 2.0 code from Luis Rodrigues, GSOC student.
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)

This code is not finished yet, a lot of work still has to be done on the
interface.  However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.
2008-07-24 08:38:03 +00:00
mjollnir_ ac5efef6b5 MDL-15562 database tables, upgrade and version bump for portfolio API
- portfolio_instance, portfolio_instance_user, portfolio_instance_config
2008-07-07 15:09:40 +00:00
dongsheng 98978c2efa "MDL-15470, create repository database table" 2008-06-30 11:00:42 +00:00
scyrma 38fb819028 MDL-11992: adding course tagging patch, by John Beedell. This feature is not
active by default at this time. Related help files are not included in this
commit, as they are being revised (see issue 15385) and will be sent in soon.
2008-06-30 09:04:07 +00:00
cataluke faae8919ed MDL-15156 fix conflict in schema for MNET PREFIX_mnet_enrol_course table, merged from 19 2008-06-12 02:09:26 +00:00
dongsheng 7ade55ad96 "MDL-14668, fix course full in activity reports (upgrade course module version)" 2008-05-16 02:15:23 +00:00
skodak f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
skodak 8b9cfac4ab MDL-11719 increased size of idnumber in user table - needed for some enrolment plugins; merged from MOODLE_19_STABLE 2008-05-12 14:38:45 +00:00
nicolasconnault a1f27717db MDL-11888 Added unique constraint. 2008-03-07 13:23:38 +00:00