moodle.git
2 years agoMDL-61575 message_notification: replace lp/dialogue with core/modal
cescobedo [Mon, 28 Jan 2019 09:33:25 +0000 (10:33 +0100)]
MDL-61575 message_notification: replace lp/dialogue with core/modal

2 years agoweekly release 3.7dev
Eloy Lafuente (stronk7) [Thu, 17 Jan 2019 16:47:53 +0000 (17:47 +0100)]
weekly release 3.7dev

2 years agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Thu, 17 Jan 2019 16:47:51 +0000 (17:47 +0100)]
NOBUG: Fixed SVG browser compatibility

2 years agoMerge branch 'MDL-49399-master' of git://github.com/andrewnicols/moodle
Jake Dallimore [Thu, 17 Jan 2019 00:22:37 +0000 (08:22 +0800)]
Merge branch 'MDL-49399-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-49399 task: Remove hardcoded LIMIT
Andrew Nicols [Thu, 17 Jan 2019 00:02:24 +0000 (08:02 +0800)]
MDL-49399 task: Remove hardcoded LIMIT

2 years agoMerge branch 'MDL-64347-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 16 Jan 2019 22:53:59 +0000 (23:53 +0100)]
Merge branch 'MDL-64347-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'MDL-64359-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 16 Jan 2019 18:05:30 +0000 (19:05 +0100)]
Merge branch 'MDL-64359-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'MDL-63103' of https://github.com/NeillM/moodle
Eloy Lafuente (stronk7) [Wed, 16 Jan 2019 18:02:21 +0000 (19:02 +0100)]
Merge branch 'MDL-63103' of https://github.com/NeillM/moodle

2 years agoMerge branch 'MDL-63916-master' of git://github.com/damyon/moodle
Sara Arjona [Wed, 16 Jan 2019 14:33:08 +0000 (15:33 +0100)]
Merge branch 'MDL-63916-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-63620-master' of git://github.com/junpataleta/moodle
Sara Arjona [Wed, 16 Jan 2019 13:15:10 +0000 (14:15 +0100)]
Merge branch 'MDL-63620-master' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-64134-master' of git://github.com/ryanwyllie/moodle
Sara Arjona [Wed, 16 Jan 2019 12:06:57 +0000 (13:06 +0100)]
Merge branch 'MDL-64134-master' of git://github.com/ryanwyllie/moodle

2 years agoMDL-64347 task: Add restrictions to scheduled task runner
Andrew Nicols [Mon, 14 Jan 2019 23:55:15 +0000 (07:55 +0800)]
MDL-64347 task: Add restrictions to scheduled task runner

2 years agoMDL-64347 task: Add restrictions to adhoc task runner
Andrew Nicols [Fri, 7 Dec 2018 03:25:23 +0000 (11:25 +0800)]
MDL-64347 task: Add restrictions to adhoc task runner

2 years agoMerge branch 'MDL-49399-master' of git://github.com/andrewnicols/moodle
Jake Dallimore [Wed, 16 Jan 2019 07:56:40 +0000 (15:56 +0800)]
Merge branch 'MDL-49399-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'MDL-64166-master' of https://github.com/ryanwyllie/moodle
Sara Arjona [Wed, 16 Jan 2019 07:48:29 +0000 (08:48 +0100)]
Merge branch 'MDL-64166-master' of https://github.com/ryanwyllie/moodle

2 years agoMDL-49399 core: Allow creation of a new per-request basedir
Andrew Nicols [Wed, 5 Dec 2018 07:20:20 +0000 (15:20 +0800)]
MDL-49399 core: Allow creation of a new per-request basedir

Shutdown handlers are processed in order. If something in a shutdown
handler uses a file which is stored in a per-request directory, and
another, unrelated, per-request directory was created before the handler
started. then a fresh per-request directory will be required.

2 years agoMDL-49399 tool_task: Link to log viewer
Andrew Nicols [Tue, 4 Dec 2018 02:56:48 +0000 (10:56 +0800)]
MDL-49399 tool_task: Link to log viewer

This commit also adds the fa-file-text icon from font-awesome.

2 years agoMDL-49399 task: Add admin log viewer
Andrew Nicols [Tue, 4 Dec 2018 02:46:25 +0000 (10:46 +0800)]
MDL-49399 task: Add admin log viewer

AMOS BEGIN
 CPY [eventstarttime,core_calendar],[task_starttime,core_admin]
 CPY [eventduration,core_calendar],[task_duration,core_admin]
 CPY [result,core_cache],[task_result,core_admin]
 CPY [database,install],[task_dbstats,core_admin]
 CPY [fail,install],[task_result:failed,core_admin]
AMOS END

2 years agoMDL-49399 task: Add task logging API
Andrew Nicols [Tue, 4 Dec 2018 02:39:56 +0000 (10:39 +0800)]
MDL-49399 task: Add task logging API

2 years agoMerge branch 'MDL-63607-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 15 Jan 2019 23:36:59 +0000 (00:36 +0100)]
Merge branch 'MDL-63607-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'MDL-64346-master' of git://github.com/abgreeve/moodle
Sara Arjona [Tue, 15 Jan 2019 14:38:12 +0000 (15:38 +0100)]
Merge branch 'MDL-64346-master' of git://github.com/abgreeve/moodle

2 years agoMDL-64346 mod_resource: Fix problems with # in file name.
Adrian Greeve [Fri, 7 Dec 2018 09:16:17 +0000 (10:16 +0100)]
MDL-64346 mod_resource: Fix problems with # in file name.

2 years agoMerge branch 'MDL-64171-master' of git://github.com/bmbrands/moodle
Sara Arjona [Tue, 15 Jan 2019 12:54:50 +0000 (13:54 +0100)]
Merge branch 'MDL-64171-master' of git://github.com/bmbrands/moodle

2 years agoMerge branch 'MDL-64425-master' of git://github.com/lameze/moodle
Sara Arjona [Tue, 15 Jan 2019 12:20:47 +0000 (13:20 +0100)]
Merge branch 'MDL-64425-master' of git://github.com/lameze/moodle

2 years agoMerge branch 'MDL-64432_master' of git://github.com/gjb2048/moodle
Sara Arjona [Tue, 15 Jan 2019 11:57:22 +0000 (12:57 +0100)]
Merge branch 'MDL-64432_master' of git://github.com/gjb2048/moodle

2 years agoMerge branch 'MDL-62439-master' of https://github.com/lucaboesch/moodle
Sara Arjona [Tue, 15 Jan 2019 11:02:05 +0000 (12:02 +0100)]
Merge branch 'MDL-62439-master' of https://github.com/lucaboesch/moodle

2 years agoMerge branch 'MDL-63881-master' of https://github.com/lucaboesch/moodle
Sara Arjona [Tue, 15 Jan 2019 10:37:07 +0000 (11:37 +0100)]
Merge branch 'MDL-63881-master' of https://github.com/lucaboesch/moodle

2 years agoMDL-49399 task: Add task log table
Andrew Nicols [Tue, 4 Dec 2018 02:38:59 +0000 (10:38 +0800)]
MDL-49399 task: Add task log table

2 years agoMDL-49399 core: Add ability to specify a header col
Andrew Nicols [Mon, 3 Dec 2018 07:04:46 +0000 (15:04 +0800)]
MDL-49399 core: Add ability to specify a header col

2 years agoMerge branch 'MDL-63677-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Mon, 14 Jan 2019 22:03:51 +0000 (23:03 +0100)]
Merge branch 'MDL-63677-master' of git://github.com/sarjona/moodle

2 years agoMerge branch 'MDL-60082-master' of git://github.com/damyon/moodle
Sara Arjona [Mon, 14 Jan 2019 11:03:06 +0000 (12:03 +0100)]
Merge branch 'MDL-60082-master' of git://github.com/damyon/moodle

2 years agoMDL-63620 group: Option to enable group messaging for imported groups
Jun Pataleta [Mon, 14 Jan 2019 05:31:23 +0000 (13:31 +0800)]
MDL-63620 group: Option to enable group messaging for imported groups

2 years agoMDL-63620 group: Option for group messaging when auto-creating groups
Jun Pataleta [Wed, 5 Dec 2018 08:39:50 +0000 (16:39 +0800)]
MDL-63620 group: Option for group messaging when auto-creating groups

2 years agoMDL-63677 core_user: Avoid redirection during signup
Sara Arjona [Fri, 14 Dec 2018 12:29:36 +0000 (13:29 +0100)]
MDL-63677 core_user: Avoid redirection during signup

Purge cache just for the current user to avoid redirection when 2
simultaneous users try to sign up at the same time and some policy
has to be agreed.
The 'createduser' invalidation event has been removed also because
is not used any more.
Thanks John Azinheira for spotting it!

2 years agoMDL-63103 filebrowser: Speed up finding activities with files
Neill Magill [Thu, 9 Aug 2018 09:28:21 +0000 (10:28 +0100)]
MDL-63103 filebrowser: Speed up finding activities with files

Before this change the query examined at every course_module record in
the context table.

With this change we use the course_modules table to more efficiently
find all the activities in the course, which means that many less
records in the context table need to be examined.

2 years agoMDL-63881 tool_dataprivacy: 'Contact the privacy officer' profile link.
Luca Bösch [Sun, 9 Dec 2018 13:15:56 +0000 (14:15 +0100)]
MDL-63881 tool_dataprivacy: 'Contact the privacy officer' profile link.

2 years agoMDL-62439 output: Debugstringids in overlay windows.
Luca Bösch [Mon, 12 Nov 2018 14:37:37 +0000 (15:37 +0100)]
MDL-62439 output: Debugstringids in overlay windows.

2 years agoweekly release 3.7dev
Sara Arjona [Thu, 10 Jan 2019 16:51:25 +0000 (17:51 +0100)]
weekly release 3.7dev

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Thu, 10 Jan 2019 16:51:23 +0000 (17:51 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMerge branch 'MDL-64004-master' of git://github.com/damyon/moodle
Jake Dallimore [Thu, 10 Jan 2019 02:59:56 +0000 (10:59 +0800)]
Merge branch 'MDL-64004-master' of git://github.com/damyon/moodle

2 years agoAutomatically generated installer lang files
AMOS bot [Thu, 10 Jan 2019 00:08:34 +0000 (00:08 +0000)]
Automatically generated installer lang files

2 years agoMerge branch 'MDL-64479' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 9 Jan 2019 22:33:36 +0000 (23:33 +0100)]
Merge branch 'MDL-64479' of https://github.com/timhunt/moodle

2 years agoMerge branch 'MDL-64043-master' of git://github.com/ryanwyllie/moodle
Sara Arjona [Wed, 9 Jan 2019 16:55:34 +0000 (17:55 +0100)]
Merge branch 'MDL-64043-master' of git://github.com/ryanwyllie/moodle

2 years agoMerge branch 'MDL-63686-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 9 Jan 2019 11:36:09 +0000 (12:36 +0100)]
Merge branch 'MDL-63686-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-63686 core: recordset => records when fetching contexts
Andrew Nicols [Wed, 9 Jan 2019 11:05:22 +0000 (19:05 +0800)]
MDL-63686 core: recordset => records when fetching contexts

2 years agoMDL-64479 dd-qtypes: fix questions with non-consecutive groups
Tim Hunt [Tue, 8 Jan 2019 18:20:56 +0000 (18:20 +0000)]
MDL-64479 dd-qtypes: fix questions with non-consecutive groups

2 years agoMerge branch 'MDL-64375-master' of git://github.com/damyon/moodle
Jake Dallimore [Wed, 9 Jan 2019 07:33:09 +0000 (15:33 +0800)]
Merge branch 'MDL-64375-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-62550-master-2' of https://github.com/snake/moodle
Andrew Nicols [Wed, 9 Jan 2019 07:09:00 +0000 (15:09 +0800)]
Merge branch 'MDL-62550-master-2' of https://github.com/snake/moodle

2 years agoMerge branch 'MDL-64345-master' of https://github.com/s-cenni/MDL-64345
Jake Dallimore [Wed, 9 Jan 2019 06:13:38 +0000 (14:13 +0800)]
Merge branch 'MDL-64345-master' of https://github.com/s-cenni/MDL-64345

2 years agoMDL-62550 core_privacy: remove theme specific js from retention js
Jake Dallimore [Wed, 9 Jan 2019 03:00:43 +0000 (11:00 +0800)]
MDL-62550 core_privacy: remove theme specific js from retention js

Now that we've fixed the element ids, we no longer need a selector for
each theme. The same selector will work for all themes, whether they be
bs2 or b24 based.

2 years agoMDL-62550 core_theme: remove unused #fgroup_ and #fitem_ rules
Jake Dallimore [Thu, 9 Aug 2018 03:52:06 +0000 (11:52 +0800)]
MDL-62550 core_theme: remove unused #fgroup_ and #fitem_ rules

These ids didn't exists in form elements in Boost until now, so we'll
remove the rules to prevent them having any effect now.

2 years agoMDL-62550 core_form: bring back the form item unique ids to fix js fails
Jake Dallimore [Thu, 9 Aug 2018 02:54:08 +0000 (10:54 +0800)]
MDL-62550 core_form: bring back the form item unique ids to fix js fails

This id matches the id seen on the clean theme elements and is needed by
the forms js.

2 years agoMerge branch 'MDL-63761-master' of git://github.com/damyon/moodle
Jake Dallimore [Wed, 9 Jan 2019 01:05:38 +0000 (09:05 +0800)]
Merge branch 'MDL-63761-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-64285-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 8 Jan 2019 23:02:36 +0000 (00:02 +0100)]
Merge branch 'MDL-64285-master' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-64409' of git://github.com/stronk7/moodle
Andrew Nicols [Tue, 8 Jan 2019 22:58:34 +0000 (06:58 +0800)]
Merge branch 'MDL-64409' of git://github.com/stronk7/moodle

2 years agoMerge branch 'MDL-24951' of git://github.com/stronk7/moodle
Andrew Nicols [Tue, 8 Jan 2019 22:41:00 +0000 (06:41 +0800)]
Merge branch 'MDL-24951' of git://github.com/stronk7/moodle

2 years agoMerge branch 'MDL-64426' of git://github.com/stronk7/moodle
Andrew Nicols [Tue, 8 Jan 2019 22:37:55 +0000 (06:37 +0800)]
Merge branch 'MDL-64426' of git://github.com/stronk7/moodle

2 years agoMDL-64426 core_message: fix context::instance_by_id() wrong use
Eloy Lafuente (stronk7) [Tue, 8 Jan 2019 22:00:50 +0000 (23:00 +0100)]
MDL-64426 core_message: fix context::instance_by_id() wrong use

2 years agoMDL-24951 mod_forum: Apply new string to related scenarios
Eloy Lafuente (stronk7) [Tue, 8 Jan 2019 15:48:25 +0000 (16:48 +0100)]
MDL-24951 mod_forum: Apply new string to related scenarios

Plus amend an scenario name that was clearly incorrect.

2 years agoMDL-64395 groups: Added XSS Risk to the manage groups capability
Michael Hawkins [Wed, 19 Dec 2018 05:58:11 +0000 (13:58 +0800)]
MDL-64395 groups: Added XSS Risk to the manage groups capability

2 years agoMDL-64372 userpix: Escape fullname string on userpix index page
Michael Hawkins [Tue, 11 Dec 2018 06:27:13 +0000 (14:27 +0800)]
MDL-64372 userpix: Escape fullname string on userpix index page

2 years agoMDL-64222 badge: Removed backpackurl from the edit_form
Sara Arjona [Tue, 27 Nov 2018 09:40:13 +0000 (10:40 +0100)]
MDL-64222 badge: Removed backpackurl from the edit_form

2 years agoMerge branch 'MDL-64509-master-enfix' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 8 Jan 2019 15:17:06 +0000 (16:17 +0100)]
Merge branch 'MDL-64509-master-enfix' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-64474-master-2' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 8 Jan 2019 15:10:44 +0000 (16:10 +0100)]
Merge branch 'MDL-64474-master-2' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-58596-master' of git://github.com/vmdef/moodle
Andrew Nicols [Tue, 8 Jan 2019 08:14:58 +0000 (16:14 +0800)]
Merge branch 'MDL-58596-master' of git://github.com/vmdef/moodle

2 years agoMerge branch 'MDL-64426-master-2' of https://github.com/snake/moodle
Andrew Nicols [Tue, 8 Jan 2019 07:58:40 +0000 (15:58 +0800)]
Merge branch 'MDL-64426-master-2' of https://github.com/snake/moodle

2 years agoMDL-64426 core_message: fix filter support in api::get_conversations()
Jake Dallimore [Tue, 18 Dec 2018 09:24:53 +0000 (17:24 +0800)]
MDL-64426 core_message: fix filter support in api::get_conversations()

Conversation name and subname should support filters, so the data should
be passed through format_string, and advertised in the external params
as PARAM_TEXT.

2 years agoMDL-58596 core_stats: fixed infinite loop cause by DST change
Leon Stringer [Tue, 11 Dec 2018 17:22:59 +0000 (17:22 +0000)]
MDL-58596 core_stats: fixed infinite loop cause by DST change

2 years agoMDL-58596 core_stats: unit test for stats_get_base_weekly
Víctor Déniz Falcón [Tue, 11 Dec 2018 17:22:49 +0000 (17:22 +0000)]
MDL-58596 core_stats: unit test for stats_get_base_weekly

2 years agoMerge branch 'MDL-63686-master' of git://github.com/andrewnicols/moodle
Jake Dallimore [Tue, 8 Jan 2019 06:37:31 +0000 (14:37 +0800)]
Merge branch 'MDL-63686-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-63686 core: Preload parent contexts
Andrew Nicols [Wed, 17 Oct 2018 05:36:39 +0000 (13:36 +0800)]
MDL-63686 core: Preload parent contexts

2 years agoMerge branch 'MDL-24951-master' of git://github.com/Chocolate-lightning/moodle
Andrew Nicols [Tue, 8 Jan 2019 05:46:11 +0000 (13:46 +0800)]
Merge branch 'MDL-24951-master' of git://github.com/Chocolate-lightning/moodle

2 years agoMerge branch 'MDL-64497-master' of https://github.com/sammarshallou/moodle
Andrew Nicols [Tue, 8 Jan 2019 04:25:34 +0000 (12:25 +0800)]
Merge branch 'MDL-64497-master' of https://github.com/sammarshallou/moodle

2 years agoMerge branch 'MDL-63722-master' of git://github.com/rezaies/moodle
Andrew Nicols [Tue, 8 Jan 2019 04:04:19 +0000 (12:04 +0800)]
Merge branch 'MDL-63722-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-64400-master' of git://github.com/aanabit/moodle
Andrew Nicols [Tue, 8 Jan 2019 00:27:06 +0000 (08:27 +0800)]
Merge branch 'MDL-64400-master' of git://github.com/aanabit/moodle

2 years agoMerge branch 'MDL-63276' of https://github.com/stronk7/moodle
Andrew Nicols [Mon, 7 Jan 2019 22:55:37 +0000 (06:55 +0800)]
Merge branch 'MDL-63276' of https://github.com/stronk7/moodle

2 years agoMerge branch 'MDL-63809-master-5' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Mon, 7 Jan 2019 21:12:45 +0000 (22:12 +0100)]
Merge branch 'MDL-63809-master-5' of git://github.com/rezaies/moodle

2 years agoMDL-64509 lang: Use the fixed strings in tests
David Mudrák [Mon, 7 Jan 2019 13:43:23 +0000 (14:43 +0100)]
MDL-64509 lang: Use the fixed strings in tests

2 years agoMDL-64509 lang: Import fixed English strings (en_fix)
Helen Foster [Mon, 7 Jan 2019 13:40:34 +0000 (14:40 +0100)]
MDL-64509 lang: Import fixed English strings (en_fix)

Significant string change: enablerunnow_desc,tool_task - including
mention of pathtophp requirement

2 years agoMerge branch 'MDL-64419-master' of git://github.com/bmbrands/moodle
Sara Arjona [Mon, 7 Jan 2019 13:10:36 +0000 (14:10 +0100)]
Merge branch 'MDL-64419-master' of git://github.com/bmbrands/moodle

2 years agoMerge branch 'MDL-57636_master' of https://github.com/dasistwas/moodle
Andrew Nicols [Mon, 7 Jan 2019 05:45:04 +0000 (13:45 +0800)]
Merge branch 'MDL-57636_master' of https://github.com/dasistwas/moodle

2 years agoMerge branch 'MDL-64348-master' of git://github.com/ryanwyllie/moodle
Jake Dallimore [Mon, 7 Jan 2019 04:08:31 +0000 (12:08 +0800)]
Merge branch 'MDL-64348-master' of git://github.com/ryanwyllie/moodle

2 years agoMDL-64348 javascript: change template loading to a buffer
Ryan Wyllie [Tue, 11 Dec 2018 06:53:00 +0000 (14:53 +0800)]
MDL-64348 javascript: change template loading to a buffer

Changed the template loading to buffer the requests for templates
so that they can be sent in batches to the server to save large
volumes of network requests.

2 years agoMDL-64348 javascript: change template loading to also load dependencies
Ryan Wyllie [Tue, 11 Dec 2018 03:09:32 +0000 (11:09 +0800)]
MDL-64348 javascript: change template loading to also load dependencies

Changed the getTemplate function in templates.js to use the
core_output_load_template_with_dependencies function to load the
requested template and all of the dependencies required to render it.

The dependencies are added to the relevant caches so that when the
template is rendered they aren't re-requested from the server.

2 years agoMDL-64348 javascript: add cache_strings to str.js
Ryan Wyllie [Tue, 11 Dec 2018 03:08:33 +0000 (11:08 +0800)]
MDL-64348 javascript: add cache_strings to str.js

Added a function to allow a set of strings to be added to the
str.js caches if they've been loaded outside of that module.

2 years agoMDL-64348 template: add load_template_with_dependencies external func
Ryan Wyllie [Tue, 11 Dec 2018 03:04:43 +0000 (11:04 +0800)]
MDL-64348 template: add load_template_with_dependencies external func

2 years agoMDL-57636 frontpage: Fix display enrolled courses
David Bogner [Fri, 23 Nov 2018 16:58:51 +0000 (17:58 +0100)]
MDL-57636 frontpage: Fix display enrolled courses

2 years agoMDL-64348 templates: add mustache_template_source_loader class
Ryan Wyllie [Mon, 10 Dec 2018 06:47:44 +0000 (14:47 +0800)]
MDL-64348 templates: add mustache_template_source_loader class

2 years agoMDL-64166 message: reduce size of conversation counts in overview
Ryan Wyllie [Fri, 4 Jan 2019 04:09:42 +0000 (12:09 +0800)]
MDL-64166 message: reduce size of conversation counts in overview

2 years agoMDL-64375 gradingform_rubric: Styles for overflow
Damyon Wiese [Tue, 18 Dec 2018 05:32:09 +0000 (13:32 +0800)]
MDL-64375 gradingform_rubric: Styles for overflow

Allow people to define lots of levels, and make the scroll region just the rubric table,
not the entire content region.

2 years agoMDL-64497 GDPR: moodle_content_writer can cause endless loop
sam marshall [Thu, 3 Jan 2019 16:49:46 +0000 (16:49 +0000)]
MDL-64497 GDPR: moodle_content_writer can cause endless loop

Fixes a buggy function by replacing it with a call to file_get_contents,
and adds error detection on a couple of file accesses.

2 years agoMerge branch 'MDL-49651-master' of git://github.com/Chocolate-lightning/moodle
Jake Dallimore [Thu, 3 Jan 2019 02:45:07 +0000 (10:45 +0800)]
Merge branch 'MDL-49651-master' of git://github.com/Chocolate-lightning/moodle

2 years agoMDL-63276 upgrade: clean < 3.2.0 upgrade steps
Eloy Lafuente (stronk7) [Sun, 30 Dec 2018 18:39:56 +0000 (19:39 +0100)]
MDL-63276 upgrade: clean < 3.2.0 upgrade steps

3.7 (min PHP 7.1) requires 3.2 (first version supporting PHP 7.1)

This just deletes all the upgrade steps previous to 3.2.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 < 2016120500 (v3.2.0) as anti-cheating measure.

Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase. (note there isn't any this time).

2 years agoMDL-63276 travis support: Bump to PHP 7.1 required
Eloy Lafuente (stronk7) [Wed, 2 Jan 2019 10:19:15 +0000 (11:19 +0100)]
MDL-63276 travis support: Bump to PHP 7.1 required

2 years agoMDL-63276 install: PHP min version checker bump to PHP 7.1
Eloy Lafuente (stronk7) [Thu, 3 Jan 2019 00:14:44 +0000 (01:14 +0100)]
MDL-63276 install: PHP min version checker bump to PHP 7.1

2 years agoMDL-63276 environment: PHP 7.1 and Moodle 3.2 required
Eloy Lafuente (stronk7) [Sun, 30 Dec 2018 17:08:35 +0000 (18:08 +0100)]
MDL-63276 environment: PHP 7.1 and Moodle 3.2 required

2 years agoMDL-63761 grade: Performance fix for regrading
Damyon Wiese [Thu, 13 Dec 2018 04:13:23 +0000 (12:13 +0800)]
MDL-63761 grade: Performance fix for regrading

Don't use a separate variable to count the number of items in finalids.

2 years agoMDL-63276 environment: 3.7 base information
Eloy Lafuente (stronk7) [Sun, 30 Dec 2018 17:05:30 +0000 (18:05 +0100)]
MDL-63276 environment: 3.7 base information

This is a direct copy of the 3.6 branch to
have changes under control easier in next commits.

2 years agoMDL-64474 auth_oauth2: Properly update user profile data
Jun Pataleta [Fri, 28 Dec 2018 08:50:12 +0000 (16:50 +0800)]
MDL-64474 auth_oauth2: Properly update user profile data

* Updating of user profile data from OAuth2 issuer should only be
performed for fields that can be synced externally (fields defined in
\auth_plugin_base::$userfields)
* Only update user profile data for users which use OAuth2 as their
default authentication mechanism.

2 years agoMDL-64400 core_messages: Mark notifications sent via email as read
Amaia Anabitarte [Wed, 19 Dec 2018 10:40:16 +0000 (11:40 +0100)]
MDL-64400 core_messages: Mark notifications sent via email as read