Sam Hemelryk
61e93a4c08
Merge branch 'MDL-27083-master' of git://github.com/FMCorz/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2012-07-25 09:20:44 +12:00
Frederic Massart
67e3dd2c95
MDL-27083 Questions: Orphaned questions are adopted on upgrade
2012-07-23 11:37:09 +08:00
Petr Škoda
c8b3346cfd
MDL-33180 delete the last traces of SimpleTest - ciao and thanks
2012-07-21 10:11:50 +02:00
Sam Hemelryk
e6f5528585
MDL-28949 upgrade: Split course completion upgrade into smaller chunks
2012-05-29 08:50:45 +12:00
Aaron Barnes
424a19b106
MDL-28949 course completion: Database structure fixes
2012-05-28 16:13:25 +12:00
Petr Skoda
b814d1b4b2
MDL-32607 prevent upgrade_set_timeout abort in CLI scripts
...
Credit goes to Michael Aherne, thanks.
2012-04-27 13:51:38 +02:00
Petr Skoda
5563f5fbbb
MDL-31553 do not timeout CLI upgrade scripts
...
Credit goes to Michael Aherne.
2012-04-22 17:51:06 +02:00
Sam Hemelryk
68c7673088
Merge branch 'MDL-27547' of git://github.com/mouneyrac/moodle
2012-04-16 10:48:15 +12:00
Jerome Mouneyrac
bc81eadb19
MDL-27547 When deleting a local plugin containing a built-in service, the built-in service is not deleted
2012-04-11 14:49:14 +08:00
Sam Hemelryk
0ccb4dcce0
Merge branch 'MDL-32349-master' of git://github.com/sammarshallou/moodle
2012-04-10 12:38:40 +12:00
Petr Skoda
0c5406ca93
MDL-32293 move the upgrade_set_timeout() function to lib/upgradelib.php
...
Credit goes to Eloy Lafuente.
2012-04-09 18:14:27 +02:00
sam marshall
ebb98bf53c
MDL-32349 Installing can time out with large number of plugins
2012-04-05 18:29:00 +01:00
Eloy Lafuente (stronk7)
39b90b5152
MDL-30981 Upgrade API: Added related phpdocs
2012-04-02 00:40:13 +02:00
Sam Hemelryk
ef844d0a15
Merge branch 'w12_MDL-32094_m23_phpstrict' of git://github.com/skodak/moodle
2012-03-20 16:47:17 +13:00
Petr Skoda
f20edd5208
MDL-32094 fix various E_STRICT compatibility problems
2012-03-18 18:37:24 +01:00
Petr Skoda
37d729777c
MDL-32050 import Minify 2.1.5
2012-03-16 20:03:03 +01:00
Petr Skoda
9008ec1654
MDL-30929 detect incorrect major version upgrades
2012-01-16 09:08:36 +01:00
Tim Hunt
ff05bb3166
MDL-26469 upgrade: cope with modules that do not set $module->cron.
2012-01-11 15:42:23 +00:00
Tim Hunt
3412cb4386
MDL-26469 upgrade: module cron setting not updated.
2012-01-11 14:04:09 +00:00
Jerome Mouneyrac
af03513f93
MDL-30268 add 'Can download files' field to service
2011-11-16 11:51:03 +08:00
Tim Hunt
da2fdc3f34
MDL-29474 update more of the admin code to use the admin renderer.
2011-10-20 11:13:35 +01:00
Petr Skoda
e922fe23b6
MDL-29602 accesslib improvements
...
Refactoring and improvements of the accesslib.php library including prevention of access for not-logged-in users when forcelogin enabled, improved context caching, OOP refactoring of contexts, fixed context loading, deduplication of role definitions in user sessions, installation improvements, decoupling of enrolment checking from capability loading, added detection of deleted and non-existent users in has_capability(), new function accesslib test, auth and enrol upgrade notes.
More details are available in tracker subtasks.
2011-10-16 14:05:18 +02:00
Petr Skoda
aff24313be
MDL-29401 introduce new frankenstyle PARAM types
...
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Petr Skoda
bd41bdd922
MDL-29029 move lang pack import to admin tools
...
Includes lang related language pack cleanup.
AMOS BEGIN
MOV [langpacks,core_admin],[pluginname,tool_langimport]
MOV [install,core_admin],[install,tool_langimport]
MOV [installedlangs,core_admin],[installedlangs,tool_langimport]
MOV [langimport,core_admin],[langimport,tool_langimport]
MOV [langimportdisabled,core_admin],[langimportdisabled,tool_langimport]
MOV [langpackinstalled,core_admin],[langpackinstalled,tool_langimport]
MOV [langpackremoved,core_admin],[langpackremoved,tool_langimport]
MOV [langpackupdateskipped,core_admin],[langpackupdateskipped,tool_langimport]
MOV [langpackuptodate,core_admin],[langpackuptodate,tool_langimport]
MOV [langupdatecomplete,core_admin],[langupdatecomplete,tool_langimport]
MOV [missinglangparent,core_admin],[missinglangparent,tool_langimport]
MOV [nolangupdateneeded,core_admin],[nolangupdateneeded,tool_langimport]
MOV [remotelangnotavailable,core_admin],[remotelangnotavailable,tool_langimport]
MOV [uninstall,core_admin],[uninstall,tool_langimport]
MOV [uninstallconfirm,core_admin],[uninstallconfirm,tool_langimport]
MOV [updatelangs,core_admin],[updatelangs,tool_langimport]
AMOS END
2011-09-17 20:58:26 +02:00
Tom Lanyon
7aa06e6ded
MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir
2011-09-10 10:35:39 +02:00
Rajesh Taneja
bb44ef990f
MDL-28580 Administration: Added sanity check to grab wrong usage of upgrade_main_savepoint
2011-08-19 07:37:48 +00:00
Jerome Mouneyrac
02ae44cf4e
MDL-27783 enabled status of a built-in service should never been updated on upgrade. It is only used during the installation. If a dev really needs to change the status, he can do it in lib/db/upgrade.php
2011-06-09 16:50:14 +08:00
Sam Hemelryk
96e0194c05
Merged branch 'MLD-27551' of git://github.com/mouneyrac/moodle.git with changes
2011-06-08 17:34:17 +08:00
Jerome Mouneyrac
c1b658832d
MDL-27551 add enable mobile feature (enable web services + mobile service - add mobile builtin service - add unique shortname for service)
2011-06-08 15:10:26 +08:00
Ruslan Kabalin
afed8d0f17
MDL-27652 messages: introduce message_update_processors
...
This function populates default message preferences for all existing providers
when the new message processor is added.
The change also includes update of message_set_default_message_preference to
make possible using it for particular message processor update.
install_populate_default_messaging_prefs() is no longer needed and depricted.
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-06-01 12:02:37 +01:00
David Mudrak
52deafc143
MDL-27317 Fixed incorrect variable names in the language pack update
...
This was introduced by copying & pasting the code during 74a4c9.
2011-05-06 23:38:02 +02:00
David Mudrak
74a4c9a9ee
MDL-26914 When installing a lang pack, install all the grandparents too
...
All places where a language pack is installed now use the new language
package installer that takes case of the parental dependencies.
2011-03-31 12:21:05 +02:00
David Mudrak
a9cbd19bff
MDL-26804 core_string_manager::get_list_of_translations() can use a cache again
...
This patch reimplements the internal cache that was used to store the
list of available translations in Moodle 1.x. By default, the method
get_list_of_translations() still uses the file
moodledata/cache/languages to store the list of available translations.
The location of that file can be redefined in config.php. The internal
format of the cache file is JSON now (used to be a plain text list).
The patch also fixes a usage of the global $CFG in translation_exists()
methods where the internal property should be used instead.
2011-03-24 21:51:30 +01:00
Petr Skoda
bb8b29715a
MDL-26219 fix borked upgrade logging and add new fileversion column
2011-02-07 20:00:20 +01:00
Petr Skoda
c1ddac83b3
MDL-26104 fix blocknameconflict component in get_string()
...
creadit goes to Howard Miller
2011-01-29 19:37:56 +01:00
Petr Skoda
3e858ea737
MDL-26035 more detection of invalid plugin dir names
2011-01-23 14:27:51 +01:00
Petr Skoda
8d33799d46
MDL-25543 fixed borked preupgrade script support
...
credit goes to Chris B Stones
2010-12-08 07:51:00 +00:00
David Mudrak
f4a2817ac5
MNet upgrade: missing required not null value
...
The column description in mnet_service table is set to not null and no
value is set for the insert_record(). We must explicitly provide the
empty string if the description is not defined in db/mnet.php file.
2010-11-10 16:01:23 +00:00
Petr Skoda
f6f06d6919
MDL-22878 fixed incorrect install flag name, patch by John Beedell
2010-10-26 14:37:23 +00:00
Petr Skoda
41209c1e0f
MDL-24751 upgrades may need more memory
2010-10-19 10:17:48 +00:00
Petr Skoda
6bdfef5da9
MDL-24321 switching to standard stdClass()
2010-09-21 08:54:01 +00:00
Petr Skoda
365a594107
MDL-24321 switching to stdClass in /lib/
2010-09-21 08:07:44 +00:00
Petr Skoda
f7e17018f9
MDL-24302 removing multiple field from block table in install.xml - it was already removed in upgrade once
2010-09-20 19:13:07 +00:00
Petr Skoda
17b7171655
initialised variables
2010-09-17 08:15:17 +00:00
Petr Skoda
96e1fdf426
missing global preventing full debug during upgrade as was planned
2010-09-17 08:14:29 +00:00
Petr Skoda
ef14c1e724
MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins
2010-09-05 20:36:18 +00:00
Petr Skoda
d32fb55027
MDL-24090 fixed package info and added proper dates and authors in class copyrights
2010-09-05 20:15:41 +00:00
Petr Skoda
c6d75bffa5
MDL-23628 improved log action support - now similar to handling of capabilities
2010-08-03 10:07:18 +00:00
David Mudrak
63891a7cae
MDL-23200 Upgrade does not download uninstalled lang pack even if it remains set in admin's SESSION
2010-07-29 09:38:08 +00:00
Petr Skoda
78bfb562a0
MDL-21249 improved php docs and adding direct access prevention in core libs
2010-07-25 13:35:05 +00:00