Commit Graph

64 Commits

Author SHA1 Message Date
Petr Škoda 9817f08400 MDL-35080 skip views and weird tables in mysql structure upgrades 2012-09-01 16:23:44 +02:00
Petr Škoda bd3306f5cd MDL-34782 detect code abusing integer limits in mysql database
It is allowed to store only ranges specified in install.xml, for integers it means number of digits specified in size.
2012-08-10 10:20:27 +02:00
Petr Skoda e427ad302f MDL-32595 fix mysql int and lob defaults during conversion
Integer columns can not have empty string default, lobs fields handle empty strings defaults automatically too if null not allowed.
2012-04-27 13:45:10 +02:00
Eloy Lafuente (stronk7) 39b90b5152 MDL-30981 Upgrade API: Added related phpdocs 2012-04-02 00:40:13 +02:00
Petr Skoda 436650b075 MDL-31985 convert all existing LOBs 2012-03-11 15:51:49 +01:00
Petr Skoda 7385cc000e MDL-27982 add unsigned removal for mysql 2012-03-06 12:04:48 +01:00
Petr Skoda 2e210163ee MDL-30610 remove outdated main upgrade code 2011-12-23 10:38:13 +01:00
Petr Skoda 5bca744cad MDL-30467 skip deleted users during pix upgrade 2011-11-26 09:17:02 +01:00
Petr Skoda 980a952c34 MDL-22584 deal with oversized dir and file names during upgrade 2011-07-23 11:34:30 +02:00
Ruslan Kabalin d004c4b20a MDL-27171 messages: fix bug in upgrade_populate_default_messaging_prefs
isset check assumed that $defaultpreferences is the object

Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-06-01 12:30:28 +01:00
Ruslan Kabalin e8fc7940a8 MDL-27171 messages: $defaultpreferences is an object, use isset instead.
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-31 09:46:22 +01:00
Ruslan Kabalin 7a04c476a2 MDL-27171 messages: implement new syntax in messages.php and update processing
The new messaging default settings can be set in messages.php and deployed
during installation. This also ensures the removing of settings on plugin
uninstallation and contains the update script to populate current default
settings on the existing system when the new feature is introduced.

For security reason we have to avoid using library functions in upgrade
function, so we set defaults the blind way. At this point we do not expect
plugins to have individual messaging defaults presets anyway. The site
defaults are the same as were set for each user using
message_set_default_message_preferences function.

Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-27 14:06:56 +01:00
Eloy Lafuente (stronk7) 9700d6835d Merge branch 'w05_MDL-26172_20_groupupgrade' of git://github.com/skodak/moodle 2011-01-31 15:17:33 +01:00
Petr Skoda 73af286bc8 MDL-26172 skip invalid group records during upgrade 2011-01-29 19:20:34 +01:00
Eloy Lafuente (stronk7) 5a4a7b425b MDL-25708 recordsets - fix upgradelib and dml stuff 2011-01-25 19:59:00 +01:00
Petr Skoda a290625efb fixed incorrect progress bar name 2010-12-09 09:09:21 +00:00
Sam Hemelryk bac233d326 backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
 MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
 MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
 MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
 MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
 MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
 MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
 CPY [schedule,core],[automatedbackupschedule,core_backup]
 MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
Petr Skoda 0ed7146b02 MDL-22584 fixed non standard space char breaking file upgrades 2010-11-01 16:00:47 +00:00
Petr Skoda d217b95068 MDL-22584 detect file paths that are too long to fit into 255 char db field 2010-10-26 19:14:22 +00:00
Petr Skoda d0b6f92a23 MDL-23885 flattening filepool directory structure - hopefully this will lower the number of directories but still keep a reasonable number of files in each directory on large installs; see tracker for more details 2010-08-25 21:45:34 +00:00
Petr Skoda 5b4a78e281 improved docs and license headers, adding direct access protection 2010-08-03 08:07:49 +00:00
Petr Skoda e88dd87685 MDL-23202 group icons now stored in file storage pool 2010-07-11 13:07:24 +00:00
Petr Skoda c7744f122d MDL-14589 remove old user icons after upgrade 2010-07-11 11:44:00 +00:00
Petr Skoda edfd6a5e73 MDL-14589 user icons now stored in file storage pool 2010-07-11 11:43:15 +00:00
Petr Skoda c0002023b1 comment typo 2010-07-06 17:31:16 +00:00
Petr Skoda 936a54ca05 MDL-23106 removing unused ratings upgrade code 2010-07-06 17:29:55 +00:00
Petr Skoda 64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Petr Skoda 6167660806 fixed inconsistent whitespace and obsolete use of $result in upgrades 2010-05-20 09:09:08 +00:00
Andrew Davis 63e87951e6 rating MDL-21657 updated version of ratings including forum and glossary integration 2010-04-22 05:15:23 +00:00
Andrew Davis 67e4713ca7 rating MDL-21657 changes based on Petr's feedback 2010-03-22 02:59:06 +00:00
Andrew Davis d2086d65db rating MDL-21657 shifted upgrade_module_ratings() 2010-03-19 08:54:20 +00:00
Andrew Davis 54e42e0bf2 rating MDL-21657 Switched from table ratings to rating 2010-03-16 08:57:57 +00:00
Andrew Davis 158cd5d91a rating MDL-21657 Fixed 2 upgrade problems 2010-03-16 06:59:34 +00:00
Andrew Davis a09aeee47b rating MDL-21657 first commit for rating library 2010-03-16 05:57:51 +00:00
Penny Leach c9606565ca mnet MDL-17629 fixed regression in fix_mnethostids 2010-02-18 01:17:43 +00:00
Penny Leach 7062a798f2 mnet MDL-17629 upgrade to fix referntial integrity in mnet hostids for localhost and all hosts records
merged from MOODLE_19_STABLE
2010-01-25 00:59:22 +00:00
Petr Skoda 117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
Nicolas Connault cc82aef6fa MDL-19754 New tables for blog, and upgrade script if needed 2009-10-30 07:24:34 +00:00
samhemelryk 7d2a049292 navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
nicolasconnault aa9a686740 MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:20:12 +00:00
skodak aa54ed7b02 MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker 2009-08-13 20:45:50 +00:00
stronk7 ba73136eab 2.0 prefixes syntax 2009-05-23 22:51:53 +00:00
stronk7 02caf1e799 MDL-16879 fix mnet hosts - upgrade_fix_incorrect_mnethostids() merged to HEAD 2009-05-12 00:21:28 +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 a1442d4e3e MDL-17436 fixed pg issue with char <> num comparison 2008-11-28 09:16:24 +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
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
skodak 245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +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 1ea260d83c MDL-14605 removed all pre 1.9 upgrade code from HEAD core 2008-05-01 20:29:04 +00:00