Commit graph

79 commits

Author SHA1 Message Date
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
Juan Leyva
c6f9f06146 MDL-57759 mod_lesson: New settings for allowing offline attempts 2017-03-27 13:10:00 +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
David Monllao
44ad0f2c8d Merge branch 'MDL-51580' of git://github.com/stronk7/moodle 2016-02-16 05:03:28 +08: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
Stephen Bourget
a36eba45dc MDL-52414 Lesson: Apply defaults to lesson creation 2016-02-10 14:07:22 -05: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
Stephen Bourget
bb685cf3fa MDL-49581 Lesson: Remove broken high score function 2015-07-20 20:06:44 -04: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
Jean-Michel Vedrine
e0e1a83e2c MDL-49642 mod_lesson: Group/user overrides 2015-04-02 13:56:52 +02:00
Dan Poltawski
deadda2f86 Merge branch 'MDL-48880' of git://github.com/jmvedrine/moodle
Conflicts:
	mod/lesson/db/upgrade.php
	mod/lesson/version.php
2015-03-31 11:21:11 +01:00
Jean-Michel Vedrine
c7d1a37bdb MDL-18966 mod_lesson: Save attempts of practice lessons 2015-03-30 12:58:17 +02:00
Jean-Michel Vedrine
7e0551fc45 MDL-48880 mod_lesson: clean lesson_branch when a page is deleted 2015-03-29 21:46:05 +02:00
Jean-Michel Vedrine
10e2355f8c MDL-48715 mod_lesson: use only one field for time spent rule 2015-03-17 20:47:01 +01:00
Jean-Michel Vedrine
d0445cf70d MDL-48715 mod_lesson: add a time spent custom completion rule 2015-03-15 15:24:55 +01:00
Eloy Lafuente (stronk7)
0967a20d02 Merge branch 'MDL-48962' of git://github.com/jmvedrine/moodle 2015-03-04 00:00:16 +01:00
Eloy Lafuente (stronk7)
6442803f76 MDL-48984 mod_lesson: explicitly close some recordsets 2015-03-03 12:52:40 +01:00
Eloy Lafuente (stronk7)
6230f717bf Merge branch 'MDL-48984' of git://github.com/jmvedrine/moodle 2015-03-03 12:52:20 +01:00
Dan Poltawski
6a4caa0128 Merge branch 'MDL-34006_m29v6' of https://github.com/sbourget/moodle
Conflicts:
	mod/lesson/version.php
	mod/lesson/db/upgrade.php
	mod/lesson/db/install.xml
2015-03-03 11:40:17 +00:00
Jean-Michel Vedrine
a1300e98bb MDL-48984 mod_lesson: some lesson_answers answers should be plain text
Branch tables jump descriptions, short answer question answers
and numerical question answers should be plain text, and no editor
should be available here.
2015-03-03 08:24:24 +01:00
Jean-Michel Vedrine
a1acc00177 MDL-48962 mod-lesson: maxtime should use a duration form element 2015-02-26 10:28:42 +01:00
Stephen Bourget
6695d5947f MDL-34006 Lesson: Resume lesson loads wrong page. 2015-02-25 10:22:41 -05:00
Jean-Michel Vedrine
2e6b9f5c9b MDL-48631 mod_lesson: tables 'grade' item have incorrect precision 2014-12-29 10:46:19 +01:00
Jean-Michel Vedrine
25345cb4cd MDL-48244 Lesson: add custom end of lesson reached completion rule 2014-12-21 16:23:49 +01:00
Eloy Lafuente (stronk7)
147bae8f7c MDL-48144 upgrade: add v2.8.0 sep lines 2014-11-10 18:08:15 +01:00
Dan Poltawski
106486c7ad MDL-38106 lesson: don't require intro when upgraded 2014-10-06 14:54:53 +01:00
Daniel Neis Araujo
d83891729a MDL-38106 mod_lesson: Add introduction field 2014-10-03 14:38:03 +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
9b24f68bde MDL-41177 mod_lesson: unified @package use 2014-02-16 11:51:23 +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
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
Sam Hemelryk
36a60f0ff6 mod-lesson MDL-25632 Added upgrade code to correct page jumps for matching questions after Moodle 1.9 upgrade. 2010-12-15 13:12:33 +08:00
Eloy Lafuente
7dcce47503 MDL-23781 lesson - files upgrade fatal error fixed 2010-08-22 21:02:56 +00:00
Petr Skoda
8d1a39637a MDL-23781 migrated old non-standard moddata lesson files and fixed media files migration 2010-08-12 16:05:41 +00:00
Petr Skoda
0d6521541f adding missing rs->close(), removing unused code, coding style improvement 2010-08-12 12:20:04 +00:00
Petr Skoda
87150ca16b fixed oracle SQL compatibility 2010-08-12 12:14:05 +00:00
Petr Skoda
3d1b745283 MDL-22639 fixed meadiafile support - unfortunately all old media files are lost, upgrade again from 1.9..... 2010-07-25 12:39:32 +00:00
Petr Skoda
cc3dbaaa30 MDL-21249 improved php docs package+subpackage info in mod/lesson 2010-07-25 10:54:39 +00:00
Petr Skoda
1b08cef715 fixed coding style 2010-07-25 09:13:43 +00:00
Petr Skoda
01c37ef1b5 MDL-23197 ugly hack that adds editor support into lesson answers and responses - no files support planned for 2.0, sorry 2010-07-20 21:11:41 +00:00
Sam Hemelryk
f621a346a2 mod-lesson MDL-23204 Converted page contents to html during upgrade and addition of contentsformat field 2010-07-20 05:38:28 +00:00
Petr Skoda
acde4348a1 adding hack note 2010-07-15 14:53:51 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00