106378 Commits

Author SHA1 Message Date
Andrew Nicols
79952f5084 Merge branch 'MDL-76049' of https://github.com/timhunt/moodle 2022-10-25 11:49:25 +08:00
Jun Pataleta
6c0631b2d3 Merge branch 'MDL-75099-master' of https://github.com/rmady/moodle 2022-10-25 11:46:25 +08:00
Andrew Nicols
6d5c70a286 Merge branch 'master-MDL-74991' of https://github.com/golenkovm/moodle 2022-10-25 11:14:06 +08:00
Andrew Nicols
d07cbb7641 Merge branch 'MDL-75763-master' of https://github.com/call-learning/moodle 2022-10-25 11:10:32 +08:00
Jake Dallimore
c4d779fbb0 Merge branch 'MDL-74315-master' of https://github.com/roland04/moodle 2022-10-25 11:08:47 +08:00
Andrew Nicols
89b9f20229 Merge branch 'MDL-75760' of https://github.com/stronk7/moodle 2022-10-25 10:48:21 +08:00
Víctor Déniz
f531f46d9e Merge branch 'MDL-75074-master' of https://github.com/sammarshallou/moodle 2022-10-24 16:43:08 +01:00
Víctor Déniz
9235ed5296 Merge branch 'MDL-75482-master' of https://github.com/stevandoMoodle/moodle 2022-10-24 16:36:26 +01:00
Sara Arjona
636e39e98b Merge branch 'MDL-75465-master' of https://github.com/stevandoMoodle/moodle 2022-10-24 17:30:12 +02:00
Víctor Déniz
3b4023122a Merge branch 'MDL-75483-master' of https://github.com/davewoloszyn/moodle 2022-10-24 16:00:46 +01:00
Sara Arjona
83aa6c2a13 Merge branch 'MDL-75474-master' of https://github.com/davewoloszyn/moodle 2022-10-24 16:54:40 +02:00
Víctor Déniz
ed9d3ae84c Merge branch 'MDL-75352' of https://github.com/paulholden/moodle 2022-10-24 15:44:09 +01:00
Andrew Nicols
f0be30af14 Merge branch 'MDL-74911-master' of https://github.com/matthewhilton/moodle 2022-10-24 22:22:28 +08:00
Sara Arjona
85385cd09f Merge branch 'MDL-75470-master' of https://github.com/davewoloszyn/moodle 2022-10-24 16:10:11 +02:00
Andrew Nicols
bc5252d8bf Merge branch 'MDL-75684-master' of https://github.com/sarjona/moodle 2022-10-24 21:50:45 +08:00
Sara Arjona
4cf81fd3c2 Merge branch 'MDL-73030' of https://github.com/paulholden/moodle 2022-10-24 15:47:21 +02:00
Sara Arjona
b0110cbed3 Merge branch 'MDL-75897' of https://github.com/paulholden/moodle 2022-10-24 15:35:12 +02:00
Sara Arjona
b2816b93bf MDL-75684 mod_data: Display pending approval in resources
In MDL-75664, the approval status badge was re-added. However,
the resources list template was missing so this commit is for
fixing this.
2022-10-24 13:01:39 +02:00
Sara Arjona
16ba7cbe96 MDL-75684 mod_data: Add metadata to templates
Each template should display at the top the information about the
user who has created the entry, when it was created and modified.

Apart from that, this commit also includes:
- For the Journal preset, a link on each card entry title has been
added, to open the Single view.
- For the Resources preset, the Author field has been renamed to
"Author of resource" and the Description to "Content".
- For the Resources preset, the Author and Type fields will be
hidden in the List view for small devices.
2022-10-24 13:01:39 +02:00
Sara Arjona
e80ec13230 MDL-75684 mod_data: Remove duplicated label 2022-10-24 13:01:39 +02:00
Sara Arjona
09a2c6a0e8 MDL-75684 mod_data: Add author name/lastname to adv search
Add the "First name" and "Last name" fields at the beginning of the
advanced search template for all the presets.
2022-10-24 13:01:39 +02:00
Sara Arjona
a8452c9d25 MDL-75684 mod_data: Remove List/Single view headings
Apart from removing the "List view" and "Single view" h2 headings,
the presets and templates must be also reviewed to confirm no
heading is skipped (so h2 > h3 > h4 ...).

For the Journal preset, the "Reflections" heading has been removed
here too.
2022-10-24 13:01:39 +02:00
Sara Arjona
9fbc24898b MDL-75684 mod_data: Update action icons
The edit icon has been replaced from a cog to a pencil.
Besides, the actions icons will be displayed using black colour.
2022-10-24 13:01:39 +02:00
Jun Pataleta
10de18ce0c Merge branch 'MDL-75936-master' of https://github.com/andrewnicols/moodle 2022-10-24 15:58:14 +08:00
Andrew Nicols
dc50ea7d3a MDL-75936 core_message: Migrate message_drawer_helper to ESM 2022-10-24 14:29:32 +08:00
Andrew Nicols
723d450c8c MDL-75936 core_message: Drawer must be ready before firing drawer events
This commit addresses a race condition when showing the message drawer
and opening the settings page from the Message preferences page.

In that situation, the message/edit.php page calls the
message_drawer_helper.showSettings function, which publishes a request
to show the drawer.

In some conditions (notably faster machines, or after MDL-66107) this
event is fired before the message_drawer.init has listened to it.

The solution here is to delay firing of the event until the drawer
announces itself as ready.

This ensures that the event is subscribed to before it is fired.
2022-10-24 14:29:32 +08:00
Jun Pataleta
5ca124e7a2 Merge branch 'MDL-76018-master' of https://github.com/sammarshallou/moodle 2022-10-24 13:16:24 +08:00
Matthew Hilton
e02aa3ad9a MDL-74911 assignfeedback_editpdf: per-assignment conversion poll lock
The lock ensures that multiple conversions do not happen for the same
assignment submission.

Otherwise, subsequent conversions will fail when trying to save the
converted file.
2022-10-24 12:54:53 +10:00
Matthew Hilton
617a32f3f0 MDL-74911 assignfeedback_editpdf: unlock session when polling conversion
Polling conversions will run the document conversion immediately if the
conversion has not already been completed.

Releasing the session lock while doing this ensures large conversions
do not unnecessarily hold the users session.
2022-10-24 12:54:53 +10:00
Eloy Lafuente (stronk7)
83eb19338e MDL-75760 database: Keep mysql driver working over all PHP versions
Before PHP 8.1, the mysqli extension had MYSQLI_REPORT_OFF as default setting.
With PHP 8.1, it has been changed to MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT
The native driver is not ready to work with this new reporting level,
see MDL-75761 about to considering to improve it.

So this change just ensures that we continue using MYSQLI_REPORT_OFF
with any PHP version.
2022-10-21 16:33:22 +02:00
Sara Arjona
963b7a4423 Merge branch 'MDL-72828-master' of https://github.com/davewoloszyn/moodle 2022-10-21 16:24:41 +02:00
Sara Arjona
5e9d99eeaf Merge branch 'MDL-61921-master' of https://github.com/HuongNV13/moodle 2022-10-21 16:22:44 +02:00
Ilya Tregubov
046e48c49c on-demand release 4.1dev+ 2022-10-21 15:34:10 +03:00
Ilya Tregubov
660b56eb50 Merge branch 'MDL-75362-refactor' of https://github.com/Chocolate-lightning/moodle 2022-10-21 09:56:19 +03:00
Jun Pataleta
c809da03fd Merge branch 'MDL-68868-master' of https://github.com/davewoloszyn/moodle 2022-10-21 09:07:58 +03:00
Jun Pataleta
58a92364ed Merge branch 'MDL-70368-cache-image-metadata' of https://github.com/brendanheywood/moodle 2022-10-21 09:07:58 +03:00
Jun Pataleta
492662a333 Merge branch 'MDL-75157-master-1' of https://github.com/mihailges/moodle 2022-10-21 09:07:58 +03:00
Sara Arjona
31419c1f28 Merge branch 'MDL-75211-master' of https://github.com/ferranrecio/moodle 2022-10-21 09:07:58 +03:00
Sara Arjona
ef3c37dd4c Merge branch 'MDL-75484-master' of https://github.com/davewoloszyn/moodle 2022-10-21 09:07:58 +03:00
Víctor Déniz
c209719811 Merge branch 'MDL-67020_master' of https://github.com/marxjohnson/moodle 2022-10-21 09:07:58 +03:00
Sara Arjona
1ff87d2459 Merge branch 'MDL-75791-master' of https://github.com/marinaglancy/moodle 2022-10-21 09:07:58 +03:00
Sara Arjona
e31c9d3f84 Merge branch 'MDL-75931' of https://github.com/paulholden/moodle 2022-10-21 09:07:58 +03:00
David Woloszyn
bbe528c1ad MDL-72828 js: get_strings supports jquery objects 2022-10-21 13:47:34 +11:00
Huong Nguyen
986910d6ff MDL-61921 admin: Support XOAUTH2 for incoming mail 2022-10-21 09:34:53 +07:00
Huong Nguyen
bc80531188 MDL-61921 admin: Support XOAUTH2 for outgoing mail 2022-10-21 09:33:48 +07:00
Tim Hunt
1944c03e7e MDL-76049 quiz generator: update calendar events for new overrides 2022-10-20 23:44:23 +01:00
Mathew May
ee71eae12a MDL-75362 gradebook: add group selector into reports 2022-10-20 21:24:51 +08:00
Mathew May
e84948c4a7 MDL-75362 gradereport_singleview: Roll in zero state 2022-10-20 21:24:51 +08:00
Mathew May
e7c1c2841d MDL-75362 gradereport_user: Roll in zero state work for user report 2022-10-20 21:24:51 +08:00
Mathew May
7973d6b11c MDL-75362 gradereport_singleview: CiBot complaints 2022-10-20 21:24:51 +08:00