5819 Commits

Author SHA1 Message Date
Ferran Recio
3d2a6eacae MDL-71779 core_courseformat: reactive add and delete sections 2021-10-28 16:41:17 +02:00
Andrew Nicols
62f1e0540e Merge branch 'MDL-72263-master-v02' of git://github.com/ferranrecio/moodle 2021-10-28 08:51:09 +08:00
Ilya Tregubov
c1468388bc MDL-55231 core_course: Fix behat tests. 2021-10-27 13:25:58 +02:00
Ferran Recio
59128bb411 MDL-72263 courseformat: adding core/tree to course index 2021-10-27 10:54:56 +02:00
Ilya Tregubov
a704f137cf Merge branch 'MDL-55231-master' of https://github.com/dcai/moodle 2021-10-27 08:46:41 +02:00
Dongsheng Cai
9a900492bc MDL-55231 core_course: Partial course cache rebuild 2021-10-26 19:08:15 +11:00
Paul Holden
bd9abebcd1 MDL-72280 course: implement course datasource for custom reporting.
Create new entity for exposing report data on course categories,
joining it to the course entity to provide data for the reportbuilder
editor.

Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com>
2021-10-22 17:19:33 +01:00
Ferran Recio
c0578a83df MDL-71663 core_courseformat: fix merge conflict 2021-10-21 20:27:35 +02:00
Ferran Recio
db8e1d9423 MDL-71663: fix editor in classic 2021-10-21 19:40:17 +02:00
Sara Arjona
a4d472cce6 Merge branch 'MDL-72567-master' of git://github.com/lucaboesch/moodle 2021-10-21 16:38:24 +02:00
Luca Bösch
7e047dcf99 MDL-72567 courseformat: Have course index support activity name filters 2021-10-21 10:14:35 +02:00
Andrew Nicols
349312143d MDL-72013 js: Fix jsdocs to meet stricter eslint 2021-10-21 13:28:00 +08:00
Andrew Nicols
f7ccc1b590 Merge branch 'MDL-71663-master' of git://github.com/ferranrecio/moodle 2021-10-21 09:29:19 +08:00
Ferran Recio
fb7d246a29 MDL-71663 core_courseformat: add move tool 2021-10-20 15:27:45 +02:00
Ilya Tregubov
0350d42610 MDL-71211 core_course: Keep the status of course index. 2021-10-19 13:17:25 +02:00
Andrew Nicols
f09effd936 Merge branch 'MDL-72725-master' of git://github.com/ferranrecio/moodle 2021-10-19 10:05:37 +08:00
Ferran Recio
da0c19982d MDL-72725 courseformat: indentation pot-out 2021-10-18 10:18:37 +02:00
Ilya Tregubov
731b069c4d Merge branch 'MDL-72450-master-1' of git://github.com/mihailges/moodle 2021-10-18 08:26:49 +02:00
Shamim Rezaie
20d9ea7e05 Merge branch 'MDL-72706-master' of git://github.com/aanabit/moodle 2021-10-18 17:19:10 +11:00
Amaia Anabitarte
1b1735f763 MDL-72706 core_course: Change default value of Hidden sections setting 2021-10-15 17:13:07 +02:00
Andrew Nicols
6dfd0bc8ce Merge branch 'MDL-71689-master' of git://github.com/ilyatregubov/moodle 2021-10-15 11:31:57 +08:00
Ilya Tregubov
3b5d4c7818 MDL-71689 course: add activity button design changes. 2021-10-15 10:28:05 +07:00
Eloy Lafuente (stronk7)
f5bc372630 Merge branch 'MDL-68325-master' of git://github.com/odeialba/moodle 2021-10-14 22:19:21 +02:00
Mihail Geshoski
b2e31803ad MDL-72450 format_singleactivity: Add behat tests
Adds new behat scenarios to cover the activity navigation controls and
the ability to navigate through (hidden) activities as a teacher when
the course has multiple activities but it also uses the single activity
format.
2021-10-14 15:38:48 +08:00
Andrew Nicols
551371c710 Merge branch 'MDL-71834-master-v02' of git://github.com/ferranrecio/moodle 2021-10-11 14:06:23 +08:00
abgreeve
edb655e35c Merge branch 'MDL-72578-master' of git://github.com/ferranrecio/moodle 2021-10-08 09:12:57 +08:00
Eloy Lafuente (stronk7)
553af0dddf Merge branch 'MDL-72309' of git://github.com/paulholden/moodle 2021-10-07 22:42:16 +02:00
Ferran Recio
d4bebe639f MDL-72578 core_courseformat: fix renderers deprecation messages 2021-10-07 17:17:29 +02:00
Ferran Recio
fb753618a8 MDL-72578 course: fix format backward compatibility
The existing course format plugins are not adapted tu use the new
courseformat subsystem. This means they don't provide a valid renderer,
or hardcode the inclusion of the topics renderer.php file, or do not
extend the format renderer but the core one (missing some methods). This
commit provides some quick fixes to prevent exceptions.
2021-10-07 17:17:29 +02:00
Ferran Recio
41b4625693 MDL-72578 course: activity render to output classes 2021-10-07 17:17:29 +02:00
Ilya Tregubov
b4675942ce Merge branch 'MDL-52206-master-rebased' of git://github.com/peterRd/moodle 2021-10-07 12:55:12 +07:00
Andrew Nicols
fa72197258 MDL-72463 courseformat: Add missing docs 2021-10-05 23:20:41 +02:00
Andrew Nicols
b7687bfef8 Merge branch 'MDL-72463-master' of git://github.com/ferranrecio/moodle 2021-10-05 23:20:41 +02:00
Andrew Nicols
89457e9acb Merge branch 'MDL-71963-master' of https://github.com/Chocolate-lightning/moodle 2021-10-05 23:18:50 +02:00
Andrew Nicols
8b7fb0f7ab Merge branch 'MDL-71795-master' of git://github.com/ferranrecio/moodle 2021-10-05 23:18:46 +02:00
Peter
90acd8d381 MDL-52206 core: Add completion criteria to course_modules 2021-10-04 19:44:02 +08:00
Peter
663137748e MDL-52206 core: Add completion based on pass grade
Add new completion based on pass grade to the completion criteria.
2021-10-04 19:42:34 +08:00
Paul Holden
0645319e62 MDL-72309 course: make category a required field in forms.
Course category fields were changed en masse from simple select
elements to autocompletes in 93d72205, but weren't defined as
required fields. This could lead to exceptions and/or unexpected
behaviour if their values were cleared prior to form submission.
2021-10-04 08:11:32 +01:00
Andrew Nicols
529c5c2ece MDL-71963 Core: Convert block deletion to a modal
Co-authored-by: Mathew May <mathewm@hotmail.co.nz>
2021-10-04 13:07:31 +08:00
Ferran Recio
7ad939c592 MDL-71795 courseformat: course index in activity page 2021-10-01 09:03:56 +02:00
Ferran Recio
5a165c86a2 MDL-71795 courseformat: add cache to course index 2021-10-01 09:03:56 +02:00
Eloy Lafuente (stronk7)
a665ad27d2 Merge branch 'MDL-72396-master' of https://github.com/sharidas/moodle 2021-09-30 20:12:39 +02:00
Andrew Nicols
d46ff2929e Merge branch 'MDL-71727-master-v03' of git://github.com/ferranrecio/moodle 2021-09-30 09:52:56 +08:00
Ilya Tregubov
34a0ba3232 Merge branch 'MDL-71610-master' of git://github.com/bmbrands/moodle 2021-09-29 15:40:39 +02:00
Ferran Recio
639a99014d MDL-71834 course: lock elements
Now components has a new property lock to disable all user interactions.
This is applied directly into the course index and course content to
freeze an element if some action is performed over it. To set this
locked value there are 2 new mutations cmLock and sectionLock.
2021-09-29 11:34:43 +02:00
Ferran Recio
96c6dc53cd MDL-72463 courseformat: course index highlight section badge 2021-09-29 11:32:03 +02:00
Ferran Recio
9abf7e1a72 MDL-71727 course: sync dragged elements
Two new mutations are added to indicate that a section
or a cm is being dragged. The logic related to refresh
a section or a cm has been moved to components to
simplify the code.
2021-09-29 10:01:25 +02:00
Ferran Recio
a0b4cacc8c MDL-71828 courseformat: course index section link toggler 2021-09-29 09:57:24 +02:00
Bas Brands
16c726cde7 MDL-71610 core_behat: use new edit mode step in feature files 2021-09-29 09:25:36 +02:00
Bas Brands
3ff1b83239 MDL-71610 core_behat: update edit mode steps 2021-09-29 09:25:36 +02:00