1. 20 Mar, 2018 1 commit
  2. 16 Mar, 2018 1 commit
  3. 03 Oct, 2017 3 commits
  4. 29 Sep, 2017 1 commit
  5. 01 Sep, 2017 1 commit
  6. 06 Mar, 2017 1 commit
    • Adam Olley's avatar
      MDL-58160 coursecat: Use set_many to populate category cache · b3e4fbc0
      Adam Olley authored
      When the course category cache needs to be repopulated, two entries are added
      to the cache for each category. In core this is currently done in a for-loop,
      resulting in N set calls to the cache (where N is twice the number of
      categories in Moodle).
      
      This change switches that code to using a single set_many cache call instead,
      which makes this an O(1) operation instead of O(N).
      
      For a site with say, 1000 categories, this results in only 1 set call to the
      cachestore instead of 2000.
      b3e4fbc0
  7. 02 Nov, 2016 1 commit
  8. 03 Oct, 2016 1 commit
  9. 15 Mar, 2016 1 commit
  10. 09 Mar, 2016 1 commit
    • Damyon Wiese's avatar
      MDL-51324 forms: Add a new course selector · 235ef57a
      Damyon Wiese authored
      This is a squashed commit containing a number of changes:
      
      This is an ajax driven course selector that has searching etc. It can select single, or multiple courses.
      Make course selector accept a list of courses to exclude
      courseselector - lookup coursename on setValue
      Use the get_course_display_name_in_list function to generate the course names
      Add a throttle to auto-complete to reduce spamming the server
      Do a single query to fetch all the courses in the mform element when validation fails
      Fix core course search function to return results when there are less than 2 chars in the query.
      Handle setData with an empty array in new course selector
      235ef57a
  11. 10 Jan, 2016 1 commit
  12. 07 Oct, 2015 2 commits
  13. 25 May, 2015 1 commit
  14. 23 Mar, 2015 1 commit
  15. 22 Mar, 2015 1 commit
  16. 16 Mar, 2015 1 commit
  17. 01 Dec, 2014 1 commit
  18. 25 Nov, 2014 1 commit
  19. 25 Sep, 2014 1 commit
  20. 11 Jul, 2014 1 commit
  21. 04 Mar, 2014 1 commit
  22. 15 Jan, 2014 4 commits
  23. 07 Jan, 2014 1 commit
  24. 11 Nov, 2013 1 commit
  25. 05 Nov, 2013 1 commit
  26. 01 Nov, 2013 1 commit
  27. 29 Oct, 2013 1 commit
  28. 10 Oct, 2013 1 commit
  29. 07 Oct, 2013 5 commits
    • Sam Hemelryk's avatar
      MDL-31830 course: several management interface improvements · 484c4c6c
      Sam Hemelryk authored
      * Tidied up course detail permissions so that user is not shown information they couldn't access elsewhere.
      * category link dimming now accounts for course creation as an action as well.
      * category single select when in courses view mode is now limited to courses user can action in.
      * There is now a check at the start of the management page to redirect to course/index.php if the user isn't able to manage in any category.
      * Tweaked navigation again, to give the limited users a navbar structure similar to the system cap'd user.
      * Cancelling a category delete now takes you back to the category you were viewing.
      * Fixed undefined notice
      * Improved placement of course request and approval links.
      * Several styling tweaks/improvements to the base theme.
      * Several styling tweaks/improvements to the bootstrapbase theme.
      484c4c6c
    • Sam Hemelryk's avatar
      MDL-31830 course: fixed interface issues with limited user · b488058f
      Sam Hemelryk authored
      * Navigation/settings now show best available option.
      * Resorting categories works now for limited access user.
      * Display of up and down arrows corrected.
      * Checkboxes no longer displayed if an action can't be performed.
      b488058f
    • Sam Hemelryk's avatar
      MDL-31830 course: renamed functions for consistency · 5aff38e4
      Sam Hemelryk authored
      * course_move_by_one => course_change_sortorder_by_one
      * course_move_after_course => course_move_after_course
      * helper::action_course_move_after_course  => helper::action_course_change_sortorder_after_course
      * helper::action_course_moveup 		   => helper::action_course_change_sortorder_up_one
      * helper::action_course_movedown 	   => helper::action_course_change_sortorder_down_one
      * helper::action_course_moveup_by_record   => helper::action_course_change_sortorder_up_one_by_record
      * helper::action_course_movedown_by_record => helper::action_course_change_sortorder_down_one_by_record
      * helper::action_category_movedown         => helper::action_category_change_sortorder_down_one
      * helper::action_category_movedown_by_id   => helper::action_category_change_sortorder_down_one_by_id
      * helper::action_category_moveup 	   => helper::action_category_change_sortorder_up_one
      * helper::action_category_moveup_by_id     => helper::action_category_change_sortorder_up_one_by_id
      * coursecat::move_by_one 	           => coursecat::change_sortorder_by_one
      5aff38e4
    • Sam Hemelryk's avatar
      MDL-31830 course: several small code improvements · 67e1f268
      Sam Hemelryk authored
      * I can rebase this for you/the integrator before it goes in for sure no probs :)
      * Fixed double phpdoc block of course_change_visibility
      * Moved permission checks out of course_move_after_course and into helper function.
      * Reviewed setType calls for editcategory_form.php.
      * Reviewed all uses of can_resort and added more specific methods.
      * Fixed method mentioned in exception for resort methods.
      * Converted calls to fetch courses to call get_course.
      * Exceptions now thrown when trying to move courses and problems arise.
      * Fixed unnecessary namespace hinting in core_course_management_renderer.
      * Abstracted common logic of can_resort_any and can_change_parent_any.
      * Removed check for system level capability from has_manage_capability_on_any.
      * Reviewed debugging calls I've introduced.
      67e1f268
    • Sam Hemelryk's avatar
      MDL-31830 core_course: new course category management interface · 5dc361e1
      Sam Hemelryk authored
      * Implemented a new course and category management page.
      * Deprecated the old management interface.
      * Unit tests to cover the new API and core functions.
      * Behat tests to cover the new interface.
      5dc361e1
  30. 27 Sep, 2013 1 commit