1. 18 Apr, 2016 1 commit
    • Nicholas Hoobin's avatar
      MDL-53599 session: Added a session_class_handler for Redis. · c5211882
      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
      c5211882
  2. 30 Mar, 2016 2 commits
  3. 11 Mar, 2016 2 commits
  4. 09 Mar, 2016 1 commit
  5. 25 Feb, 2016 1 commit
    • Ruslan Kabalin's avatar
      MDL-50887 antivirus_clamav: Move global clamav settings to plugin level. · 7d19e0e3
      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
      7d19e0e3
  6. 11 Feb, 2016 1 commit
  7. 09 Feb, 2016 1 commit
  8. 10 Oct, 2015 1 commit
  9. 09 Oct, 2015 1 commit
  10. 29 Sep, 2015 1 commit
  11. 25 Sep, 2015 1 commit
  12. 24 Aug, 2015 1 commit
  13. 31 Mar, 2015 1 commit
  14. 17 Mar, 2015 1 commit
  15. 09 Mar, 2015 3 commits
  16. 05 Mar, 2015 1 commit
  17. 25 Feb, 2015 1 commit
  18. 16 Feb, 2015 1 commit
  19. 19 Dec, 2014 1 commit
  20. 01 Oct, 2014 1 commit
    • zbdd's avatar
      MDL-42993 auth: spaces removed from usernames by default only · 77218e4a
      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.
      77218e4a
  21. 19 Aug, 2014 1 commit
  22. 23 Jun, 2014 1 commit
    • Sam Hemelryk's avatar
      MDL-37145 caching: noted recommendation for dedicated memcache servers · 2c0eb5e6
      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
      2c0eb5e6
  23. 19 Jun, 2014 1 commit
  24. 03 Jun, 2014 1 commit
  25. 01 May, 2014 1 commit
    • Andrew Nicols's avatar
      MDL-45329 admin_task: Allow scheduled task change prevention · f12f3416
      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).
      f12f3416
  26. 01 Apr, 2014 1 commit
    • sam marshall's avatar
      MDL-43975 Sessions: Should support memcache, not just memcached · e645b4d5
      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.
      e645b4d5
  27. 11 Mar, 2014 1 commit
  28. 02 Feb, 2014 1 commit
  29. 27 Jan, 2014 1 commit
    • Damyon Wiese's avatar
      MDL-25500 lock: New locking framework. · 9843e5ec
      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).
      9843e5ec
  30. 14 Jan, 2014 1 commit
  31. 27 Dec, 2013 1 commit
  32. 13 Dec, 2013 1 commit
    • Petr Škoda's avatar
      MDL-43213 try to simplify behat config and init code · 60129d5d
      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
      60129d5d
  33. 03 Dec, 2013 1 commit
  34. 02 Dec, 2013 3 commits