David Monllao [Tue, 13 Feb 2018 06:48:16 +0000 (07:48 +0100)]
Merge branch 'MDL-45837_master' of git://github.com/markn86/moodle
Andrew Nicols [Tue, 13 Feb 2018 03:01:15 +0000 (11:01 +0800)]
Merge branch 'MDL-61135-master-fixes' of https://github.com/lameze/moodle
Simey Lameze [Tue, 13 Feb 2018 02:10:11 +0000 (10:10 +0800)]
MDL-61135 mod_quiz: deprecate unused fragment_view class
Simey Lameze [Tue, 13 Feb 2018 02:08:22 +0000 (10:08 +0800)]
MDL-61135 mod_quiz: move fragment_view functions to custom_view class
Andrew Nicols [Tue, 13 Feb 2018 01:03:50 +0000 (09:03 +0800)]
Merge branch 'wip-MDL-61344' of https://github.com/ndunand/moodle
Andrew Nicols [Tue, 13 Feb 2018 01:01:31 +0000 (09:01 +0800)]
Merge branch 'MDL-61150' of git://github.com/stronk7/moodle
David Monllao [Mon, 12 Feb 2018 11:13:55 +0000 (12:13 +0100)]
Merge branch 'MDL-61236-master' of git://github.com/farhan6318/moodle
David Monllao [Mon, 12 Feb 2018 09:55:28 +0000 (10:55 +0100)]
Merge branch 'MDL-61153-master' of git://github.com/mihailges/moodle
David Monllao [Mon, 12 Feb 2018 08:40:31 +0000 (09:40 +0100)]
Merge branch 'MDL-61375_master' of git://github.com/markn86/moodle
David Monllao [Mon, 12 Feb 2018 08:32:38 +0000 (09:32 +0100)]
Merge branch 'MDL-56688-master' of https://github.com/nwp90/moodle
David Monllao [Mon, 12 Feb 2018 08:20:50 +0000 (09:20 +0100)]
Merge branch 'mod-lti-fix-test-with-hardcoded-url' of https://github.com/peikk0/moodle
David Monllao [Mon, 12 Feb 2018 08:13:08 +0000 (09:13 +0100)]
Merge branch 'MDL-61425-master' of git://github.com/rezaies/moodle
Andrew Nicols [Mon, 12 Feb 2018 07:17:29 +0000 (15:17 +0800)]
Merge branch 'MDL-61366' of git://github.com/timhunt/moodle
Nicolas Dunand [Fri, 2 Feb 2018 14:25:41 +0000 (15:25 +0100)]
MDL-61344 mod_assign: Show additional files when adding submission
Andrew Nicols [Mon, 12 Feb 2018 05:51:55 +0000 (13:51 +0800)]
Merge branch 'MDL-60958-int-fix-1' of github.com:ryanwyllie/moodle
Ryan Wyllie [Mon, 12 Feb 2018 05:44:06 +0000 (05:44 +0000)]
MDL-60958 calendar: fix test helper action factory
Andrew Nicols [Mon, 12 Feb 2018 05:34:31 +0000 (13:34 +0800)]
Merge branch 'MDL-60958-master' of git://github.com/ryanwyllie/moodle
Ryan Wyllie [Wed, 8 Nov 2017 06:20:02 +0000 (06:20 +0000)]
MDL-60958 calendar: stop db query in repeat collection constructor
Stop loading the parent record in the constructor because it is an
unnecessary DB query for each event instantiation.
Return null on get_repeats() for events that don't have repeats.
Andrew Nicols [Mon, 12 Feb 2018 03:34:56 +0000 (11:34 +0800)]
Merge branch 'MDL-61135-master' of git://github.com/ryanwyllie/moodle
Andrew Nicols [Mon, 12 Feb 2018 03:30:53 +0000 (11:30 +0800)]
Merge branch 'MDL-61305-master-fix' of https://github.com/andrewnicols/moodle
Shamim Rezaie [Mon, 12 Feb 2018 03:28:24 +0000 (14:28 +1100)]
MDL-61425 theme_boost: Made question labels width full in question bank
Andrew Nicols [Mon, 12 Feb 2018 02:38:33 +0000 (10:38 +0800)]
MDL-61305 modinfo: Add back missing require for course
Pierre Guinoiseau [Wed, 7 Feb 2018 03:26:35 +0000 (16:26 +1300)]
MDL-61379 mod_lti: fix a test comparing a hardcoded URL from fixtures
The hardcoded URL from tests/fixtures/ims_cartridge_basic_lti_link.xml
didn't match if TEST_EXTERNAL_FILES_HTTPS_URL was defined, the test
needs to compare with the exact same URL instead of a generated one.
Andrew Nicols [Mon, 12 Feb 2018 00:17:49 +0000 (08:17 +0800)]
Merge branch 'MDL-61305-master' of https://github.com/sammarshallou/moodle
Andrew Nicols [Mon, 12 Feb 2018 00:06:21 +0000 (08:06 +0800)]
Merge branch 'MDL-61413' of git://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Wed, 3 Jan 2018 18:18:29 +0000 (19:18 +0100)]
MDL-61150 xmldb: Let's check the PATH attribute of XMLDB files
Starting with Moodle 3.5 the XMLDB->PATH attribute is checked
to be correct and pointing to the correct plugin directory.
It only was used for writing PHP savepoints code, but better we
ask for strict correctness.
With this patch applied, neither the XMLDB Editor neither install
will be able to load a file with wrong PATH anymore.
Marina Glancy [Thu, 4 Jan 2018 03:25:56 +0000 (11:25 +0800)]
MDL-61150 xmldb: correct path to schema in install.xml
Eloy Lafuente (stronk7) [Wed, 3 Jan 2018 18:25:45 +0000 (19:25 +0100)]
MDL-61150 xmldb: Fix wrong PATH attributes in core
Farhan Karmali [Mon, 29 Jan 2018 16:16:23 +0000 (21:46 +0530)]
MDL-61236 enrol: Course welcome message to be sent from correct contact
Eloy Lafuente (stronk7) [Sun, 11 Feb 2018 01:16:39 +0000 (02:16 +0100)]
MDL-61413 mod_lti: Use sql_compare_text() for comparing TEXTs
Mark Nelson [Fri, 9 Feb 2018 06:46:11 +0000 (14:46 +0800)]
MDL-61375 mod_chat: specify the 'eventtype' to avoid duplicate rows
Mark Nelson [Fri, 9 Feb 2018 03:58:02 +0000 (11:58 +0800)]
MDL-45837 core: minor tidy up to events
Stephen Bourget [Wed, 7 Feb 2018 18:00:37 +0000 (13:00 -0500)]
MDL-45837 Grades: Add unit & behat tests for events
Stephen Bourget [Wed, 7 Feb 2018 17:38:07 +0000 (12:38 -0500)]
MDL-45837 Grades: Add events for grade letters
Stephen Bourget [Wed, 7 Feb 2018 17:34:24 +0000 (12:34 -0500)]
MDL-45837 Grades: Add events for scales
sam marshall [Mon, 29 Jan 2018 17:16:06 +0000 (17:16 +0000)]
MDL-61305 Performance: Modinfo cache can get built in parallel
In a busy site it is possible that one user will access the site
while another is building modinfo cache. This can result in the
cache being built several times at once, potentially causing a
performance issue.
David Monllao [Thu, 8 Feb 2018 08:29:09 +0000 (09:29 +0100)]
weekly release 3.5dev
Andrew Nicols [Thu, 8 Feb 2018 04:01:55 +0000 (12:01 +0800)]
Merge branch 'MDL-61133-master-fixes' of https://github.com/lameze/moodle
Ryan Wyllie [Wed, 7 Feb 2018 02:16:34 +0000 (02:16 +0000)]
MDL-61135 mod_quiz: add behat test for tag filtering in qbank modal
Ryan Wyllie [Wed, 7 Feb 2018 02:15:44 +0000 (02:15 +0000)]
MDL-61135 question: add behat test for tag filtering
Ryan Wyllie [Fri, 2 Feb 2018 03:54:06 +0000 (03:54 +0000)]
MDL-61135 mod_quiz: remove YUI question bank dialogue
Ryan Wyllie [Fri, 2 Feb 2018 03:52:22 +0000 (03:52 +0000)]
MDL-61135 mod_quiz: add tag condition to question bank form
Ryan Wyllie [Fri, 2 Feb 2018 03:50:32 +0000 (03:50 +0000)]
MDL-61135 mod_quiz: add question bank AMD modal
Ryan Wyllie [Fri, 2 Feb 2018 03:47:44 +0000 (03:47 +0000)]
MDL-61135 mod_quiz: add question bank fragment
Ryan Wyllie [Fri, 2 Feb 2018 03:41:34 +0000 (03:41 +0000)]
MDL-61135 question: add tag filter condition
Ryan Wyllie [Fri, 2 Feb 2018 03:32:55 +0000 (03:32 +0000)]
MDL-61135 question: split edit setup logic out from POST param parsing
Decouple the business logic in the question_edit_setup function from
the GET/POST param parsing to allow the business logic to be run
on params directly passed to it.
Simey Lameze [Thu, 8 Feb 2018 02:10:51 +0000 (10:10 +0800)]
MDL-61133 core_question: disable form change checker
David Monllao [Wed, 7 Feb 2018 06:57:18 +0000 (07:57 +0100)]
MDL-52811 version: Bump to update system capabilities and lang str
Andrew Nicols [Wed, 7 Feb 2018 04:52:26 +0000 (12:52 +0800)]
Merge branch 'MDL-61377-master' of git://github.com/rezaies/moodle
Shamim Rezaie [Wed, 7 Feb 2018 03:35:36 +0000 (14:35 +1100)]
MDL-61377 Core: Fixed faulty warning when using progress_bar
Andrew Nicols [Tue, 6 Feb 2018 23:07:27 +0000 (07:07 +0800)]
Merge branch 'MDL-52832' of https://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Tue, 6 Feb 2018 17:30:11 +0000 (18:30 +0100)]
MDL-52832 quiz: sql fixing couple of incorrect group by uses
Tim Hunt [Tue, 6 Feb 2018 12:09:43 +0000 (12:09 +0000)]
MDL-61366 setuplib: safely construct the ajax renderer when needed
David Monllao [Tue, 6 Feb 2018 11:18:27 +0000 (12:18 +0100)]
Merge branch 'MDL-52832-master' of https://github.com/lucaboesch/moodle
David Monllao [Tue, 6 Feb 2018 09:46:35 +0000 (10:46 +0100)]
Merge branch 'master_MDL-60421' of https://github.com/danmarsden/moodle
David Monllao [Tue, 6 Feb 2018 07:10:10 +0000 (08:10 +0100)]
MDL-52811 course: Note about the new capability when creating courses
David Monllao [Tue, 6 Feb 2018 07:00:11 +0000 (08:00 +0100)]
Merge branch 'MDL-52811_prevent_forcelang' of git://github.com/davosmith/moodle
Andrew Nicols [Tue, 6 Feb 2018 06:33:41 +0000 (14:33 +0800)]
Merge branch 'MDL-61132-master' of git://github.com/rezaies/moodle
Andrew Nicols [Tue, 6 Feb 2018 06:00:51 +0000 (14:00 +0800)]
Merge branch 'MDL-61133-master' of git://github.com/lameze/moodle
Simey Lameze [Tue, 6 Feb 2018 02:24:22 +0000 (10:24 +0800)]
MDL-61133 core_question: move all selectors to a new module
Simey Lameze [Wed, 31 Jan 2018 05:46:30 +0000 (13:46 +0800)]
MDL-61133 core_question: add new question tags modal
Eloy Lafuente (stronk7) [Mon, 5 Feb 2018 19:17:34 +0000 (20:17 +0100)]
Merge branch 'MDL-61168-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Mon, 5 Feb 2018 19:06:32 +0000 (20:06 +0100)]
Merge branch 'MDL-61341-master' of git://github.com/andrewnicols/moodle
Davo Smith [Mon, 5 Feb 2018 13:20:42 +0000 (13:20 +0000)]
MDL-52811 course: moodle/course:setforcedlanguage integration fixes
David Monllao [Mon, 5 Feb 2018 10:56:18 +0000 (11:56 +0100)]
Merge branch 'MDL-61027-master' of git://github.com/rezaies/moodle
David Monllao [Mon, 5 Feb 2018 10:50:39 +0000 (11:50 +0100)]
Merge branch 'MDL-61251-master' of https://github.com/lucaboesch/moodle
David Monllao [Mon, 5 Feb 2018 10:18:34 +0000 (11:18 +0100)]
Merge branch 'MDL-42764_master' of git://github.com/markn86/moodle
Andrew Nicols [Mon, 5 Feb 2018 09:29:25 +0000 (17:29 +0800)]
Merge branch 'MDL-61269' of git://github.com/stronk7/moodle
Andrew Nicols [Mon, 5 Feb 2018 07:43:47 +0000 (15:43 +0800)]
Merge branch 'MDL-51189-master' of git://github.com/rezaies/moodle
Ryan Wyllie [Fri, 2 Feb 2018 03:28:58 +0000 (03:28 +0000)]
MDL-61135 core_tag: add function get_tags_by_area_in_contexts
Add a function to allow for searching tags by an area (component and
itemtype) in a given set of contexts.
Shamim Rezaie [Mon, 5 Feb 2018 02:59:39 +0000 (13:59 +1100)]
MDL-61132 Questions: Fix behat failures
Simey Lameze [Wed, 31 Jan 2018 05:43:05 +0000 (13:43 +0800)]
MDL-61133 core_question: tags form and fragment callback
Simey Lameze [Wed, 31 Jan 2018 05:40:46 +0000 (13:40 +0800)]
MDL-61133 core_question: new submit_tags_form webservice
Simey Lameze [Wed, 31 Jan 2018 05:38:23 +0000 (13:38 +0800)]
MDL-61133 core_question: add tags column class to question list
Simey Lameze [Tue, 9 Jan 2018 00:27:46 +0000 (08:27 +0800)]
MDL-61133 core_output: add fontawesome mapping for tags icon
Shamim Rezaie [Tue, 30 Jan 2018 03:18:29 +0000 (14:18 +1100)]
MDL-61132 Questions: Unit tests compatibility
Modified unit tests to adapt with "Top" categories.
Shamim Rezaie [Tue, 30 Jan 2018 03:17:08 +0000 (14:17 +1100)]
MDL-61132 Questions: Adapt logic on export/import
Modified import/export to adapt with "Top" categories.
Shamim Rezaie [Tue, 30 Jan 2018 03:05:02 +0000 (14:05 +1100)]
MDL-61132 Questions: Adapt logic on backup/restore
Modifying backup/restore to adapt with "Top" categories.
Shamim Rezaie [Tue, 30 Jan 2018 02:46:39 +0000 (13:46 +1100)]
MDL-61132 Quiz: "Random" question from "Top" categories
* Support for adding ranodm questions from "Top" categories
Shamim Rezaie [Tue, 30 Jan 2018 02:05:19 +0000 (13:05 +1100)]
MDL-61132 Questions: Question Bank amendments to cope with Top category
* Display "Top" categories in the category filter when listing questions in the question bank
* Prevent editing "Top" categories
* Prevent deleting "Top" categories
Shamim Rezaie [Tue, 30 Jan 2018 01:55:39 +0000 (12:55 +1100)]
MDL-61132 Questions: Add "Top" categories by default when don't exist
Create "Top" categories along with the default categories when they don't exist
Shamim Rezaie [Tue, 30 Jan 2018 00:42:27 +0000 (11:42 +1100)]
MDL-61132 Questions: Upgrade step to add Top to existing contexts
Upgrade script to add a "Top" category as a real category to the question bank
Eloy Lafuente (stronk7) [Sun, 4 Feb 2018 18:38:32 +0000 (19:38 +0100)]
MDL-61269 composer: better license GPL-3.0-or-later
Source: https://spdx.org/licenses/
Ryan Wyllie [Fri, 2 Feb 2018 03:26:26 +0000 (03:26 +0000)]
MDL-61135 templates: improve loading icon for loading templates
Ryan Wyllie [Fri, 2 Feb 2018 03:23:17 +0000 (03:23 +0000)]
MDL-61135 javascript: fix modal body height resizing when loading
Andrew Nicols [Fri, 2 Feb 2018 03:31:12 +0000 (11:31 +0800)]
MDL-61341 theme_boost: Fix usertour zindex calculations
Andrew Nicols [Fri, 2 Feb 2018 03:29:33 +0000 (11:29 +0800)]
MDL-61341 theme_boost: Modify variables used for calculations
Variables must be of the same type for Math to take place. We cannot
mix REM and EM because they have different relative roots.
Jun Pataleta [Mon, 8 Jan 2018 08:34:37 +0000 (16:34 +0800)]
MDL-61168 mod_assign: Truncate only the online text submission
Luca Bösch [Wed, 31 Jan 2018 08:48:45 +0000 (09:48 +0100)]
MDL-61251 admin: configenablerssfeedsdisabled2 string more correct.
Luca Bösch [Tue, 28 Nov 2017 00:25:29 +0000 (01:25 +0100)]
MDL-52832 quiz: timeclose in activities block looks after overrides.
Davo Smith [Thu, 1 Feb 2018 16:48:14 +0000 (16:48 +0000)]
MDL-52811 course: fix unit tests broken by setforcedlanguage
Davo Smith [Fri, 22 Dec 2017 09:49:37 +0000 (09:49 +0000)]
MDL-52811 course: prevent setting of 'lang' without permission
Yair Spielmann [Mon, 18 Jan 2016 13:48:30 +0000 (13:48 +0000)]
MDL-52811 course: Require course:setforcedlanguage to force language.
David Monllao [Thu, 1 Feb 2018 13:26:35 +0000 (14:26 +0100)]
weekly release 3.5dev
David Monllao [Thu, 1 Feb 2018 13:26:33 +0000 (14:26 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Dan Marsden [Thu, 1 Feb 2018 07:58:31 +0000 (20:58 +1300)]
MDL-60421 tool_cohortroles: fix deprecated call.
Jake Dallimore [Thu, 1 Feb 2018 06:55:50 +0000 (14:55 +0800)]
Merge branch 'MDL-60077-master-fix' of https://github.com/andrewnicols/moodle
Andrew Nicols [Thu, 1 Feb 2018 06:28:13 +0000 (14:28 +0800)]
MDL-60077 tool_usertours: Pull v0.12.2 of usertours for triangle fix
Andrew Nicols [Thu, 1 Feb 2018 00:03:03 +0000 (08:03 +0800)]
MDL-37190 blocks: Fix behat failure with new langstring
David Mudrák [Wed, 31 Jan 2018 22:05:22 +0000 (23:05 +0100)]
MDL-61242 repository_equella: Fix missing class repository
The call to the class 'repository' introduced in the commit
d05c2ac7cc78
didn't fully work and threw: "Exception - Class 'repository' not found".
This fixes the missing library inclusion.