102509 Commits

Author SHA1 Message Date
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
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
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
f7ccc1b590 Merge branch 'MDL-71663-master' of git://github.com/ferranrecio/moodle 2021-10-21 09:29:19 +08: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
Andrew Nicols
5b60230a26 Merge branch 'MDL-72851-master' of git://github.com/ilyatregubov/moodle 2021-10-20 14:12:40 +08:00
Andrew Nicols
c5714ac280 Merge branch 'MDL-71211-master-v03' of git://github.com/ferranrecio/moodle 2021-10-20 09:04:57 +08:00
Eloy Lafuente (stronk7)
b3e74f762a Merge branch 'MDL-72596-master' of https://github.com/sammarshallou/moodle 2021-10-19 23:05:43 +02:00
Eloy Lafuente (stronk7)
3d55dfdd77 Merge branch 'MDL-72849-master' of https://github.com/sammarshallou/moodle 2021-10-19 22:17:04 +02:00
sam marshall
9c29979b8b MDL-72596 core_cache: Track cache I/O size in perfdebug
For cache types which mean this information can be obtained without a
significant performance cost (i.e. just by calling strlen and not
having to serialize something that wasn't serialized already),
this change calculates the size of data read from or written to cache
in each request and includes it in the perfdebug table at bottom of
output (when that is turned on).

This supports the following cache types:

* File store
* Redis (only if caching is enabled)
2021-10-19 17:00:48 +01:00
Ilya Tregubov
1025ed1c22 MDL-72851 core: Bump $lastmajordbchanges to trigger upgrade immediately.
Fixing regression of MDL-52206.
2021-10-19 16:40:42 +02:00
Ilya Tregubov
6d8da6229f Merge branch 'MDL-70795' of git://github.com/paulholden/moodle 2021-10-19 15:56:57 +02:00
Thong Bui
46b88325ed MDL-52456 Quiz: notification message for students.
Notification message for students after questions have been manually graded.
2021-10-19 20:06:16 +07:00
David Matamoros
0457fb6675 MDL-70795 reportbuilder: allow user to view custom reports.
Reports can be viewed via two methods. Non-editing users can
access them via their report listing page, and report editors
can switch between editing and preview mode while working on
their reports.

Clean up remaining string definitions.

Co-authored-by: Mikel Martín <mikel@moodle.com>
2021-10-19 13:57:30 +01:00
Paul Holden
f47e89a9bd MDL-70795 reportbuilder: editor elements to set column aggregation.
Aggregation of report columns allows the report editor to perform
common types of data aggregation (concatenation, sum, count, etc)
on given columns.
2021-10-19 13:56:05 +01:00
David Matamoros
db7102eba5 MDL-70795 reportbuilder: report configuration for default sorting.
Co-authored-By: Mikel Martín <mikel@moodle.com>
2021-10-19 13:56:05 +01:00
Mikel Martín
9000d8d1a0 MDL-70795 reportbuilder: theme updates for custom report editor.
Includes nice interactions for element drag & drop, consistent
styling for templates and tidy up of element alignment/spacing.
2021-10-19 13:56:04 +01:00
David Matamoros
09b69d04e3 MDL-70795 reportbuilder: custom report filters editor.
Implement module for filters editing, allowing the report
editor to define which filters are available when users
are viewing the report.

These filters allow those users viewing the report to further
limit the data being displayed (after conditions have been
applied), by selecting their own values for each filter.

Co-authored-by: Paul Holden <paulh@moodle.com>
2021-10-19 13:56:04 +01:00
Paul Holden
ab596ec11a MDL-70795 reportbuilder: custom report condition editor.
Report conditions allow report creators to limit which data
is displayed when the report is viewed. Users viewing the
report cannot override these condition values.
2021-10-19 13:56:04 +01:00
Paul Holden
8ca9e04f9a MDL-70795 reportbuilder: beginnings of the report editor.
Implement UI elements for editing columns of a report, taking their
definitions from the selected datasource.

Co-authored-By: David Matamoros <davidmc@moodle.com>
Co-authored-By: Mikel Martín <mikel@moodle.com>
2021-10-19 13:56:02 +01:00
David Matamoros
22d896e063 MDL-70795 reportbuilder: add interface for creating reports.
Implement elements for creating/editing reports, along with
new system report for listing and accompanying JS modules for
user interaction.

Create "Users" datasource as proof-of-concept.

Co-authored-By: Paul Holden <paulh@moodle.com>
2021-10-19 13:55:30 +01:00
Paul Holden
95967d62d5 MDL-70795 reportbuilder: define updated schema for custom reports.
Define new filter/column models, and updated database schema to
match.
2021-10-19 13:48:27 +01:00
sam marshall
8b8ef39802 MDL-72849 tool_behat: Use of xpath name() not compatible with Firefox
The xpath name() function returns upper-case e.g. 'IMG' in Firefox and
lower-case e.g. 'img' in Chrome.
2021-10-19 13:47:20 +01:00