Commit Graph

28988 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7) fdc2dcf264 MDL-72871 cleanup: Remove incorrect whitespace from codebase
Differences can be checked with git diff --ignore-all-space and
that will show that the only non-whitespace change is in a test
in the git lib/tests/html2text_test.php file. In that case the
whitespace has been replaced by a quoted string (of whitespaces)
keeping the test 100% equivalent and workarrounding the whitespace.
2021-10-26 17:19:11 +02:00
Andrew Nicols 9e9b7bb20d Merge branch 'MDL-71750-master' of https://github.com/NashTechOpenUniversity/moodle 2021-10-25 13:18:21 +08: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 e26f47359b MDL-69371 output: Render lang_menu only when necessary 2021-10-21 22:54:48 +08: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
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 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