- 01 Oct, 2018 1 commit
-
-
David Knuplesch authored
-
- 28 Aug, 2018 1 commit
-
-
Marina Glancy authored
Also rename course_in_list -> core_course_list_element Deprecate class coursecat_sortable_records
-
- 28 Jul, 2018 1 commit
-
-
Shamim Rezaie authored
-
- 16 Mar, 2018 1 commit
-
-
Martin Gauk authored
Replace calls to \coursecat::get_all() or cache the results.
-
- 03 Oct, 2017 1 commit
-
-
Andrew Nicols authored
-
- 29 Nov, 2016 1 commit
-
-
Frederic Massart authored
-
- 02 Nov, 2016 1 commit
-
-
Neill Magill authored
A user should be able to remove an idnumber from a category, also 0 should not be allowed multiple times.
-
- 14 Sep, 2016 1 commit
-
-
Russell Smith authored
Remove sleep() and replace with waiting for a second to roll over, this results in a simpler call the guarantee time() has moved forward
-
- 09 Mar, 2016 1 commit
-
-
Damyon Wiese authored
Cover new option "requiredcapabilities".
-
- 07 Oct, 2015 1 commit
-
-
Marina Glancy authored
-
- 05 Aug, 2014 1 commit
-
-
Syxton authored
Newly introduced unit tests are failing because the timestamps used are too large. Example timestamps were 11 characters long instead of 10.
-
- 11 Jul, 2014 1 commit
-
-
Syxton authored
MDL-45847 resort: Add more course sorting options Add descending sort options and course timecreated sort options. Includes behat and unit test changes.
-
- 31 Jan, 2014 1 commit
-
-
Tim Hunt authored
-
- 07 Oct, 2013 1 commit
-
-
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.
-
- 06 Sep, 2013 1 commit
-
-
Marina Glancy authored
-
- 27 Jul, 2013 1 commit
-
-
Petr Škoda authored
-
- 06 May, 2013 1 commit
-
-
Marina Glancy authored
-
- 27 Mar, 2013 1 commit
-
-
Marina Glancy authored
-
- 25 Mar, 2013 4 commits
-
-
Marina Glancy authored
Also search_courses_count(), get_courses_count(); Added unittests
-
Marina Glancy authored
- Course categories caches are purged by event now - session cache has additional 10 minutes ttl to clear itself and accomodate for permission changes that do not trigger event purging - additional request-level cache for coursecat::get() - We store only children of one category in one cache key - Function coursecat::get_children() can return results sorted and/or paginated. Added tests
-
Marina Glancy authored
- Retrieve and cache only often-used fields of course category - Removed function coursecat::get_all_visible() as potentially causing performance issues - removed function coursecat::get_all_parents() as ineffective and unnecessary, replaced with get_parents() - retrieve all fields from course_categories when unretrieved field is accessed Also some code improvements: - rename functions starting with _ , rename arguments, etc.
-
Marina Glancy authored
MDL-38147 Added coursecatlib_test.php, changed other tests to use coursecat::create() for creating category
-