1. 02 Nov, 2017 3 commits
  2. 26 Oct, 2017 3 commits
    • Damyon Wiese's avatar
      MDL-59973 calendar: Remove duplication · ed6d81c9
      Damyon Wiese authored
      The function calendar_get_default_courses is responsible for loading all variants of calendar
      course lists.
      
      1 the list of courses that the current user will see events for in the site calendar.
      2 the list of courses the current user will see when they are looking at a specific course calendar.
      3 the list of course calendars the current user can create / edit events in.
      ed6d81c9
    • Damyon Wiese's avatar
      MDL-59973 calendar: Only load required fields · 01ed53df
      Damyon Wiese authored
      When loading courses for the course filter on the calendar, we only need the id and shortname.
      01ed53df
    • Damyon Wiese's avatar
      MDL-59973 calendar: Admin calendar course lists · a5327e44
      Damyon Wiese authored
      Consolidate the logic for the list of courses an admin will see in the calendar.
      
      They will see all courses if calendar_admincanseeall is enabled.
      
      They will see only courses they are enrolled in of calendar_admincanseeall is not enabled.
      
      They will also see the current course, if they are admin and it is not already in the list.
      
      This applies to the course selector and the create and update event forms.
      
      The calendar link in the navigation block has also been changed to link to the current course calendar instead of the global
      one.
      a5327e44
  3. 25 Oct, 2017 1 commit
  4. 24 Oct, 2017 2 commits
  5. 20 Oct, 2017 1 commit
  6. 18 Oct, 2017 1 commit
  7. 16 Oct, 2017 1 commit
  8. 11 Oct, 2017 3 commits
  9. 10 Oct, 2017 2 commits
  10. 09 Oct, 2017 2 commits
  11. 05 Oct, 2017 3 commits
  12. 04 Oct, 2017 2 commits
  13. 03 Oct, 2017 5 commits
  14. 29 Sep, 2017 1 commit
  15. 20 Sep, 2017 2 commits
  16. 19 Sep, 2017 2 commits
  17. 18 Sep, 2017 2 commits
  18. 11 Sep, 2017 4 commits