- 04 Aug, 2016 1 commit
-
-
Russell Smith authored
-
- 10 Jun, 2016 1 commit
-
-
Russell Smith authored
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.
-
- 06 May, 2016 1 commit
-
-
git://github.com/nhoobin/moodleAndrew Nicols authored
This reverts commit 15a813cd, reversing changes made to 6870e1fa.
-
- 18 Apr, 2016 1 commit
-
-
Nicholas Hoobin authored
It is now possible to set up Redis as a session handler for Moodle. Ensure that the phpredis extension is enabled and working on your sever. Please place the following lines in config.php $CFG->session_handler_class = '\core\session\redis'; $CFG->session_redis_save_path = 'tcp://127.0.0.1'; To determine if it has been set correctly, navigate to $CFG->wwwroot/admin/phpinfo.php and find following the strings in the session block, session.save_handler = redis session.save_path = tcp://127.0.0.1
-
- 30 Mar, 2016 2 commits
-
-
Damyon Wiese authored
Most importantly it retains formatting better, and supports different charsets far better than pandoc.
-
Damyon Wiese authored
This lets us convert between common office formats. E.g. docx -> pdf html -> pdf, html -> ods. This commit also updates assignment editpdf plugin to use this converter on all compatible submission files.
-
- 11 Mar, 2016 2 commits
-
-
Rajesh Taneja authored
This config will be supported to avoid broken configuration in future. As this is limited, we need will still use ->behat_config to set config values which can't be set by behat_profiles
-
Rajesh Taneja authored
-
- 09 Mar, 2016 1 commit
-
-
Brendan Heywood authored
-
- 25 Feb, 2016 1 commit
-
-
Ruslan Kabalin authored
AMOS BEGIN MOV [clamfailureonupload,core],[clamfailureonupload,antivirus_clamav] MOV [configclamactlikevirus,core],[configclamactlikevirus,antivirus_clamav] MOV [configclamdonothing,core],[configclamdonothing,antivirus_clamav] MOV [configclamfailureonupload,core],[configclamfailureonupload,antivirus_clamav] MOV [configpathtoclam,core],[configpathtoclam,antivirus_clamav] MOV [configquarantinedir,core],[configquarantinedir,antivirus_clamav] MOV [configrunclamavonupload,core],[configrunclamavonupload,antivirus_clamav] MOV [pathtoclam,core],[pathtoclam,antivirus_clamav] MOV [quarantinedir,core],[quarantinedir,antivirus_clamav] MOV [runclamavonupload,core],[runclamavonupload,antivirus_clamav] AMOS END
-
- 11 Feb, 2016 1 commit
-
-
Brendan Heywood authored
This enables a plugin to implement rewriting rules enabling 'clean' or 'semantic' urls such as /course/COMP100/ instead of /course/view.php?id=1234
-
- 09 Feb, 2016 1 commit
-
-
When $CFG->divertallemailsto is specified, this allows a list of email or domain exceptions to be whitelisted enabling easier testing by groups of testers who don't share a single email address.
-
- 10 Oct, 2015 1 commit
-
-
David Mudrák authored
The admin setting updateautodeploy no longer exists. The two existing config.php flags $CFG->disableupdateautodeploy and $CFG->disableonclickaddoninstall merged into a single one.
-
- 09 Oct, 2015 1 commit
-
-
David Mudrák authored
-
- 29 Sep, 2015 1 commit
-
-
Dan Poltawski authored
-
- 25 Sep, 2015 1 commit
-
-
David Mudrák authored
The upgrade key can be defined in the main config.php as $CFG->upgradekey. If it is defined there, then its value must be provided every time the site is being upgraded, regardless the administrator is logged in or not.
-
- 24 Aug, 2015 1 commit
-
-
Michael Aherne authored
-
- 31 Mar, 2015 1 commit
-
-
Andrew Nicols authored
This adds functionality to create individual request directories which can be only be used for the current request. They are removed by a shutdown handler.
-
- 17 Mar, 2015 1 commit
-
-
Both $CFG->logsql and $CFG->dblogerror had no use in moodle core since ages ago (just the former had one use for nothing). Good time to get rid of both as they are 100% misleading.
-
- 09 Mar, 2015 3 commits
-
-
Rajesh Taneja authored
-
Rajesh Taneja authored
-
Rajesh Taneja authored
1. Create behat datadir within behat_dataroot not at same level 2. Define suffix for link and not use hard-coded values 3. Renamed ns_parallel to run.php 4. Rename variables to best understand them 5. Added support for each run to specify db, prefix, rerun and profile. 6. Showing number of steps in each line of parallel run.
-
- 05 Mar, 2015 1 commit
-
-
Eric Merrill authored
-
- 25 Feb, 2015 1 commit
-
-
Eric Merrill authored
-
- 16 Feb, 2015 1 commit
-
-
Frederic Massart authored
-
- 19 Dec, 2014 1 commit
-
-
sam marshall authored
Uses a new optional config variable to define custom MIME types in JSON format. Includes new API for accessing and modifying this data.
-
- 01 Oct, 2014 1 commit
-
-
zbdd authored
Functionality by default does not change with this patch. However spaces are no longer stripped when cleaning usernames IF $CFG->extendedusernamechars has been set. Also included 2 trim statements where small issues were found with reading external usernames in that were not filtered for trailing whitespaces.
-
- 19 Aug, 2014 1 commit
-
-
- 23 Jun, 2014 1 commit
-
-
Sam Hemelryk authored
Several reports have been made about the unexpected purging of entire memcached servers when MUC is configured to use Memcache and caches get purged. This is expected and occurs because the memcache extenions don't provide isolated containers. Moodle data is stored along side any other data in the cache and when caches get purged all data gets removed whether it belongs to Moodle or not. The docs cover this point and here I've added notes about this to both config-dist.php and cache/README.md
-
- 19 Jun, 2014 1 commit
-
-
Damyon Wiese authored
-
- 03 Jun, 2014 1 commit
-
-
Rajesh Taneja authored
AMOS BEGIN MOV ['gspath','assignfeedback_editpdf'],['pathtogs','admin'] MOV ['gspath_help','assignfeedback_editpdf'],['pathtogs_help','admin'] AMOS END
-
- 01 May, 2014 1 commit
-
-
Andrew Nicols authored
Some hosting providers have a requirement to prevent users making modifications to the configuration of scheduled tasks as doing so may have a negative impact not only on their own site, but also on the performance of other sites (depending on host configuration). For example, if the statistics or automated backup tasks were run every minute, this could have a negative impact for other users).
-
- 01 Apr, 2014 1 commit
-
-
sam marshall authored
This commit adds a session handler which works using memcache (without requiring the memcached extension), similar to the support for memcache within MUC. This may be less reliable than memcached but we have been using a similar approach on our system without problems. In case, I added a warning in config-dist.php.
-
- 11 Mar, 2014 1 commit
-
-
Damyon Wiese authored
-
- 02 Feb, 2014 1 commit
-
-
Andrew Nicols authored
-
- 27 Jan, 2014 1 commit
-
-
Damyon Wiese authored
This locking system is designed to be used everywhere requiring locking in Moodle. Each use of the locking system can be configured to use a different type of locking (or the same type with a different configuration). The first supported lock types are memcache, memcached, file (flock), db (specific handlers for pg, mysql and mariadb).
-
- 14 Jan, 2014 1 commit
-
-
David Monllaó authored
-
- 27 Dec, 2013 1 commit
-
-
Petr Škoda authored
-
- 13 Dec, 2013 1 commit
-
-
Petr Škoda authored
1/ always require 3 behat settings - $CFG->behat_wwwroot, $CFG->behat_dataroot and $CFG->behat_prefix 2/ cleanup init code 3/ do not require $CFG->wwwroot and $CFG->dataroot on test sites 4/ remove switch completely - the most confusing part for me 5/ print out behat_wwwwroot in init script so that you can test the test site manually
-
- 03 Dec, 2013 1 commit
-
-
Aaron Barnes authored
-