Andrew Nicols [Mon, 11 Dec 2017 06:58:14 +0000 (14:58 +0800)]
Merge branch 'MDL-58272-master-2' of https://github.com/snake/moodle
Damyon Wiese [Mon, 11 Dec 2017 06:54:46 +0000 (14:54 +0800)]
Merge branch 'MDL-60057-master' of git://github.com/lameze/moodle
Simey Lameze [Tue, 28 Nov 2017 08:10:46 +0000 (16:10 +0800)]
MDL-60057 mod_lesson: add unit tests for callbacks
Simey Lameze [Tue, 28 Nov 2017 08:00:58 +0000 (16:00 +0800)]
MDL-60057 mod_lesson: add calendar drag and drop callbacks
AMOS BEGIN
CPY [openafterclose,mod_choice],[openafterclose,mod_lesson]
CPY [closebeforeopen,mod_choice],[closebeforeopen,mod_database]
CPY [openafterclose,mod_choice],[openafterclose,mod_database]
AMOS END
Damyon Wiese [Mon, 11 Dec 2017 06:08:08 +0000 (14:08 +0800)]
Merge branch 'MDL-60060-master' of git://github.com/lameze/moodle
Simey Lameze [Tue, 28 Nov 2017 06:47:37 +0000 (14:47 +0800)]
MDL-60060 mod_data: add unit tests for callbacks
Simey Lameze [Tue, 28 Nov 2017 06:14:04 +0000 (14:14 +0800)]
MDL-60060 mod_data: add calendar drag and drop callbacks
Damyon Wiese [Mon, 11 Dec 2017 04:56:18 +0000 (12:56 +0800)]
Merge branch 'wip-MDL-45500-master' of git://github.com/marinaglancy/moodle
Damyon Wiese [Mon, 11 Dec 2017 04:52:23 +0000 (12:52 +0800)]
Merge branch 'MDL-60948-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Mon, 4 Dec 2017 02:18:42 +0000 (10:18 +0800)]
MDL-60948 tool_httpsreplace: Correct use of test URLs
Damyon Wiese [Mon, 11 Dec 2017 03:49:40 +0000 (11:49 +0800)]
Merge branch 'MDL-60043' of git://github.com/timhunt/moodle
Damyon Wiese [Mon, 11 Dec 2017 03:37:48 +0000 (11:37 +0800)]
Merge branch 'MDL-54106-master' of https://github.com/lucaboesch/moodle
Damyon Wiese [Mon, 11 Dec 2017 03:27:28 +0000 (11:27 +0800)]
Merge branch 'wip-MDL-31436-master' of git://github.com/marinaglancy/moodle
Luca Bösch [Thu, 7 Dec 2017 15:32:56 +0000 (16:32 +0100)]
MDL-54106 task: Deleting unconfirmed users after $CFG->deleteunconfirmed
Tomek Muras [Wed, 6 Sep 2017 14:59:12 +0000 (16:59 +0200)]
MDL-60043 accesslib: improve query performance by removing ORDER BY
then add back the minimal necessary sorting in PHP. That part was
added by Tim Hunt.
Jake Dallimore [Wed, 15 Nov 2017 08:42:18 +0000 (16:42 +0800)]
MDL-58272 core_files: get converters from file extension not mimetype
Jun Pataleta [Thu, 7 Dec 2017 20:09:53 +0000 (09:09 +1300)]
weekly release 3.5dev
Andrew Nicols [Thu, 7 Dec 2017 08:18:28 +0000 (16:18 +0800)]
Merge branch 'MDL-60880-master-fix1' of github.com/damyon/moodle
Damyon Wiese [Thu, 7 Dec 2017 07:50:41 +0000 (15:50 +0800)]
MDL-60880 core_search: Behat fix for clean theme
The navigation block is visible in clean so "I should not see courses" finds the link in the navigation block
Jun Pataleta [Thu, 7 Dec 2017 04:33:41 +0000 (17:33 +1300)]
Merge branch 'MDL-60951-master' of git://github.com/damyon/moodle
Damyon Wiese [Wed, 6 Dec 2017 02:07:58 +0000 (10:07 +0800)]
Merge branch 'MDL-60880-master' of https://github.com/sammarshallou/moodle
Andrew Nicols [Wed, 6 Dec 2017 02:04:17 +0000 (10:04 +0800)]
Merge branch 'MDL-59159' of git://github.com/stronk7/moodle
Jun Pataleta [Tue, 5 Dec 2017 22:31:16 +0000 (11:31 +1300)]
Merge branch 'MDL-32350-master' of https://github.com/lucaboesch/moodle
Jun Pataleta [Tue, 5 Dec 2017 06:03:45 +0000 (19:03 +1300)]
Merge branch 'wip-MDL-60926-master' of git://github.com/marinaglancy/moodle
Damyon Wiese [Tue, 5 Dec 2017 05:56:04 +0000 (13:56 +0800)]
Merge branch 'MDL-37933_master' of git://github.com/markn86/moodle
David Herney [Tue, 28 Nov 2017 01:15:30 +0000 (20:15 -0500)]
MDL-60443 dataformat lib: Change a wrong variable name
The variable $type really is $dataformat. I have changed it for
prevent the error and show a correct error message.
Jun Pataleta [Tue, 5 Dec 2017 05:00:08 +0000 (18:00 +1300)]
Merge branch 'wip-MDL-34161-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Tue, 5 Dec 2017 04:48:52 +0000 (12:48 +0800)]
Merge branch 'MDL-60801' of https://github.com/andrewhancox/moodle
Andrew Nicols [Tue, 5 Dec 2017 04:16:47 +0000 (12:16 +0800)]
Merge branch 'MDL-60857-master' of https://github.com/sammarshallou/moodle
Andrew Nicols [Tue, 5 Dec 2017 03:48:42 +0000 (11:48 +0800)]
Merge branch 'MDL-60899-master' of git://github.com/damyon/moodle
Damyon Wiese [Tue, 5 Dec 2017 03:00:54 +0000 (11:00 +0800)]
Merge branch 'MDL-59875_m35v1' of https://github.com/sbourget/moodle
Jun Pataleta [Tue, 5 Dec 2017 02:47:16 +0000 (15:47 +1300)]
Merge branch 'MDL-36056-master-fix1' of github.com/damyon/moodle
Andrew Nicols [Tue, 5 Dec 2017 01:51:37 +0000 (09:51 +0800)]
Merge branch 'MDL-47114-master' of git://github.com/rezaies/moodle
Damyon Wiese [Tue, 5 Dec 2017 01:49:33 +0000 (09:49 +0800)]
MDL-36056 forms: Don't validate disabled fields
When fields are disabled, the value comes through as null so we need to specifically check for it
before validation.
Andrew Nicols [Tue, 5 Dec 2017 01:18:25 +0000 (09:18 +0800)]
Merge branch 'wip-MDL-37757-master' of git://github.com/abgreeve/moodle
Damyon Wiese [Wed, 6 Dec 2017 02:53:32 +0000 (10:53 +0800)]
MDL-60951 travis: Disable redis on travis
Redis unit tests are currently failing on php 7.2 due to https://bugs.php.net/bug.php?id=75628
sam marshall [Wed, 22 Nov 2017 16:47:29 +0000 (16:47 +0000)]
MDL-60880 core_search: Allow search of specific context (front-end)
sam marshall [Wed, 22 Nov 2017 14:31:32 +0000 (14:31 +0000)]
MDL-60880 core_search: Allow search of specific context (back-end)
Adds back-end support for restricting searches to specified context
ids (for example so it is possible to search only a specific forum).
Luca Bösch [Tue, 28 Nov 2017 21:01:52 +0000 (22:01 +0100)]
MDL-32350 admin: Sort users by country ASC and DESC
Damyon Wiese [Mon, 4 Dec 2017 08:28:16 +0000 (16:28 +0800)]
Merge branch 'MDL-60219-master' of https://github.com/abias/moodle
Damyon Wiese [Mon, 4 Dec 2017 08:00:19 +0000 (16:00 +0800)]
Merge branch 'MDL-36056-master-enrolkeywhitespace' of git://github.com/mudrd8mz/moodle
Marina Glancy [Tue, 17 May 2016 03:13:37 +0000 (11:13 +0800)]
MDL-34161 mod_lti: backup and restore of submissions
Marina Glancy [Fri, 29 Apr 2016 12:31:04 +0000 (20:31 +0800)]
MDL-34161 mod_lti: backup/restore of lti types
Only course tools are backed up, site tools and registrations
can be matched by id if they are restored to the same site only.
For predefined course tools the secret is backed up encrypted
and can be restored on the same site only.
Tim Lock [Wed, 13 May 2015 03:49:18 +0000 (13:19 +0930)]
MDL-34161 mod_lti: Added Behat tests
Gregory Faller [Wed, 13 May 2015 03:49:10 +0000 (13:19 +0930)]
MDL-34161 mod_lti: Add support for restoring site tool
Jun Pataleta [Mon, 4 Dec 2017 05:24:15 +0000 (18:24 +1300)]
Merge branch 'wip-MDL-60887-master' of git://github.com/marinaglancy/moodle
Jun Pataleta [Mon, 4 Dec 2017 01:32:26 +0000 (14:32 +1300)]
Merge branch 'MDL-60925-master' of git://github.com/damyon/moodle
Marina Glancy [Fri, 1 Dec 2017 09:06:47 +0000 (17:06 +0800)]
MDL-60926 auth: do not map very long profile fields
Eloy Lafuente (stronk7) [Mon, 4 Dec 2017 00:36:57 +0000 (01:36 +0100)]
MDL-59159 upgrade: remove unused functions/settings from upgradelib
All these functions were used only by deleted upgrade steps
so it's safe to proceed with straight deletion, considering
them internal. Deletion has been documented in corresponding
upgrade.txt files:
- mod_feedback_upgrade_delete_duplicate_values()
- mod_feedback_upgrade_courseid()
These have been kept because they continue being used:
- @ install: make_competence_scale()
- @ restore: upgrade_course_letter_boundary()
Eloy Lafuente (stronk7) [Mon, 4 Dec 2017 00:16:11 +0000 (01:16 +0100)]
MDL-59159 upgrade: clean < 3.1.0 upgrade steps
LTS (3.5) requires previous LTS (3.1)
This just deletes all the upgrade steps previous to 3.1.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.
Also includes an upgrade step to prevent upgrading from any
version <
2016052300 (v3.1.0) as anti-cheating measure.
Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase.
Jun Pataleta [Sun, 3 Dec 2017 23:50:06 +0000 (12:50 +1300)]
Merge branch 'MDL-60914_master' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Sun, 3 Dec 2017 23:27:53 +0000 (00:27 +0100)]
MDL-59159 environment: 3.1 (LTS) required
Eloy Lafuente (stronk7) [Sun, 3 Dec 2017 23:23:28 +0000 (00:23 +0100)]
MDL-59159 environment: 3.5 base information
This is a direct copy of the 3.4 branch to
have changes under control easier in next commits.
Shamim Rezaie [Mon, 27 Nov 2017 09:37:06 +0000 (17:37 +0800)]
MDL-47114 core: Improved function description
sam marshall [Mon, 20 Nov 2017 16:51:08 +0000 (16:51 +0000)]
MDL-60857 core_search: Improve cron log progress information
Eloy Lafuente (stronk7) [Thu, 30 Nov 2017 16:05:14 +0000 (17:05 +0100)]
weekly release 3.5dev
David Mudrák [Thu, 30 Nov 2017 09:47:57 +0000 (10:47 +0100)]
MDL-36056 form: Do not allow passwords with wrapping whitespace
This is to avoid accidental misconfiguration while copy/pasting the
password value.
Marina Glancy [Thu, 30 Nov 2017 03:27:41 +0000 (11:27 +0800)]
MDL-31436 hub: never use xmlrpc, always use REST
Damyon Wiese [Wed, 29 Nov 2017 02:41:50 +0000 (10:41 +0800)]
MDL-60925 theme: Fix SCSS precompilation.
There is no point pre-compiling the theme SCSS if it is not stored somewhere that is available
to all webserving nodes. Localcache needs to be backed by the MUC cache.
Alexander Bias [Mon, 25 Sep 2017 10:28:17 +0000 (12:28 +0200)]
MDL-60219 lti: Replace pagelayout frametop with incourse
Damyon Wiese [Wed, 29 Nov 2017 04:18:21 +0000 (12:18 +0800)]
Merge branch 'MDL-60174-master' of https://github.com/sammarshallou/moodle
Jun Pataleta [Wed, 29 Nov 2017 03:59:25 +0000 (16:59 +1300)]
Merge branch 'wip-MDL-45068-master-fix' of https://github.com/marinaglancy/moodle
Marina Glancy [Wed, 29 Nov 2017 03:50:44 +0000 (11:50 +0800)]
MDL-45068 groups: corrected check for idnumber '0'
Jun Pataleta [Tue, 28 Nov 2017 21:51:22 +0000 (10:51 +1300)]
Merge branch 'MDL-50861-master' of git://github.com/junpataleta/moodle
Amy Groshek [Thu, 26 Oct 2017 21:43:33 +0000 (16:43 -0500)]
MDL-50861 mod_scorm: Add bootstrap btn classes to exit link
Eloy Lafuente (stronk7) [Tue, 28 Nov 2017 21:35:58 +0000 (22:35 +0100)]
Merge branch 'wip-MDL-60591-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Tue, 28 Nov 2017 19:59:22 +0000 (20:59 +0100)]
Merge branch 'MDL-60738-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 28 Nov 2017 19:48:15 +0000 (20:48 +0100)]
Merge branch 'MDL-60838-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Tue, 28 Nov 2017 19:37:59 +0000 (20:37 +0100)]
Merge branch 'MDL-60682' of git://github.com/timhunt/moodle
sam marshall [Tue, 28 Nov 2017 13:21:49 +0000 (13:21 +0000)]
MDL-60174 Document new dboption in config-dist.php
Stephen Bourget [Tue, 28 Nov 2017 13:03:02 +0000 (08:03 -0500)]
MDL-59875 Badges: Allow badges to be criteria for other badges
Jun Pataleta [Tue, 28 Nov 2017 07:10:08 +0000 (20:10 +1300)]
Merge branch 'MDL-54693-quiz-override-help-icon' of https://github.com/lucaboesch/moodle
Jun Pataleta [Tue, 28 Nov 2017 06:38:23 +0000 (19:38 +1300)]
Merge branch 'MDL-59574-master' of git://github.com/ankitagarwal/moodle
Damyon Wiese [Tue, 28 Nov 2017 05:37:35 +0000 (13:37 +0800)]
MDL-60899 block_lp: no permissions - empty block
Show an empty block if the current user does not have the capability to see any plans.
Ankit Agarwal [Wed, 15 Nov 2017 04:50:49 +0000 (10:20 +0530)]
MDL-59574 analytics: Add model listing to enable_model cli script
Ankit Agarwal [Mon, 13 Nov 2017 10:17:58 +0000 (15:47 +0530)]
MDL-59574 tool_analytics: Add model listing to evaluate_model cli script
Damyon Wiese [Tue, 28 Nov 2017 05:18:03 +0000 (13:18 +0800)]
Merge branch 'MDL-53004-master' of https://github.com/lucaboesch/moodle
Conflicts:
mod/assign/styles.css
Marina Glancy [Thu, 13 Aug 2015 02:22:12 +0000 (10:22 +0800)]
MDL-45500 gradingform: allow plugin uninstall
Jun Pataleta [Tue, 28 Nov 2017 04:18:54 +0000 (17:18 +1300)]
Merge branch 'MDL-46768-master' of git://github.com/sarjona/moodle
Damyon Wiese [Tue, 28 Nov 2017 04:14:08 +0000 (12:14 +0800)]
Merge branch 'MDL-24678-master-chat_get_latest_message' of https://github.com/bozoh/moodle
Damyon Wiese [Tue, 28 Nov 2017 04:05:21 +0000 (12:05 +0800)]
Merge branch 'MDL-60669-master' of git://github.com/tobiasreischmann/moodle
Damyon Wiese [Tue, 28 Nov 2017 03:38:40 +0000 (11:38 +0800)]
Merge branch 'MDL-60174-master' of https://github.com/sammarshallou/moodle
Mark Nelson [Tue, 28 Nov 2017 03:37:00 +0000 (11:37 +0800)]
MDL-60914 mod_lti: ensure grade_update() is defined during upgrade
Marina Glancy [Fri, 24 Nov 2017 01:56:52 +0000 (09:56 +0800)]
MDL-60887 registration: allow plugins to register on custom hubs
Jun Pataleta [Tue, 28 Nov 2017 00:25:51 +0000 (13:25 +1300)]
Merge branch 'wip-MDL-60478-m35' of git://github.com/amygroshek/moodle
Eloy Lafuente (stronk7) [Tue, 28 Nov 2017 00:16:40 +0000 (01:16 +0100)]
Merge branch 'MDL-60654' of https://github.com/joaociocca/moodle
Eloy Lafuente (stronk7) [Mon, 27 Nov 2017 23:55:23 +0000 (00:55 +0100)]
Merge branch 'MDL-60441_master' of git://github.com/juancs/moodle
Eloy Lafuente (stronk7) [Mon, 27 Nov 2017 23:48:41 +0000 (00:48 +0100)]
Merge branch 'MDL-60249-master' of git://github.com/damyon/moodle
sam marshall [Wed, 11 Oct 2017 11:16:12 +0000 (12:16 +0100)]
MDL-60174 core_dml: fix miscellaneous incorrect recordset usage
The new recordset support for Postgres requires transactions and
will cause errors if recordsets are not closed correctly. This
commit fixes problems that were identified during unit tests, and
via some basic code analysis, across all core code. Most of these
are incorrect usage of recordset (forgetting to close them).
sam marshall [Tue, 10 Oct 2017 14:08:54 +0000 (15:08 +0100)]
MDL-60174 core_dml: get_recordset on Postgres eats all the RAM
On Postgres, get_recordset_sql loads all the results into memory
(within the Postgres library, which doesn't count towards the PHP
memory limit, but does count towards making your server run out of
memory) as soon as the query completes.
This commit changes the code to use cursors, which in Postgres
allow the results to be returned in smaller chunks (by default
100,000 rows).
Tobias Reischmann [Mon, 6 Nov 2017 12:29:11 +0000 (13:29 +0100)]
MDL-60669 forum: Added duplicate check for restoring forum subscriptions
Before MDL-59854 it was possible to have duplicate forum subscriptions.
Trying to import backups created from back then, caused a DB exception
due to unqiue key constraints. Now only one of multiple identical forum
subscritions is restored.
Damyon Wiese [Mon, 27 Nov 2017 07:57:41 +0000 (15:57 +0800)]
Merge branch 'MDL-60188-master' of git://github.com/rezaies/moodle
Mark Nelson [Mon, 27 Nov 2017 07:26:43 +0000 (15:26 +0800)]
MDL-37933 core_complete: fixed criteria/criterion naming confusion
Jun Pataleta [Mon, 27 Nov 2017 06:43:32 +0000 (19:43 +1300)]
Merge branch 'MDL-57569-master' of git://github.com/sarjona/moodle
Jun Pataleta [Mon, 27 Nov 2017 06:36:00 +0000 (19:36 +1300)]
Merge branch 'wip-MDL-45068-master' of git://github.com/marinaglancy/moodle
Marina Glancy [Thu, 26 Oct 2017 05:32:54 +0000 (13:32 +0800)]
MDL-60591 mod_forum: inline attachments are not displayed in plain text
Marina Glancy [Tue, 24 Oct 2017 03:14:21 +0000 (11:14 +0800)]
MDL-45068 groups: fixes to group import
- If 'coursename' is specified in the CSV it should match the course short name - thanks Yusuf Yılmaz for the patch
- If 'idnumber' is specified but 'groupidnumber' is not, idnumber should be used for matching the course idnumber only
- If 'groupingname' is not specified, there should be no notices (regression from MDL-42514)
- If 'coursename' or 'idnumber' column is present, it can contain empty values in some/all lines
Shamim Rezaie [Thu, 23 Nov 2017 15:15:27 +0000 (23:15 +0800)]
MDL-60188 groups: cache user's groups and groupings
The function groups_get_user_groups is called too often both before rendering the page and after the page is rendered (using ajax).
The function was executing a query joining 3 tables in each call. The plementation of the function has now modified to store the
query result in a request cache.
Jake Dallimore [Mon, 27 Nov 2017 02:29:55 +0000 (10:29 +0800)]
Merge branch 'MDL-60830-master' of git://github.com/sarjona/moodle
Jun Pataleta [Mon, 27 Nov 2017 02:05:46 +0000 (15:05 +1300)]
Merge branch 'MDL-58887-master' of git://github.com/ryanwyllie/moodle