Amaia Anabitarte
1c491de8e8
MDL-76997 admin: Option to reset course indentation
2023-03-16 17:22:02 +01:00
Amaia Anabitarte
6d2c321d7c
MDL-76991 tool_mobile: Return course format indentation setting
2023-03-13 11:47:13 +01:00
Amaia Anabitarte
a7c64595c8
MDL-76991 core_course: New course format setting to enable/disable indentation in weeks and topics
2023-03-13 11:47:13 +01:00
Ilya Tregubov
27e0329a08
Merge branch 'MDL-77291-master' of https://github.com/sarjona/moodle
2023-03-10 10:44:41 +08:00
Andrew Nicols
7beb5d5af2
Merge branch 'mdl-77329-master-clr' of https://github.com/ferranrecio/moodle
2023-03-09 22:18:25 +08:00
Andrew Nicols
cc7cf2f49a
Merge branch 'MDL-77431-master' of https://github.com/lucaboesch/moodle
2023-03-09 22:17:20 +08:00
Andrew Nicols
37fa8c6fc0
MDL-77037 core_course: Coding style fix in Behat feature
2023-03-09 21:59:29 +08:00
Andrew Nicols
c9cc52aec1
Merge branch 'MDL-77037-master' of https://github.com/laurentdavid/moodle
2023-03-09 21:53:01 +08:00
James C
2702583d6c
MDL-77329 course: Prevent collapse state loss
2023-03-09 11:49:55 +01:00
Sara Arjona
1a76b44a7a
Merge branch 'MDL-76940-master' of https://github.com/laurentdavid/moodle
2023-03-09 10:54:41 +01:00
Jun Pataleta
8441270181
Merge branch 'MDL-77559-master-2' of https://github.com/andrewnicols/moodle
2023-03-09 16:02:01 +08:00
Laurent David
387371bacd
MDL-77037 core_courseformat: Refresh course index
...
* Refresh course index when language change
2023-03-09 08:41:02 +01:00
Andrew Nicols
0a3b918b3c
Merge branch 'MDL-77014-master' of https://github.com/lucaboesch/moodle
2023-03-09 11:41:49 +08:00
Andrew Nicols
511401f4f6
MDL-77559 js: Rebuild all JS with Node 16
2023-03-09 09:53:19 +08:00
Laurent David
8f3d9e291e
MDL-76940 core_courseformat: Index refreshing when role switch
...
* Hidden sections and content should not visible to students when switching role
2023-03-08 11:47:21 +01:00
Luca Bösch
d70ed83644
MDL-77014 course: Single activity format course title multilang.
2023-03-08 08:03:22 +01:00
Ferran Recio
5f59807c06
MDL-77291 core_courseformat: show labels in course index
2023-03-03 09:15:11 +01:00
Luca Bösch
d855c47b77
MDL-77431 course: Let the bulk edit toggle look like edit mode switch.
2023-03-03 08:54:56 +01:00
Philipp Memmel
e026dd9caf
MDL-75542 core_courseformat: Add param for expanding section
2023-03-03 07:54:07 +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
abccd6ba40
Merge branch 'MDL-77386-master' of https://github.com/ferranrecio/moodle
2023-03-02 12:06:27 +08:00
Andrew Nicols
33b1e41f13
MDL-75012 js: Full build of all grunt things
2023-03-02 11:55:32 +08:00
Andrew Nicols
0c8b3749f2
Merge branch 'MDL-40600-master-duplicate_section' of https://github.com/alexmorrisnz/moodle
2023-03-02 09:23:05 +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
01d6ba02a3
MDL-40600 core_courseformat: duplicate a named section with copy
...
When a named section is duplicated, the name must have a (copy) particle
to make visible what section is the original and what is the copy.
2023-02-27 09:19:26 +13:00
Alex Morris
f1c4cc73df
MDL-40600 course: Add ability to duplicate section
2023-02-27 09:10:36 +13:00
Ferran Recio
30c172becf
MDL-77386 core_courseformat: add plugin and module to cm state
2023-02-24 12:24:25 +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
73cd0ff616
Merge branch 'MDL-74272-master' of https://github.com/sarjona/moodle
2023-02-08 22:25:18 +08:00
Sara Arjona
5d7d947553
MDL-74272 theme_boost: Remove plugin name on course page
...
In 4.0, the plugin name was added above their name. Based on the community
feedback and the research done by the UX team, this needs to be removed.
This commit removes the activity name when edit mode is disabled.
2023-02-08 13:04:31 +01:00
Paul Holden
4402b0b677
MDL-77154 course: access checks in course format fragment callbacks.
2023-02-08 11:11:00 +08:00
Andrew Nicols
01da499897
Merge branch 'MDL-76418-master' of https://github.com/srobotta/moodle
2023-02-08 08:52:59 +08:00
Stephan Robotta
a8de5c5002
MDL-76418 course: section action menu item to show permlink to section
2023-02-07 17:56:46 +01: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
a3f116367e
MDL-76432 core_courseformat: add file_handlers webservice
...
In 4.0- version each time the course page is loaded the file handlers
are calculate din the backend and injected directly into JS using a json
encapsulation. With this new webservice the handlers can be obtained
directly from the frontend when needed.
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
Ferran Recio
986ab2b84a
MDL-76783 core_courseformat: add bulk-hidden classes
2023-02-03 12:24:59 +01:00
Andrew Nicols
537706353b
Merge branch 'MDL-75870-master' of https://github.com/nwp90/moodle
2023-02-02 12:38:49 +08:00
Angelia Dela Cruz
710607ce5f
MDL-75830 behat: Book behat tests optimised
...
Replace steps that manually add Book instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
Additionally, performed Behat cleanup and optimisation to affected
files.
2023-02-02 09:08:09 +08:00
Nick Phillips
1435abde89
MDL-75870 course: only section togglers to toggle sections
2023-02-02 11:37:29 +13:00
Jun Pataleta
ebbcfa9164
Merge branch 'MDL-76430-master' of https://github.com/ferranrecio/moodle
2023-01-24 21:03:28 +08:00
Ferran Recio
d770ebd01b
MDL-76430 core_courseformat: implement fragment to course format
2023-01-24 12:00:11 +01:00
Andrew Nicols
ef09257dc1
MDL-76362 core: Use empty default string when getting prefs
...
The json_decode function does not accept a null, which is the
traditional default for get_user_preferences. By passing a default of
am empty string we avoid issues in PHP 8.1.
2023-01-23 09:15:54 +08:00
Marina Glancy
b0a83aa7bd
MDL-76362 various: Avoid passing nulls to functions that don't allow nulls
...
PHP 8.1 is more strict on the parameter type. Functions such as trim(), strlen(), str_replace(), etc
show notice when null is passed as an argument
2023-01-23 09:15:54 +08:00
Jun Pataleta
fad05d7929
Merge branch 'MDL-76583-master-withoutrename' of https://github.com/andrewnicols/moodle
2023-01-19 09:44:48 +08:00