Ferran Recio
c0578a83df
MDL-71663 core_courseformat: fix merge conflict
2021-10-21 20:27:35 +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
Ilya Tregubov
3b5d4c7818
MDL-71689 course: add activity button design changes.
2021-10-15 10:28:05 +07: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
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
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
8b7fb0f7ab
Merge branch 'MDL-71795-master' of git://github.com/ferranrecio/moodle
2021-10-05 23:18:46 +02: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
Andrew Nicols
d46ff2929e
Merge branch 'MDL-71727-master-v03' of git://github.com/ferranrecio/moodle
2021-09-30 09:52:56 +08: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
Ilya Tregubov
6cc0d5dfbd
Merge branch 'MDL-71828-master' of git://github.com/ferranrecio/moodle
2021-09-24 08:49:32 +02:00
Ferran Recio
05b6f68f65
MDL-71828 courseformat: course index section link toggler
2021-09-22 20:10:04 +02:00
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
Amaia Anabitarte
5c54b1a608
MDL-72387 core_course: section navigation visiblity for students
2021-09-20 21:49:19 +02:00
Eloy Lafuente (stronk7)
433212a33e
Merge branch 'MDL-72093-master' of git://github.com/mihailges/moodle
2021-09-16 00:32:47 +02:00
Ilya Tregubov
de814baafe
Merge branch 'MDL-72310-master' of git://github.com/aanabit/moodle
2021-09-15 14:06:17 +02:00
Mihail Geshoski
7d821080f0
MDL-72093 navigation: Update behat tests
2021-09-14 12:02:35 +08: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
Amaia Anabitarte
c5578db866
MDL-72310 core_course: Expand course index sections by default
2021-09-03 12:25:33 +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
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
Ilya Tregubov
7226a0fe5f
MDL-71847 course: Cover state classes with direct unit tests.
2021-07-09 13:43:17 +02:00
Ferran Recio
1c0abade3e
MDL-71863 core_courseformat: mode site renderer to autoload
2021-06-29 11:52:48 +02:00
Ferran Recio
176bf81cb1
MDL-71863 courseformat: new course editor methods in courseeditor AMD
...
The module now exports a getCourseEditor and a getCurrentCourseEditor
methods. The module is more consistent as it can be used to get
other course than the current one.
2021-06-28 13:50:18 +02:00
Ferran Recio
21d93554d4
MDL-71863 courseformat: create courseformat subsystem
2021-06-28 13:50:18 +02:00