Commit graph

102688 commits

Author SHA1 Message Date
Paul Holden
5ec86bf501 MDL-72663 reportbuilder: improvements to column aggregation methods.
The group concatenation types now consistently sort the returned values
and support aggregating columns containing multiple fields and those
with defined callbacks.
2021-10-22 16:17:31 +01:00
Paul Holden
16a65f73e7 MDL-72663 reportbuilder: column API changes to improve aggregation.
Refinements to how columns can be defined in relation to available
aggregation methods:

* Disable aggregation types;
* Set column GROUP BY during aggregation;
* Defer column sorting to that of the aggregation method
2021-10-22 16:17:17 +01:00
Ilya Tregubov
e5894c0455 on-demand release 4.0dev+ 2021-10-22 12:49:26 +02:00
Ilya Tregubov
95f575f7c0 Merge branch 'MDL-69371' of git://github.com/stronk7/moodle 2021-10-22 08:46:23 +02:00
Eloy Lafuente (stronk7)
777f654c28 MDL-69371 behat: Raise privacy exports allowed size
Note that this issue is not the one causing this problem alone
but just one more causing the download limits to be surpassed.

Allowing 1000 more bytes to have some margin, as far as we are
adding lots of new css stuff here and there.
2021-10-22 08:31:38 +02:00
Thong Bui
76c0a743bf MDL-71750 File upload: Disable submittion when uploading multiple files
Fixed issue "Save" and "Submit and finish" button is not disabled when file uploading in the ticket MDL-71644
2021-10-22 13:26:02 +07:00
Jun Pataleta
69243cd62a Merge branch 'MDL-69371-master-fix' of git://github.com/abgreeve/moodle 2021-10-22 12:59:38 +08:00
Shamim Rezaie
5c3cdd147d MDL-72669 qtype_multianswer: Replace empty option with NBSP 2021-10-22 14:33:50 +11:00
abgreeve
2c7b7ff3d3 MDL-69371 behat: Update to step definition.
This extends the step to look for the file manager on
admin pages as well which has a slightly different html
signature to look for.
2021-10-22 10:32:14 +08:00
Paul Holden
c544288555 MDL-72884 atto_image: improve svg support in editor dialogue.
Where the dimensions of an image are not present, we should use
sensible defaults so that the dialogue is still usable.
2021-10-21 23:58:27 +01:00
Víctor Déniz
f8cab39a04 Merge branch 'MDL-72607-master_fix_media_vimeo_url_parser' of https://github.com/praxisdigital/moodle 2021-10-21 23:29:41 +01:00
Eloy Lafuente (stronk7)
0e4bc1212b Merge branch 'two_failures' of https://github.com/stronk7/moodle 2021-10-21 23:21:51 +02:00
Eloy Lafuente (stronk7)
69a12d7606 Merge branch 'MDL-72228' of https://github.com/paulholden/moodle 2021-10-21 20:45:30 +02:00
Ferran Recio
c0578a83df MDL-71663 core_courseformat: fix merge conflict 2021-10-21 20:27:35 +02:00
Ferran Recio
db8e1d9423 MDL-71663: fix editor in classic 2021-10-21 19:40:17 +02:00
Jun Pataleta
ab588eadbb Merge branch 'MDL-72878-master' of git://github.com/ilyatregubov/moodle 2021-10-21 23:40:26 +08:00
Eloy Lafuente (stronk7)
cc31cb281f Merge branch 'MDL-69371-master-fix' of git://github.com/junpataleta/moodle 2021-10-21 17:35:51 +02:00
Jun Pataleta
e26f47359b MDL-69371 output: Render lang_menu only when necessary 2021-10-21 22:54:48 +08:00
Sara Arjona
a4d472cce6 Merge branch 'MDL-72567-master' of git://github.com/lucaboesch/moodle 2021-10-21 16:38:24 +02:00
Ilya Tregubov
584bc8cf7e MDL-72878 behat: Fix behat failing in chrome.
Element is on edge of browser. Changing window size.
2021-10-21 14:59:20 +02:00
Jun Pataleta
f14239c8dc MDL-69371 output: Allow null return for export_for_single_select() 2021-10-21 18:35:04 +08:00
Jun Pataleta
1181f34253 MDL-69371 output: Allow null return for export_for_action_menu() 2021-10-21 18:14:47 +08:00
Michael Hawkins
3416ccc871 MDL-72781 tool_usertours: Remove disabled user tour JSON 2021-10-21 17:23:56 +08:00
Michael Hawkins
9d4f46e4b6 MDL-72781 tool_usertours: Disable activity completion user tours 2021-10-21 17:23:55 +08:00
abgreeve
ca229dfcad Merge branch 'MDL-69371-master-4' of git://github.com/bmbrands/moodle 2021-10-21 17:16:48 +08:00
Andrew Nicols
453db3dcab Merge branch 'MDL-71953-behat' of git://github.com/HuongNV13/moodle 2021-10-21 16:27:02 +08:00
Luca Bösch
7e047dcf99 MDL-72567 courseformat: Have course index support activity name filters 2021-10-21 10:14:35 +02:00
Huong Nguyen
1382607708 MDL-71953 calendar: Fix behat failures 2021-10-21 14:51:32 +07:00
Paul Holden
9829fc5b99 MDL-72743 mod_quiz: verify user mapping prior to restoring attempts. 2021-10-21 08:26:50 +01:00
Eloy Lafuente (stronk7)
6863a92722 Merge branch 'MDL-72013-master-int' of git://github.com/andrewnicols/moodle 2021-10-21 09:25:58 +02:00
Andrew Nicols
f59018f67a Merge branch 'MDL-71953-master' of git://github.com/HuongNV13/moodle 2021-10-21 14:02:58 +08:00
Andrew Nicols
a8897c3517 MDL-72013 js: Configure eslint-jsdoc plugin
This change adds configuration for the eslint-jsdoc plugin in order to
detect the following errors with jsdoc blocks:
* missing params
* params in incorrect order
* params with no type defined
* properties incorrectly defined
* incorrect use of @package
* incorrect values for @access

In addition, warnings will be thrown where indentation is incorrect.
2021-10-21 13:28:04 +08:00
Andrew Nicols
4c1e0dcb19 MDL-72013 js: Add eslint-jsdoc plugin 2021-10-21 13:28:04 +08:00
Andrew Nicols
349312143d MDL-72013 js: Fix jsdocs to meet stricter eslint 2021-10-21 13:28:00 +08:00
Andrew Nicols
05e6d69e4c Merge branch 'MDL-72507-master' of https://github.com/NashTechOpenUniversity/moodle 2021-10-21 12:56:23 +08:00
Huong Nguyen
bca6b06a1c MDL-71953 calendar: Accessibility improvement for manage subscription
- Create new web services for manage subscription (Update calendar subscription)
 - Modified delete subscription feature to use Web service.
 - Midified update subscription feature to use in-place editbale
 - Delete subscription feature now have a confirmation box before processing.
 - Fixed some accessibility issues
 - Used 'Delete' instead of 'Remove' for deleting subscriptions
2021-10-21 11:02:34 +07:00
Andrew Nicols
2d62323d42 MDL-72874 behat: Allow behat window sizes to be modified during run
In some situations it is useful to modify the requested screensize by a
modifier. This allows for failing tests to be rerun at a different
screensize, where the original screensize triggered a failure for some
size-related reason.
2021-10-21 10:22:49 +08:00
Andrew Nicols
f7ccc1b590 Merge branch 'MDL-71663-master' of git://github.com/ferranrecio/moodle 2021-10-21 09:29:19 +08:00
Paul Holden
ba56a273ad MDL-72228 theme_boost: remove class to account for blocks presence.
Course pages use the the drawers layout file, which included a class
to identify whether the page included blocks (`has-blocks`), applying
a width offset to the main region settings menu.

Since 4fa713b0 all course-level blocks are hidden away by default in
a drawer, so the `has-blocks` class had the effect of shifting the
action menu away from the intended right hand side of the page.
2021-10-20 14:44:52 +01:00
Ferran Recio
fb7d246a29 MDL-71663 core_courseformat: add move tool 2021-10-20 15:27:45 +02:00
Ilya Tregubov
b7815208f3 Merge branch 'MDL-72639' of git://github.com/paulholden/moodle 2021-10-20 12:59:29 +02:00
Ilya Tregubov
150afce2b1 Merge branch 'MDL-52456-master-whitespace-fix' of git://github.com/ilyatregubov/moodle 2021-10-20 11:53:15 +02:00
Ilya Tregubov
ce8daac9cf MDL-52456 quiz: Fix illegal white space. 2021-10-20 11:51:12 +02:00
Ilya Tregubov
282c4a124a Merge branch 'MDL-52456-master' of https://github.com/NashTechOpenUniversity/moodle 2021-10-20 11:33:14 +02:00
Ilya Tregubov
1cfcb89f68 Merge branch 'MDL-70795-fix-export-data-size' of git://github.com/ilyatregubov/moodle 2021-10-20 09:50:59 +02:00
Jun Pataleta
56c55f996a Merge branch 'MDL-72352-master-v2' of git://github.com/peterRd/moodle 2021-10-20 15:45:22 +08:00
Paul Holden
ebbd92a5e9 MDL-70795 tool_dataprivacy: increase exported data download size. 2021-10-20 09:41:27 +02:00
Peter Dias
44922dfe2d MDL-72352 navigation: Unit tests 2021-10-20 14:55:11 +08:00
Peter Dias
e30f73ddef MDL-72352 navigation: Add filters to moremenu 2021-10-20 14:55:11 +08:00
Adrian Greeve
f7e33da502 MDL-72352 navigation: Third party settings with children displayed.
This makes sure that we are backwards compatible with plugins that
have extended the course or module settings navigation and have
containers.
2021-10-20 14:55:11 +08:00