Andrew Nicols [Mon, 18 May 2020 04:10:02 +0000 (12:10 +0800)]
Merge branch 'MDL-62487' of https://github.com/timhunt/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
Adrian Greeve [Mon, 18 May 2020 03:34:38 +0000 (11:34 +0800)]
Merge branch 'MDL-68563-master' of git://github.com/lameze/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
Adrian Greeve [Mon, 18 May 2020 00:21:53 +0000 (08:21 +0800)]
Merge branch 'MDL-68636-master' of git://github.com/aanabit/moodle
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.
Tim Hunt [Sat, 28 Mar 2020 22:49:43 +0000 (22:49 +0000)]
MDL-62487 quiz manual grading: store options as user preferences
Tim Hunt [Sat, 28 Mar 2020 22:12:30 +0000 (22:12 +0000)]
MDL-62487 quiz manual grading: clean coding style and add PHPdocs
Ferran Recio [Thu, 14 May 2020 14:45:08 +0000 (16:45 +0200)]
MDL-67791 mod_h5pactivity: attempt report UI ajustments
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
Amaia Anabitarte [Wed, 6 May 2020 08:11:35 +0000 (10:11 +0200)]
MDL-68636 core_contentbank: Changing get_icon function
Amaia Anabitarte [Tue, 5 May 2020 14:16:23 +0000 (16:16 +0200)]
MDL-68636 core_contentbank: Changing parameter classes to be consistent
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
Eloy Lafuente (stronk7) [Fri, 15 May 2020 09:08:05 +0000 (11:08 +0200)]
on-demand release 3.9dev+
Eloy Lafuente (stronk7) [Fri, 15 May 2020 09:07:59 +0000 (11:07 +0200)]
NOBUG: Fixed SVG browser compatibility
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.
Jun Pataleta [Fri, 15 May 2020 03:58:39 +0000 (11:58 +0800)]
Merge branch 'MDL-52846' of git://github.com/stronk7/moodle
Andrew Nicols [Fri, 15 May 2020 02:54:15 +0000 (10:54 +0800)]
Merge branch 'MDL-66917' of https://github.com/paulholden/moodle
Andrew Nicols [Fri, 15 May 2020 02:15:49 +0000 (10:15 +0800)]
MDL-67689 core: Whitespace fix
Andrew Nicols [Fri, 15 May 2020 02:13:43 +0000 (10:13 +0800)]
Merge branch 'MDL-67689-master' of git://github.com/bmbrands/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
Andrew Nicols [Fri, 15 May 2020 00:57:24 +0000 (08:57 +0800)]
MDL-67990 antivirus_clamav: Typo fix
Andrew Nicols [Fri, 15 May 2020 00:56:10 +0000 (08:56 +0800)]
Merge branch 'MDL-67990' of https://github.com/OdyX/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
Eloy Lafuente (stronk7) [Thu, 14 May 2020 23:30:28 +0000 (01:30 +0200)]
Merge branch 'MDL-68084' of https://github.com/paulholden/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
Ferran Recio [Fri, 24 Apr 2020 18:17:59 +0000 (20:17 +0200)]
MDL-67791 mod_h5pactivity: adding attempts reports
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
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
Ferran Recio [Thu, 23 Apr 2020 16:06:55 +0000 (18:06 +0200)]
MDL-67791 mod_h5pactivity: adding review attempts capability
Sara Arjona [Thu, 14 May 2020 07:55:35 +0000 (09:55 +0200)]
Merge branch 'MDL-68241-master' of git://github.com/ferranrecio/moodle
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>
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.
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.
Michael Hawkins [Mon, 20 Apr 2020 08:23:03 +0000 (16:23 +0800)]
MDL-68246 lib: Grouplib coding standards and consistency improvements
Ferran Recio [Tue, 12 May 2020 13:08:56 +0000 (15:08 +0200)]
MDL-68241 mod_h5pactivity: remove MOODLE_INTERNAL
Ferran Recio [Thu, 9 Apr 2020 16:55:36 +0000 (18:55 +0200)]
MDL-68241 mod_h5pactivity: add grading attempts options
Adrian Greeve [Thu, 14 May 2020 06:13:55 +0000 (14:13 +0800)]
Merge branch 'MDL-68498-master' of git://github.com/mihailges/moodle
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.
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.
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.
Jun Pataleta [Thu, 14 May 2020 04:51:35 +0000 (12:51 +0800)]
Merge branch 'MDL-68529' of https://github.com/Chocolate-lightning/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
Víctor Déniz Falcón [Wed, 13 May 2020 15:53:16 +0000 (16:53 +0100)]
Merge branch 'MDL-68697-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Wed, 13 May 2020 11:33:37 +0000 (19:33 +0800)]
Merge branch 'MDL-68483-master' of git://github.com/sarjona/moodle
Sara Arjona [Wed, 6 May 2020 08:07:10 +0000 (10:07 +0200)]
MDL-68483 contentbank: remove unneeded MOODLE_INTERNAL
These improvements were suggested by Eloy when MDL-67795 and other
content bank issues (such as MDL-67790) were integrated.
Sara Arjona [Tue, 28 Apr 2020 16:27:16 +0000 (18:27 +0200)]
MDL-68483 contentbank: improve search API
These improvements were suggested by Eloy when MDL-67797 was integrated.
Sara Arjona [Wed, 29 Apr 2020 14:11:47 +0000 (16:11 +0200)]
MDL-68483 contentbank: order contents by name
Sara Arjona [Tue, 21 Apr 2020 12:55:51 +0000 (14:55 +0200)]
MDL-68483 contentbank: filter contents by name
Credits to Bas and Rafa for helping us to improve the UX.
Also to Amaia with her help with Behat tests.
Eloy Lafuente (stronk7) [Wed, 13 May 2020 11:15:17 +0000 (13:15 +0200)]
Merge branch 'MDL-68314-master' of git://github.com/aanabit/moodle
Andrew Nicols [Wed, 13 May 2020 01:18:59 +0000 (09:18 +0800)]
MDL-68697 core_h5p: Store missing translations as null
David Mudrák [Tue, 12 May 2020 10:04:41 +0000 (12:04 +0200)]
MDL-68563 filters: Fix unit test regressions
Also incrementing the plugin versions to make sure the unit test
environment is reinitialised and the tests are reliable.
Minor correction of phpdocs @package tags included.
Simey Lameze [Tue, 5 May 2020 07:20:05 +0000 (15:20 +0800)]
MDL-68563 editor_atto: display emoji picker on atto toolbar
As per enabling of emoticon filters enabling emoji picker is now visible
by default on the Atto editor toolbar.
Simey Lameze [Tue, 5 May 2020 01:31:18 +0000 (09:31 +0800)]
MDL-68563 filter_urltolink: enable filter uppon install
Every major system that people use these days turns URLs into links automatically.
This filter was turned off by default a decade ago because of performance concerns
that do not apply any more, specially on fresh new installations.
In order to improve user experience on text editing features, the urltolink filter
will be now enabled by default in new installations.
Simey Lameze [Tue, 5 May 2020 01:11:01 +0000 (09:11 +0800)]
MDL-68563 filter_emoticon: enable filter uppon install
Every major system that people use these days turns smiles into emoticons automatically.
This filter was turned off by default a decade ago because of performance concerns
that do not apply any more, specially on fresh new installations.
In order to improve users experience on text editing features the emoticon filter
will be now enabled by default in new installations.
David Mudrák [Tue, 12 May 2020 19:30:30 +0000 (21:30 +0200)]
MDL-68645 output: Do not apply filters when creating calendar events
Applying filters on an activity module description when using it as a
new calendar event's description is bad m'kay? We need to store the raw
text and apply the filters only when we actually display the text. That
way, filters (such as multi-language content) may actually fully work
and we do not initialise the theme and output machinery.
Additionally, we need to explicitly set the format of the description
text to HTML (because we have converted it to it already). Otherwise it
defaults to the current user's preferred editor format.
This is still a pragmatic hot-fix solution. The proper solution would be
to pass the raw text, format and embedded files.
Tim Hunt [Sat, 9 May 2020 08:49:38 +0000 (09:49 +0100)]
MDL-68645 output: Make module generators fail if they init the output
The coding exception hint should say it all. Creating an activity module
should not need any output function call. It turned out it can lead to
hard-to-debug bugs and unexpected behaviour. So better to explicitly
fail and let the developer fix the code.
Amaia Anabitarte [Mon, 27 Apr 2020 10:41:06 +0000 (12:41 +0200)]
MDL-68314 core_contentbank: Backup and restore tests
Amaia Anabitarte [Mon, 27 Apr 2020 10:40:16 +0000 (12:40 +0200)]
MDL-68314 core_contentbank: Course content bank backup and restore
Jun Pataleta [Wed, 13 May 2020 02:36:54 +0000 (10:36 +0800)]
Merge branch 'MDL-68261-cli-config-log' of https://github.com/brendanheywood/moodle
Mihail Geshoski [Wed, 13 May 2020 01:26:18 +0000 (09:26 +0800)]
MDL-68498 core: Fix content bank links in the navigation drawer
Jake Dallimore [Wed, 13 May 2020 01:24:30 +0000 (09:24 +0800)]
Merge branch 'MDL-68631' of https://github.com/jonof/moodle
Mihail Geshoski [Wed, 6 May 2020 07:24:16 +0000 (15:24 +0800)]
MDL-68498 core: Display content bank icon in nav drawer in classic theme
Eloy Lafuente (stronk7) [Tue, 12 May 2020 21:51:04 +0000 (23:51 +0200)]
Merge branch 'MDL-68614-master' of git://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Tue, 12 May 2020 21:20:21 +0000 (23:20 +0200)]
Merge branch 'MDL-68417-master' of git://github.com/lameze/moodle
Paul Holden [Fri, 1 May 2020 08:00:41 +0000 (09:00 +0100)]
MDL-68084 blocks: check capability before getting content.
Some blocks (e.g. Calendar) load additional JS modules when returning
content. We need to make sure they aren't asked to generate content
unless the user can actually view the block, or the expected content
required by the JS will not exist in the DOM and can cause exceptions.
Eloy Lafuente (stronk7) [Sun, 11 Feb 2018 23:51:32 +0000 (00:51 +0100)]
MDL-52846 tasks: complete docs and move functions to deprecatedlib
- Add MDL codes to @deprecated.
- Add @todo tag for future 4.3 phase 2 deprecation.
- Deprecate global scope functions:
- cron_execute_plugin_type().
- cron_bc_hack_plugin_functions().
(moving them to deprecatelib).
- Document it in main upgrade.txt
Ankit Agarwal [Wed, 15 Nov 2017 08:59:17 +0000 (14:29 +0530)]
MDL-52846 tasks: Display developer notice for legacy cron
Amaia Anabitarte [Tue, 12 May 2020 08:38:15 +0000 (10:38 +0200)]
MDL-68483 contentbank: adapt to existing behat generator
Sara Arjona [Thu, 26 Mar 2020 12:38:27 +0000 (13:38 +0100)]
MDL-68227 core_h5p: localize H5P editor strings
H5P editor has a folder with all supported languages in JS files.
A mechanish has been added to let users to translate them using AMOS.
That's how the translations are managed (the order how they are processed):
- If there a JS file for a language, it's loaded.
- If a string has been translated in Moodle (they are placed in
h5plib_vXXX), it will override strings loaded from the JS file.
Simey Lameze [Mon, 11 May 2020 07:14:10 +0000 (15:14 +0800)]
MDL-68417 core_table: add some css styling to loading icon
Amaia Anabitarte [Mon, 11 May 2020 17:42:14 +0000 (19:42 +0200)]
MDL-68614 core_contentbank: Add svg and png contentbank icons
Sara Arjona [Tue, 12 May 2020 12:16:44 +0000 (14:16 +0200)]
weekly release 3.9dev+
Mathew May [Wed, 29 Apr 2020 09:14:38 +0000 (17:14 +0800)]
MDL-68529 course: Refactor chooser to include loading
Shamim Rezaie [Mon, 13 Apr 2020 23:05:24 +0000 (09:05 +1000)]
MDL-68200 core: Fix phpdoc for the external return functions
Shamim Rezaie [Mon, 13 Apr 2020 21:00:14 +0000 (07:00 +1000)]
MDL-68200 core: Fix datetime format
date.toISOString() prints out the seconds as well.
Current code supports most valid values for the datetime attribute
Shamim Rezaie [Thu, 26 Mar 2020 03:12:35 +0000 (14:12 +1100)]
MDL-68200 mod_forum: fix invalid format of the time tag on modern view
Shamim Rezaie [Wed, 25 Mar 2020 04:07:13 +0000 (15:07 +1100)]
MDL-68200 mod_forum: Fix the invalid date format in the time tags
Jun Pataleta [Wed, 25 Mar 2020 11:46:01 +0000 (22:46 +1100)]
MDL-68200 mod_forum: Use core/time_element for the discussion list page
Jun Pataleta [Wed, 8 Apr 2020 10:46:29 +0000 (20:46 +1000)]
MDL-68200 core: Add new time_element template
Jun Pataleta [Wed, 8 Apr 2020 10:37:18 +0000 (20:37 +1000)]
MDL-68200 core: Support fixday/hour for core/user_date's get() method
Jun Pataleta [Wed, 8 Apr 2020 10:20:15 +0000 (20:20 +1000)]
MDL-68200 core: Support fixday/hour for core_external::get_user_dates()
Shamim Rezaie [Wed, 8 Apr 2020 11:25:17 +0000 (21:25 +1000)]
MDL-68200 core: Add calendartype param to user_date.loadDatesFromServer
Shamim Rezaie [Wed, 25 Mar 2020 03:23:19 +0000 (14:23 +1100)]
MDL-68200 core: Add type param to core_get_user_dates external function
Shamim Rezaie [Thu, 26 Mar 2020 06:24:17 +0000 (17:24 +1100)]
MDL-68200 mod_forum: remove address tags
Reasons:
- The element “h4” must not appear as a descendant of the “address” element
- This element should not contain more information than the contact
information, like a publication date (which belongs in a <time> element)
element)
Shamim Rezaie [Wed, 25 Mar 2020 18:05:49 +0000 (05:05 +1100)]
MDL-68200 mod_forum: single discussion to follow nestet_v2 display rules
Shamim Rezaie [Wed, 25 Mar 2020 17:57:49 +0000 (04:57 +1100)]
MDL-68200 theme_boost: workaround for IE for flexbox not filling height
read more:
https://philipwalton.com/articles/normalizing-cross-browser-flexbox-bugs/
Simey Lameze [Mon, 11 May 2020 07:13:27 +0000 (15:13 +0800)]
MDL-68417 core_table: add spinner to dynamic table
Eloy Lafuente (stronk7) [Mon, 11 May 2020 21:13:45 +0000 (23:13 +0200)]
Merge branch 'MDL-68579-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Mon, 11 May 2020 21:10:49 +0000 (23:10 +0200)]
Merge branch 'MDL-68276-replace-logs' of https://github.com/brendanheywood/moodle
Sara Arjona [Mon, 11 May 2020 17:16:14 +0000 (19:16 +0200)]
Merge branch 'MDL-68654-master' of https://github.com/catalyst/moodle
Jun Pataleta [Mon, 11 May 2020 16:03:19 +0000 (00:03 +0800)]
Merge branch 'MDL-66109-master' of git://github.com/andrewnicols/moodle
Sara Arjona [Mon, 11 May 2020 14:52:48 +0000 (16:52 +0200)]
Merge branch 'MDL-68571-master' of git://github.com/cescobedo/moodle
cescobedo [Wed, 6 May 2020 17:11:58 +0000 (19:11 +0200)]
MDL-68571 core_h5p: Return default handler if no it has been defined
Sara Arjona [Mon, 11 May 2020 14:36:59 +0000 (16:36 +0200)]
Merge branch 'MDL-68576-master' of git://github.com/mihailges/moodle
Jun Pataleta [Mon, 11 May 2020 14:32:34 +0000 (22:32 +0800)]
Merge branch 'MDL-63580-master' of git://github.com/cescobedo/moodle
cescobedo [Thu, 13 Feb 2020 17:08:59 +0000 (18:08 +0100)]
MDL-63580 core_task: Deprecation cron_run_single_task and run_from_cli
Also we have move the functions in \tool_task\run_from_cli to \core\task\manager
and we have deprecated that class.
cescobedo [Thu, 13 Feb 2020 15:29:47 +0000 (16:29 +0100)]
MDL-63580 core_task: Deprecation CLI scripts from admin/tool/task/cli
Copy the CLI scripts from admin/tool/task/cli to admin/cli (schedule_task.php and adhoc_task.php)
and rename to scheduled_task.php and to improve in order to use cron_run_inner_scheduled_task.
Jun Pataleta [Mon, 11 May 2020 08:27:48 +0000 (16:27 +0800)]
Merge branch 'MDL-68041-master-rev2' of https://github.com/nhoobin/moodle
cescobedo [Thu, 7 May 2020 17:25:03 +0000 (19:25 +0200)]
MDL-68579 core_h5p: Add a check to avoid execute task using BEHAT