114741 Commits

Author SHA1 Message Date
ferranrecio
7482013cd2 MDL-80191 backup: prepare UI for subsections
Backup and restore settings needs to be refactored before introducing
subsections. With the current code adding two new hierachy levels
(subsections and activities in subsections) will require many
unnecessary lines of code because most of the structure is hard-coded.

With this patch when backup/restore present the course structure uses a
stack to control how mani divs are opened, instead of relying on adhoc
class attributes per each div.

About the tasks for sections and activities, the class has been
refactored. This way when subsections are introduced it will require
less lines of code and the final patch will be more comprehensible.
2024-06-27 10:16:03 +02:00
Huong Nguyen
053e0e8a87
Merge branch 'MDL-82068' of https://github.com/paulholden/moodle 2024-06-27 11:19:38 +07:00
Jun Pataleta
1306c52855
Merge branch 'MDL-81960-main' of https://github.com/andrewnicols/moodle 2024-06-27 12:16:18 +08:00
Huong Nguyen
15d5cefba8
Merge branch 'MDL-62958' of https://github.com/paulholden/moodle 2024-06-27 11:04:39 +07:00
Huong Nguyen
57fbce061b
Merge branch 'MDL-82251' of https://github.com/paulholden/moodle 2024-06-27 10:55:53 +07:00
Andrew Nicols
e3f795fc72
MDL-81960 core: Move progress_trace tests out of weblib 2024-06-27 11:35:37 +08:00
Andrew Nicols
b6d08ad1d7
MDL-81960 core: Update namespace of progress_trace classes 2024-06-27 11:35:37 +08:00
Andrew Nicols
a9869ff0a7
MDL-81960 core: Coding style update for progress_trace 2024-06-27 11:35:36 +08:00
Andrew Nicols
c8a538de29
MDL-81960 core: Move progress_trace classes to legacy autoloader 2024-06-27 11:35:36 +08:00
Andrew Nicols
097b3fbee3
MDL-81960 core: Move moodle_url tests to correct location 2024-06-27 11:35:31 +08:00
Andrew Nicols
b637f8cc4e
MDL-81960 core: Coding style fixes 2024-06-27 11:34:30 +08:00
Huong Nguyen
2471ff69be
Merge branch 'MDL-82008-main' of https://github.com/lucaboesch/moodle 2024-06-27 10:26:00 +07:00
Andrew Nicols
31461eff5b
MDL-63670 core_message: Coding style updates for unit tests 2024-06-27 11:21:14 +08:00
Jun Pataleta
03fbc9fc01
Merge branch 'MDL-79809-main' of https://github.com/HuongNV13/moodle 2024-06-27 11:01:44 +08:00
Huong Nguyen
1ad47bdef0
Merge branch 'MDL-81111-master' of https://github.com/tailetan/moodle 2024-06-27 09:52:09 +07:00
Jun Pataleta
0c64966ea4
MDL-82183 output: Additional fixes
* Use the namespaced classes in imports instead of their aliases
* Add missing imports
* Add moved `\core\output\local\action_menu\subpanel` in the upgrade
  notes
2024-06-27 09:21:04 +08:00
Jun Pataleta
85a83eb365
MDL-82183 output: Move render_context_header()
* With \core_renderer in lib/outputrenderers.php moved to its
standalone class in \core\output, the method ::render_context_header()
introduced in MDL-82160 also needs to be moved to the new class.
2024-06-27 09:02:11 +08:00
Jun Pataleta
e84daab7dd
Merge branch 'MDL-82183-main-squashed' of https://github.com/andrewnicols/moodle 2024-06-27 08:49:13 +08:00
Luca Bösch
529be7c9fe MDL-81959 qtype_multianswer: Margin between checkboxes and text 2024-06-27 00:24:36 +02:00
Andrew Nicols
433df29b81
MDL-63670 core_message: Tests should not use another testcase as base 2024-06-27 00:00:55 +08:00
Jun Pataleta
75f2afc3dc
Merge branch 'MDL-81920' of https://github.com/paulholden/moodle 2024-06-26 23:23:01 +08:00
Sara Arjona
745cff2597
Merge branch 'MDL-81657' of https://github.com/paulholden/moodle 2024-06-26 17:06:56 +02:00
Andrew Nicols
882150bd02
MDL-82183 core: Move subpanel out of local folder 2024-06-26 23:00:34 +08:00
Andrew Nicols
70ab95f27f
MDL-82183 core: Document new class locations for output API 2024-06-26 23:00:34 +08:00
Andrew Nicols
9043dc75bf
MDL-82183 core: Coding style fixes for core\output 2024-06-26 23:00:33 +08:00
Andrew Nicols
ff0fd2764a
MDL-82183 core: Update namespace of moved output classes 2024-06-26 23:00:33 +08:00
Andrew Nicols
6c61700d0e
MDL-82183 core_table: Move tablelib classes to core_table 2024-06-26 23:00:32 +08:00
Andrew Nicols
2fff48b07c
MDL-82183 core: Migrate all output classes to autoloaded 2024-06-26 23:00:31 +08:00
Andrew Nicols
77f9238cf4
MDL-82287 core: Deprecate long-deprecated functions
These were originally believed to be so widely used that we could never
migrate away from them but it seems we have!
2024-06-26 22:19:07 +08:00
Paul Holden
751aa2efc3
MDL-81920 core: move emoticon manager class into autoload namespace. 2024-06-26 14:23:30 +01:00
Paul Holden
cc30087d84
MDL-81920 lang: move language string class into autoload namespace. 2024-06-26 14:23:11 +01:00
Daniel Ziegenberg
8723c4099b
MDL-75025 backup: Final deprecation of base_controller::get/set_copy
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-06-26 13:52:46 +02:00
Lars Bonczek
a48d11dd7d MDL-63753 course: Show stealth activity links to non-editing teachers 2024-06-26 12:57:36 +02:00
Sara Arjona
9e1eec783c
Merge branch 'MDL-82207' of https://github.com/stronk7/moodle 2024-06-26 12:27:19 +02:00
Sara Arjona
4a9b4c9b7b
Merge branch 'MDL-80625-master' of https://github.com/ssj365/moodle 2024-06-26 12:14:49 +02:00
Sara Arjona
0bccb0b1e4
Merge branch 'MDL-80344' of https://github.com/paulholden/moodle 2024-06-26 12:11:11 +02:00
Huong Nguyen
ca7286c14c
MDL-81991 core: Reload accessdata for dirty users in CLI mode 2024-06-26 16:27:11 +07:00
Huong Nguyen
67f348a340
MDL-78936 editor_tiny: Disable quickbars for small target
The quickbars selection toolbar is not displayed correctly
if the target element is too small. We will wait for it
to be fixed in the future before we re-enable it in Moodle
2024-06-26 10:13:28 +07:00
Ilya Tregubov
5c415229eb Merge branch 'MDL-82233-main' of https://github.com/sarjona/moodle 2024-06-26 10:23:44 +08:00
Huong Nguyen
debeb77681
Merge branch 'MDL-81250-main' of https://github.com/meirzamoodle/moodle 2024-06-26 09:20:56 +07:00
Ilya Tregubov
201140e7dd Merge branch 'MDL-82167-main' of https://github.com/ferranrecio/moodle 2024-06-26 10:19:34 +08:00
Ilya Tregubov
435619ac90 Merge branch 'MDL-81866-main' of https://github.com/sarjona/moodle 2024-06-26 10:16:36 +08:00
Ilya Tregubov
c60f4eaa62 Merge branch 'MDL-81769-main' of https://github.com/ferranrecio/moodle 2024-06-26 10:13:19 +08:00
Ilya Tregubov
6eac3256f8 Merge branch 'MDL-81743-main' of https://github.com/roland04/moodle 2024-06-26 10:10:51 +08:00
Sara Arjona
56cdb1a3d3
Merge branch 'MDL-79231-main' of https://github.com/davewoloszyn/moodle 2024-06-25 16:12:55 +02:00
Sara Arjona
8b15366f28
Merge branch 'MDL-82160-main' of https://github.com/roland04/moodle 2024-06-25 15:59:57 +02:00
Andrew Nicols
4101dc6dab
MDL-82287 core: Remove long-deprecated methods 2024-06-25 21:30:30 +08:00
Mikel Martín
7b0e95aec0 MDL-81743 mod_feedback: Add manage questions behat feature 2024-06-25 15:02:24 +02:00
Mikel Martín
fdb7f280c4 MDL-81743 mod_feedback: Fix multichoice items separation 2024-06-25 15:02:24 +02:00
Mikel Martín
ae01fe1ba4 MDL-81743 mod_feedback: Improve 'Edit' page UI
- Move styles in css to modules.scss
- Add new styles for questions
- Change Delete action to red colour
- Add "Page break" text to pagebreak elements in edit page
2024-06-25 15:02:20 +02:00