103025 Commits

Author SHA1 Message Date
Paul Holden
836f2f044a MDL-72908 admin: correctly distinguish purging all/selected caches. 2021-11-15 12:20:11 +00:00
Ilya Tregubov
01f8949950 Merge branch 'MDL-73011' of https://github.com/paulholden/moodle 2021-11-15 13:37:16 +02:00
Shamim Rezaie
4f96d7ac92 MDL-70721 core: a new mustache helper to clean string after get_string 2021-11-15 22:14:03 +11:00
Ilya Tregubov
5efc19da4c Merge branch 'MDL-72612' of https://github.com/mkassaei/moodle 2021-11-15 10:15:46 +02:00
Michael Hawkins
6d26ba77f3 MDL-72096 core: Add safe ORDER BY helpers for db sorting from user input
The new get_safe_orderby() and get_safe_orderby_multiple() methods
provide a centralised safe way for user submitted sorting values to be
incorporated into SQL ORDER BY. They do this by removing the need for
user submitted data to pass in any SQL and not allowing arbitrary
column values, instead using string keys which map to a predefined
list of allowed sortable columns.
2021-11-15 12:42:43 +08:00
Mathew May
e110e5b330 MDL-70801 block_myoverview: Upgrade steps to relocate the block 2021-11-15 11:49:35 +08:00
Mathew May
6ca9c2154a MDL-70801 core_my: Add a new courses page 2021-11-15 11:49:35 +08:00
Andrew Nicols
7be967d3d6 Merge branch 'MDL-73038' of https://github.com/paulholden/moodle 2021-11-15 08:54:24 +08:00
Thong Bui
ec160a91cb MDL-72966 File upload: Uncaught Error from JS when uploading the file 2021-11-15 07:28:50 +07:00
Andrew Nicols
e11332cf90 MDL-69092 behat: Repeated generator 2021-11-15 11:06:58 +11:00
PraiseSatan
ef9ffcd16d MDL-69496 form: Check if element has attributes
Checks if a form element has attributes before
trying to get the default value. This fixes
an error when trying to get the default value
for a frozen group which does not have the
attributes array.
2021-11-15 09:38:20 +11:00
Mahmoud Kassaei
2bd34edc2d MDL-72612 Custom user field support: Quiz report grading 2021-11-12 15:29:50 +00:00
Paul Holden
143c80e229 MDL-72443 files: support svg preview as with other image types. 2021-11-12 15:07:02 +00:00
Eloy Lafuente (stronk7)
c69c33b14d weekly release 4.0dev+ 2021-11-12 13:40:27 +01:00
Eloy Lafuente (stronk7)
69f7218fbe Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-11-12 13:40:22 +01:00
Paul Holden
10baa46364 MDL-73038 course: remove course module title double encoding. 2021-11-12 09:55:10 +00:00
Jun Pataleta
e327315ea6 Merge branch 'MDL-61671-master' of git://github.com/jleyva/moodle 2021-11-12 10:48:57 +08:00
Shamim Rezaie
6b477deb50 Merge branch 'MDL-60850-master' of https://github.com/junpataleta/moodle 2021-11-12 12:59:59 +11:00
Jun Pataleta
6285dfb7e5 MDL-60850 mod_lti: Centre-align tool configure form elements 2021-11-12 09:40:48 +08:00
Shamim Rezaie
96f910b62f Merge branch 'MDL-73040-master' of git://github.com/HuongNV13/moodle 2021-11-12 12:05:42 +11:00
Paul Holden
c0ceaef772 MDL-73011 reportbuilder: remove workarounds for tab switching. 2021-11-11 23:54:56 +00:00
David Matamoros
697594cd95 MDL-73011 core: Clean previous tab content when switching tabs
Co-authored-by: Paul Holden <paulh@moodle.com>
2021-11-11 23:32:58 +00:00
Víctor Déniz
e82b2ed8d1 Merge branch 'MDL-72565-integration' of https://github.com/roland04/moodle 2021-11-11 23:14:36 +00:00
Jun Pataleta
e1c9c7b007 Merge branch 'MDL-73007' of https://github.com/paulholden/moodle 2021-11-11 23:45:12 +08:00
Jun Pataleta
ce71c45f81 Merge branch 'MDL-72982-master' of https://github.com/junpataleta/moodle 2021-11-11 23:01:14 +08:00
Luuk Verhoeven
f60a585929 MDL-72982 tool_dataprivacy: add class name to email table 2021-11-11 22:54:56 +08:00
Eloy Lafuente (stronk7)
a30f0799e6 Merge branch 'MDL-68913-fix' of https://github.com/sarjona/moodle 2021-11-11 15:15:21 +01:00
Mikel Martín
68eb55b8e6 MDL-72565 reportbuilder: Add card view functionality
Use card view settings to show a 'card view' for custom reports in small devices
2021-11-11 13:55:32 +01:00
Mikel Martín
eab63e82a1 MDL-72565 tablelib: Add modifications needed for report card view
- new 'set_columns_attributes' method created to add column attributes included in every column cell.
- new 'get_row_cells_html' method created from 'get_row_html', so it can be overriden individually.
2021-11-11 13:55:31 +01:00
Mikel Martín
aaa7a5a445 MDL-72565 reportbuilder: Add 'Card view' settings to custom reports
- Create a new 'settings' column in reportbuilder_report table and provide an API to manage it
- Add new card view settings to custom reports
2021-11-11 13:55:29 +01:00
Mikel Martín
f2582cc823 MDL-72565 reportbuilder: Use same template for system/custom reports
- rename 'system_report' template to 'report'
- view.php now uses 'report' template

Co-authored-by: Paul Holden <paulh@moodle.com>
2021-11-11 13:44:23 +01:00
Sara Arjona
d650e65265 Merge branch 'MDL-71751-master' of https://github.com/nguyenphuctien/moodle 2021-11-11 12:44:25 +01:00
Sara Arjona
2ab697f627 Merge branch 'MDL-69561-master' of https://github.com/lameze/moodle 2021-11-11 12:42:09 +01:00
Sara Arjona
f94f9f875d MDL-68913 mod_assign: fix behat failure & version number 2021-11-11 12:15:50 +01:00
Simey Lameze
89e59a60ef MDL-69561 mod: handle content download on course modules 2021-11-11 18:38:53 +08:00
Andrew Nicols
600b049def MDL-71751 js: Do not stop propagation on drop, and handle it properly 2021-11-11 15:52:35 +07:00
Ilya Tregubov
3da8ea4699 Merge branch 'MDL-71902-add-site-level-settings-enforcement-for-browsersecurity-settings' of https://github.com/keevan/moodle 2021-11-11 08:35:32 +02:00
Huong Nguyen
7d3d855193 MDL-73040 timeline: Update core_calendar_get_action_events_by_course API
This API now accepts an optional parameter 'searchvalue' to search the events
2021-11-11 12:26:40 +07:00
Jun Pataleta
8f9b534ed2 Merge branch 'MDL-72552' of https://github.com/spvickers/moodle 2021-11-11 11:42:14 +08:00
Andrew Nicols
a1d7bfcd50 Merge branch 'MDL-73026-master' of https://github.com/junpataleta/moodle 2021-11-11 10:57:06 +08:00
Andrew Nicols
fb7caf7982 MDL-68913 assign: Address coding style issues 2021-11-11 10:55:39 +08:00
Andrew Nicols
940097de9e Merge branch 'MDL-68913-master' of https://github.com/cameron1729/moodle 2021-11-11 10:49:05 +08:00
Shamim Rezaie
d038fd822d Merge branch 'MDL-72952' of https://github.com/roland04/moodle 2021-11-11 10:38:26 +11:00
Kevin Pham
4141f88361 MDL-71902 mod_quiz: Add locked flag option for quiz options
- Applies locked settings to many other quiz general options.
  For example, allows an admin to lock the browsersecurity level so it
  cannot be changed at an instance level, and will apply the 'default'
  option (which is currently None).
2021-11-11 10:36:14 +11:00
Eloy Lafuente (stronk7)
2b18fad922 Merge branch 'MDL-72696' of https://github.com/paulholden/moodle 2021-11-10 19:20:39 +01:00
Mikel Martín
5a2624c472 MDL-72952 reportbuilder: UX behaviour improvements in audiences
- Show a toast notification when saving an audience
- Add form change checker when adding a new audience to prevent user from navigating away if it is not saved
- Remove expand/collapse animation in audience sidebar to be consistent with editor

Co-authored-By: Paul Holden <paulh@moodle.com>
2021-11-10 17:22:00 +01:00
Eloy Lafuente (stronk7)
d824172077 Merge branch 'MDL-71912-master-v5' of git://github.com/abgreeve/moodle 2021-11-10 16:42:00 +01:00
Eloy Lafuente (stronk7)
0c9f92a317 Merge branch 'MDL-71956-master' of https://github.com/sarjona/moodle 2021-11-10 16:04:14 +01:00
Ilya Tregubov
8cbe01da89 Merge branch 'MDL-71115' of https://github.com/NeillM/moodle 2021-11-10 14:05:52 +02:00
Jun Pataleta
7f781d0b7e Merge branch 'MDL-72992-master' of git://github.com/cameron1729/moodle 2021-11-10 18:38:04 +08:00