1. 06 Apr, 2015 1 commit
    • Petr Skoda's avatar
      MDL-49684 timezones: rewrite timezone support · d6e7a63d
      Petr Skoda authored
      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
      d6e7a63d
  2. 21 Jan, 2015 1 commit
  3. 01 Jul, 2014 1 commit
    • Petr Skoda's avatar
      MDL-46099 session: fix use of references for session globals · 2e00d01d
      Petr Skoda authored
      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.
      2e00d01d
  4. 13 Dec, 2013 1 commit
  5. 07 Oct, 2013 1 commit
    • Petr Škoda's avatar
      MDL-42078 multiple uninstall improvements and cleanup · e87214bd
      Petr Škoda authored
      Includes:
      * update checker refactored to \core\update\ namespace
      * plugininfo classes refactored to \core\plugininfo\ namespace
      * plugin_manager renamed to core_plugin_manager
      * redirect back to original page after plugin uninstall
      * fixed assign subplugin uninstall
      * move assign subplugins under the assignment in admin tree
      * fixed plugininfo for all question related plugin types
      * auth uninstall support
      * added missing block dependencies
      * added theme uninstall
      * subplugin types are following the plugin on plugin overview page
      * several performance improvements in plugin manager
      * new warnigns when plugininfo are outdated or missing
      * multiple fixes and other improvements
      e87214bd
  6. 24 Sep, 2013 1 commit
  7. 23 Sep, 2013 1 commit
  8. 12 Aug, 2013 1 commit
  9. 08 Aug, 2013 1 commit
  10. 04 Aug, 2013 1 commit
  11. 24 Jul, 2013 1 commit
  12. 20 Jul, 2013 1 commit
  13. 12 Jul, 2013 1 commit
    • Petr Škoda's avatar
      MDL-40475 add alternative component cache location and other improvements · d7245e34
      Petr Škoda authored
      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.
      d7245e34
  14. 05 Jul, 2013 1 commit
  15. 28 Jun, 2013 1 commit
  16. 18 Jun, 2013 2 commits
  17. 15 Jun, 2013 1 commit
  18. 11 Jun, 2013 1 commit
  19. 06 May, 2013 1 commit
  20. 30 Apr, 2013 1 commit
    • Petr Škoda's avatar
      MDL-39343 disable all caching in install and upgrades · e2e35e71
      Petr Škoda authored
      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.
      e2e35e71
  21. 08 Apr, 2013 1 commit
  22. 26 Nov, 2012 2 commits
  23. 06 Nov, 2012 1 commit
  24. 08 Oct, 2012 1 commit
  25. 30 May, 2012 1 commit
  26. 28 May, 2012 1 commit
  27. 10 Feb, 2012 1 commit
  28. 20 Jan, 2012 1 commit
  29. 15 Jan, 2012 1 commit
  30. 08 Jan, 2012 1 commit
  31. 22 Nov, 2011 1 commit
  32. 21 Nov, 2011 2 commits
  33. 27 Oct, 2011 1 commit
  34. 20 Oct, 2011 2 commits
  35. 13 Sep, 2011 1 commit
  36. 07 Aug, 2011 1 commit