Tim Hunt
4e8a07d28b
MDL-44118 remove the qeupgradehelper tool
...
and associated code that was only used by it.
2014-02-18 11:55:21 +00:00
Sam Hemelryk
5e45f31d83
Merge branch 'MDL-42882-master' of git://github.com/danpoltawski/moodle
2014-02-10 13:12:57 +13:00
Sam Hemelryk
065bc30c8d
Merge branch 'MDL-43946' of https://github.com/merrill-oakland/moodle
2014-02-10 08:42:55 +13:00
Eric Merrill
51ec2e451f
MDL-43946 gradebook upgrade Improve SQL to find duplicate sortorders.
2014-02-05 09:56:34 -05:00
Dan Poltawski
6c704b1534
MDL-42882 upgrade: Improvements to upgrade code
...
Suggested by Petr:
* Don't rely on single user for upgrade
* Make the pathnamehash generation a bit clearer (and add
a test to verify its correctly formed).
2014-02-05 14:38:39 +08:00
Dan Poltawski
40c761e01a
MDL-42882 upgrade: improved SQL query
...
Kudos to Tim Hunt who came up with this, on mysql with 4 milion
records (and a fast SSD) the performance difference is:
Original: 36.83 sec
New query: 8.63 sec
2014-02-03 17:29:51 +08:00
Dan Poltawski
119cf17eec
MDL-42882 upgrade: unit tests for root folders upgrade
...
Just verifying the original behaviour
2014-02-03 17:29:51 +08:00
Marina Glancy
e20497827d
MDL-41384 upgrade: make sure to re-read $SITE from DB when course table is altered
2014-01-31 16:56:30 +08:00
Eloy Lafuente (stronk7)
994e566256
MDL-43040 Note the deprecation and add some TODOs
2014-01-29 01:40:30 +01:00
Marina Glancy
b35ef82f33
MDL-41062 gradebook: corrections to grade_item upgrade script, more tests
2014-01-20 12:26:14 +08:00
Dan Poltawski
2a9d7a42aa
MDL-41062 gradebook: remove sortorder duplicates
...
* Upgrade function to remove duplicates from the grade item duplicates
column. Duplicates were causing sorting to fail in some cases.
* Add some unit tests which simulate sort order duplicate data and
verify that they have been removed.
2014-01-17 17:31:21 +08:00
Sam Hemelryk
a59a423926
Merge branch 'MDL-42084-master' of git://github.com/sammarshallou/moodle
2013-12-03 11:12:34 +13:00
Rajesh Taneja
8c59114f24
MDL-42924 Administration: use normalize_component to extract plugin name and type
2013-11-19 11:51:20 +08:00
sam marshall
3ef7279f26
MDL-42084 Core: Change set_time_limit to core_php_time_limit::raise everywhere
...
Exceptions (places where set_time_limit is still left) are:
Third-party libraries:
ADODB
PHPMailer
Moodle core:
PHPUnit - not relevant (CLI mode)
2013-11-06 16:40:01 +00:00
Petr Škoda
38fc013025
MDL-42040 refactor core Moodle shutdown handlers logic
2013-10-04 11:36:46 +02:00
Petr Škoda
bde002b81a
MDL-41437 rework plugin_manager caching and version info in blocks and modules
...
This patch includes:
* version column removed from modules table, now using standard config, this allows decimal version for modules
* version column removed from block table, now using standard config, this allows decimal version for blocks
* module version.php can safely use $plugins instead of module
* new plugin_manager bulk caching, this should help with MUC performance when logged in as admin
* all missing plugins are now in plugin overview (previously only blocks and modules)
* simplified code and improved coding style
* reworked plugin_manager unit tests - now using real plugins instead of mocks
* unit tests now fail if any plugin does not contain proper version.php file
* allow uninstall of deleted filters
2013-09-22 21:25:26 +02:00
Dan Poltawski
d5f8b7edc4
Merge branch 'w33_MDL-41094_m26_purgecleanup' of https://github.com/skodak/moodle
2013-08-20 17:03:47 +08:00
Dan Poltawski
6f44a73369
Merge branch 'w33_MDL-39474_m26_debugdeveloper' of https://github.com/skodak/moodle
...
Conflicts:
lib/upgrade.txt
2013-08-20 11:42:03 +08:00
Petr Škoda
96f81ea385
MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init
2013-08-12 13:01:47 +02:00
Sam Hemelryk
d3fb29877e
Merge branch 'w33_MDL-41086_m26_upgradecheck' of https://github.com/skodak/moodle
2013-08-12 14:23:10 +12:00
Petr Škoda
7b4d5af74d
MDL-41094 purge caches only before and after upgrade of plugins
...
It should not be necessary to purge before/after individual plugins
because caches are disabled during install and upgrade.
2013-08-08 22:40:10 +02:00
Petr Škoda
c5701ce7d4
MDL-41086 rework detection of necessary upgrades
2013-08-08 21:11:40 +02:00
Damyon Wiese
106c55fb9c
MDL-22236 Webservice file upload - Allow webservice file uploads direct to a draft filearea.
...
Via post to /webservice/upload.php
2013-08-08 09:57:57 +08:00
Petr Škoda
2f1e464a88
MDL-40438 migrate all collatorlib:: and textlib:: uses
2013-08-06 21:04:35 +02:00
Petr Škoda
85b3806114
MDL-40545 add $CFG->localcachedir intended for local caching on cluster nodes
2013-07-20 14:10:25 +02:00
Petr Škoda
b0d1d941c9
MDL-40220 use new core_component::get_component_directory()
2013-07-16 22:42:37 +02:00
Petr Škoda
56da374e1e
MDL-40220 use new core_component::normalize_component()
2013-07-16 22:41:00 +02:00
Petr Škoda
1c74b26090
MDL-40220 use new core_component::get_plugin_directory()
2013-07-16 22:38:38 +02:00
Petr Škoda
bd3b3bba9f
MDL-40220 use new core_component::get_plugin_list()
2013-07-16 22:36:11 +02:00
Petr Škoda
46f6f7f224
MDL-40220 use new core_component::get_plugin_types()
2013-07-16 22:31:48 +02:00
Petr Škoda
72e3a3c9cd
MDL-40549 remove unused legacy assignment upgrade tool
2013-07-12 12:40:55 +02:00
Petr Škoda
d534708fd3
MDL-40299 textlib conversion to core_text and core_collator
2013-06-27 22:18:57 +02:00
Sam Hemelryk
24dedb9680
MDL-39526 cache: purged when upgrade finished
2013-05-13 10:20:40 +12:00
Damyon Wiese
a5a6e93f01
MDL-39526 cache: add extra cache purge after upgrade_core
...
This prevents the upgraderunning lock from not being cleared when there are
no plugins to upgrade (reproducable bug with memcache as the application cache store)
2013-05-09 13:43:07 +08:00
Sam Hemelryk
3993a37c20
MDL-39526 cache: cleaned up disable_stores calls
2013-05-09 15:32:36 +12:00
Sam Hemelryk
fa167c4ac3
MDL-39526 cache: purge all stores after each plugin upgrade
2013-05-09 12:48:48 +12:00
Sam Hemelryk
b0dd08dd63
MDL-39430 cache: gets purged by force during upgrade and install
2013-05-09 10:42:21 +12:00
Petr Škoda
e2e35e71f9
MDL-39343 disable all caching in install and upgrades
...
This should resolve all problem on developer machines when switching branches or when restoring previous Moodle databases. It also prevents any potential problems during upgrades such as concurrent DB modification and resolves chicken egg problems in future caching upgrades.
2013-04-30 10:27:34 +02:00
Eloy Lafuente (stronk7)
c1782ec626
MDL-22153 backup: delete old, unused, 1.9 files
2013-04-07 17:20:41 +02:00
Petr Škoda
6b4b74904b
MDL-38558 add preupgrade script support
...
This is intended things like undoing of local hacks, it is similar to older pre 2.0 upgrade hack.
2013-03-19 19:14:01 +01:00
Petr Škoda
bdbcb6d7fa
MDL-38121 tell admins when plugin installed into wrong dir
2013-02-23 18:16:42 +01:00
Sam Hemelryk
e0d9b7c0d4
MDL-37683 cache: siteidentifier is now included in the keys
2013-02-18 08:32:03 +13:00
Tim Hunt
1fa845437c
MDL-37943 upgrade: logic error in upgrade_plugins_blocks.
...
Derek Woolhead tracked down the problem and what needed to be fixed. I
just made the patch.
The problem was that if $plugin->cron had changed in version.php, then
the version number in the database could end up wrong after the upgrade,
and so the upgrade would immediately run a second time.
2013-02-08 12:40:49 +00:00
Eloy Lafuente (stronk7)
e801c74c54
Merge branch 'w51_MDL-37183_m25_excelcleanup' of git://github.com/skodak/moodle
2013-01-08 23:30:19 +01:00
Sam Hemelryk
f44e7d0a77
Merge branch 'MDL-36357' of git://github.com/danpoltawski/moodle
...
Conflicts:
user/view.php
2013-01-09 09:34:22 +13:00
Petr Škoda
301ebbe512
MDL-37183 remove ancient unused excel library
2012-12-20 22:26:59 +01:00
Sam Hemelryk
94ef67cf5f
MDL-36466 cache: tidy up after review
2012-11-26 08:12:00 +13:00
Dan Poltawski
0e35ba6ffc
MDL-36357 cleanup - remove double semicolons
2012-11-15 09:51:26 +08:00
Sam Hemelryk
75af47ee1e
MDL-36386 cache: upgrades now trigger definitions to be updated
2012-11-07 10:42:20 +13:00
Frederic Massart
d8271e3908
MDL-35116 upgrade: Rename backup files having used short name previously
2012-10-29 14:07:18 +08:00