moodle.git
3 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Tue, 19 May 2020 15:54:22 +0000 (17:54 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

3 years agoMDL-68463 core_user: Correct Show all link details
Andrew Nicols [Tue, 19 May 2020 08:27:51 +0000 (16:27 +0800)]
MDL-68463 core_user: Correct Show all link details

3 years agoMDL-68294 tool_mobile: Fix custom strings and limits calculation
Juan Leyva [Tue, 19 May 2020 09:54:53 +0000 (11:54 +0200)]
MDL-68294 tool_mobile: Fix custom strings and limits calculation

3 years agoMerge branch 'srdjan-slave-conn' of https://github.com/srdjan-catalyst/moodle
Andrew Nicols [Tue, 19 May 2020 08:13:48 +0000 (16:13 +0800)]
Merge branch 'srdjan-slave-conn' of https://github.com/srdjan-catalyst/moodle

3 years agoMDL-19711 dml: call mysqli::real_connect() with @
Srdjan [Tue, 19 May 2020 08:09:14 +0000 (18:09 +1000)]
MDL-19711 dml: call mysqli::real_connect() with @

3 years agoMDL-68294 tool_mobile: Fix key and default apps values
Juan Leyva [Mon, 18 May 2020 19:20:36 +0000 (21:20 +0200)]
MDL-68294 tool_mobile: Fix key and default apps values

3 years agoMDL-19711 dml: Fix undefined $dberr
Srdjan [Tue, 19 May 2020 06:21:48 +0000 (16:21 +1000)]
MDL-19711 dml: Fix undefined $dberr

In mysqli_native_moodle_database::raw_connect()

3 years agoMerge branch 'srdjan-slave-conn' of https://github.com/srdjan-catalyst/moodle
Andrew Nicols [Tue, 19 May 2020 04:29:20 +0000 (12:29 +0800)]
Merge branch 'srdjan-slave-conn' of https://github.com/srdjan-catalyst/moodle

3 years agoMerge branch 'MDL-68463-master-3' of git://github.com/andrewnicols/moodle
Jun Pataleta [Tue, 19 May 2020 04:24:14 +0000 (12:24 +0800)]
Merge branch 'MDL-68463-master-3' of git://github.com/andrewnicols/moodle

3 years agoMDL-68463 user: Show count link should always exist in DOM
Andrew Nicols [Tue, 19 May 2020 04:18:15 +0000 (12:18 +0800)]
MDL-68463 user: Show count link should always exist in DOM

3 years agoMerge branch 'MDL-68528-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Tue, 19 May 2020 03:46:39 +0000 (11:46 +0800)]
Merge branch 'MDL-68528-master' of git://github.com/andrewnicols/moodle

3 years agoMDL-68528 js: Normalise core component for template strings
Andrew Nicols [Sun, 26 Apr 2020 07:57:59 +0000 (15:57 +0800)]
MDL-68528 js: Normalise core component for template strings

3 years agoMDL-68528 js: Normalise empty component to "core" for string
Andrew Nicols [Sun, 26 Apr 2020 07:57:32 +0000 (15:57 +0800)]
MDL-68528 js: Normalise empty component to "core" for string

3 years agoMDL-19711 dml: Enable use of readonly slave database handles
Srdjan [Thu, 7 May 2020 04:14:29 +0000 (14:14 +1000)]
MDL-19711 dml: Enable use of readonly slave database handles

Implemented with moodle_read_slave_trait

Functionality is triggered by supplying config dboption['readonly'].
See config-dist.php for more info on supported dboptions.

pgsql and mysqli drivers are using this feature. Also added support for
connection timeout for these two drivers.

3 years agoAutomatically generated installer lang files
AMOS bot [Tue, 19 May 2020 00:07:17 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 years agoMerge branch 'MDL-68656-master' of https://github.com/catalyst/moodle
Eloy Lafuente (stronk7) [Mon, 18 May 2020 23:13:22 +0000 (01:13 +0200)]
Merge branch 'MDL-68656-master' of https://github.com/catalyst/moodle

3 years agoMerge branch 'MDL-68760' of https://github.com/timhunt/moodle
Sara Arjona [Mon, 18 May 2020 18:33:05 +0000 (20:33 +0200)]
Merge branch 'MDL-68760' of https://github.com/timhunt/moodle

3 years agoMerge branch 'MDL-68728-master-2' of git://github.com/andrewnicols/moodle
Sara Arjona [Mon, 18 May 2020 18:24:17 +0000 (20:24 +0200)]
Merge branch 'MDL-68728-master-2' of git://github.com/andrewnicols/moodle

3 years agoMDL-68760 timezones: add string for new timezone America/Nuuk
Tim Hunt [Mon, 18 May 2020 16:31:43 +0000 (17:31 +0100)]
MDL-68760 timezones: add string for new timezone America/Nuuk

3 years agoMDL-68760 string tests: make test_timezone_lang_strings message helpful
Tim Hunt [Mon, 18 May 2020 15:51:17 +0000 (16:51 +0100)]
MDL-68760 string tests: make test_timezone_lang_strings message helpful

3 years agoMerge branch 'MDL-68526-master' of git://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Mon, 18 May 2020 15:14:12 +0000 (17:14 +0200)]
Merge branch 'MDL-68526-master' of git://github.com/aanabit/moodle

3 years agoMerge branch 'MDL-67812-master-latest-3' of git://github.com/mihailges/moodle
Víctor Déniz Falcón [Mon, 18 May 2020 15:04:58 +0000 (16:04 +0100)]
Merge branch 'MDL-67812-master-latest-3' of git://github.com/mihailges/moodle

3 years agoMerge branch 'MDL-68450-master' of git://github.com/cescobedo/moodle
Sara Arjona [Mon, 18 May 2020 14:16:23 +0000 (16:16 +0200)]
Merge branch 'MDL-68450-master' of git://github.com/cescobedo/moodle

3 years agoMDL-68526 core_contentbank: Tests for delete/move by context
Amaia Anabitarte [Mon, 11 May 2020 16:51:13 +0000 (18:51 +0200)]
MDL-68526 core_contentbank: Tests for delete/move by context

3 years agoMDL-68526 core_contentbank: Delete content when a course is deleted
Amaia Anabitarte [Mon, 11 May 2020 16:53:30 +0000 (18:53 +0200)]
MDL-68526 core_contentbank: Delete content when a course is deleted

Or when a course category is moved/deleted

3 years agoMerge branch 'MDL-68497-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Mon, 18 May 2020 12:53:20 +0000 (20:53 +0800)]
Merge branch 'MDL-68497-master' of git://github.com/bmbrands/moodle

3 years agoMerge branch 'MDL-68449-master' of git://github.com/cescobedo/moodle
Sara Arjona [Mon, 18 May 2020 12:39:10 +0000 (14:39 +0200)]
Merge branch 'MDL-68449-master' of git://github.com/cescobedo/moodle

3 years agoMerge branch 'MDL-68503_master' of https://github.com/marxjohnson/moodle
Andrew Nicols [Mon, 18 May 2020 12:29:52 +0000 (20:29 +0800)]
Merge branch 'MDL-68503_master' of https://github.com/marxjohnson/moodle

3 years agoMDL-68450 mod_h5pactivity: Add WS view_h5pactivity
cescobedo [Fri, 15 May 2020 18:16:03 +0000 (20:16 +0200)]
MDL-68450 mod_h5pactivity: Add WS view_h5pactivity

This is the external method for triggering the course module viewed event
and update the module completion status. Affects mobile app.

3 years agoMDL-68449 mod_h5pactivity: Add a WS for get access information
cescobedo [Fri, 15 May 2020 17:41:26 +0000 (19:41 +0200)]
MDL-68449 mod_h5pactivity: Add a WS for get access information

This WS should return access information required by an external client to check if and how to display the activity module.
Require for Mobile App

3 years agoMDL-68463 user: Remove old selectall attribute
Andrew Nicols [Fri, 24 Apr 2020 06:50:30 +0000 (14:50 +0800)]
MDL-68463 user: Remove old selectall attribute

3 years agoMDL-68463 user: Update select/show [count] links dynamically
Andrew Nicols [Fri, 24 Apr 2020 04:33:36 +0000 (12:33 +0800)]
MDL-68463 user: Update select/show [count] links dynamically

3 years agoMDL-68463 core: Add helper functions to toggle checkboxes
Andrew Nicols [Wed, 13 May 2020 07:59:23 +0000 (15:59 +0800)]
MDL-68463 core: Add helper functions to toggle checkboxes

3 years agoMDL-68463 report_participants: Use new shared participant actions module
Andrew Nicols [Mon, 18 May 2020 02:16:55 +0000 (10:16 +0800)]
MDL-68463 report_participants: Use new shared participant actions module

3 years agoMDL-68463 user: Rewrite participant bulk actions in ES
Andrew Nicols [Fri, 24 Apr 2020 01:40:20 +0000 (09:40 +0800)]
MDL-68463 user: Rewrite participant bulk actions in ES

3 years agoMerge branch 'MDL-68253-master' of git://github.com/lucaboesch/moodle
Sara Arjona [Mon, 18 May 2020 11:54:34 +0000 (13:54 +0200)]
Merge branch 'MDL-68253-master' of git://github.com/lucaboesch/moodle

3 years agoMerge branch 'MDL-68294-master' of git://github.com/jleyva/moodle
Sara Arjona [Mon, 18 May 2020 10:49:32 +0000 (12:49 +0200)]
Merge branch 'MDL-68294-master' of git://github.com/jleyva/moodle

3 years agoMerge branch 'read-only-session' of https://github.com/Agilicus/moodle
Sara Arjona [Mon, 18 May 2020 10:09:00 +0000 (12:09 +0200)]
Merge branch 'read-only-session' of https://github.com/Agilicus/moodle

3 years agoMDL-68728 calendar: Pending promises for event summary
Andrew Nicols [Mon, 18 May 2020 00:06:58 +0000 (08:06 +0800)]
MDL-68728 calendar: Pending promises for event summary

3 years agoMDL-68728 calendar: Remove calendar modal on close
Andrew Nicols [Sun, 17 May 2020 06:10:28 +0000 (14:10 +0800)]
MDL-68728 calendar: Remove calendar modal on close

3 years agoMerge branch 'MDL-62487' of https://github.com/timhunt/moodle
Andrew Nicols [Mon, 18 May 2020 04:10:02 +0000 (12:10 +0800)]
Merge branch 'MDL-62487' of https://github.com/timhunt/moodle

3 years agoMerge branch 'MDL-67791-master' of git://github.com/ferranrecio/moodle
Adrian Greeve [Mon, 18 May 2020 03:55:36 +0000 (11:55 +0800)]
Merge branch 'MDL-67791-master' of git://github.com/ferranrecio/moodle

3 years agoMerge branch 'MDL-68563-master' of git://github.com/lameze/moodle
Adrian Greeve [Mon, 18 May 2020 03:34:38 +0000 (11:34 +0800)]
Merge branch 'MDL-68563-master' of git://github.com/lameze/moodle

3 years agoMDL-67812 repository_contentbank: Add behat tests
Mihail Geshoski [Fri, 15 May 2020 03:37:49 +0000 (11:37 +0800)]
MDL-67812 repository_contentbank: Add behat tests

3 years agoMDL-67812 core_filepicker: Add behat steps for filepicker
Mihail Geshoski [Fri, 15 May 2020 03:17:00 +0000 (11:17 +0800)]
MDL-67812 core_filepicker: Add behat steps for filepicker

3 years agoMDL-67812 core_contentbank: Modify behat tests
Mihail Geshoski [Fri, 15 May 2020 03:08:11 +0000 (11:08 +0800)]
MDL-67812 core_contentbank: Modify behat tests

Modify all behat tests that use the behat contentbank content generator
in order to use the updated generator structure

3 years agoMerge branch 'master_MDL-64843_course_copy_ui' of https://github.com/catalyst/moodle
Adrian Greeve [Mon, 18 May 2020 02:35:44 +0000 (10:35 +0800)]
Merge branch 'master_MDL-64843_course_copy_ui' of https://github.com/catalyst/moodle

3 years agoMDL-67812 core_contentbank: Modify behat contentbank content generator
Mihail Geshoski [Fri, 15 May 2020 03:06:07 +0000 (11:06 +0800)]
MDL-67812 core_contentbank: Modify behat contentbank content generator

Enables the behat contentbank content generator to create content in
multiple contexts and optionaly create files on the filesystem

3 years agoMDL-67812 core: Add content bank files repository in standard plugins
Mihail Geshoski [Thu, 30 Apr 2020 06:48:20 +0000 (14:48 +0800)]
MDL-67812 core: Add content bank files repository in standard plugins

3 years agoMDL-67812 repository_contentbank: Add unit tests
Mihail Geshoski [Thu, 30 Apr 2020 06:45:09 +0000 (14:45 +0800)]
MDL-67812 repository_contentbank: Add unit tests

3 years agoMDL-67812 repository_contentbank: Create content bank files repository
Mihail Geshoski [Thu, 30 Apr 2020 06:44:48 +0000 (14:44 +0800)]
MDL-67812 repository_contentbank: Create content bank files repository

3 years agoMerge branch 'MDL-68636-master' of git://github.com/aanabit/moodle
Adrian Greeve [Mon, 18 May 2020 00:21:53 +0000 (08:21 +0800)]
Merge branch 'MDL-68636-master' of git://github.com/aanabit/moodle

3 years agoAutomatically generated installer lang files
AMOS bot [Mon, 18 May 2020 00:07:37 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 years agoAutomatically generated installer lang files
AMOS bot [Sun, 17 May 2020 00:07:09 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 years agoMDL-68294 core_component: Fix test that depends on tool_mobile
Juan Leyva [Fri, 15 May 2020 11:12:57 +0000 (13:12 +0200)]
MDL-68294 core_component: Fix test that depends on tool_mobile

3 years agoMDL-68294 tool_mobile: WebService for validating subscription key
Juan Leyva [Mon, 27 Apr 2020 18:09:04 +0000 (20:09 +0200)]
MDL-68294 tool_mobile: WebService for validating subscription key

3 years agoMDL-68294 tool_mobile: New subscription page
Juan Leyva [Wed, 22 Apr 2020 09:53:32 +0000 (11:53 +0200)]
MDL-68294 tool_mobile: New subscription page

3 years agoMDL-68696 sessions: Fixed redis session handler for readonly
Don Bowman [Thu, 14 May 2020 12:38:20 +0000 (08:38 -0400)]
MDL-68696 sessions: Fixed redis session handler for readonly

In 39770792ca62 read-only sessions were allowed.
In the redis case, as called from the mobile application,
this can lead to returning 'false' for session rather than ''.

3 years agoMDL-62487 quiz manual grading: implement suggestions from int review
Tim Hunt [Fri, 15 May 2020 12:11:43 +0000 (13:11 +0100)]
MDL-62487 quiz manual grading: implement suggestions from int review

Add privacy provider bits, and tidy code.

3 years agoMDL-62487 quiz manual grading: store options as user preferences
Tim Hunt [Sat, 28 Mar 2020 22:49:43 +0000 (22:49 +0000)]
MDL-62487 quiz manual grading: store options as user preferences

3 years agoMDL-62487 quiz manual grading: clean coding style and add PHPdocs
Tim Hunt [Sat, 28 Mar 2020 22:12:30 +0000 (22:12 +0000)]
MDL-62487 quiz manual grading: clean coding style and add PHPdocs

3 years agoMDL-67791 mod_h5pactivity: attempt report UI ajustments
Ferran Recio [Thu, 14 May 2020 14:45:08 +0000 (16:45 +0200)]
MDL-67791 mod_h5pactivity: attempt report UI ajustments

3 years agoMDL-68253 mod_book: Remove prev arrow on the firstmost page.
Luca Bösch [Wed, 25 Mar 2020 15:20:52 +0000 (16:20 +0100)]
MDL-68253 mod_book: Remove prev arrow on the firstmost page.

3 years agoMDL-68636 core_contentbank: Redirect to view page when uploading a file
Amaia Anabitarte [Thu, 7 May 2020 11:10:46 +0000 (13:10 +0200)]
MDL-68636 core_contentbank: Redirect to view page when uploading a file

3 years agoMDL-68636 core_contentbank: Changing get_icon function
Amaia Anabitarte [Wed, 6 May 2020 08:11:35 +0000 (10:11 +0200)]
MDL-68636 core_contentbank: Changing get_icon function

3 years agoMDL-68636 core_contentbank: Changing parameter classes to be consistent
Amaia Anabitarte [Tue, 5 May 2020 14:16:23 +0000 (16:16 +0200)]
MDL-68636 core_contentbank: Changing parameter classes to be consistent

3 years agoMDL-68636 core_contentbank: added method to get H5P id from pathnamehash
Víctor Déniz Falcón [Fri, 1 May 2020 17:09:44 +0000 (18:09 +0100)]
MDL-68636 core_contentbank: added method to get H5P id from pathnamehash

3 years agoon-demand release 3.9dev+
Eloy Lafuente (stronk7) [Fri, 15 May 2020 09:08:05 +0000 (11:08 +0200)]
on-demand release 3.9dev+

3 years agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Fri, 15 May 2020 09:07:59 +0000 (11:07 +0200)]
NOBUG: Fixed SVG browser compatibility

3 years agoMDL-64843 Backup: Course copy user interface
Matt Porritt [Sun, 1 Mar 2020 17:24:19 +0000 (04:24 +1100)]
MDL-64843 Backup: Course copy user interface

This patch adds better core support for copying courses.
There is now a simplified and dedicated UI for copying
courses. This can be accessed from the course context
menu or course management screens.

All backups are done asynchronously and there can be multiple
copies of a course in flight at once.

3 years agoMerge branch 'MDL-52846' of git://github.com/stronk7/moodle
Jun Pataleta [Fri, 15 May 2020 03:58:39 +0000 (11:58 +0800)]
Merge branch 'MDL-52846' of git://github.com/stronk7/moodle

3 years agoMerge branch 'MDL-66917' of https://github.com/paulholden/moodle
Andrew Nicols [Fri, 15 May 2020 02:54:15 +0000 (10:54 +0800)]
Merge branch 'MDL-66917' of https://github.com/paulholden/moodle

3 years agoMDL-67689 core: Whitespace fix
Andrew Nicols [Fri, 15 May 2020 02:15:49 +0000 (10:15 +0800)]
MDL-67689 core: Whitespace fix

3 years agoMerge branch 'MDL-67689-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Fri, 15 May 2020 02:13:43 +0000 (10:13 +0800)]
Merge branch 'MDL-67689-master' of git://github.com/bmbrands/moodle

3 years agoMerge branch 'MDL-68537-master' of git://github.com/jleyva/moodle
Andrew Nicols [Fri, 15 May 2020 01:04:21 +0000 (09:04 +0800)]
Merge branch 'MDL-68537-master' of git://github.com/jleyva/moodle

3 years agoMDL-67990 antivirus_clamav: Typo fix
Andrew Nicols [Fri, 15 May 2020 00:57:24 +0000 (08:57 +0800)]
MDL-67990 antivirus_clamav: Typo fix

3 years agoMerge branch 'MDL-67990' of https://github.com/OdyX/moodle
Andrew Nicols [Fri, 15 May 2020 00:56:10 +0000 (08:56 +0800)]
Merge branch 'MDL-67990' of https://github.com/OdyX/moodle

3 years agoMerge branch 'MDL-68677-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Thu, 14 May 2020 23:58:41 +0000 (01:58 +0200)]
Merge branch 'MDL-68677-master' of git://github.com/andrewnicols/moodle

3 years agoMerge branch 'MDL-68084' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Thu, 14 May 2020 23:30:28 +0000 (01:30 +0200)]
Merge branch 'MDL-68084' of https://github.com/paulholden/moodle

3 years agoMerge branch 'MDL-68645-master-earlyoutputinit' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Thu, 14 May 2020 14:35:35 +0000 (16:35 +0200)]
Merge branch 'MDL-68645-master-earlyoutputinit' of git://github.com/mudrd8mz/moodle

3 years agoMDL-67791 mod_h5pactivity: adding attempts reports
Ferran Recio [Fri, 24 Apr 2020 18:17:59 +0000 (20:17 +0200)]
MDL-67791 mod_h5pactivity: adding attempts reports

3 years agoMerge branch 'MDL-68200-master-take2' of git://github.com/rezaies/moodle
Sara Arjona [Thu, 14 May 2020 11:10:01 +0000 (13:10 +0200)]
Merge branch 'MDL-68200-master-take2' of git://github.com/rezaies/moodle

3 years agoMerge branch 'MDL-68246-master-IR-squashed' of git://github.com/mickhawkins/moodle
Sara Arjona [Thu, 14 May 2020 10:31:29 +0000 (12:31 +0200)]
Merge branch 'MDL-68246-master-IR-squashed' of git://github.com/mickhawkins/moodle

3 years agoMDL-67791 mod_h5pactivity: adding review attempts capability
Ferran Recio [Thu, 23 Apr 2020 16:06:55 +0000 (18:06 +0200)]
MDL-67791 mod_h5pactivity: adding review attempts capability

3 years agoMerge branch 'MDL-68241-master' of git://github.com/ferranrecio/moodle
Sara Arjona [Thu, 14 May 2020 07:55:35 +0000 (09:55 +0200)]
Merge branch 'MDL-68241-master' of git://github.com/ferranrecio/moodle

3 years agoMDL-68246 user: Add participants_search role & keyword unit tests
Andrew Nicols [Tue, 21 Apr 2020 06:23:48 +0000 (14:23 +0800)]
MDL-68246 user: Add participants_search role & keyword unit tests

Created the participants_search unit testing file, including
tests for role, keywords, status and enroment method filtering.

Co-authored-by: Michael Hawkins <michaelh@moodle.com>
3 years agoMDL-68246 user: Adding the participants_search class
Michael Hawkins [Thu, 26 Mar 2020 08:13:40 +0000 (16:13 +0800)]
MDL-68246 user: Adding the participants_search class

This class introduces support for multiple values per filter to the
participants page.

3 years agoMDL-68246 lib: Prepare for participants filter multiple groups support
Michael Hawkins [Thu, 26 Mar 2020 11:03:12 +0000 (19:03 +0800)]
MDL-68246 lib: Prepare for participants filter multiple groups support

These function updates are in preparation for the participants_search
class, which will be used to support multiple values per filter when
filtering the participants page.

3 years agoMDL-68246 lib: Grouplib coding standards and consistency improvements
Michael Hawkins [Mon, 20 Apr 2020 08:23:03 +0000 (16:23 +0800)]
MDL-68246 lib: Grouplib coding standards and consistency improvements

3 years agoMDL-68241 mod_h5pactivity: remove MOODLE_INTERNAL
Ferran Recio [Tue, 12 May 2020 13:08:56 +0000 (15:08 +0200)]
MDL-68241 mod_h5pactivity: remove MOODLE_INTERNAL

3 years agoMDL-68241 mod_h5pactivity: add grading attempts options
Ferran Recio [Thu, 9 Apr 2020 16:55:36 +0000 (18:55 +0200)]
MDL-68241 mod_h5pactivity: add grading attempts options

3 years agoMerge branch 'MDL-68498-master' of git://github.com/mihailges/moodle
Adrian Greeve [Thu, 14 May 2020 06:13:55 +0000 (14:13 +0800)]
Merge branch 'MDL-68498-master' of git://github.com/mihailges/moodle

3 years agoMDL-68677 core: Enable prefetching when cachejs is disabled
Andrew Nicols [Tue, 12 May 2020 01:21:03 +0000 (09:21 +0800)]
MDL-68677 core: Enable prefetching when cachejs is disabled

With the templaterev issue resolved we should enable the prefetch module
when cachejs is enabled to avoid a different experience when cachejs is
enabled vs. disabled.

Previously there was little point in doing this due to a range of other
bugs (string normalisation, and misuse of templaterev).

With these issues resolved we should enabel the caching.

3 years agoMDL-68677 core: Correct usage of templaterev for caching templates
Andrew Nicols [Tue, 12 May 2020 01:18:32 +0000 (09:18 +0800)]
MDL-68677 core: Correct usage of templaterev for caching templates

The M.cfg.templaterev variable should only be used to present persistent
caching, not caching of content within the same page load.

Preventing caching of same-page content makes it difficult to develop
for real user experiences as content is slow to load and does not give a
realistic and consistent loading experience.

This change affects the loading of partials specifically which notably
includes the loading spinner. Without this patch the loading icon is
often not seen at all because it does not load in a timely fashion and
the content being loaded is loaded first.

3 years agoMDL-68645 output: Make other generators fail if they init the output too
David Mudrák [Thu, 14 May 2020 05:55:19 +0000 (07:55 +0200)]
MDL-68645 output: Make other generators fail if they init the output too

Identically to what we've added to the module generators, let's raise a
coding exception if generating a block or a repository triggers the
theme and output initialisation.

3 years agoMerge branch 'MDL-68529' of https://github.com/Chocolate-lightning/moodle
Jun Pataleta [Thu, 14 May 2020 04:51:35 +0000 (12:51 +0800)]
Merge branch 'MDL-68529' of https://github.com/Chocolate-lightning/moodle

3 years agoMDL-68656 quizaccess_seb: refactor test to use helper trait
Dmitrii Metelkin [Thu, 14 May 2020 03:07:59 +0000 (13:07 +1000)]
MDL-68656 quizaccess_seb: refactor test to use helper trait

3 years agoMDL-68656 quizaccess_seb: remove incorrect namespace
Dmitrii Metelkin [Thu, 14 May 2020 01:53:30 +0000 (11:53 +1000)]
MDL-68656 quizaccess_seb: remove incorrect namespace

3 years agoMDL-68656 quizaccess_seb: move test files
Dmitrii Metelkin [Thu, 14 May 2020 01:32:43 +0000 (11:32 +1000)]
MDL-68656 quizaccess_seb: move test files

3 years agoMerge branch 'MDL-68227-master' of git://github.com/sarjona/moodle
Víctor Déniz Falcón [Wed, 13 May 2020 16:13:11 +0000 (17:13 +0100)]
Merge branch 'MDL-68227-master' of git://github.com/sarjona/moodle