114659 Commits

Author SHA1 Message Date
Huong Nguyen
7fe2699829
Merge branch 'MDL-82114' of https://github.com/paulholden/moodle 2024-07-01 14:42:38 +07:00
Huong Nguyen
807f75b065
Merge branch 'MDL-79758' of https://github.com/timhunt/moodle 2024-07-01 14:24:56 +07:00
Huong Nguyen
38dc44976a
Merge branch 'MDL-79971-main' of https://github.com/aanabit/moodle 2024-07-01 14:16:26 +07:00
Huong Nguyen
1fcdc69b09
Merge branch 'MDL-79796' of https://github.com/AnupamaSarjoshi/moodle 2024-07-01 14:09:09 +07:00
Huong Nguyen
7e30a3d524
Merge branch 'MDL-73091-main' of https://github.com/laurentdavid/moodle 2024-07-01 14:05:02 +07:00
Shamim Rezaie
d5a8752914 MDL-80748 behat: Workaround for elements covered by the sticky header 2024-07-01 15:58:20 +10:00
Shamim Rezaie
f5f8fb5ff6 MDL-80748 mod_assign: grading table now has a sticky header
`position: sticky` doesn't work in responsive tables because responsive
tables have scrollbars, making them the nearest ancestor with a
scrolling mechanism for the sticky header. As a result, the table can no
longer be responsive. This change is actually desired and was intended
for MDL-81860. Since we implemented it here, we can close the other
issue.
2024-07-01 15:58:20 +10:00
Shamim Rezaie
e44d630be2 MDL-80748 core: flexible_table can be optionally responsive 2024-07-01 15:58:20 +10:00
Shamim Rezaie
3452278283 MDL-80748 core: organizes the properties of the flexible_table class
Public properties are now defined first, followed by protected
properties and finally private properties. Previously, they were
scattered.
2024-07-01 15:58:16 +10:00
Paul Holden
2d25cf1401
MDL-82331 reportbuilder: date filtering down to the nearest minute. 2024-06-28 10:36:48 +01:00
Leon Stringer
f5ead497c6 MDL-82323 core: Fix get_striptags must be bool
If an exception occurs during install $CFG->formatstringstriptags may
not be populated, if so fall back to a default value.
2024-06-28 10:22:54 +01:00
Paul Holden
012b65fd78
MDL-82245 restore: use translated lang string in page heading. 2024-06-28 10:03:03 +01:00
Amaia Anabitarte
de2adae485 MDL-79971 completion: Don't assume a completed activity is viewed 2024-06-28 10:14:46 +02:00
Paul Holden
c03234b5a6
MDL-82329 course: consistent section permalink on view/section pages. 2024-06-28 08:59:51 +01:00
Paul Holden
956c64f0b4
MDL-82114 files: report entity filters for file component/area. 2024-06-28 07:54:25 +01:00
David Carrillo
8223c1cea2
MDL-80123 admin: Convert admin preset report to Report Builder
- Admin presets list has been converted to use Report builder
- Added ability to filter by name in the report
- Added confirmation modal when deleting presets
- Added inplace editable to rename custom presets
2024-06-28 08:39:25 +02:00
Paul Holden
77584dee5c
MDL-82315 backup: account for null course section sequence value. 2024-06-27 23:33:05 +01:00
Paul Holden
8a0d02d373
MDL-82326 calendar: correct course name formatting and shortening. 2024-06-27 17:41:28 +01:00
Adrian Perez
e1353c7649 MDL-74251 core: Remove old icon helper classes 2024-06-27 18:28:05 +02:00
Sara Arjona
5aef789ac6
weekly release 4.5dev 2024-06-27 16:36:42 +02:00
Sara Arjona
24c4541d47
NOBUG: Add upgrade notes 2024-06-27 16:36:42 +02:00
Sara Arjona
c5698a9958
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2024-06-27 16:34:52 +02:00
Stephan Robotta
f736db9777 MDL-79758 qbank: add filter in pagination links
Contains some minor tweaks by Tim Hunt <T.J.Hunt@open.ac.uk>.
2024-06-27 09:21:23 +01:00
ferranrecio
b4f0332388 MDL-80191 backup: delegate section backup and restore
This commit adds all the logic to allow delegate sections backup and
restore. The backup and restore process is quite complex and it is not
designed to have task hierarchy. To solve the subsection problem, the
backup/restore planners do not include delegated sections at a course
level, but they are included when the activity with delegated section is
processed.

To allow restoing, the activity is responsible to store the
component/itemid mapping in the backup_structure_dbops. This way, when
the delegated section is restored (delegated sections are always
processed right after the parent activity) it can use the itemid
mapping.
2024-06-27 10:21:07 +02:00
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