1. 01 Oct, 2018 1 commit
  2. 27 Sep, 2018 1 commit
  3. 26 Sep, 2018 1 commit
  4. 21 Sep, 2018 2 commits
    • Jonathan Champ's avatar
      MDL-54035 course: Test reset roles in reset_course_userdata() · d2a98f89
      Jonathan Champ authored
      Previously, reset_course_userdata() was deleting the role_capabilities
      directly, but has_capability() checks the local capabilities cache
      which was still returning the previous value.
      d2a98f89
    • Jonathan Champ's avatar
      MDL-54035 accesslib: separate role definition cache clear · b2f349a4
      Jonathan Champ authored
      Thanks to MDL-49398, we can separate the combined user session and role
      definition cache clearing function into two separate functions. At the
      same time, we want to identify and remove mark_dirty() calls that were
      added for role definition changes but were incorrectly left behind.
      
      Change highlights:
       - Remove unnecessary mark_dirty() calls performed after
         assign_capability(), unassign_capability(), delete_role(),
         deleted contexts, brand new contexts
       - Move role definition cache clear from the user-centric
         accesslib_clear_all_caches() to the newly created,
         role-dedicated accesslib_reset_role_cache()
      b2f349a4
  5. 19 Sep, 2018 1 commit
  6. 03 Sep, 2018 1 commit
  7. 28 Aug, 2018 1 commit
  8. 20 Aug, 2018 1 commit
  9. 13 Aug, 2018 1 commit
  10. 07 Aug, 2018 1 commit
  11. 03 Jul, 2018 1 commit
  12. 28 May, 2018 1 commit
  13. 12 May, 2018 1 commit
  14. 09 May, 2018 2 commits
  15. 08 May, 2018 1 commit
  16. 26 Apr, 2018 1 commit
  17. 20 Apr, 2018 1 commit
  18. 18 Apr, 2018 1 commit
  19. 17 Apr, 2018 2 commits
  20. 05 Apr, 2018 1 commit
  21. 03 Apr, 2018 1 commit
  22. 30 Mar, 2018 1 commit
  23. 02 Feb, 2018 1 commit
  24. 24 Jan, 2018 2 commits
  25. 20 Nov, 2017 1 commit
    • Juan Leyva's avatar
      MDL-60738 webservice: Clean theme and lang properly · 6db24235
      Juan Leyva authored
      Sometimes the "theme" and "lang" fields in the user and course tables
      in the database are set to incorrect values (uninstalled or
      non-existent themes and language packs).
      This makes Web Services functions to fail because the WS server
      validate the returned data using the validate_param function that clean
      parameters.
      6db24235
  26. 25 Oct, 2017 1 commit
  27. 20 Oct, 2017 1 commit
  28. 12 Oct, 2017 1 commit
    • sam marshall's avatar
      MDL-55356 core_search: Change existing search areas to new API · 66e37026
      sam marshall authored
      This change considers all existing search areas in Moodle and makes
      necessary changes.
      
      Custom change to course search, supported by helper in base.php:
      
      * course/classes/search/mycourse.php
      
      Custom change to message search:
      
      * message/classes/search/message_received.php
      * message/classes/search/message_sent.php
      
      Custom change to user search:
      
      * user/classes/search/user.php
      
      Custom changes to module areas, supported by helper in base_mod.php:
      
      * mod/book/classes/search/chapter.php
      * mod/data/classes/search/entry.php
      * mod/forum/classes/search/post.php
      * mod/glossary/classes/search/entry.php
      * mod/survey/classes/search/activity.php
      * mod/wiki/classes/search/collaborative_page.php
      
      (Note: the unit tests do not exhaustively check every context type
      for these, given that's mainly handled by the helper function
      which was already tested in the base_activity test.)
      
      Handled by block base class (no change):
      
      * blocks/html/classes/search/content.php
      
      Handled by activity base class (no change):
      
      * mod/assign/classes/search/activity.php
      * mod/book/classes/search/activity.php
      * mod/chat/classes/search/activity.php
      * mod/choice/classes/search/activity.php
      * mod/data/classes/search/activity.php
      * mod/feedback/classes/search/activity.php
      * mod/folder/classes/search/activity.php
      * mod/forum/classes/search/activity.php
      * mod/glossary/classes/search/activity.php
      * mod/imscp/classes/search/activity.php
      * mod/label/classes/search/activity.php
      * mod/lesson/classes/search/activity.php
      * mod/lti/classes/search/activity.php
      * mod/page/classes/search/activity.php
      * mod/quiz/classes/search/activity.php
      * mod/resource/classes/search/activity.php
      * mod/scorm/classes/search/activity.php
      * mod/url/classes/search/activity.php
      * mod/wiki/classes/search/activity.php
      * mod/workshop/classes/search/activity.php
      66e37026
  29. 10 Oct, 2017 1 commit
    • Jake Dallimore's avatar
      MDL-35429 backup: Only show relevant actions for automated backups · 5bbea733
      Jake Dallimore authored
      - Users without permission to download or restore won't see the
      respective links.
      - The 'Manage backup files' button for the 'automated' backup filearea
      now requires the same permissions as downloading does for this filearea,
      those being 'restore:userinfo' and 'backup:downloadfile'.
      5bbea733
  30. 11 Sep, 2017 1 commit
  31. 30 Aug, 2017 1 commit
  32. 29 Aug, 2017 1 commit
  33. 21 Aug, 2017 1 commit
  34. 16 Aug, 2017 1 commit
  35. 09 Aug, 2017 1 commit
  36. 07 Aug, 2017 1 commit