Huong Nguyen
f6b7447a68
MDL-78267 core_courseformat: Add mutation dispatch for bulk actions
2023-09-14 14:59:49 +07:00
Jun Pataleta
1c892fb6d9
Merge branch 'MDL-78324-master-7' of https://github.com/andrewnicols/moodle
2023-09-11 16:29:56 +08:00
Andrew Nicols
48bc688ccd
MDL-78324 core: Convert modals to use new static methods
...
This commit takes all modals which were not using the legacy
ModalFactory.create triggers and migrates them to the new Modal.create
method.
2023-09-09 00:04:11 +08:00
Jun Pataleta
e0d2040aaa
MDL-79048 course: Update page title when toggling bulk editing
...
* When toggling bulk editing, updating the page's title can help users,
especially screen reader users, to determine the current editing state
of the course homepage.
2023-09-08 21:55:34 +08:00
Andrew Nicols
af7719682d
MDL-79064 core: Update all get_strings as uses
2023-08-29 10:57:54 +08:00
Andrew Nicols
9bacc7efd8
Merge branch 'MDL-79063-master' of https://github.com/junpataleta/moodle
2023-08-25 00:11:05 +08:00
Stefan Topfstedt
7b04638c52
MDL-71212 core_course: adds controls to the course index drawer.
2023-08-18 11:00:55 -07:00
Jun Pataleta
13a8dff553
MDL-79063 course: Use .text-body for 'disabled' elements in move modal
...
Using the .disabled class for the course module or section that is
being moved does not have sufficient colour contrast against the
background, especially when it is being highlighted.
So instead of using .disabled, just use Bootstrap classes .text-body
and .font-italic which renders the cm/section to be moved in normal
font colour while preserving its italicised look.
2023-08-18 16:28:45 +08:00
Jun Pataleta
04ee9570ac
Merge branch 'MDL-75762-master' of https://github.com/laurentdavid/moodle
2023-08-17 09:20:12 +02:00
Laurent David
310122010e
MDL-75762 core_courseformat: Fix course menu when back
...
* When we select an activity in a course and go to its page, the
back button recovers the scroll position correctly but should
also recover the course menu position
Note: for now the menu position is the topmost item in the page
2023-08-14 07:23:12 +02:00
Laurent David
cced0e77f6
MDL-75762 core_courseformat: Use page scroll instead of section
...
* The scroll value is not restored when we navigate into activities as only a
section of the page was scrolled.
* Remove the overflow for the page section so the full page is scrolled
* Restore side menu navigation synchronisation
2023-08-14 07:22:06 +02:00
Amaia Anabitarte
269f64b8bf
MDL-78678 course: Highlight all types of modules when scrolling
2023-08-11 11:30:10 +02:00
Ruslan Kabalin
80a111d25e
MDL-74301 eslint: Address issues reported by eslint
2023-07-03 15:21:53 +01:00
Amaia Anabitarte
3ae96a0496
MDL-78201 core_course: Prepare group mode state actions
2023-06-16 00:52:18 +02:00
Jun Pataleta
445a139d21
Merge branch 'MDL-73012-master' of https://github.com/ferranrecio/moodle
2023-04-20 16:32:15 +08:00
Ferran Recio
86fe8e582e
MDL-73012 core_courseformat: add pending to move section modal
2023-04-19 12:15:32 +02:00
Ferran Recio
f81b79a4b1
MDL-77922 core_courseformat: add pending to move activity modal
2023-04-18 13:22:08 +02:00
Marina Glancy
04f8fdd021
MDL-77164 various: fix javascript AMD module name
2023-04-13 09:43:15 +01:00
Sara Arjona
c80dd76bef
Merge branch 'MDL-77456-master' of https://github.com/laurentdavid/moodle
2023-03-30 18:42:02 +02:00
Sara Arjona
afe1f192c4
Merge branch 'MDL-76895-master' of https://github.com/ferranrecio/moodle
2023-03-30 12:51:03 +02:00
Ferran Recio
0436605df5
MDL-76895 core_courseformat: add fast bulk selections
2023-03-30 11:40:45 +02:00
Sara Arjona
4bb8de0c6e
Merge branch 'MDL-77677-master' of https://github.com/ferranrecio/moodle
2023-03-29 10:33:07 +02:00
Laurent David
0ff7295ee4
MDL-77456 core_courseformat: Fix highlight in course index
...
* When navigating to a restricted activity as a student from the course index
the item is not highlighted when refreshing the page.
2023-03-29 09:13:54 +02:00
Ferran Recio
f52d4fcb82
MDL-77677 core_courseformat: debounce reload cm method
2023-03-28 09:48:51 +02:00
Ferran Recio
ae799fad7d
MDL-76905 core_courseformat: match prototype visual style
2023-03-22 14:08:51 +01:00
Ferran Recio
3beffbb506
MDL-76893 core_courseformat: bulk move activites
2023-03-21 15:46:23 +01:00
Ferran Recio
6ac6100f1c
MDL-76894 core_courseformat: bulk move section
2023-03-17 16:18:19 +01:00
Ferran Recio
856b295569
MDL-76851 core_courseformat: plugin custom editor strings
...
Most section related actions require the frontend to use alternative
strings depending on the format plugin lang file. This patch adds
overridden strings to the current setViewFormat course editor setup
object.
2023-03-17 11:07:13 +01:00
Ferran Recio
9c583f5ec5
MDL-76851 core_courseformat: bulk section and cm delete action
2023-03-17 10:26:00 +01:00
Ilya Tregubov
27e0329a08
Merge branch 'MDL-77291-master' of https://github.com/sarjona/moodle
2023-03-10 10:44:41 +08:00
James C
2702583d6c
MDL-77329 course: Prevent collapse state loss
2023-03-09 11:49:55 +01:00
Andrew Nicols
511401f4f6
MDL-77559 js: Rebuild all JS with Node 16
2023-03-09 09:53:19 +08:00
Ferran Recio
5f59807c06
MDL-77291 core_courseformat: show labels in course index
2023-03-03 09:15:11 +01:00
Jun Pataleta
916503658d
Merge branch 'MDL-75012-master-5' of https://github.com/andrewnicols/moodle
2023-03-02 12:34:34 +08:00
Andrew Nicols
33b1e41f13
MDL-75012 js: Full build of all grunt things
2023-03-02 11:55:32 +08:00
Amaia Anabitarte
2a7632feb5
MDL-76992 core_courseindex: Apply indentation in the course index
2023-02-28 10:26:15 +01:00
Amaia Anabitarte
b37fe9a088
MDL-76990 core_course: Recover move right/left functionality
2023-02-27 18:27:57 +01:00
Ferran Recio
d43c14471b
MDL-76850 core_courseformat: bulk duplicate activities
2023-02-21 12:26:04 +01:00
Ferran Recio
e6802896f7
MDL-76848 core_courseformat: bulk availability
2023-02-17 10:07:32 +01:00
Paul Holden
34e7f27664
MDL-77241 course: optional chaining safety for section toggles.
2023-02-14 12:51:08 +00:00
Jun Pataleta
08a061ad5d
Merge branch 'MDL-76432-master-v02' of https://github.com/ferranrecio/moodle
2023-02-06 22:30:40 +08:00
Ferran Recio
1113f8328e
MDL-76432 core_courseformat: migrate file drag and drop
...
Replace the old course/dragdrop.js file (which was not even minimised)
to AMD modules and integrate them to the new reactive course editor.
From now on, a file can be drop over any course section, no matter if it
is in the course content or in the course index. It will also start
using the new process monitor to show the uploading state to the user.
2023-02-06 12:59:25 +01:00
Ferran Recio
9930b7a2e6
MDL-76783 core_courseformat: add bulk editing interface
2023-02-03 13:39:22 +01:00
Ferran Recio
c9a8713539
MDL-76783 core_courseformat: add bulk state data
2023-02-03 12:24:59 +01:00
Nick Phillips
1435abde89
MDL-75870 course: only section togglers to toggle sections
2023-02-02 11:37:29 +13:00
Ferran Recio
d770ebd01b
MDL-76430 core_courseformat: implement fragment to course format
2023-01-24 12:00:11 +01:00
Ferran Recio
302a5e43a6
MDL-74987 core_courseformat: alt to duplicate modules
...
If a user drags an activity and press the ALT key, the activity will be
duplicated in the new place instead of simply moved. This behaviour
is quite normal in many softwares and it is a non intrusive usability
improvement.
2023-01-04 09:25:52 +01:00
Ferran Recio
35a12cfffb
MDL-74987 core_courseformat: migrate duplicate to state action
2023-01-04 09:25:52 +01:00
Ferran Recio
a3264eb5e0
MDL-74987 core_courseformat: add pending to refresh activity
...
The activity reload was missing a pending control. This can lead to
behat errors if the module refresh takes longer than expected for some
reason.
2023-01-04 09:25:52 +01:00
Ferran Recio
fe4784e60f
MDL-74989 core_courseformat: migrate cm delete to reactive
...
Migrate the course index delete activities to the new reactive actions
with batch deletion.
2023-01-03 13:07:31 +01:00