Commit Graph

57 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7) 00977e984e MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:15:48 +02:00
Eloy Lafuente (stronk7) e4eba4c346 MDL-59159 upgrade: clean < 3.1.0 upgrade steps
LTS (3.5) requires previous LTS (3.1)

This just deletes all the upgrade steps previous to 3.1.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.

Also includes an upgrade step to prevent upgrading from any
version < 2016052300 (v3.1.0) as anti-cheating measure.

Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase.
2017-12-04 01:18:57 +01:00
Eloy Lafuente (stronk7) 6499085f36 MDL-60784 upgrade: add 3.4.0 separation line to all upgrade scripts 2017-11-12 18:43:30 +01:00
Eloy Lafuente (stronk7) 29af7b0b4c MDL-57432 upgrade: clean < 3.0.0 upgrade steps
This just deletes all the upgrade steps previous to 3.0.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.

Also includes an upgrade step to prevent upgrading from any
version < 2015111600 (v3.0.0) as anti-cheating measure.

Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase.
2017-07-10 09:16:55 +01:00
Eloy Lafuente (stronk7) 5e27228335 MDL-58933 upgrade: add 3.3.0 separation line to all upgrade scripts 2017-05-19 19:22:07 +02:00
Eloy Lafuente (stronk7) 75c57a08fb MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts 2016-12-05 17:10:20 +01:00
Eloy Lafuente (stronk7) 4da854a68b MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 2016-05-23 01:31:34 +02:00
Eloy Lafuente (stronk7) e8c82aac82 MDL-51580 upgrade: clean < 2.7.0 upgrade steps
This just deletes all the upgrade steps previous to 2.7.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.

Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase.
2016-02-15 18:38:09 +01:00
Eloy Lafuente (stronk7) 6d29c4acdd MDL-52140 upgrade: add 3.0.0 separation line to all upgrade scripts 2015-11-17 17:08:56 +01:00
Eloy Lafuente (stronk7) b758ab3053 MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts 2015-05-12 00:21:05 +02:00
Eloy Lafuente (stronk7) 147bae8f7c MDL-48144 upgrade: add v2.8.0 sep lines 2014-11-10 18:08:15 +01:00
Eloy Lafuente (stronk7) f94891cc00 MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
Sam Hemelryk 593b838546 MDL-44159 mod_wiki: unify @package use 2014-02-21 08:32:58 +13:00
Sam Hemelryk 7db38cd53f MDL-44103 mod_wiki: fixed copyright typo 2014-02-16 12:14:25 +13:00
Damyon Wiese 47578dbff4 MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
Eloy Lafuente (stronk7) c9e54743ec MDL-39753 Add 2.5.0 upgrade line 2013-05-20 15:33:19 +02:00
Eloy Lafuente (stronk7) 6b9dfe731e MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
Petr Škoda 405a11e88d MDL-34601 drop legacy wiki upgrade tables
Next time please keep db in sync with install.xml at all times.
2012-08-02 09:55:53 +02:00
Aparup Banerjee 99c3c503e0 MDL-34096 Installation : Added 2.3 upgrade line to db upgrade scripts. 2012-06-29 11:41:09 +08:00
Petr Skoda 40e4cd435b MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
Aparup Banerjee 46f2a9366a MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 01:28:59 +01:00
Aparup Banerjee c5a8abfedd MDL-28169 Installation Added 2.1 upgrade (idiot proof) lines to upgrade scripts. 2011-07-07 11:40:38 +08:00
Eloy Lafuente (stronk7) b04aa92544 MDL-27724 wiki - update commented upgrade step to avoid future problems 2011-06-05 19:47:38 +02:00
Dongsheng Cai 79f0bac62e WIKI MDL-25501 1. check if wiki entry exists before insert new entry 2. check wiki version record mimetype, if it is not empty, try to export the content to file pool 2011-01-14 14:17:24 +08:00
Petr Skoda 90c42e0f43 MDL-25501 reverting PULL-95 2011-01-11 22:53:16 +01:00
Eloy Lafuente (stronk7) 742d877eaf Merge branch 'MDL-25793' of git://github.com/samhemelryk/moodle 2011-01-11 00:33:56 +01:00
Sam Hemelryk d481e2a8e3 mod-wiki MDL-25793 Bumped version number and adjusted version number in new upgrade code. 2011-01-10 17:31:40 +08:00
Dongsheng Cai 77064d2b4f WIKI MDL-25501 1. check if wiki entry exists before insert new entry 2. check wiki version record mimetype, if it is not empty, try to export the content to file pool 2011-01-10 10:07:34 +08:00
Sam Hemelryk 1be9192173 mod-wiki MDL-25793 Fixed database discrepancies between a fresh install and an upgraded site within the Wiki module 2011-01-04 09:43:45 +08:00
Dongsheng Cai ad85f2629d "NOMDL, fixed wiki upgrade, credits to David Mudrak" 2010-11-24 08:50:29 +00:00
Dongsheng Cai 49550e4964 "MDL-24862 revert previous change, sub query works better" 2010-11-19 07:43:13 +00:00
Aparup Banerjee bb7603e900 wiki MDL-24862 fixed the upgrade code breaking in mssql. 2010-11-19 06:10:33 +00:00
Dongsheng Cai 134d38ff18 MDL-22553, fixed wiki upgrade sql to running on sql server 2010-11-19 02:30:00 +00:00
Dongsheng Cai b9ec7dd288 MDL-24491, removed print_object in wiki upgrade code 2010-11-10 08:22:16 +00:00
Dongsheng Cai 77b8c5cafe MDL-23134, use foreach to read recordset instead of valid(), next() 2010-11-08 08:05:15 +00:00
Dongsheng Cai f0f77dfaae MDL-24888, wiki tags' itemtype should be wiki_pages, taglib will try to query table by itemtype in cron 2010-10-28 07:51:59 +00:00
Petr Skoda b52d96018b MDL-22700 fixed bad foreign key definition in table wiki_pages, patch by Jason Platts 2010-10-26 14:44:13 +00:00
Dongsheng Cai 89e2569b0f "MDL-22950 fixed filearea" 2010-08-11 07:25:20 +00:00
Eloy Lafuente dec303ade9 NOMDL wiki - adding missing savepoint 2010-08-02 11:58:04 +00:00
Jordi Piguillem ab42292001 Fixing tags and comments issues. 2010-08-02 11:49:51 +00:00
Jordi Piguillem 621f3ef519 [MDL-23130]
Fixing sql code style and sql injection problems
2010-07-30 10:49:41 +00:00
Petr Skoda 2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Petr Skoda a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +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
Jordi Piguillem 2dd18a9323 [MDL-22553]
Fixing problems with sql sentences using LIMIT
2010-05-25 09:06:45 +00:00
Dongsheng Cai cd8236983d "fixed version number to make http://cvs.moodle.org/contrib/tools/check_upgrade_savepoints/ happy" 2010-05-17 09:51:40 +00:00
Dongsheng Cai b420734aa0 "MDL-20814, verify the file path, and print relevant information is there is bad data" 2010-05-12 04:27:11 +00:00
David Mudrak d3dbc520c4 MDL-22112 Wiki 2.0 upgrade code - PostgreSQL errors
Firstly, double quotes are used to quote columns in PostgreSQL - let $DB
to deal with quoting of constant strings. Secondly, PostgreSQL does not
seem support table name aliases in UPDATE.
2010-05-02 17:29:21 +00:00
Dongsheng Cai 00710f4cc1 MDL-22112, push wiki 2.0 into head 2010-05-02 11:28:11 +00:00
Petr Skoda 14a960ac7b MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 19:53:01 +00:00