moodle.git
3 years agoMerge branch 'MDL-55382-master' of git://github.com/damyon/moodle
David Monllao [Mon, 15 Jan 2018 09:05:05 +0000 (10:05 +0100)]
Merge branch 'MDL-55382-master' of git://github.com/damyon/moodle

3 years agoMerge branch 'MDL-61010-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 15 Jan 2018 08:53:48 +0000 (09:53 +0100)]
Merge branch 'MDL-61010-master' of git://github.com/andrewnicols/moodle

3 years agoMerge branch 'MDL-61205_m35v1' of git://github.com/sbourget/moodle
Andrew Nicols [Mon, 15 Jan 2018 06:17:01 +0000 (14:17 +0800)]
Merge branch 'MDL-61205_m35v1' of git://github.com/sbourget/moodle

3 years agoMerge branch 'MDL-61156-master' of https://github.com/mwehr/moodle
Andrew Nicols [Mon, 15 Jan 2018 05:48:08 +0000 (13:48 +0800)]
Merge branch 'MDL-61156-master' of https://github.com/mwehr/moodle

3 years agoMDL-61156 enrol_manual: Fixes not working manual quick enrolment in IE11
wehr [Fri, 12 Jan 2018 08:14:28 +0000 (09:14 +0100)]
MDL-61156 enrol_manual: Fixes not working manual quick enrolment in IE11

3 years agoMDL-61205 completion: allow expected completion to support time
Stephen Bourget [Fri, 12 Jan 2018 02:30:13 +0000 (21:30 -0500)]
MDL-61205 completion: allow expected completion to support time

3 years agoweekly release 3.5dev
Eloy Lafuente (stronk7) [Fri, 12 Jan 2018 01:12:35 +0000 (02:12 +0100)]
weekly release 3.5dev

3 years agoMerge branch 'MDL-61177-master' of git://github.com/andrewnicols/moodle
Jake Dallimore [Thu, 11 Jan 2018 01:22:24 +0000 (09:22 +0800)]
Merge branch 'MDL-61177-master' of git://github.com/andrewnicols/moodle

3 years agoMerge branch 'MDL-60427_dnd_folder_improved' of git://github.com/davosmith/moodle
David Monllao [Wed, 10 Jan 2018 11:16:38 +0000 (12:16 +0100)]
Merge branch 'MDL-60427_dnd_folder_improved' of git://github.com/davosmith/moodle

3 years agoMDL-60427 dndupload: fix Firefox handling of 0-byte folders
Davo Smith [Wed, 10 Jan 2018 09:58:51 +0000 (09:58 +0000)]
MDL-60427 dndupload: fix Firefox handling of 0-byte folders

3 years agoMDL-61143 core_files: Don't append dot when checking domain names or IP addresses.
Cameron Ball [Wed, 10 Jan 2018 06:57:29 +0000 (14:57 +0800)]
MDL-61143 core_files: Don't append dot when checking domain names or IP addresses.

Previously we appended a dot at the end of IP addresses and domain names in the
cURL security helper, but it causes issues with Google OAuth so this patch removes it.

3 years agoMerge branch 'MDL-43648-int-fix-1' of github.com:ryanwyllie/moodle
Andrew Nicols [Wed, 10 Jan 2018 02:38:20 +0000 (10:38 +0800)]
Merge branch 'MDL-43648-int-fix-1' of github.com:ryanwyllie/moodle

3 years agoMDL-43648 form: fix hours and minutes in date_time_selector
Ryan Wyllie [Wed, 10 Jan 2018 02:28:19 +0000 (02:28 +0000)]
MDL-43648 form: fix hours and minutes in date_time_selector

3 years agoMerge branch 'MDL-61061_hideif_group' of git://github.com/davosmith/moodle
Andrew Nicols [Wed, 10 Jan 2018 00:46:05 +0000 (08:46 +0800)]
Merge branch 'MDL-61061_hideif_group' of git://github.com/davosmith/moodle

3 years agoMDL-61177 badges: JS pending checks in connection test
Andrew Nicols [Wed, 10 Jan 2018 00:12:52 +0000 (08:12 +0800)]
MDL-61177 badges: JS pending checks in connection test

3 years agoMDL-61131 repositories: Added a key to verify incoming urls.
Adrian Greeve [Fri, 5 Jan 2018 02:49:39 +0000 (10:49 +0800)]
MDL-61131 repositories: Added a key to verify incoming urls.

3 years agoMDL-61143 core_files: Update unit tests for curl_security_helper
Cameron Ball [Wed, 3 Jan 2018 08:10:37 +0000 (16:10 +0800)]
MDL-61143 core_files: Update unit tests for curl_security_helper

Previously some of the unit tests were passing "by accident" becuase
we had the security helper letting through domains where the DNS lookup
failed. That behaviour has changed and now such domains are blocked.

Additionally tests for domains with multiple A records and weird Unicode
stuff have been added.

This patch also mocks the DNS resolution in the test, rather than actually
resolving the domain.

3 years agoMDL-61143 core_files: Block hosts that cannot be determined to be an IP address of...
Cameron Ball [Wed, 3 Jan 2018 08:09:49 +0000 (16:09 +0800)]
MDL-61143 core_files: Block hosts that cannot be determined to be an IP address of domain name

Freaky deaky Unicode/octal/hex domains can be resolved by cURL but are technically not valid.

This patch causes anything that Moodle does not consider to be a valid domain or IP to be blocked
by the cURL security helper.

3 years agoMDL-61143 core_files: Check all A records when testing blocked IPs
Cameron Ball [Tue, 2 Jan 2018 06:42:09 +0000 (14:42 +0800)]
MDL-61143 core_files: Check all A records when testing blocked IPs

3 years agoMDL-60908 mod_quiz: Return question state only when configured
Juan Leyva [Thu, 7 Dec 2017 18:07:27 +0000 (19:07 +0100)]
MDL-60908 mod_quiz: Return question state only when configured

The question state should be returned following the quiz review options
settings.

3 years agoMerge branch 'wip-MDL-60742-master' of git://github.com/marinaglancy/moodle
David Monllao [Tue, 9 Jan 2018 08:52:44 +0000 (09:52 +0100)]
Merge branch 'wip-MDL-60742-master' of git://github.com/marinaglancy/moodle

3 years agoMerge branch 'MDL-60079-master' of https://github.com/nashtechdev01/moodle
David Monllao [Tue, 9 Jan 2018 07:09:15 +0000 (08:09 +0100)]
Merge branch 'MDL-60079-master' of https://github.com/nashtechdev01/moodle

3 years agoMerge branch 'wip-MDL-60415-master' of git://github.com/abgreeve/moodle
Andrew Nicols [Tue, 9 Jan 2018 06:30:34 +0000 (14:30 +0800)]
Merge branch 'wip-MDL-60415-master' of git://github.com/abgreeve/moodle

3 years agoMDL-60415 mod_lti: avoid confusing error-message
David Knuplesch [Tue, 12 Dec 2017 10:44:44 +0000 (11:44 +0100)]
MDL-60415 mod_lti: avoid confusing error-message

3 years agoMDL-60079 User tours: leave unnecessary aria tags in the page
Thinh Pham [Wed, 4 Oct 2017 01:54:54 +0000 (08:54 +0700)]
MDL-60079 User tours: leave unnecessary aria tags in the page

3 years agoMerge branch 'MDL-43648_m35v2' of https://github.com/sbourget/moodle
Andrew Nicols [Tue, 9 Jan 2018 03:43:33 +0000 (11:43 +0800)]
Merge branch 'MDL-43648_m35v2' of https://github.com/sbourget/moodle

3 years agoMerge branch 'MDL-61068-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Tue, 9 Jan 2018 01:52:47 +0000 (09:52 +0800)]
Merge branch 'MDL-61068-master' of git://github.com/andrewnicols/moodle

3 years agoMDL-61068 mod_forum: Fix neighbour test dates
Andrew Nicols [Tue, 9 Jan 2018 01:08:40 +0000 (09:08 +0800)]
MDL-61068 mod_forum: Fix neighbour test dates

3 years agoMerge branch 'MDL-60943-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Mon, 8 Jan 2018 23:52:17 +0000 (00:52 +0100)]
Merge branch 'MDL-60943-master' of https://github.com/sammarshallou/moodle

3 years agoMerge branch 'MDL-61098-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Mon, 8 Jan 2018 20:06:13 +0000 (21:06 +0100)]
Merge branch 'MDL-61098-master' of git://github.com/jleyva/moodle

3 years agoMerge branch 'master_MDL-61050' of https://github.com/danmarsden/moodle
Eloy Lafuente (stronk7) [Mon, 8 Jan 2018 19:38:29 +0000 (20:38 +0100)]
Merge branch 'master_MDL-61050' of https://github.com/danmarsden/moodle

3 years agoMerge branch 'MDL-61068-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Mon, 8 Jan 2018 18:56:24 +0000 (19:56 +0100)]
Merge branch 'MDL-61068-master' of git://github.com/andrewnicols/moodle

3 years agoMerge branch 'MDL-60427_dnd_folder_improved' of git://github.com/davosmith/moodle
David Monllao [Mon, 8 Jan 2018 16:42:30 +0000 (17:42 +0100)]
Merge branch 'MDL-60427_dnd_folder_improved' of git://github.com/davosmith/moodle

3 years agoMerge branch 'MDL-57892_filter_outline' of git://github.com/davosmith/moodle
David Monllao [Mon, 8 Jan 2018 16:19:12 +0000 (17:19 +0100)]
Merge branch 'MDL-57892_filter_outline' of git://github.com/davosmith/moodle

3 years agoMerge branch 'MDL-61169-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 8 Jan 2018 13:58:31 +0000 (14:58 +0100)]
Merge branch 'MDL-61169-master' of git://github.com/andrewnicols/moodle

3 years agoMDL-61169 iplookup: Change to github.com IP
Andrew Nicols [Mon, 8 Jan 2018 09:13:06 +0000 (17:13 +0800)]
MDL-61169 iplookup: Change to github.com IP

3 years agoMerge branch 'MDL-61046-master-enfix' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 8 Jan 2018 09:05:39 +0000 (10:05 +0100)]
Merge branch 'MDL-61046-master-enfix' of git://github.com/mudrd8mz/moodle

3 years agoMerge branch 'MDL-57786-master' of git://github.com/zig-moodle/moodle
Andrew Nicols [Mon, 8 Jan 2018 07:16:06 +0000 (15:16 +0800)]
Merge branch 'MDL-57786-master' of git://github.com/zig-moodle/moodle

3 years agoMerge branch 'MDL-43042-master' of git://github.com/mihailges/moodle
Andrew Nicols [Mon, 8 Jan 2018 07:12:51 +0000 (15:12 +0800)]
Merge branch 'MDL-43042-master' of git://github.com/mihailges/moodle

3 years agoMerge branch 'MDL-53985-master' of git://github.com/damyon/moodle
Andrew Nicols [Mon, 8 Jan 2018 04:39:19 +0000 (12:39 +0800)]
Merge branch 'MDL-53985-master' of git://github.com/damyon/moodle

3 years agoMDL-61068 mod_forum: Round timed posts to nearest 60 seconds
Andrew Nicols [Wed, 20 Dec 2017 03:31:28 +0000 (11:31 +0800)]
MDL-61068 mod_forum: Round timed posts to nearest 60 seconds

This slightly reduces the effectiveness of the DB query cache, but gives
us correct results every time.

3 years agoMDL-43042 lesson: Confusing feedback order in multiple answer questions
Mihail Geshoski [Fri, 5 Jan 2018 07:03:14 +0000 (15:03 +0800)]
MDL-43042 lesson: Confusing feedback order in multiple answer questions

3 years agoMDL-61050 auth_ldap: fix regression caused by MDL-42834
Dan Marsden [Thu, 4 Jan 2018 21:21:12 +0000 (10:21 +1300)]
MDL-61050 auth_ldap: fix regression caused by MDL-42834

3 years agoMDL-60943 core_search: Improve exception for preg_replace errors
sam marshall [Fri, 1 Dec 2017 15:14:55 +0000 (15:14 +0000)]
MDL-60943 core_search: Improve exception for preg_replace errors

3 years agoMDL-61046 lang: Merge English strings from the en_fix language pack
Helen Foster [Thu, 4 Jan 2018 10:30:54 +0000 (11:30 +0100)]
MDL-61046 lang: Merge English strings from the en_fix language pack

Significant string changes:

* pluginname_desc, enrol_category - improved explanation
* pathtopythondesc, core_admin - mentioning Python version
* configdeleteunconfirmed, core_admin - setting applies to more than
  just email-based self-registration

3 years agoweekly release 3.5dev
David Monllao [Thu, 4 Jan 2018 10:02:34 +0000 (11:02 +0100)]
weekly release 3.5dev

3 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
David Monllao [Thu, 4 Jan 2018 10:02:33 +0000 (11:02 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

3 years agoMDL-60742 calendar: allow customisation of 12/24h time format strings
Marina Glancy [Thu, 4 Jan 2018 06:52:57 +0000 (14:52 +0800)]
MDL-60742 calendar: allow customisation of 12/24h time format strings

3 years agoMerge branch 'MDL-40613-master-ldap' of git://github.com/andrewnicols/moodle
Jun Pataleta [Thu, 4 Jan 2018 06:57:32 +0000 (14:57 +0800)]
Merge branch 'MDL-40613-master-ldap' of git://github.com/andrewnicols/moodle

3 years agoMDL-40613 auth_ldap: Call update_user_record on create
Andrew Nicols [Thu, 4 Jan 2018 06:30:48 +0000 (14:30 +0800)]
MDL-40613 auth_ldap: Call update_user_record on create

3 years agoMerge branch 'MDL-40613_master-fix' of git://github.com/markn86/moodle
Jun Pataleta [Thu, 4 Jan 2018 01:57:38 +0000 (09:57 +0800)]
Merge branch 'MDL-40613_master-fix' of git://github.com/markn86/moodle

3 years agoAutomatically generated installer lang files
AMOS bot [Thu, 4 Jan 2018 00:06:51 +0000 (00:06 +0000)]
Automatically generated installer lang files

3 years agoMDL-61061 formslib: make sure hideIf rules hide labels within groups
Davo Smith [Tue, 19 Dec 2017 10:48:46 +0000 (10:48 +0000)]
MDL-61061 formslib: make sure hideIf rules hide labels within groups

3 years agoMDL-57892 report_outline: add behat tests
Davo Smith [Tue, 28 Nov 2017 10:16:25 +0000 (10:16 +0000)]
MDL-57892 report_outline: add behat tests

3 years agoMDL-57892 report_outline: add date filter
Davo Smith [Tue, 28 Nov 2017 08:54:46 +0000 (08:54 +0000)]
MDL-57892 report_outline: add date filter

3 years agoMDL-60427 dndupload: detect attempts to upload folders
Davo Smith [Wed, 6 Dec 2017 09:33:44 +0000 (09:33 +0000)]
MDL-60427 dndupload: detect attempts to upload folders

3 years agoMDL-40613 auth_ldap: removed usage of profile_load_custom_fields()
Mark Nelson [Wed, 3 Jan 2018 09:16:05 +0000 (17:16 +0800)]
MDL-40613 auth_ldap: removed usage of profile_load_custom_fields()

Also reverted profile_load_custom_fields() signature and changed
behaviour of the new function profile_save_custom_fields().

3 years agoMerge branch 'MDL-60962-master' of git://github.com/ryanwyllie/moodle
Jun Pataleta [Wed, 3 Jan 2018 08:53:49 +0000 (16:53 +0800)]
Merge branch 'MDL-60962-master' of git://github.com/ryanwyllie/moodle

3 years agoMerge branch 'MDL-56543-master' of git://github.com/ankitagarwal/moodle
Jun Pataleta [Wed, 3 Jan 2018 01:26:12 +0000 (09:26 +0800)]
Merge branch 'MDL-56543-master' of git://github.com/ankitagarwal/moodle

3 years agoAutomatically generated installer lang files
AMOS bot [Wed, 3 Jan 2018 00:06:15 +0000 (00:06 +0000)]
Automatically generated installer lang files

3 years agoMerge branch 'MDL-23887-master-2' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Tue, 2 Jan 2018 23:24:41 +0000 (00:24 +0100)]
Merge branch 'MDL-23887-master-2' of https://github.com/snake/moodle

3 years agoMerge branch 'MDL-57727-master' of git://github.com/mihailges/moodle
David Monllao [Tue, 2 Jan 2018 11:33:40 +0000 (12:33 +0100)]
Merge branch 'MDL-57727-master' of git://github.com/mihailges/moodle

3 years agoMDL-23887 database: fix use of deprecated system tables for mssql
Jake Dallimore [Fri, 8 Dec 2017 03:55:28 +0000 (11:55 +0800)]
MDL-23887 database: fix use of deprecated system tables for mssql

Catalog views are available which we should use instead.

3 years agoMerge branch 'MDL-40613_master' of git://github.com/markn86/moodle
Jun Pataleta [Tue, 2 Jan 2018 08:50:29 +0000 (16:50 +0800)]
Merge branch 'MDL-40613_master' of git://github.com/markn86/moodle

3 years agoMerge branch 'MDL-59813-master' of git://github.com/farhan6318/moodle
David Monllao [Tue, 2 Jan 2018 08:03:03 +0000 (09:03 +0100)]
Merge branch 'MDL-59813-master' of git://github.com/farhan6318/moodle

3 years agoMerge branch 'MDL-61107' of git://github.com/timhunt/moodle
David Monllao [Tue, 2 Jan 2018 07:34:39 +0000 (08:34 +0100)]
Merge branch 'MDL-61107' of git://github.com/timhunt/moodle

3 years agoMDL-57786 mod_assign: Fix word count for online text submissions
Zig Tan [Tue, 2 Jan 2018 05:10:37 +0000 (13:10 +0800)]
MDL-57786 mod_assign: Fix word count for online text submissions

3 years agoMerge branch 'MDL-56945-master' of git://github.com/zig-moodle/moodle
Jun Pataleta [Tue, 2 Jan 2018 02:09:45 +0000 (10:09 +0800)]
Merge branch 'MDL-56945-master' of git://github.com/zig-moodle/moodle

3 years agoMDL-59813 navigation: Changed 'more..' link to point to dashboard
Farhan Karmali [Fri, 29 Dec 2017 09:10:55 +0000 (14:40 +0530)]
MDL-59813 navigation: Changed 'more..' link to point to dashboard

In the navigation menu , the 'more' option was previously taking the user to all course page
This patch fixes that behavior and takes the user to the dashboard

3 years agoMDL-56945 assign: Add 'View all submissions' link to PDF feedback/grader
Zig Tan [Fri, 29 Dec 2017 01:47:40 +0000 (09:47 +0800)]
MDL-56945 assign: Add 'View all submissions' link to PDF feedback/grader

3 years agoweekly release 3.5dev
David Monllao [Thu, 28 Dec 2017 11:35:12 +0000 (12:35 +0100)]
weekly release 3.5dev

3 years agoMDL-51089 mod_quiz: Hide first page last node
David Monllao [Thu, 28 Dec 2017 09:15:08 +0000 (10:15 +0100)]
MDL-51089 mod_quiz: Hide first page last node

3 years agoMDL-56543 tasks: Add last run column to task list
Ankit Agarwal [Thu, 16 Nov 2017 05:03:07 +0000 (10:33 +0530)]
MDL-56543 tasks: Add last run column to task list

3 years agoMDL-50246 question: enable/disable add question button when available
David Monllao [Wed, 27 Dec 2017 05:45:39 +0000 (06:45 +0100)]
MDL-50246 question: enable/disable add question button when available

3 years agoMerge branch 'MDL-60363-master' of https://github.com/Kathrin84/moodle
Eloy Lafuente (stronk7) [Tue, 26 Dec 2017 23:41:39 +0000 (00:41 +0100)]
Merge branch 'MDL-60363-master' of https://github.com/Kathrin84/moodle

3 years agoMerge branch 'MDL-60966-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Tue, 26 Dec 2017 23:36:00 +0000 (00:36 +0100)]
Merge branch 'MDL-60966-master' of https://github.com/snake/moodle

3 years agoMerge branch 'MDL-60981-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Tue, 26 Dec 2017 23:28:54 +0000 (00:28 +0100)]
Merge branch 'MDL-60981-master' of https://github.com/sammarshallou/moodle

3 years agoMerge branch 'MDL-50246-master' of https://github.com/lucaboesch/moodle
David Monllao [Tue, 26 Dec 2017 16:13:54 +0000 (17:13 +0100)]
Merge branch 'MDL-50246-master' of https://github.com/lucaboesch/moodle

3 years agoMerge branch 'MDL-51089-master' of https://github.com/lucaboesch/moodle
David Monllao [Tue, 26 Dec 2017 15:43:59 +0000 (16:43 +0100)]
Merge branch 'MDL-51089-master' of https://github.com/lucaboesch/moodle

3 years agoMerge branch 'MDL-58983-master' of git://github.com/damyon/moodle
David Monllao [Tue, 26 Dec 2017 13:00:48 +0000 (14:00 +0100)]
Merge branch 'MDL-58983-master' of git://github.com/damyon/moodle

3 years agoMerge branch 'MDL-61056-master-feedbackresponsenav' of git://github.com/mudrd8mz...
David Monllao [Tue, 26 Dec 2017 12:11:33 +0000 (13:11 +0100)]
Merge branch 'MDL-61056-master-feedbackresponsenav' of git://github.com/mudrd8mz/moodle

3 years agoMerge branch 'MDL-33886-master' of git://github.com/zig-moodle/moodle
David Monllao [Tue, 26 Dec 2017 09:29:47 +0000 (10:29 +0100)]
Merge branch 'MDL-33886-master' of git://github.com/zig-moodle/moodle

3 years agoMDL-60439 block_tags: Removing extra var assign
David Monllao [Tue, 26 Dec 2017 09:18:58 +0000 (10:18 +0100)]
MDL-60439 block_tags: Removing extra var assign

3 years agoMerge branch 'MDL-60439-master' of https://github.com/lucaboesch/moodle
David Monllao [Tue, 26 Dec 2017 09:17:40 +0000 (10:17 +0100)]
Merge branch 'MDL-60439-master' of https://github.com/lucaboesch/moodle

3 years agoMerge branch 'MDL-60971-master' of git://github.com/mihailges/moodle
David Monllao [Tue, 26 Dec 2017 09:03:28 +0000 (10:03 +0100)]
Merge branch 'MDL-60971-master' of git://github.com/mihailges/moodle

3 years agoMerge branch 'MDL-60942-master' of git://github.com/ryanwyllie/moodle
David Monllao [Tue, 26 Dec 2017 08:44:44 +0000 (09:44 +0100)]
Merge branch 'MDL-60942-master' of git://github.com/ryanwyllie/moodle

3 years agoMerge branch 'MDL-60359-master' of https://github.com/lucaboesch/moodle
David Monllao [Tue, 26 Dec 2017 08:10:24 +0000 (09:10 +0100)]
Merge branch 'MDL-60359-master' of https://github.com/lucaboesch/moodle

3 years agoMerge branch 'MDL-2051-master-2' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 26 Dec 2017 00:25:14 +0000 (01:25 +0100)]
Merge branch 'MDL-2051-master-2' of git://github.com/junpataleta/moodle

3 years agoMerge branch 'wip-MDL-56246-master' of https://github.com/kwiliarty/moodle
Eloy Lafuente (stronk7) [Tue, 26 Dec 2017 00:04:19 +0000 (01:04 +0100)]
Merge branch 'wip-MDL-56246-master' of https://github.com/kwiliarty/moodle

3 years agoMerge branch 'MDL-61062_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Mon, 25 Dec 2017 23:52:25 +0000 (00:52 +0100)]
Merge branch 'MDL-61062_master' of git://github.com/dmonllao/moodle

3 years agoMerge branch 'MDL-61055-master-v2' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Mon, 25 Dec 2017 23:44:08 +0000 (00:44 +0100)]
Merge branch 'MDL-61055-master-v2' of git://github.com/lameze/moodle

3 years agoMerge branch 'MDL-43827-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Mon, 25 Dec 2017 23:25:28 +0000 (00:25 +0100)]
Merge branch 'MDL-43827-master' of git://github.com/mihailges/moodle

3 years agoMDL-61107 quiz editing: handle invalid Maximum grade input
Tim Hunt [Fri, 22 Dec 2017 13:35:29 +0000 (13:35 +0000)]
MDL-61107 quiz editing: handle invalid Maximum grade input

3 years agoMDL-60981 core_search: UI to gradually reindex a single area
sam marshall [Thu, 7 Dec 2017 12:27:31 +0000 (12:27 +0000)]
MDL-60981 core_search: UI to gradually reindex a single area

Adds a new 'Gradual reindex' link to the search areas page for each
area. When clicked, this takes you to a confirm prompt, and then
adds each context from that search area to the indexing queue.

The search areas page now displays the 'Additional indexing queue'
(if it is non-empty). The table shows the first 10 items in the
queue, and it also indicates the total number in case there are
more. (I don't think people really need to see the entire
contents of it, so I didn't implement paging.)

3 years agoMDL-60981 core_search: New indexpriority field in search index queue
sam marshall [Wed, 6 Dec 2017 18:17:44 +0000 (18:17 +0000)]
MDL-60981 core_search: New indexpriority field in search index queue

Adds indexpriority field to the database table which holds a queue of
indexing requests. This allows for potentially large area reindexes
to have a lower priority, so as not to halt the special indexes that
run after a course restore.

3 years agoMDL-60981 core_search: Add get_contexts_to_reindex API
sam marshall [Thu, 7 Dec 2017 12:26:55 +0000 (12:26 +0000)]
MDL-60981 core_search: Add get_contexts_to_reindex API

This new API returns a list of contexts for each search area. This
allows the areas to be reindexed in a sensible order (roughly
speaking, newest first) and also allows this to be controlled by
each area.

An implementation in the forum module means that forums are ordered
by the date of the most recent discussion, so that active forums
will be reindexed early even if they were created a long time ago.

3 years agoMDL-60363 conditional activities: Dim the icon also in student's view.
Kathrin Osswald [Fri, 6 Oct 2017 09:58:57 +0000 (11:58 +0200)]
MDL-60363 conditional activities: Dim the icon also in student's view.

The class dimmed_text would only dim the activity's title and not the icon.
The teacher has both, icon and text, dimmed. So I added the class dimmed
to the class dimmed_text, what dims both elements for the students.

3 years agoMDL-56246 gradebook: sitewide setting for grade export with feedback
Kevin Wiliarty [Tue, 4 Oct 2016 03:22:54 +0000 (23:22 -0400)]
MDL-56246 gradebook: sitewide setting for grade export with feedback

3 years agoMDL-50246 quiz: Add selected questions to quiz btn disabled 0 selected
Luca Bösch [Fri, 15 Dec 2017 16:20:30 +0000 (17:20 +0100)]
MDL-50246 quiz: Add selected questions to quiz btn disabled 0 selected

3 years agoMDL-60439 blocks: Tags block title multilang
Luca Bösch [Tue, 5 Dec 2017 07:27:51 +0000 (08:27 +0100)]
MDL-60439 blocks: Tags block title multilang