Frederic Massart
525ef9c8b4
MDL-51948 core: Patch core areas for LTR forms
...
Part of MDL-55071
2016-09-23 10:55:14 +01:00
Eloy Lafuente (stronk7)
ae96cf6246
MDL-53019 php: bump all harcoded versions to new 5.6.5 requirement
...
Moodle 3.2 and up will require PHP >= 5.6.5. Hopefully some day we'll
have this centralized with MDL-39007, just it's not done yet.
Thanks to Stephen Bourget for raising this!
2016-07-05 01:50:43 +02:00
Russell Smith
1fcf0ca8a5
MDL-35628 performance: Remove dirname() where possible.
...
dirname() is a slow function compared with __DIR__ and using
'/../'. Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code. This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Cameron Ball
b5e6ec4486
MDL-52207 libraries: Delete Zend framework
...
Let it RIP.
2016-03-21 11:02:55 +08:00
Petr Skoda
d6e7a63d9a
MDL-49684 timezones: rewrite timezone support
...
This patch replaces all homegrown timezone
stuff with standard PHP date/time code.
The main change is the introduction of core_date
class that returns normalised user and server
timezones. From now on nobody should be using
$CFG->timezone or $user->timezone directly!
Other new features and fixes:
* admins are prompted for timezone during install
* editing of other users is finally fixed
* timezones are displayed in user profile
* new $this->setTimezone() in phpunit
* time locale is now automatically reset in phpunit
* timezone is now automatically reset in phpunit
* phpunit has Australia/Perth as default timezone
2015-04-06 13:53:51 +12:00
Petr Skoda
3a2baeb81c
MDL-49125 install: fix installer notices
2015-02-07 13:14:40 +13:00
Petr Skoda
2e00d01db4
MDL-46099 session: fix use of references for session globals
...
This reverses the references used for global $USER and $SESSION,
the reason is that PHP does not allow references to references.
$USER is a reference to $GLOBALS['USER'] which means we cannot
put any references to it. Solution is to store the current user and session
objects in $GLOBALS['USER'] and $GLOBALS['SESSIOn'] are reference
them in $_SESSION.
This patch makes the session code behave the same way in CLI,
phpunit and normal web requests - this allows use to finally
unit test most aspects of the session code in Moodle.
2014-07-01 08:38:00 +12:00
Andrew Nicols
395e5e5304
MDL-45167 install: Improve styling of installation process
2014-05-01 10:43:21 +08:00
Petr Škoda
3e5226ab6e
MDL-43528 remove all traces of magic quotes hacking from moodle core
2014-01-02 10:15:06 +08:00
Petr Škoda
dbe0203ba8
MDL-42931 fix hardcoded PHP version tests for 2.7
2013-12-13 14:04:24 +08:00
Petr Škoda
1a4621d8e5
MDL-31501 fake requried globals in both installers
2013-09-23 21:46:05 +02:00
Sam Hemelryk
98d696b6d5
MDL-31501 session: fixed missing autoloader during install
2013-09-23 15:38:45 +12: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
Petr Škoda
99a9d8d937
MDL-41019 refactor string managers to new core_ classes
2013-08-08 09:10:25 +02:00
Petr Škoda
7f0ffc544a
MDL-41020 fix installer notices
2013-08-04 10:18:10 +02:00
Petr Škoda
17601a7e12
MDL-39985 add explicit MariaDB support
2013-07-24 10:45:20 +08: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
d7245e3400
MDL-40475 add alternative component cache location and other improvements
...
Improvements include:
* Alternative location might be useful when server administrator wants to maintain
a local copy of component cache instead of using shared $CFG->cachedir.
* Component caching is now enabled in behat tests which should improve performance.
* Standardised ignoring of component caching.
* Fixed debug mode in ABORT_AFTER_CONFIG scripts.
* General documentation improvements.
2013-07-12 13:05:41 +02:00
Petr Škoda
d534708fd3
MDL-40299 textlib conversion to core_text and core_collator
2013-06-27 22:18:57 +02:00
Petr Škoda
1abf2f6acc
MDL-39854 fix installer regression caused by new core_component
2013-06-18 10:31:26 +02:00
Dan Poltawski
3d164e1ef4
Revert "MDL-39474 Library: Make a fast way to check developer debug mode"
...
There were multiple problems discovered.
This reverts commit 5c92e7a740fbce4184cf204a11ebbb6b918a376b.
Conflicts:
admin/cli/install.php
2013-06-18 15:07:22 +08:00
Sam Hemelryk
5c8cfccad3
Merge branch 'w25_MDL-26455_m26_installport' of git://github.com/skodak/moodle
...
Conflicts:
admin/cli/install.php
2013-06-18 14:29:08 +12:00
Petr Škoda
b29ca9b5d4
MDL-26455 add custom DB port and socket to web installer
2013-06-15 14:38:07 +02:00
sam marshall
5c92e7a740
MDL-39474 Library: Make a fast way to check developer debug mode
2013-06-11 16:29:00 +01:00
Frederic Massart
cf4cef7d76
MDL-39484 core: Undefined ostype during installation process
2013-05-06 10:06:09 +08:00
Eloy Lafuente (stronk7)
0fd23b76de
MDL-39006 environment: raise all uses of 5.3.2 to 5.3.3
2013-04-07 18:32:15 +02:00
Sam Hemelryk
94ef67cf5f
MDL-36466 cache: tidy up after review
2012-11-26 08:12:00 +13:00
Sam Hemelryk
3308259062
MDL-36466 cache: disabled caching during installation and upgrade
2012-11-26 08:12:00 +13:00
Eloy Lafuente (stronk7)
067200e212
MDL-36454 install: add missing cache lib.
2012-11-08 13:07:47 +01:00
Petr Škoda
68cd60b7df
MDL-36196 hardcode the required PHP version in installer
2012-11-07 13:04:08 +01:00
Jason Fowler
8231a0ca2a
MDL-33957 - Installation - Fixing field lengths so they are long enough for data entry, and don't distort page rendering
2012-06-25 09:52:56 +08:00
Jason Fowler
3d24b287be
MDL-33928 - Installation - Fixing the size of the host field for database details in the installation stage
2012-06-21 11:18:51 +08:00
Petr Skoda
0aff15c2c9
MDL-33007 add workaround for broken iconv //IGNORE
...
This patch adds mbstring utf-8 cleanup fallback and admin warning if no utf-8 cleanup possible in user submitted data.
2012-06-01 12:23:09 +02:00
David Mudrak
12812ad5da
MDL-30381 Fixed path to the cache directory in installers
...
This fixes the patch f848c0f6e60c4451a0058d87194f326bca690c1e introduced
in MDL-29351.
2011-11-21 15:48:31 +01:00
Petr Skoda
f848c0f6e6
MDL-29351 add missing temp and cache dirs to installers
2011-09-13 13:33:06 +02:00
Petr Skoda
70801baf0b
MDL-29016 allow distributions to set dataroot permissions
2011-08-20 12:48:44 +02:00
Sam Hemelryk
7d85a4e226
Merged branch 'w31-MDL-28412_m22_iconv' of git://github.com/skodak/moodle.git with english string improvements
2011-08-08 10:16:23 +08:00
Petr Skoda
695940df3b
MDL-28412 detect broken iconv
2011-08-06 23:04:31 +02:00
Petr Skoda
eab044a083
MDL-28634 fix forgotten references to Moodle 2.0 and old PHP version requirements
2011-08-06 23:00:02 +02:00
Petr Skoda
e5d2c5779f
MDL-25699 decode URLs in installer CSS
2011-07-23 00:45:17 +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
Petr Skoda
ae3a794781
MDL-26355 increase size of installer forms fields
2011-02-13 10:52:28 +01:00
Daren Chandisingh
e92977d3de
[MDL-25780] Fixed missing error string substitution
2011-01-26 15:20:28 +00:00
Petr Skoda
a226a972f7
MDL-24321 switching to stdClass in /admin/ and /
2010-09-21 08:44:02 +00:00
David Mudrak
1656452410
MDL-24072 installer: initialize moodledata content even if the directory itself already exists
2010-09-20 08:20:32 +00:00
David Mudrak
807ee8bcd9
NOMDL installer: do not switch from install lang pack if there is a problem with download
2010-09-20 07:53:44 +00:00
Petr Skoda
4ede587e28
MDL-22625 workaround for missing default timezone
2010-08-29 14:15:17 +00:00
Petr Skoda
0bda70315b
MDL-23984 improved dataroot handling in installer
2010-08-29 11:33:04 +00:00
Petr Skoda
e890316899
PHP4 is dead - admins with PHP4 will get ugly errors when trying to install Moodle 2.0, sorry we can not dance around this ancient version forever
2010-08-17 10:38:34 +00:00