Adrian Greeve [Wed, 20 Feb 2019 14:57:55 +0000 (15:57 +0100)]
Merge branch 'MDL-64200-master' of git://github.com/damyon/moodle
Adrian Greeve [Wed, 20 Feb 2019 10:35:14 +0000 (11:35 +0100)]
Merge branch 'MDL-64450-master' of git://github.com/peterRd/moodle
Eloy Lafuente (stronk7) [Wed, 20 Feb 2019 09:21:46 +0000 (10:21 +0100)]
Merge branch 'm37_MDL-64443_Ignore_More_Swap_File_Types' of https://github.com/scara/moodle
David Monllaó [Wed, 20 Feb 2019 07:10:44 +0000 (08:10 +0100)]
MDL-64500 tool_analytics: noanalysables negation better than analysables
Andrew Nicols [Wed, 20 Feb 2019 02:52:22 +0000 (10:52 +0800)]
Merge branch 'MDL-64570-master-fix1' of git://github.com/damyon/moodle
Damyon Wiese [Wed, 20 Feb 2019 01:42:26 +0000 (09:42 +0800)]
MDL-64570 user: input field purpose
Do not autocomplete the user fields when editing another user.
Eloy Lafuente (stronk7) [Tue, 19 Feb 2019 23:06:50 +0000 (00:06 +0100)]
Merge branch 'MDL-64679_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Tue, 19 Feb 2019 22:57:10 +0000 (23:57 +0100)]
Merge branch 'MDL-63134-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Tue, 19 Feb 2019 22:34:38 +0000 (23:34 +0100)]
Merge branch 'MDL-64806-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Tue, 19 Feb 2019 22:22:52 +0000 (23:22 +0100)]
Merge branch 'MDL-64242' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 19 Feb 2019 18:07:14 +0000 (19:07 +0100)]
Merge branch 'MDL-63938-master' of https://github.com/HuongNV13/moodle
Eloy Lafuente (stronk7) [Tue, 19 Feb 2019 16:42:21 +0000 (17:42 +0100)]
Merge branch 'MDL-64791-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 19 Feb 2019 16:23:41 +0000 (17:23 +0100)]
Merge branch 'MDL-62008-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Tue, 19 Feb 2019 16:10:38 +0000 (17:10 +0100)]
Merge branch 'MDL-64500_master' of git://github.com/dmonllao/moodle
Adrian Greeve [Tue, 19 Feb 2019 10:48:14 +0000 (11:48 +0100)]
Merge branch 'MDL-60459_master' of git://github.com/markn86/moodle
Huong Nguyen [Tue, 27 Nov 2018 09:14:38 +0000 (16:14 +0700)]
MDL-63938 Enrolments: course_enrolment_manager method improvement
course_enrolment_manager method should not always do a count_records and a get_records
David Monllaó [Tue, 19 Feb 2019 05:45:21 +0000 (06:45 +0100)]
Merge branch 'MDL-64570-master' of git://github.com/damyon/moodle
David Monllaó [Tue, 19 Feb 2019 05:39:24 +0000 (06:39 +0100)]
Merge branch 'MDL-45151-master' of git://github.com/damyon/moodle
Damyon Wiese [Tue, 29 Jan 2019 03:36:44 +0000 (11:36 +0800)]
MDL-64570 user: coding style
Fix cibot warnings on line length.
Damyon Wiese [Mon, 14 Jan 2019 08:14:45 +0000 (16:14 +0800)]
MDL-64570 accessibility: autocomplete user profile fields
Only if editing your own user details and not logged in as someone else.
Eloy Lafuente (stronk7) [Mon, 18 Feb 2019 23:23:21 +0000 (00:23 +0100)]
Merge branch 'MDL-53346-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Mon, 18 Feb 2019 15:49:50 +0000 (16:49 +0100)]
Merge branch 'MDL-64314-master-upgrade-fix' of git://github.com/abgreeve/moodle
Adrian Greeve [Mon, 18 Feb 2019 15:30:19 +0000 (16:30 +0100)]
MDL-64314 messaging: Quick fix for empty insights configuration.
Adrian Greeve [Mon, 18 Feb 2019 14:51:30 +0000 (15:51 +0100)]
Merge branch 'MDL-64452-master-cachesession' of git://github.com/mudrd8mz/moodle
Adrian Greeve [Mon, 18 Feb 2019 13:50:59 +0000 (14:50 +0100)]
Merge branch 'MDL-64314_master' of git://github.com/dmonllao/moodle
David Monllaó [Mon, 18 Feb 2019 09:25:35 +0000 (10:25 +0100)]
Merge branch 'MDL-64587-master' of https://github.com/junpataleta/moodle
Adrian Greeve [Mon, 18 Feb 2019 08:34:43 +0000 (09:34 +0100)]
Merge branch 'MDL-55211-master' of git://github.com/damyon/moodle
Jun Pataleta [Mon, 18 Feb 2019 08:09:50 +0000 (16:09 +0800)]
MDL-64587 tool_xmldb: Change Continue to Back link for consistency
* For consistency with the rest of navigation links in the tool, change
the Continue button to a Back link.
Michael Aherne [Tue, 15 Jan 2019 14:36:19 +0000 (14:36 +0000)]
MDL-64587 xmldb: XMLDB option to add mandatory persistent fields.
Jun Pataleta [Mon, 18 Feb 2019 06:28:09 +0000 (14:28 +0800)]
Merge branch 'MDL-62142-master' of git://github.com/damyon/moodle
Damyon Wiese [Fri, 7 Sep 2018 03:55:06 +0000 (11:55 +0800)]
MDL-62142 navigation: accessibility
Set unique meaningful labels on all nav components rendered in the "boost" theme.
Andrew Nicols [Mon, 18 Feb 2019 04:27:40 +0000 (12:27 +0800)]
Merge branch 'MDL-62728-locale_5' of https://github.com/DSI-Universite-Rennes2/moodle
Andrew Nicols [Mon, 18 Feb 2019 00:34:46 +0000 (08:34 +0800)]
Merge branch 'MDL-61575-master' of git://github.com/cescobedo/moodle
Matteo Scaramuccia [Wed, 19 Dec 2018 09:14:02 +0000 (10:14 +0100)]
MDL-64443 git: Excluded vim swap files
Vim swap filenames are deterministic someway.
Refs:
- http://vimdoc.sourceforge.net/htmldoc/recover.html#swap-file
- https://github.com/vim/vim/blob/
4efe73b478d3ba689078da502fd96f45204ff1f5/src/memline.c#L4683
- https://unix.stackexchange.com/a/326737
- https://github.com/github/gitignore/blob/master/Global/Vim.gitignore
Julien Boulen [Fri, 15 Feb 2019 08:53:00 +0000 (09:53 +0100)]
MDL-62728 lang: display a warning when missing some locales on server
David Mudrák [Tue, 8 Jan 2019 19:03:06 +0000 (20:03 +0100)]
MDL-64452 cache: Add tests for key prefix based on session id
Unfortunately, we can't simply use session_id() to regenerate the
session id in unit tests. Starting from PHP 7.2, it would trigger
"session_id(): Cannot change session id when headers already sent",
refer to MDL-60978 and PHP bug #75628 for more details.
As a workaround, we use a static property allowing us to inject the
value that we then use as a session identifier. This is reasonably
enough to make sure that the identifier is used as a part of the key
prefix.
David Mudrák [Tue, 8 Jan 2019 18:23:59 +0000 (19:23 +0100)]
MDL-64452 cache: Always use the current session id in the key prefix
The current logic in the cache_session::check_tracked_user() is not
right. We must always set the current session id. A typical use case is
when the cache instance is instantiated for a not logged in user. We
can't let the sessionid property null in that case as it forms an
important part of the parsed key.
Similarly, even if we have the same user currently loaded, we must still
set the sessionid to make sure the data will be associated with the
current PHP session. Same user (including visitors or guest users) can
access the site from different browsers and each must end up with its
own key prefix.
Jun Pataleta [Fri, 15 Feb 2019 08:27:02 +0000 (16:27 +0800)]
Merge branch 'MDL-63944-master' of https://github.com/lethevinh/moodle
David Monllaó [Fri, 8 Feb 2019 12:46:43 +0000 (13:46 +0100)]
MDL-64314 messaging: Web notifications for insights
David Monllaó [Wed, 23 Jan 2019 15:20:56 +0000 (16:20 +0100)]
MDL-64679 tool_analytics: Allow trained models to be cleared
VinhLe [Tue, 12 Feb 2019 08:22:08 +0000 (15:22 +0700)]
MDL-63944 Question: Add toggle all to Quiz Activity
Andrew Nicols [Wed, 2 Jan 2019 07:22:09 +0000 (15:22 +0800)]
MDL-63944 Question: Convert toggle all to generic module
VinhLe [Tue, 13 Nov 2018 07:47:55 +0000 (14:47 +0700)]
MDL-63944 Questions Bank: Select all checkbox should be checked
When checkbox item be chosen then "Select All" be chosen.
When "Select All" be chosen then all checkbox item be chosen.
Andrew Nicols [Fri, 15 Feb 2019 00:29:14 +0000 (08:29 +0800)]
weekly release 3.7dev
Andrew Nicols [Fri, 15 Feb 2019 00:29:12 +0000 (08:29 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Thu, 14 Feb 2019 07:12:22 +0000 (15:12 +0800)]
Merge branch 'MDL-64552_admin_hideif' of git://github.com/davosmith/moodle
Jun Pataleta [Thu, 14 Feb 2019 07:00:56 +0000 (15:00 +0800)]
Merge branch 'MDL-64736-master-2' of git://github.com/andrewnicols/moodle
Andrew Nicols [Thu, 14 Feb 2019 01:40:13 +0000 (09:40 +0800)]
Merge branch 'MDL-64788_master' of git://github.com/markn86/moodle
Jun Pataleta [Wed, 13 Feb 2019 13:01:32 +0000 (21:01 +0800)]
Merge branch 'MDL-63892-master-rework' of git://github.com/mickhawkins/moodle
Michael Hawkins [Wed, 13 Feb 2019 08:47:46 +0000 (16:47 +0800)]
MDL-63892 mod_forum: Behat update for post order
Jun Pataleta [Wed, 13 Feb 2019 08:27:15 +0000 (16:27 +0800)]
Merge branch 'MDL-64835-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Wed, 13 Feb 2019 08:17:44 +0000 (16:17 +0800)]
Merge branch 'MDL-64557_course_hideif' of git://github.com/davosmith/moodle
Andrew Nicols [Wed, 13 Feb 2019 06:14:32 +0000 (14:14 +0800)]
MDL-63977 Behat: Wait longer for app login
Andrew Nicols [Wed, 13 Feb 2019 05:55:34 +0000 (13:55 +0800)]
MDL-63977 Behat: Prefer ionic approot over wwwroot
Andrew Nicols [Wed, 13 Feb 2019 05:21:15 +0000 (13:21 +0800)]
Merge branch 'MDL-63977-beforemerge' of https://github.com/sammarshallou/moodle
Andrew Nicols [Wed, 13 Feb 2019 03:22:24 +0000 (11:22 +0800)]
Merge branch 'MDL-64714-master' of git://github.com/cescobedo/moodle
Andrew Nicols [Wed, 13 Feb 2019 02:18:25 +0000 (10:18 +0800)]
Merge branch 'MDL-63892-master-rework' of git://github.com/mickhawkins/moodle
Andrew Nicols [Tue, 12 Feb 2019 23:45:02 +0000 (07:45 +0800)]
MDL-64835 JS: Reduce cache invalidation checks
The cache invalidation check was previously occuring every time either
the `set` or `get` function was called on the cache. However, the cache
invalidation check is based on the jsrev which is static for the
lifetime of the page.
This change moved the invalidation to happen during the setup of the AMD
module such that it only happens one time per storage type (Local +
Session).
Andrew Nicols [Tue, 12 Feb 2019 23:37:03 +0000 (07:37 +0800)]
MDL-64835 JS: Stop using the jsrev in the jsrevPrefix
We only use the jsrevPrefix to determine if the cache should be
invalidated, but the prefix that we were using is based on the new
jsrev.
For example, the jsrevPrefix will be:
hash(wwwroot + '/ + config.jsrev) + '/jsrev'
Where config.jsrev is the _current_ (new) jsrev.
As a result when searching for the jsrev used to store the data which is
currently in the storage cache, no key is returned, and we instead set
an 'initial' value and the cache is not cleared
This patch changes the jsrevPrefix to be:
hash(wwwroot) + '/jsrev'
Since the wwwroot does not change, the key remains static for the
current site. As a result, when the jsrev is bumped via a Moodle cache
purge, we are able to correctly fetch the old jsrev from the cache,
determine that the jsrev has changed, and purge the cache.
AMOS bot [Wed, 13 Feb 2019 00:11:35 +0000 (00:11 +0000)]
Automatically generated installer lang files
sam marshall [Tue, 12 Feb 2019 10:13:51 +0000 (10:13 +0000)]
MDL-63977 Behat: Organise app functions in window.behat object
Eloy Lafuente (stronk7) [Tue, 12 Feb 2019 11:56:18 +0000 (12:56 +0100)]
Merge branch 'MDL-64420-2' of https://github.com/timhunt/moodle
David Monllaó [Tue, 12 Feb 2019 11:45:48 +0000 (12:45 +0100)]
Merge branch 'MDL-64590' of https://github.com/timhunt/moodle
David Monllaó [Tue, 12 Feb 2019 11:42:48 +0000 (12:42 +0100)]
Merge branch 'MDL-64646' of https://github.com/mkassaei/moodle
David Monllaó [Tue, 12 Feb 2019 11:33:23 +0000 (12:33 +0100)]
Merge branch 'master' of https://github.com/CengageEng/moodle
sam marshall [Mon, 11 Feb 2019 18:13:08 +0000 (18:13 +0000)]
MDL-63977 Behat: Read config.json version from running Ionic server
Davo Smith [Tue, 12 Feb 2019 10:17:19 +0000 (10:17 +0000)]
MDL-64557 tool_behat: fix broken test
Davo Smith [Mon, 14 Jan 2019 10:26:30 +0000 (10:26 +0000)]
MDL-64557 category: switch disabledIf to hideIf on delete form
Davo Smith [Mon, 14 Jan 2019 10:26:04 +0000 (10:26 +0000)]
MDL-64557 modform: switch disabledIf to hideIf, where appropriate
David Monllaó [Tue, 12 Feb 2019 08:41:35 +0000 (09:41 +0100)]
Merge branch 'MDL-32096-master' of git://github.com/peterRd/moodle
Andrew Nicols [Tue, 12 Feb 2019 02:55:10 +0000 (10:55 +0800)]
Merge branch 'MDL-64291' of https://github.com/KietChan/moodle
Jun Pataleta [Tue, 12 Feb 2019 02:12:21 +0000 (10:12 +0800)]
Merge branch 'MDL-64493-master' of git://github.com/damyon/moodle
Andrew Nicols [Mon, 11 Feb 2019 23:37:16 +0000 (07:37 +0800)]
MDL-64736 course: Rewrite behat step to avoid changing a checkbox
Eloy Lafuente (stronk7) [Mon, 11 Feb 2019 23:19:07 +0000 (00:19 +0100)]
Merge branch 'MDL-61326-master' of git://github.com/peterRd/moodle
Eloy Lafuente (stronk7) [Mon, 11 Feb 2019 23:09:46 +0000 (00:09 +0100)]
Merge branch 'MDL-64694_master' of git://github.com/dmonllao/moodle
Peter [Mon, 3 Dec 2018 05:36:40 +0000 (13:36 +0800)]
MDL-61326 repository_equella: Pass proper labels for roles with no name
Eloy Lafuente (stronk7) [Mon, 11 Feb 2019 23:02:12 +0000 (00:02 +0100)]
Merge branch 'MDL-64606-master' of https://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Mon, 11 Feb 2019 22:56:44 +0000 (23:56 +0100)]
Merge branch 'MDL-64238-master' of git://github.com/peterRd/moodle
sam marshall [Mon, 11 Feb 2019 16:40:56 +0000 (16:40 +0000)]
MDL-63977 Behat: Rename Ionic config variables for consistency
sam marshall [Tue, 15 Jan 2019 16:51:38 +0000 (16:51 +0000)]
MDL-63977 Behat: Make standard login step work for app as well
sam marshall [Tue, 15 Jan 2019 15:12:06 +0000 (15:12 +0000)]
MDL-63977 Behat: Move app startup to before-scenario hook
sam marshall [Tue, 15 Jan 2019 14:54:47 +0000 (14:54 +0000)]
MDL-63977 Behat: Add generic way to get tag list
sam marshall [Tue, 15 Jan 2019 14:31:44 +0000 (14:31 +0000)]
MDL-63977 Behat: Fix bug in 'near' calculation
sam marshall [Tue, 15 Jan 2019 14:31:25 +0000 (14:31 +0000)]
MDL-63977 Behat: Upgrade mobile tests to work with 3.6 app version
sam marshall [Mon, 12 Nov 2018 12:11:06 +0000 (12:11 +0000)]
MDL-63977 Behat: Allow Behat testing of the Moodle mobile app
This change allows you to write and run Behat tests that cover the
mobile app. These should have the @app tag. They will be run in the
Chrome browser using an Ionic server on the local machine.
See config-dist.php for configuration settings, or full docs here:
https://docs.moodle.org/dev/Acceptance_testing_for_the_mobile_app
Eloy Lafuente (stronk7) [Mon, 11 Feb 2019 16:03:55 +0000 (17:03 +0100)]
Merge branch 'MDL-64725-master' of git://github.com/junpataleta/moodle
John Beedell [Wed, 19 Dec 2018 16:26:40 +0000 (16:26 +0000)]
MDL-64420 qtype: gapselect unit tests unsafe
Eloy Lafuente (stronk7) [Mon, 11 Feb 2019 11:50:46 +0000 (12:50 +0100)]
Merge branch 'MDL-64599' of https://github.com/marcusboon/moodle
Eloy Lafuente (stronk7) [Mon, 11 Feb 2019 11:35:26 +0000 (12:35 +0100)]
Merge branch 'MDL-64385-master' of git://github.com/aanabit/moodle
Sara Arjona [Mon, 11 Feb 2019 11:33:06 +0000 (12:33 +0100)]
Merge branch 'MDL-64031-master' of https://github.com/lethevinh/moodle
Peter [Thu, 27 Sep 2018 05:41:34 +0000 (13:41 +0800)]
MDL-60384 mod_book: Add a label to highlight the previous chapter
* Added current chapter's title to the button title so it's clear where you're adding the chapter to.
* Update the behat tests to reflect the changes made to the title
David Monllaó [Mon, 11 Feb 2019 10:08:20 +0000 (11:08 +0100)]
Merge branch 'MDL-64391_master' of git://github.com/vmdef/moodle
Sara Arjona [Mon, 11 Feb 2019 09:41:03 +0000 (10:41 +0100)]
Merge branch 'MDL-48338-master' of git://github.com/andrewnicols/moodle
David Monllaó [Mon, 11 Feb 2019 08:49:08 +0000 (09:49 +0100)]
Merge branch 'MDL-62666-master' of git://github.com/junpataleta/moodle
Andrew Nicols [Mon, 11 Feb 2019 08:36:00 +0000 (16:36 +0800)]
Merge branch 'MDL-64597-master' of git://github.com/junpataleta/moodle
Jun Pataleta [Mon, 11 Feb 2019 08:05:53 +0000 (16:05 +0800)]
Merge branch 'MDL-64488-master' of git://github.com/damyon/moodle
Jun Pataleta [Mon, 11 Feb 2019 07:29:04 +0000 (15:29 +0800)]
Merge branch 'MDL-64644_master' of git://github.com/markn86/moodle
Andrew Nicols [Mon, 11 Feb 2019 07:11:20 +0000 (15:11 +0800)]
Merge branch 'MDL-64393' of https://github.com/timhunt/moodle
Shamim Rezaie [Mon, 11 Feb 2019 04:50:49 +0000 (15:50 +1100)]
MDL-63134 mod_chat: Check if the module is visible to the user
Shamim Rezaie [Mon, 11 Feb 2019 04:48:14 +0000 (15:48 +1100)]
MDL-63134 mod_chat: Add userid param to mod_chat calendar callbacks