Commit graph

29138 commits

Author SHA1 Message Date
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
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
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
Jun Pataleta
56c55f996a Merge branch 'MDL-72352-master-v2' of git://github.com/peterRd/moodle 2021-10-20 15:45:22 +08: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
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
Bas Brands
cf630f06a1 MDL-69371 core_renderer: Move unit test for language renderable 2021-10-19 13:47:46 +02:00
abgreeve
0492b069be MDL-69371 core_renderer: New core language renderable. 2021-10-19 13:47:46 +02:00
Bas Brands
47bbfe0f4f MDL-69371 theme_boost: redesign the moodle login page 2021-10-19 13:47:04 +02:00
Ilya Tregubov
0350d42610 MDL-71211 core_course: Keep the status of course index. 2021-10-19 13:17:25 +02:00
Thong Bui
3c19cbbb18 MDL-72507 Quiz: Quiz auto-save does not detect uploaded files 2021-10-19 16:10:15 +07:00
Ilya Tregubov
731b069c4d Merge branch 'MDL-72450-master-1' of git://github.com/mihailges/moodle 2021-10-18 08:26:49 +02:00
Andrew Nicols
98cc837028 Merge branch 'MDL-65943-master' of git://github.com/HuongNV13/moodle 2021-10-18 14:02:47 +08:00
Shamim Rezaie
7a17a2e8e4 Merge branch 'MDL-72720-master' of git://github.com/sarjona/moodle 2021-10-18 15:43:31 +11:00
Huong Nguyen
88c87a1ffa MDL-65943 media_videojs: add videojs-ogvjs plugin
VideoJS now support to play Ogg Vorbis/Opus/Theora and WebM VP8/VP9/AV1 video on:
 - Safari on Mac OS
 - Safari on iPhone OS
 - Safari on iPad OS
2021-10-17 21:52:05 +07:00
Sara Arjona
8c8dfed278 MDL-72720 tinymce: Implement enable_plugin() method 2021-10-15 13:00:04 +02:00
Sara Arjona
1dfa86b4b4 MDL-72720 webservice: Implement enable_plugin() method 2021-10-15 13:00:04 +02:00
Sara Arjona
96a16c14a0 MDL-72720 repository: Implement enable_plugin() method
This one was tricky because it works slightly different and requires
a repository instance will be created if it doesn't exist.
For now I've implemented the easiest approach because it's not
possible to create instances (some extra parameters should be added
to the method in order to support it).
2021-10-15 13:00:04 +02:00
Sara Arjona
bdab64dc61 MDL-72720 qtype: Implement enable_plugin() method 2021-10-15 13:00:04 +02:00
Sara Arjona
a22093dbcf MDL-72720 qbehaviour: Implement enable_plugin() method 2021-10-15 13:00:04 +02:00
Sara Arjona
5009021daf MDL-72720 qbank: Implement enable_plugin() method 2021-10-15 13:00:04 +02:00
Sara Arjona
14e492bebb MDL-72720 portfolio: Implement enable_plugin() method
This one was tricky because it works slightly different and requires
a portfolio instance will be created if it doesn't exist.
For now I've implemented the easiest approach but, in the future,
it might be improved adding also the "deleted" status to the
enable_plugin() method, to completely remove it (current
implementation only switch status from "Enable but hidden" to
"Enable and visible").
2021-10-15 13:00:04 +02:00
Sara Arjona
a7570bfcb6 MDL-72720 message: Implement enable_plugin() method 2021-10-15 13:00:04 +02:00
Sara Arjona
105be1edc1 MDL-72720 format: Implement enable_plugin() method 2021-10-15 13:00:04 +02:00
Sara Arjona
e76c7375e2 MDL-72720 filter: Implement enable_plugin() method 2021-10-15 13:00:04 +02:00
Sara Arjona
0543ea7f02 MDL-72720 media: Implement enable_plugin() method 2021-10-15 13:00:03 +02:00
Sara Arjona
98bee59968 MDL-72720 fileconverter+paygw: Implement enable_plugin() method 2021-10-15 13:00:03 +02:00
Sara Arjona
518b981350 MDL-72720 enrol: Implement enable_plugin() method 2021-10-15 13:00:03 +02:00
Sara Arjona
e8c60cff1f MDL-72720 editor: Implement enable_plugin() method 2021-10-15 13:00:03 +02:00
Sara Arjona
9a8f974a3a MDL-72720 mod: Implement enable_plugin() method 2021-10-15 13:00:03 +02:00
Andrew Nicols
d07a2bc105 Merge branch 'MDL-71810-master-3' of git://github.com/HuongNV13/moodle 2021-10-15 11:30:55 +08:00
Huong Nguyen
0328241373 MDL-71810 calendar: responsiveness for calendar block
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>>
2021-10-15 10:24:34 +07:00
Peter Dias
f019394b89 MDL-72433 core: Final deprecation get_grades
Final deprecation of core_grades_external::get_grades along with unit tests and related private methods.
2021-10-15 10:53:45 +08:00