Commit graph

114680 commits

Author SHA1 Message Date
Ilya Tregubov
8dc76d79e5 Merge branch 'main_MDL-82141' of https://github.com/mattporritt/moodle 2024-07-02 13:19:55 +08:00
Ilya Tregubov
a1a02b7146 Merge branch 'MDL-80123' of https://github.com/dravek/moodle 2024-07-02 10:20:01 +08:00
Ilya Tregubov
0a7fddefd3 MDL-81647 core: Code style fix. 2024-07-02 10:15:18 +08:00
Ilya Tregubov
f0d194089f Merge branch 'MDL-81647-main' of https://github.com/andrewnicols/moodle 2024-07-02 09:26:13 +08:00
Paul Holden
0dbfd10c0c
MDL-77834 mod_feedback: consistent HTML decoding of answer data.
Restores functionality from 72629ee8c0 that went missing along the way.
2024-07-01 16:21:58 +01:00
Sara Arjona
f385fe16da
Merge branch 'MDL-75022_final-deprecation-of-core_backup-copy' of https://github.com/ziegenberg/moodle 2024-07-01 16:47:20 +02:00
Sara Arjona
79e73e1b05
Merge branch 'MDL-74843_final-deprecation-of-core_task_manager-ensure_adhoc_task_qos' of https://github.com/ziegenberg/moodle 2024-07-01 16:29:09 +02:00
Sara Arjona
03e9639edf
Merge branch 'MDL-81959-main' of https://github.com/lucaboesch/moodle 2024-07-01 16:15:38 +02:00
meirzamoodle
1f1d1a3920 MDL-66994 core: Remove display contact form setting in site registration
Removing the display of the contact form causes deprecation of some
language strings and unsets the site_contactable during the upgrade.
2024-07-01 21:07:30 +07:00
Sara Arjona
e01a61a7b8
Merge branch 'MDL-80643_upgrade-http-client' of https://github.com/ziegenberg/moodle 2024-07-01 13:36:28 +02:00
Sara Arjona
07e21c944e
Merge branch 'MDL-80642_upgrade-http-message' of https://github.com/ziegenberg/moodle 2024-07-01 13:23:04 +02:00
Sara Arjona
7d3f56d315
Merge branch 'MDL-80645_upgrade-symfony-deprecation-contracts' of https://github.com/ziegenberg/moodle 2024-07-01 12:55:31 +02:00
Sara Arjona
4fcea1f716
Merge branch 'MDL-80191-main-v06' of https://github.com/ferranrecio/moodle 2024-07-01 12:26:46 +02:00
Sara Arjona
576e63cb0f
Merge branch 'MDL-63753' of https://github.com/larsbonczek/moodle 2024-07-01 12:18:50 +02:00
Jun Pataleta
bfd07deb22
MDL-82264 admin: Move $CFG->allcountrycodes outside "IP address lookup" 2024-07-01 16:49:33 +08:00
ferranrecio
b5f14e895a MDL-80191 backup: add subsections to restore form
This commit adds two new levels to the restore course structure form:
subsection (a delegated section that belongs to a course module) and
subactivity (a course module in a subsection).

Restore form can only use information from the backup file. To allow
activities to know if they are inside a subsection, the backup now
incorporates an "insubsection" attribute. This attribute is used only
for the form display but not for the restore logic.
2024-07-01 10:48:32 +02:00
ferranrecio
c997f91db6 MDL-80191 backup: add subsections to backup form
The patch adds two new levels to the backup form structure: subsection
(a delegated section which parent is a course module) and subactivity
(an activity inside a subsection). Those new elements are displayed as a
inner section below the parent activitiy.

For now the UI is the same as a regular section but future issues will
define how the UX should be. The new two levels have their own classes
to represents settings and have extra dependencies.
2024-07-01 10:48:32 +02:00
Sara Arjona
606a82b95f
Merge branch 'MDL-81885-main' of https://github.com/ferranrecio/moodle 2024-07-01 10:42:32 +02:00
Paul Holden
4fa3b63d19
MDL-81349 group: case-sensitive name validation when editing. 2024-07-01 09:41:37 +01:00
Huong Nguyen
cdfeae28e7
Merge branch 'MDL-82331' of https://github.com/paulholden/moodle 2024-07-01 14:46:06 +07:00
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