Commit graph

17388 commits

Author SHA1 Message Date
Petr Škoda
effff2a466 MDL-41437 refactor and cleanup module uninstall support 2013-09-25 10:27:09 +02:00
Petr Škoda
74762da37f MDL-41437 implement new block, enrol and course format pluginfo uninstall methods 2013-09-25 10:12:11 +02:00
Petr Škoda
3e51580be3 MDL-43437 fix course format disabling 2013-09-25 10:03:06 +02:00
Petr Škoda
a707a0b461 MDL-41437 fix non-functional message processor uninstall 2013-09-25 09:39:36 +02:00
Petr Škoda
5037785247 MDL-41208 fix more invalid @VERSION@ 2013-09-25 09:14:36 +02:00
Petr Škoda
a31e0b40c9 MDL-41437 fix and cleanup filter uninstall 2013-09-25 08:41:33 +02:00
Marina Glancy
093a6fe77f Merge branch 'MDL-41912-master' of git://github.com/damyon/moodle
Conflicts:
	lib/editor/atto/styles.css
2013-09-25 12:53:09 +10:00
Marina Glancy
d0b63cbde5 Merge branch 'MDL-41870-master' of git://github.com/damyon/moodle 2013-09-25 12:21:46 +10:00
Marina Glancy
e26e4b8a7b Merge branch 'MDL-41713-master' of git://github.com/phalacee/moodle
Conflicts:
	lib/editor/atto/styles.css
2013-09-25 12:21:37 +10:00
Eloy Lafuente (stronk7)
1d453eff25 Merge branch 'MDL-41910_master' of git://github.com/dmonllao/moodle 2013-09-25 03:11:53 +02:00
Eloy Lafuente (stronk7)
14976b3568 Merge branch 'MDL-41839-master' of git://github.com/sammarshallou/moodle 2013-09-25 02:33:30 +02:00
Eloy Lafuente (stronk7)
109d6fe290 Merge branch '40903-26' of git://github.com/samhemelryk/moodle 2013-09-25 02:00:22 +02:00
Eloy Lafuente (stronk7)
24262f5948 Merge branch 'master_MDL-41806' of git://github.com/totara/moodle 2013-09-25 01:01:23 +02:00
Sam Hemelryk
1f6181e5aa Merge branch 'MDL-38286-m' of git://github.com/andrewnicols/moodle 2013-09-25 09:31:43 +12:00
Sam Hemelryk
a78e39e3d3 Merge branch 'master_MDL-41580' of git://github.com/danmarsden/moodle 2013-09-25 09:27:44 +12:00
Eloy Lafuente (stronk7)
bbfa86fe48 Merge branch 'wip-MDL-41594-master' of git://github.com/marinaglancy/moodle 2013-09-24 23:20:53 +02:00
Sam Hemelryk
0c5cb2bf22 MDL-40903 fixed merge conflicts against integration 2013-09-25 09:19:56 +12:00
Eloy Lafuente (stronk7)
18ccaca2e2 Merge branch 'MDL-41726-master-2nd' of git://github.com/FMCorz/moodle
Conflicts:
	lang/en/moodle.php
2013-09-24 23:13:50 +02:00
Sam Hemelryk
b51fed38f2 MDL-40903 cache: renamed loader method to reflect static accelerator 2013-09-25 09:05:18 +12:00
Sam Hemelryk
d074fb091d MDL-40903 cache: renamed persistcache to staticacceleration 2013-09-25 09:05:18 +12:00
Sam Hemelryk
8bc1d659b8 MDL-40903 cache: coding style tidyup pre-integration 2013-09-25 09:04:35 +12:00
Sam Hemelryk
083fa87759 MDL-40903 cache: converted persistent into persistentdata
At the same time all cache instances were made persistent
2013-09-25 09:04:35 +12:00
Petr Škoda
394372b7da MDL-41437 fix plugin install issues
This patch prevents inclusion of settings from plugin that or not yet installed or upgraded,
this matches the original logic where we were using the modules table.
2013-09-24 22:43:46 +02:00
Eloy Lafuente (stronk7)
161f995849 Merge branch 'w39_MDL-41437_m26_mia' of https://github.com/skodak/moodle
Conflicts:
	admin/auth.php
	lib/db/upgrade.php
	version.php
2013-09-24 20:18:03 +02:00
Sam Hemelryk
40643dcaad Merge branch 'int_behat' of https://github.com/skodak/moodle 2013-09-24 21:16:29 +12:00
Frederic Massart
d733a8ccc3 MDL-40050 webservice: Replace add_to_log() with new events 2013-09-24 15:20:18 +08:00
Petr Škoda
de230fd359 MDL-37324 fix phpunit and behat SESSION and USER setup 2013-09-24 08:59:29 +02:00
Marina Glancy
bdc7ff589d Merge branch 'MDL-41725-master-onecommit' of git://github.com/jamiepratt/moodle 2013-09-24 16:49:50 +10:00
Yuliya
853e506a1b MDL-40572 badges: Update badge assertion to use new specification 2013-09-24 12:29:54 +12:00
Sam Hemelryk
1f4f0901d0 Merge branch 'w39_MDL-41904_m26_markdown' of https://github.com/skodak/moodle 2013-09-24 12:14:16 +12:00
Sam Hemelryk
fb45f406a1 Merge branch 'w39_MDL-41903_m26_typo3' of https://github.com/skodak/moodle 2013-09-24 12:09:47 +12:00
Dan Marsden
361a47d409 MDL-41580 SCORM: allow imsmanifest.xml to be used in file system repos 2013-09-24 12:08:38 +12:00
Sam Hemelryk
0eee7f9b43 Merge branch 'w39_MDL-40107_m26_tcpdf' of https://github.com/skodak/moodle 2013-09-24 12:01:03 +12:00
Sam Hemelryk
eeb08203dc MDL-39871 output: improved block manipulation inheritance 2013-09-24 10:37:14 +12:00
Sam Hemelryk
0fd451b7ad Merge branch 'WIP-MDL-39871_master' of git://github.com/nadavkav/moodle 2013-09-24 10:02:58 +12:00
Sam Hemelryk
96218d0edb Merge branch 'MDL-41716-master' of git://github.com/phalacee/moodle 2013-09-24 09:37:10 +12:00
Petr Škoda
136d9a4788 MDL-40107 import tcpdf 6.0.031
Includes a few more small asian fonts.
2013-09-23 23:19:53 +02:00
Sam Hemelryk
c99fcebded Merge branch 'MDL-40048-master' of git://github.com/FMCorz/moodle 2013-09-24 08:51:41 +12:00
David Monllao
0793389fd6 MDL-41910 user: Allowing LASTACCESS_UPDATE_SECS overwrite 2013-09-23 16:58:56 +08:00
Marina Glancy
009e0d28ae Merge branch 'w39_MDL-37324_m26_phpmailer' of https://github.com/skodak/moodle 2013-09-23 18:15:35 +10:00
Petr Škoda
6226cc30fb MDL-37324 fix phpmailer method case names and standardise phpmailer init 2013-09-23 10:11:27 +02:00
Sam Hemelryk
d99847a338 Merge branch 'w39_MDL-31501_m26_sessionreboot' of https://github.com/skodak/moodle 2013-09-23 15:02:49 +12:00
Frederic Massart
481753eca6 MDL-40048 events: New abstract event for old 'view all' log 2013-09-23 10:58:28 +08:00
Dan Poltawski
f5dfefdc87 MDL-41885 lib: Introduce component_callback_exists
Determines if a callback in a module exists without needing to
call that callback.
2013-09-23 10:44:42 +08: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
Petr Škoda
d79d5ac276 MDL-31501 rework user session architecture
List of changes:
 * New OOP API using PHP namespace \core\session\.
 * All handlers now update the sessions table consistently.
 * Experimental DB session support in Oracle.
 * Full support for session file handler (filesystem locking required).
 * New option for alternative session directory.
 * Official memcached session handler support.
 * Workaround for memcached version with non-functional gc.
 * Improved security - forced session id regeneration.
 * Improved compatibility with recent PHP releases.
 * Fixed borked CSS during install in debug mode.
 * Switched to file based sessions in new installs.
 * DB session setting disappears if DB does not support sessions.
 * DB session setting disappears if session handler specified in config.php.
 * Fast purging of sessions used in request only.
 * No legacy distinction -  file, database and memcached support the same functionality.
 * Session handler name included in performance info.
 * Fixed user_loggedin and user_loggedout event triggering.
 * Other minor bugfixing and improvements.
 * Fixed database session segfault if MUC disposed before $DB.

Limitations:
 * Session access time is now updated right after session start.
 * Support for $CFG->sessionlockloggedinonly was removed.
 * First request does not update userid in sessions table.
 * The timeouts may break badly if server hosting forces PHP.ini session settings.
 * The session GC is a lot slower, we do not rely on external session timeouts.
 * There cannot be any hooks triggered at the session write time.
 * File and memcached handlers do not support session lock acquire timeouts.
 * Some low level PHP session functions can not be used directly in Moodle code.
2013-09-21 13:11:56 +02:00
Petr Škoda
29bf99fdc1 MDL-37324 import phpmailer 5.2.7 2013-09-20 18:11:50 +02:00
Petr Škoda
aaee690b89 MDL-41208 import YUI 3.12.0 with @VERSION@ fix for simpleyui 2013-09-20 18:03:18 +02:00
Petr Škoda
687c88785c MDL-41903 import typo3 4.7.15 2013-09-20 17:58:35 +02:00
Petr Škoda
baf3d69072 MDL-41904 import Markdown lib 1.3 2013-09-20 17:48:43 +02:00