Jun Pataleta
ed0d7efa2f
Merge branch 'MDL-71664-master-v04' of git://github.com/ferranrecio/moodle
2021-09-22 21:17:32 +08:00
Ferran Recio
23499e6447
MDL-71664 course: add browser native drag and drop
2021-09-22 11:08:06 +02:00
Jun Pataleta
99cb8a7303
Merge branch 'MDL-71037-master-8' of git://github.com/ilyatregubov/moodle
2021-09-22 14:44:17 +08:00
Ilya Tregubov
f2e28c0561
MDL-71037 course: Make sections collapsible for Topics/Weeks format.
2021-09-21 18:41:59 +02:00
Eloy Lafuente (stronk7)
0f04ec2ef6
Merge branch 'MDL-72387-master' of git://github.com/aanabit/moodle
2021-09-20 23:23:24 +02:00
Amaia Anabitarte
5c54b1a608
MDL-72387 core_course: section navigation visiblity for students
2021-09-20 21:49:19 +02:00
Amaia Anabitarte
7958fa72e1
MDL-72356 core_course: auto enrol admins when adding a new course
2021-09-20 13:09:29 +02:00
Jun Pataleta
385438b463
Merge branch 'MDL-72589' of https://github.com/stronk7/moodle
2021-09-16 09:46:56 +08:00
Eloy Lafuente (stronk7)
433212a33e
Merge branch 'MDL-72093-master' of git://github.com/mihailges/moodle
2021-09-16 00:32:47 +02:00
Eloy Lafuente (stronk7)
9f9fe79c26
MDL-72589 behat: Add @skip_chrome_zerosize to failing scenarios
...
All the scenarios failing with Chrome zero-size errors are
getting the @skip_chrome_zerosize to be able to keep them apart from
regular runs. See MDL-71108 for more information about
that error.
They will be run by another job, specifically using that tag to
keep them failing and under control.
2021-09-15 20:25:11 +02:00
Ilya Tregubov
de814baafe
Merge branch 'MDL-72310-master' of git://github.com/aanabit/moodle
2021-09-15 14:06:17 +02:00
Eloy Lafuente (stronk7)
2d65b1eb52
Merge branch 'MDL-72115-master' of git://github.com/sarjona/moodle
2021-09-14 22:42:15 +02:00
Mihail Geshoski
7d821080f0
MDL-72093 navigation: Update behat tests
2021-09-14 12:02:35 +08:00
Jun Pataleta
355e30cfec
Merge branch 'MDL-71228-master-v02' of git://github.com/ferranrecio/moodle
2021-09-13 22:10:19 +08:00
Sara Arjona
3f2f2e85bb
MDL-72115 course: Rename Miscellaneous category
...
The "Miscellaneous" course category has been renamed to Category 1.
Besides, the description field has been set from FORMAT_MOODLE to
FORMAT_HTML.
2021-09-13 08:36:17 +02:00
Ferran Recio
7659a18993
MDL-71228 course: sorting course on section state change
2021-09-09 11:16:10 +02:00
Ferran Recio
7f750dc01c
MDL-71228 course: course index drag and drop
2021-09-09 11:16:10 +02:00
Huong Nguyen
e0dd5f268a
MDL-71899 performance: Improve course image caching
...
Changed to use get_course() instead of get_fast_modinfo() for better performance
2021-09-09 09:21:14 +07:00
Amaia Anabitarte
c5578db866
MDL-72310 core_course: Expand course index sections by default
2021-09-03 12:25:33 +02:00
Sara Arjona
72410362bf
Merge branch 'MDL-72130-master' of git://github.com/ferranrecio/moodle
2021-09-01 18:15:18 +02:00
Paul Holden
69d3e67189
MDL-72169 privacy: format course name/summary during export.
2021-08-31 11:55:56 +01:00
Eloy Lafuente (stronk7)
083289d540
MDL-71209 behat: remove some useless "follow the course" steps
...
They are not really needed and, with the new course index (or
maybe with the new navigation, I've not checked), they don't work
any more. Hence, removing them.
2021-08-26 18:18:53 +02:00
Ferran Recio
5672bafcdb
MDL-72130 courseformat: fix deprecated course_section_cm
2021-08-26 10:18:34 +02:00
Andrew Nicols
b69b7184e9
Merge branch 'MDL-72311-master' of git://github.com/aanabit/moodle
2021-08-26 11:54:08 +08:00
Jun Pataleta
4e75e73cb5
Merge branch 'primary_secondary_nav' of https://github.com/Chocolate-lightning/moodle
2021-08-25 10:42:57 +08:00
Sara Arjona
c5183622d6
Merge branch 'MDL-58579' of https://github.com/Chocolate-lightning/moodle
2021-08-24 12:35:10 +02:00
Mathew May
ccd62d2884
MDL-58579 block_myoverview: Implement searching within myoverview
2021-08-24 16:26:50 +08:00
Eloy Lafuente (stronk7)
c25fe3a183
Merge branch 'MDL-71055-master' of git://github.com/andrewnicols/moodle
2021-08-23 23:22:15 +02:00
Eloy Lafuente (stronk7)
a65c0bbc0a
MDL-71847 course: small tests fixes.
...
1) Namespace must match the one being covered.
2) the @covers annotation was wrong, missing class name(s). At the
end I've used the coversDefaultClass annotation that allows to
specify a whole namespace, useful in this case to get the 3
existing (course, section, cm) classes covered.
2021-08-23 20:14:51 +02:00
Eloy Lafuente (stronk7)
101355638b
Merge branch 'MDL-71847-master' of git://github.com/ilyatregubov/moodle
2021-08-23 18:48:25 +02:00
Ferran Recio
0b18d478a2
MDL-71209 courseformat: disable course index in mod
2021-08-23 12:49:22 +02:00
Adrian Greeve
7d435fb5f2
MDL-70196 navigation: Update to feature files.
...
- Part of: MDL-69588
A lot of tests rely on the last element of the breadcrumb being
active. This updates feature files to not rely on this anymore.
2021-08-23 17:46:38 +08:00
Andrew Nicols
891d1bfad3
MDL-71055 behat: Update core settings to use generator
...
These changes have only been applied to settings which were already
using settings names and values, but which were still using the UI.
2021-08-23 12:23:03 +08:00
Ferran Recio
ef745009ed
MDL-71209 courseformat: add state suport to legacy action
...
Adapt the current course editing libraries to modify also
the course state data. This way, any UI component that
watches the course structure can react to the changes.
2021-08-20 16:49:06 +02:00
Ferran Recio
830c3eb907
MDL-71209 courseformat: add course index modules
...
The course index is the first UI component that implements the new
drawers and the reactive components. The course index uses the course
state to present the current course structure and changes whenever
that structure change.
2021-08-20 16:49:06 +02:00
Mikhail Golenkov
8355a9a018
MDL-72239 phpunit: Assert the number of db queries to be less or equal
...
The course unit test assumes the number of db call. This assumption
is correct in vanilla moodle only. Once some plugins installed their
observers may do extra db calls. Due to caching the number of actual
db calls in the unit test may be fewer.
2021-08-18 11:01:29 +10:00
Amaia Anabitarte
d45058fd21
MDL-72311 core_course: Go to course content when creating a course
2021-08-17 19:16:37 +02:00
Andrew Nicols
530322e2ce
MDL-69918 core: Update uses of legacy form change checker
2021-08-10 23:54:01 +08:00
Andrew Nicols
776f4bd80c
MDL-72179 behat: Make use of page resolvers
2021-07-26 15:14:28 +08:00
Andrew Nicols
9f428f68c7
MDL-72179 behat: Add activity editing page resolution
2021-07-23 20:43:48 +08:00
Andrew Nicols
730d6cb94e
MDL-72179 behat: Improve core page resolvers
...
This commit makes the following improvements to core page resolverss:
* allows for mixed case naming (course, Course, etc.)
* allows fields other than the idnumber to be specified:
** course: idnumber, shortname, fullname
** course category: idnumber, name
Whilst some of these fields are not unique, they will typically be
unique in most test scenarios. Where they are not then the idnumber
should be used in preference.
2021-07-23 20:28:10 +08:00
Eloy Lafuente (stronk7)
0139d213ac
Merge branch 'MDL-71874-master' of git://github.com/andrewnicols/moodle
2021-07-13 20:38:01 +02:00
Ilya Tregubov
4819625349
MDL-32103 completion: Allow instant completion updates.
...
For activity based course completion criteria allow instant
course completion updates if the activity completion state was changed
for a single user.
2021-07-13 12:07:53 +02:00
Ilya Tregubov
7226a0fe5f
MDL-71847 course: Cover state classes with direct unit tests.
2021-07-09 13:43:17 +02:00
Sujith Haridasan
b2527be7d3
MDL-71241 course: Validate and sanitize sort arguments
...
Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-07-08 23:30:27 +02:00
Mihail Geshoski
084ff0c8da
MDL-71242 core_course: Test the validation of the sort value
...
Adds new unit test, test_course_get_recent_courses_sort_validation(),
which is reponsible for testing the validation of the sort value in
course_get_recent_courses().
2021-07-08 23:30:26 +02:00
Mihail Geshoski
069cc7164c
MDL-71242 core_course: Update test_course_get_recent_courses() unit test
...
Adds additional assertions in test_course_get_recent_courses() test to
ensure that the sort funcionality works as expected.
2021-07-08 23:30:26 +02:00
Mihail Geshoski
68c90578e7
MDL-71242 core_course: Validate the value of the sort argument
...
This change validates the value of the sort argument in
course_get_recent_courses().
2021-07-08 23:29:26 +02:00
Andrew Nicols
e506742102
Merge branch 'MDL-71314' of https://github.com/paulholden/moodle
2021-07-01 10:23:47 +08:00
Ferran Recio
1c0abade3e
MDL-71863 core_courseformat: mode site renderer to autoload
2021-06-29 11:52:48 +02:00