Jun Pataleta [Fri, 30 Nov 2018 06:55:54 +0000 (14:55 +0800)]
MDL-64285 core: Fix environment check test
* Looping the environment results and skipping some items mean that
if a test gets skipped, the rest of the environment results won't be
tested. It's better to use a data provider for this in order to
individually test each environment result.
Jake Dallimore [Thu, 13 Dec 2018 23:51:42 +0000 (07:51 +0800)]
weekly release 3.7dev
Jake Dallimore [Wed, 12 Dec 2018 08:13:28 +0000 (16:13 +0800)]
Merge branch 'MDL-62624-master' of git://github.com/mihailges/moodle
Jun Pataleta [Wed, 12 Dec 2018 03:18:02 +0000 (11:18 +0800)]
Merge branch 'MDL-41507-master' of git://github.com/rezaies/moodle
Shamim Rezaie [Mon, 10 Dec 2018 06:03:50 +0000 (17:03 +1100)]
MDL-41507 core_group: Consistent default value for FEATURE_GROUPS
Jake Dallimore [Wed, 12 Dec 2018 02:02:55 +0000 (10:02 +0800)]
Merge branch 'MDL-64003-master' of https://github.com/aanabit/moodle
Jake Dallimore [Wed, 12 Dec 2018 00:53:35 +0000 (08:53 +0800)]
MDL-63887 auth_ldap: fix unclean exit from sync when users not found
We should return, not exit, and we should clean up before we do.
Jake Dallimore [Wed, 12 Dec 2018 01:41:34 +0000 (09:41 +0800)]
Merge branch 'MDL-63887_master' of git://github.com/markn86/moodle
Jake Dallimore [Wed, 12 Dec 2018 00:32:16 +0000 (08:32 +0800)]
Merge branch 'MDL-63150-master' of git://github.com/peterRd/moodle
Jake Dallimore [Wed, 12 Dec 2018 00:29:40 +0000 (08:29 +0800)]
Merge branch 'MDL-63145-master' of git://github.com/peterRd/moodle
Jake Dallimore [Wed, 12 Dec 2018 00:25:02 +0000 (08:25 +0800)]
Merge branch 'MDL-63147-master' of git://github.com/peterRd/moodle
Peter [Tue, 23 Oct 2018 05:17:43 +0000 (13:17 +0800)]
MDL-63145 mod_page: Accept userid param as override
Accept a userid as an override in the lib function instead of
relying on $USER
Peter [Tue, 23 Oct 2018 02:09:17 +0000 (10:09 +0800)]
MDL-63150 mod_url: Accept a userid override in event action
Accept a userid in the event action instead of depending on $USER
Peter [Tue, 23 Oct 2018 03:48:49 +0000 (11:48 +0800)]
MDL-63147 mod_resource: Accept userid in resource event_action
Amaia Anabitarte [Tue, 11 Dec 2018 10:52:18 +0000 (11:52 +0100)]
MDL-64003 core_message: Use sql_like_escape() in message_search_users
Jake Dallimore [Tue, 11 Dec 2018 09:43:59 +0000 (17:43 +0800)]
Merge branch 'MDL-64357_master' of git://github.com/markn86/moodle
Mark Nelson [Tue, 11 Dec 2018 06:22:40 +0000 (14:22 +0800)]
MDL-64357 ltiservice_gradebookservices: updated unit tests
Claude Vervoort [Mon, 10 Dec 2018 15:26:12 +0000 (10:26 -0500)]
MDL-64357 ltiservice_gradebookservices: fix cleanup deleting lineitems
Jake Dallimore [Tue, 11 Dec 2018 04:50:18 +0000 (12:50 +0800)]
Merge branch 'MDL-62922-master' of git://github.com/junpataleta/moodle
Jun Pataleta [Tue, 11 Dec 2018 01:54:03 +0000 (09:54 +0800)]
Merge branch 'MDL-64280-master' of https://github.com/lucaboesch/moodle
Luca Bösch [Thu, 29 Nov 2018 12:44:13 +0000 (13:44 +0100)]
MDL-64280 core_outcome: Add/remove outcome buttons style.
Jun Pataleta [Mon, 10 Dec 2018 07:04:01 +0000 (15:04 +0800)]
Merge branch 'MDL-64275-master' of git://github.com/ryanwyllie/moodle
Jun Pataleta [Mon, 10 Dec 2018 06:47:17 +0000 (14:47 +0800)]
Merge branch 'MDL-62061-master' of git://github.com/abgreeve/moodle
Mihail Geshoski [Mon, 10 Dec 2018 05:44:59 +0000 (13:44 +0800)]
MDL-62624 lesson: Fix alignment in matching questions in boost
Jun Pataleta [Mon, 10 Dec 2018 01:57:52 +0000 (09:57 +0800)]
Merge branch 'MDL-64332' of https://github.com/timhunt/moodle
Jake Dallimore [Mon, 10 Dec 2018 00:10:39 +0000 (08:10 +0800)]
weekly on-sync release 3.7dev
Jake Dallimore [Mon, 10 Dec 2018 00:10:39 +0000 (08:10 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Ryan Wyllie [Thu, 6 Dec 2018 07:24:41 +0000 (15:24 +0800)]
MDL-64275 message: fix update unread conversation counts
AMOS bot [Fri, 7 Dec 2018 00:09:20 +0000 (00:09 +0000)]
Automatically generated installer lang files
Tim Hunt [Wed, 5 Dec 2018 17:04:05 +0000 (17:04 +0000)]
MDL-64332 questions: idnumber should not prevent easy duplication
Adrian Greeve [Wed, 14 Nov 2018 07:11:22 +0000 (15:11 +0800)]
MDL-62061 core_privacy: Stop directories being created.
This stops directories being created in the root directory
while running unit tests.
papillon326 [Thu, 6 Dec 2018 06:51:00 +0000 (14:51 +0800)]
MDL-63887 auth_ldap: avoid infinite loop when search limit is reached
papillon326 [Tue, 6 Nov 2018 08:35:58 +0000 (17:35 +0900)]
MDL-63887 auth_ldap: changed variable names to be conform to core
Jun Pataleta [Thu, 6 Dec 2018 06:58:01 +0000 (14:58 +0800)]
Merge branch 'MDL-64283-master' of git://github.com/damyon/moodle
Jake Dallimore [Thu, 6 Dec 2018 03:34:09 +0000 (11:34 +0800)]
Merge branch 'MDL-63710-master' of https://github.com/ilya-catalyst/moodle
Jake Dallimore [Thu, 6 Dec 2018 02:22:57 +0000 (10:22 +0800)]
Merge branch 'MDL-46783' of https://github.com/timhunt/moodle
Ilya Tregubov [Tue, 20 Nov 2018 00:31:27 +0000 (11:31 +1100)]
MDL-63710 repository: Delete orphaned file records.
Jun Pataleta [Thu, 6 Dec 2018 00:57:32 +0000 (08:57 +0800)]
Merge branch 'master-MDL-64290-imscc-restore-temp-dir' of https://github.com/mspall/moodle
AMOS bot [Thu, 6 Dec 2018 00:07:49 +0000 (00:07 +0000)]
Automatically generated installer lang files
Michael Spall [Fri, 30 Nov 2018 16:10:51 +0000 (09:10 -0700)]
MDL-64290 backup imscc: Use correct tempdir for imscc restore
Use configured temp directory $CFG->tempdir instead of hard coded
$CFG->dataroot . '/temp/backup/'
Remove unused variable, $CFG
Tim Hunt [Mon, 5 Nov 2018 12:44:03 +0000 (12:44 +0000)]
MDL-46783 accesslib: add tests for MDL-63772 and MDL-63818
MDL-46783, MDL-63772 and MDL-63818 were originally coded on the
assumption that MDL-46783 would get integrated first. However it wasn't.
Therefore, it was not easy to add unit tests for MDL-63772 and MDL-63818
at the time, but it is now, so here they are.
Tim Hunt [Tue, 30 Oct 2018 12:00:12 +0000 (12:00 +0000)]
MDL-46783 permissions: let some moodle/ caps be overriden in all mods
The capabilities changed ('contextlevel' => CONTEXT_COURSE changed to
'contextlevel' => CONTEXT_MODULE) are:
* moodle/site:accessallgroups
* moodle/site:viewfullnames
* moodle/site:trustcontent
* moodle/site:viewuseridentity
This list came from reviewing the _get_extra_capabilities functions in
all core activities. They were all somewhat inconsistent, but I think it
makes sense that these capabilities are consistently overridable in all
activities. E.g. moodle/site:accessallgroups affects conditional
availability even if there is no other user of groups, and
moodle/site:viewuseridentity and moodle/site:viewfullnames affect the
logs report, if nothing else.
As a result of this, several _get_extra_capabilities functions are no
longer needed, and all the rest have been simplified.
Jun Pataleta [Thu, 18 Oct 2018 07:24:46 +0000 (15:24 +0800)]
MDL-62922 core_user: Check auth mechanism before validating password
* External authentication mechanisms (e.g. via oauth2, etc.) don't store
password in the user table, so we shouldn't be requiring password in
such case when creating users via the core_user_create_users WS
function.
Jun Pataleta [Wed, 5 Dec 2018 06:56:21 +0000 (14:56 +0800)]
Merge branch 'MDL-64274-master' of git://github.com/ryanwyllie/moodle
Ryan Wyllie [Thu, 29 Nov 2018 07:03:35 +0000 (15:03 +0800)]
MDL-64274 message: deleteMessages in message_repository return promise
Jake Dallimore [Wed, 5 Dec 2018 06:30:16 +0000 (14:30 +0800)]
Merge branch 'MDL-64198-master' of https://github.com/lucaboesch/moodle
Roger Barras [Fri, 2 Nov 2018 19:09:04 +0000 (20:09 +0100)]
MDL-60267 user: Fix set default data for the user profile field
Eloy Lafuente (stronk7) [Tue, 4 Dec 2018 16:44:41 +0000 (17:44 +0100)]
weekly on-sync release 3.7dev
Amended to keep it on-sync with 3.6.1 emergency release
Luca Bösch [Sat, 24 Nov 2018 23:26:08 +0000 (00:26 +0100)]
MDL-64198 course: set formatted modulename for togglecompletion js.
Eloy Lafuente (stronk7) [Tue, 4 Dec 2018 12:06:15 +0000 (13:06 +0100)]
weekly on-sync release 3.7dev
Jake Dallimore [Tue, 4 Dec 2018 04:06:13 +0000 (12:06 +0800)]
Merge branch 'MDL-63223-master' of git://github.com/bmbrands/moodle
Jun Pataleta [Tue, 4 Dec 2018 04:03:39 +0000 (12:03 +0800)]
Merge branch 'MDL-64307_master' of git://github.com/markn86/moodle
Mark Nelson [Tue, 4 Dec 2018 02:46:28 +0000 (10:46 +0800)]
MDL-64307 core_message: do not include disabled conversations in count
Mark Nelson [Tue, 4 Dec 2018 02:36:09 +0000 (10:36 +0800)]
MDL-64307 core: set all individual conversations to enabled
Jun Pataleta [Tue, 4 Dec 2018 02:53:03 +0000 (10:53 +0800)]
Merge branch 'MDL-64206_master' of git://github.com/markn86/moodle
Damyon Wiese [Mon, 3 Dec 2018 07:46:40 +0000 (15:46 +0800)]
Merge branch 'MDL-64286' of https://github.com/timhunt/moodle
Damyon Wiese [Mon, 3 Dec 2018 07:26:08 +0000 (15:26 +0800)]
Merge branch 'MDL-64155-master' of git://github.com/vmdef/moodle
Jake Dallimore [Mon, 3 Dec 2018 06:21:31 +0000 (14:21 +0800)]
Merge branch 'MDL-63459' of https://github.com/timhunt/moodle
Mark Nelson [Tue, 27 Nov 2018 09:17:41 +0000 (17:17 +0800)]
MDL-64206 core: updated FB logo URL
Andrew Nicols [Mon, 3 Dec 2018 00:28:06 +0000 (08:28 +0800)]
Merge branch 'MDL-64300' of git://github.com/stronk7/moodle
Andrew Nicols [Sun, 2 Dec 2018 23:53:38 +0000 (07:53 +0800)]
Merge branch 'MDL-64299' of git://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Sun, 2 Dec 2018 17:36:40 +0000 (18:36 +0100)]
MDL-64300 upgrade: add 3.6.0 separation line to all upgrade scripts
Eloy Lafuente (stronk7) [Sun, 2 Dec 2018 17:21:52 +0000 (18:21 +0100)]
MDL-64299 backup: Bump release to 3.7
Eloy Lafuente (stronk7) [Sat, 1 Dec 2018 23:25:11 +0000 (00:25 +0100)]
weekly back-to-dev release 3.7dev
Eloy Lafuente (stronk7) [Sat, 1 Dec 2018 23:18:46 +0000 (00:18 +0100)]
NOBUG: Change travis.yml back to master
Eloy Lafuente (stronk7) [Sat, 1 Dec 2018 23:18:45 +0000 (00:18 +0100)]
Moodle release 3.6
Eloy Lafuente (stronk7) [Sat, 1 Dec 2018 23:18:45 +0000 (00:18 +0100)]
NOBUG: Change travis.yml to MOODLE_36_STABLE
Eloy Lafuente (stronk7) [Fri, 30 Nov 2018 17:02:17 +0000 (18:02 +0100)]
Moodle release 3.6rc3
Eloy Lafuente (stronk7) [Fri, 30 Nov 2018 17:02:15 +0000 (18:02 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Tim Hunt [Fri, 30 Nov 2018 12:33:54 +0000 (12:33 +0000)]
MDL-64286 qtype_gapselect: removed unneeded line of code
The extended Behat test show the qtype works fine without it.
David Monllao [Fri, 30 Nov 2018 12:02:47 +0000 (13:02 +0100)]
Merge branch 'MDL-64282' of git://github.com/stronk7/moodle
Jun Pataleta [Fri, 30 Nov 2018 08:13:38 +0000 (16:13 +0800)]
Merge branch 'MDL-64000-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Fri, 30 Nov 2018 07:12:00 +0000 (15:12 +0800)]
MDL-64000 usertours: Add final step to new tours
AMOS BEGIN
CPY [tour_2_title_end,tool_usertours],[tour_final_step_title,tool_usertours]
AMOS END
Jun Pataleta [Fri, 30 Nov 2018 05:46:09 +0000 (13:46 +0800)]
Merge branch 'MDL-64000-master' of git://github.com/andrewnicols/moodle
Elizabeth Dalton [Fri, 30 Nov 2018 00:16:17 +0000 (08:16 +0800)]
MDL-64000 usertours: Add tours for key 3.6 features
Tours originally written by Elizabeth Dalton, Mangled a little by Andrew
Nicols and Sander Bangma, and language tweaks by Helen Foster.
AMOS BEGIN
CPY [pluginname,block_recentlyaccessedcourses],[tour3_title_recentcourses,tool_usertours]
CPY [pluginname,block_myoverview],[tour3_title_overview,tool_usertours]
CPY [groupmessages,core_message],[tour4_title_groupconvo,tool_usertours]
CPY [favourites,moodle,core_message],[tour4_title_starred,tool_usertours]
AMOS END
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
Co-authored-by: Sander Bangma <sander@moodle.com>
Co-authored-by: Helen Foster <helen@moodle.org>
Jun Pataleta [Fri, 30 Nov 2018 01:53:34 +0000 (09:53 +0800)]
Merge branch 'MDL-64214-master' of git://github.com/junpataleta/moodle
Damyon Wiese [Fri, 30 Nov 2018 01:30:50 +0000 (09:30 +0800)]
MDL-64283 competency: Correct numbering in tests
Jun Pataleta [Thu, 29 Nov 2018 11:49:51 +0000 (19:49 +0800)]
MDL-64214 calendar: Populate the groups select box on page load
AMOS bot [Fri, 30 Nov 2018 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Thu, 29 Nov 2018 17:28:33 +0000 (18:28 +0100)]
MDL-64282 versions: main version bump
Eloy Lafuente (stronk7) [Thu, 29 Nov 2018 17:24:08 +0000 (18:24 +0100)]
MDL-64282 versions: bump all versions and requires near release
version =
2018120300 release version
requires=
2018112800 current rc2 (week7roll1) version
Víctor Déniz Falcón [Thu, 29 Nov 2018 15:37:04 +0000 (15:37 +0000)]
MDL-64155 block_recentlyaccessedcourses: considering enrolment status
Victor Deniz [Wed, 28 Nov 2018 13:46:56 +0000 (13:46 +0000)]
MDL-64155 core: get_recent_courses considers enrolment status
Víctor Déniz Falcón [Wed, 28 Nov 2018 02:21:50 +0000 (10:21 +0800)]
MDL-64155 core: use favourite API to generate SQL
Jun Pataleta [Thu, 29 Nov 2018 12:51:52 +0000 (20:51 +0800)]
Merge branch 'MDL-64228-master' of git://github.com/jleyva/moodle
Damyon Wiese [Thu, 29 Nov 2018 06:46:55 +0000 (14:46 +0800)]
Merge branch 'MDL-64264_master' of git://github.com/markn86/moodle
Jun Pataleta [Thu, 29 Nov 2018 06:07:26 +0000 (14:07 +0800)]
Merge branch 'MDL-64227-master' of git://github.com/damyon/moodle
Simey Lameze [Thu, 29 Nov 2018 02:31:05 +0000 (10:31 +0800)]
MDL-64214 calendar: fix failing unit tests
Simey Lameze [Tue, 27 Nov 2018 01:22:06 +0000 (09:22 +0800)]
MDL-64214 core_calendar: fix event types form element handling
Mark Nelson [Thu, 29 Nov 2018 04:19:03 +0000 (12:19 +0800)]
MDL-64264 core_message: use non-deprecated WS for deletion
Also fixed typo in function name.
Damyon Wiese [Thu, 29 Nov 2018 03:04:38 +0000 (11:04 +0800)]
Merge branch 'MDL-64245-master-fix-1' of git://github.com/ryanwyllie/moodle
Ryan Wyllie [Thu, 29 Nov 2018 02:16:45 +0000 (10:16 +0800)]
MDL-64245 message: fix scrollback for conversation loaded via contact
Jun Pataleta [Wed, 28 Nov 2018 08:55:13 +0000 (16:55 +0800)]
MDL-64245 message: Ditch sender+lastmessage lang string for simplicity
Passing the last message (which can virtually contain any character) as
a parameter for the {{#str}} mustache helper can break the JSON parsing
which eventually leads to the breakage of the messaging UI.
So for simplicity, revert the addition of the 'conversationlastmessage'
language string and render the sender and the last message as separate
elements.
Ryan Wyllie [Wed, 28 Nov 2018 07:34:34 +0000 (15:34 +0800)]
MDL-64245 message: fix contacts list height on Safari 10
Ryan Wyllie [Wed, 28 Nov 2018 07:17:23 +0000 (15:17 +0800)]
MDL-64245 message: fix loading convo by id with lots of messages
AMOS bot [Thu, 29 Nov 2018 00:08:12 +0000 (00:08 +0000)]
Automatically generated installer lang files
Andrew Nicols [Wed, 28 Nov 2018 23:26:45 +0000 (07:26 +0800)]
Merge branch 'MDL-63988-master' of git://github.com/bmbrands/moodle
Bas Brands [Wed, 28 Nov 2018 09:39:11 +0000 (10:39 +0100)]
MDL-63988 core_my: always honour showshortname and summary heading
* make the summaryview heading semantically correct for boost where titles
are h5 and headings within the blocks should have h6
* style the heading to use h5
* add clean theme .h5 class for dashboard blocks
Bas Brands [Mon, 26 Nov 2018 15:10:09 +0000 (16:10 +0100)]
MDL-63988 core_my: add course shortname to dashboard blocks …
* all dashboard card templates moved to /course/templates/
* added aria labels for course short name
* removed ":" from other course aria strings to improve screenreader output
David Monllao [Wed, 28 Nov 2018 10:23:40 +0000 (11:23 +0100)]
Moodle release 3.6rc2