Commit graph

689 commits

Author SHA1 Message Date
stronk7
0f77b186f1 Fix double savepoint in the same block of upgrade. MDL-11888 2008-04-18 23:15:44 +00:00
skodak
8d08612b12 MDL-13990 ignore bogus dirs in moodledata/user during upgrade; merged from MOODLE_19_STABLE 2008-03-19 23:09:00 +00:00
nicolasconnault
a1f27717db MDL-11888 Added unique constraint. 2008-03-07 13:23:38 +00:00
skodak
91f9a62c3f MDL-13730 site setting for aggregation of scales; merged from MOODLE_19_STABLE 2008-03-03 11:03:54 +00:00
moodler
87486420a5 Merged MDL-13676: last-minute field change to fix an Oracle problem 2008-02-29 08:44:23 +00:00
moodler
156df4ed3f Merged MDL-90 partial patch for the new webdav_locks table from Martin Langhoff 2008-02-27 04:38:39 +00:00
skodak
e06d74d572 MDL-10990 2) added event table index for calendar block/view ; merged from MOODLE_19_STABLE 2008-02-26 22:48:16 +00:00
scyrma
d0578e4ea4 MDL-13624 - Use bigint(10), not bigint(11). This update doesn't change the schema on a site that's already installed. 2008-02-25 08:21:21 +00:00
skodak
da4aa3e4bd MDL-13561 add cmid index to log table to speedup reports that deal with individual activities; merged from MOODLE_19_STABLE 2008-02-21 09:27:11 +00:00
scyrma
0e9e592722 MDL-13553 - merge from 1.9 2008-02-21 01:13:26 +00:00
skodak
de65f28a05 MDL-4667, MDL-4112 switching order of columns in course-userid log table index in order to please mysql; merged from MOODLE_19_STABLE 2008-02-20 09:33:18 +00:00
skodak
e13f9c1008 MDL-13477 main version bumped to .02 - three decimal points did not work for Eloy :-(; merged from MOODLE_19_STABLE 2008-02-16 22:29:38 +00:00
skodak
61460dd631 MDL-13192 major stats cleanup patch - see tracker for more details; merged from MOODLE_19_STABLE 2008-02-16 18:33:50 +00:00
skodak
46d5b3125e MDL-13241 adding forgotten table scale_history into upgrade code; merged from MOODLE_19_STABLE 2008-02-16 11:55:31 +00:00
skodak
5cf5145a9c MDL-13241 adding forgotten table scale_history into upgrade code; merged from MOODLE_19_STABLE 2008-02-16 11:22:57 +00:00
scyrma
d4d7135444 Upgrade path for MDL-13060. (merge from 19_STABLE) 2008-01-29 05:54:42 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
moodler
e6d8bc8c4a Merged upgradelib.php fixes from 1.9 MDL-13017 2008-01-16 01:51:18 +00:00
skodak
c2faa1d82f MDL-12720 removing confusing/not implemented CONTEXT_PERSONAL; merged from MOODLE_19_STABLE 2007-12-23 20:01:14 +00:00
skodak
863850d2d7 MDL-12858 fix course category depths during upgrade to 1.9; merged from MOODLE_19_STABLE 2007-12-19 17:48:21 +00:00
skodak
b3847656ed MDL-12585 make sure category path, parent and depth are ok before creating contexts; merged from MOODLE_19_STABLE 2007-12-15 15:49:35 +00:00
stronk7
e7a89237de Modify some timezone fields to accept new olson files. MDL-12024
Merged from MOODLE_19_STABLE
2007-12-15 00:49:05 +00:00
stronk7
4a5d0a39b1 Changing XMLDB_UNSIGNED to nulls for non-numeric types. MDL-11662
Merged from MOODLE_19_STABLE
2007-12-08 18:44:12 +00:00
toyomoyo
5bbf18cd6f changed to get_recordset_sql because get_records forces the first element to be key 2007-11-19 01:44:26 +00:00
toyomoyo
f7bd8c758f making a SQL cross-db compatible 2007-11-19 01:13:31 +00:00
toyomoyo
5e900da1ce removing duplicate entries in grade_grades prior to adding unique key 2007-11-14 05:07:33 +00:00
toyomoyo
e4065e84e3 keeping version number in sync 2007-11-08 05:52:47 +00:00
nicolasconnault
a5b08715a7 MDL-9306 upgrade.php set to upgrade course whose format is weekscss to weeks 2007-11-08 05:43:15 +00:00
toyomoyo
1dda50ea08 merged fix for MDL-11909, putting a unique constraint userid-itemid on grade_grades table 2007-11-08 02:01:34 +00:00
nicolasconnault
2d4cf36b14 MDL-8605 Upgrade of user folder will not occur if the user folder already exists 2007-10-16 04:54:15 +00:00
nicolasconnault
546526ed42 MDL-8605 putting versions in sync between 1.9 and head 2007-10-15 05:17:55 +00:00
stronk7
0597562dd4 Grrr (missed to delete some lines) MDL-11751 2007-10-14 09:54:57 +00:00
stronk7
9b62ebb87f Drop one index that shouldn't be there. MDL-11751 2007-10-14 09:52:16 +00:00
moodler
ccbde9e80c Fixing version number 2007-10-12 08:35:52 +00:00
nicolasconnault
fc278e842e MDL-8605 Preventing new user folder from being created when original folder is empty 2007-10-11 14:19:05 +00:00
nicolasconnault
56a1a88228 MDL-8605 New user directories implemented 2007-10-11 09:01:29 +00:00
skodak
8ddcdd86cb MDL-8248 savepoints in main upgrade.php 2007-10-10 13:14:56 +00:00
skodak
03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
skodak
8a4d32d8a3 MDL-11688 makes sure all course and user contexts exist during upgrade (all contexts when going from in 1.6) - this is needed for grade_letter upgrade; other minor tweaks - the USER->access is now loaded automatically, feedback parameters added 2007-10-10 08:33:06 +00:00
skodak
eeccaea183 MDL-11686 dropped obsoleted grade tables, removed context_rel related upgrade code 2007-10-10 07:53:35 +00:00
skodak
8600cadaea MDL-11660 user_lastaccess cleanup 2007-10-09 16:27:49 +00:00
skodak
e072450699 MDL-11578 , MDL-11578 , MDL-11573 :
* renamed Preferences to "My report preferences"
* renamed Site defaults to "Report defaults"
* rename Change site defaults to "Change report defaults"
* reintroduced Inherit option to Grader preferences - Nicolas was right, it is not possible to implement preference overrides without it with our current get_pref inplementation
* new separate option in plugin selector "Course settings"
* moved displaytype, decimals and aggregation position to "Course settings"
* created new table grade_settings + related functions grade_get/set_preference()
* user report now uses grade_seq class instead of grade_item::fetch_all(); added preloading of grade items into grade_grade instances
* other minor bugfixing/cleanup/improvements

Please note that the Grader report preferences and its defaults must be resaved again - sorry.
2007-10-08 23:09:10 +00:00
stronk7
cef1ea8e8e Adding one new index to cache_text table. User to make cron deletion
of expired records faster. MDL-11605
2007-10-08 16:33:29 +00:00
toyomoyo
a506e40c9f dropping context_rel table 2007-10-08 08:51:59 +00:00
skodak
8108909a60 MDL-9636 grade import fixes - allow null grades, no importcode collisions and stealing, more validation and other bugfixes 2007-10-07 13:04:49 +00:00
skodak
7d0c81b3ba MDL-11521 fixed problems when creating contexts and aprents does not exist yet
MDL-11527 fixed warning from $CFG->defaultuserroleid when installing and upgrading
+ removed reusing of previous contexts in has_capability() and get_context_instance()  because it was hiding critical errors when context was false, not specified, etc.
+ tweaked roles defaults - faster and defaults are applied when roles exist
+ SYSCONTEXTID may be specified in config.php to eliminate 1 db query
+ static context cache is now reset after rebuilding of context paths
+ path field in context table is now nullable - pg compatibility requirement
+ other minor fixes
2007-10-05 15:06:38 +00:00
toyomoyo
7f0648510a MDL-11544, tags migrate script postgres db problem 2007-10-04 07:06:54 +00:00
skodak
c626c2f460 MDL-11566 site summary now optional 2007-10-03 10:35:34 +00:00
skodak
c57be126c4 DONAL, PLEASE START USING OUR DB EDITOR! the last commit did have invalid XML, incorrect next/prev attributes, different data in install.xml and upgrade.php; the main reason to have this editor was to prevent this type of critical errors ;-) 2007-10-02 16:50:43 +00:00
skodak
266f6b5900 MDL-11555 temporary patch for too long index on mysql - in mysql the limit is 333 unicode chars
move the gradebook cleanup to the end of upgrade.php - please keep it there
2007-10-02 16:20:45 +00:00