moodle.git
4 years agoMDL-59195 assignsubmission_comments: fix permission checks
Davo Smith [Wed, 19 Jul 2017 15:31:52 +0000 (16:31 +0100)]
MDL-59195 assignsubmission_comments: fix permission checks

4 years agoweekly release 3.4dev
Eloy Lafuente (stronk7) [Thu, 17 Aug 2017 08:39:13 +0000 (10:39 +0200)]
weekly release 3.4dev

4 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Thu, 17 Aug 2017 08:39:10 +0000 (10:39 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 16 Aug 2017 16:08:17 +0000 (00:08 +0800)]
Automatically generated installer lang files

4 years agoMerge branch 'MDL-59388-master' of git://github.com/lameze/moodle
Jun Pataleta [Wed, 16 Aug 2017 02:12:51 +0000 (10:12 +0800)]
Merge branch 'MDL-59388-master' of git://github.com/lameze/moodle

4 years agoMDL-59388 core_calendar: convert manage subscription button
Simey Lameze [Wed, 16 Aug 2017 02:10:48 +0000 (10:10 +0800)]
MDL-59388 core_calendar: convert manage subscription button

4 years agoMDL-59388 core_calendar: remove empty lines and unused imports
Simey Lameze [Wed, 16 Aug 2017 01:44:27 +0000 (09:44 +0800)]
MDL-59388 core_calendar: remove empty lines and unused imports

4 years agoMDL-59388 calendar: footer_options fixes
Jun Pataleta [Tue, 15 Aug 2017 09:08:31 +0000 (17:08 +0800)]
MDL-59388 calendar: footer_options fixes

4 years agoMDL-59388 core_calendar: setUpTrigger needs to handle arrays
Ryan Wyllie [Mon, 14 Aug 2017 01:17:59 +0000 (09:17 +0800)]
MDL-59388 core_calendar: setUpTrigger needs to handle arrays

4 years agoMDL-59388 core_calendar: fix month view on clean theme
Simey Lameze [Tue, 8 Aug 2017 05:11:42 +0000 (13:11 +0800)]
MDL-59388 core_calendar: fix month view on clean theme

4 years agoMDL-59388 core_calendar: fix cibot complains
Simey Lameze [Tue, 8 Aug 2017 00:11:31 +0000 (08:11 +0800)]
MDL-59388 core_calendar: fix cibot complains

4 years agoMerge branch 'wip-MDL-59800-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Wed, 16 Aug 2017 01:08:34 +0000 (09:08 +0800)]
Merge branch 'wip-MDL-59800-master' of git://github.com/marinaglancy/moodle

4 years agoMerge branch 'MDL-53537_m34v4' of https://github.com/sbourget/moodle
Andrew Nicols [Wed, 16 Aug 2017 00:46:55 +0000 (08:46 +0800)]
Merge branch 'MDL-53537_m34v4' of https://github.com/sbourget/moodle

4 years agoMDL-53537 core_backup: Add a course_backup_created event
Stephen Bourget [Tue, 15 Aug 2017 18:10:38 +0000 (14:10 -0400)]
MDL-53537 core_backup: Add a course_backup_created event

4 years agoMerge branch 'MDL-58435' of https://github.com/NeillM/moodle
Eloy Lafuente (stronk7) [Tue, 15 Aug 2017 14:35:12 +0000 (16:35 +0200)]
Merge branch 'MDL-58435' of https://github.com/NeillM/moodle

4 years agoMerge branch 'MDL-59756-master-2' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 15 Aug 2017 11:38:01 +0000 (13:38 +0200)]
Merge branch 'MDL-59756-master-2' of git://github.com/junpataleta/moodle

4 years agoMerge branch 'MDL-59667-master-2' of git://github.com/ryanwyllie/moodle
Eloy Lafuente (stronk7) [Tue, 15 Aug 2017 11:12:45 +0000 (13:12 +0200)]
Merge branch 'MDL-59667-master-2' of git://github.com/ryanwyllie/moodle

4 years agoMDL-58435 behat: Update existing tests to use section editing steps
Neill Magill [Tue, 15 Aug 2017 08:22:31 +0000 (09:22 +0100)]
MDL-58435 behat: Update existing tests to use section editing steps

4 years agoMDL-59756 user: More Behat tests for the status field and friends
Jun Pataleta [Tue, 15 Aug 2017 06:33:23 +0000 (14:33 +0800)]
MDL-59756 user: More Behat tests for the status field and friends

* Add coverage for the rendering of the edit/unenrol icons in the status
  column.
* Add coverage for the rendering of the edit icon in the enrolment
  details modal.
* Avoid usage of xpath_element selectors whenever possible.

4 years agoMerge branch 'MDL-59746-master' of git://github.com/Dagefoerde/moodle
Andrew Nicols [Tue, 15 Aug 2017 05:17:37 +0000 (13:17 +0800)]
Merge branch 'MDL-59746-master' of git://github.com/Dagefoerde/moodle

4 years agoMerge branch 'MDL-59810-master' of git://github.com/lameze/moodle
Andrew Nicols [Tue, 15 Aug 2017 05:05:33 +0000 (13:05 +0800)]
Merge branch 'MDL-59810-master' of git://github.com/lameze/moodle

4 years agoMDL-59810 core_calendar: test action events cannot be deleted
Simey Lameze [Tue, 15 Aug 2017 03:51:59 +0000 (11:51 +0800)]
MDL-59810 core_calendar: test action events cannot be deleted

4 years agoMerge branch 'MDL-57611-master' of https://github.com/jebarviabb/moodle
Jun Pataleta [Tue, 15 Aug 2017 03:49:38 +0000 (11:49 +0800)]
Merge branch 'MDL-57611-master' of https://github.com/jebarviabb/moodle

4 years agoMerge branch 'MDL-59370-master' of git://github.com/damyon/moodle
Andrew Nicols [Tue, 15 Aug 2017 02:16:42 +0000 (10:16 +0800)]
Merge branch 'MDL-59370-master' of git://github.com/damyon/moodle

4 years agoMDL-59667 form: stop datepicker from rendering outside viewport
Ryan Wyllie [Mon, 14 Aug 2017 02:47:38 +0000 (02:47 +0000)]
MDL-59667 form: stop datepicker from rendering outside viewport

Stop the date picker panel from being rendered outside of the
viewport, for example when being displayed in a modal.

4 years agoMerge branch 'wip-MDL-59736-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Mon, 14 Aug 2017 10:10:36 +0000 (12:10 +0200)]
Merge branch 'wip-MDL-59736-master' of git://github.com/marinaglancy/moodle

4 years agoMerge branch 'MDL-59774_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Mon, 14 Aug 2017 09:58:00 +0000 (11:58 +0200)]
Merge branch 'MDL-59774_master' of git://github.com/dmonllao/moodle

4 years agoMerge branch 'MDL-59785-master' of git://github.com/lameze/moodle
Jun Pataleta [Mon, 14 Aug 2017 08:56:08 +0000 (16:56 +0800)]
Merge branch 'MDL-59785-master' of git://github.com/lameze/moodle

4 years agoMDL-59756 enrol: UI change enrolment details
Damyon Wiese [Mon, 14 Aug 2017 05:56:02 +0000 (13:56 +0800)]
MDL-59756 enrol: UI change enrolment details

The enrolment details popup should not have "Edit enrolment" as a primary action for the dialogue.

Instead it should just have an edit cog next to the enrolment name.

4 years agoMDL-59800 bootstrapbase: correct CSS for BS4 card
Marina Glancy [Mon, 14 Aug 2017 03:56:13 +0000 (11:56 +0800)]
MDL-59800 bootstrapbase: correct CSS for BS4 card

4 years agoMDL-59774 analytics: Fix sql_compare_text usage
David Monllao [Wed, 9 Aug 2017 06:55:19 +0000 (08:55 +0200)]
MDL-59774 analytics: Fix sql_compare_text usage

Replace a distinct + join by an exists, which suits better what we need to do.

4 years agoMerge branch 'MDL-59740_master' of git://github.com/markn86/moodle
Jun Pataleta [Mon, 14 Aug 2017 05:48:01 +0000 (13:48 +0800)]
Merge branch 'MDL-59740_master' of git://github.com/markn86/moodle

4 years agoMerge branch 'wip-MDL-57188-master-2' of git://github.com/marinaglancy/moodle
Andrew Nicols [Mon, 14 Aug 2017 05:13:47 +0000 (13:13 +0800)]
Merge branch 'wip-MDL-57188-master-2' of git://github.com/marinaglancy/moodle

4 years agoMerge branch 'MDL-59737_master' of git://github.com/markn86/moodle
Andrew Nicols [Mon, 14 Aug 2017 04:25:33 +0000 (12:25 +0800)]
Merge branch 'MDL-59737_master' of git://github.com/markn86/moodle

4 years agoMerge branch 'MDL-59492-master' of git://github.com/lameze/moodle
Jun Pataleta [Mon, 14 Aug 2017 04:16:08 +0000 (12:16 +0800)]
Merge branch 'MDL-59492-master' of git://github.com/lameze/moodle

4 years agoMDL-59492 block_myoverview: make view course buttons consistent
Simey Lameze [Thu, 10 Aug 2017 02:59:22 +0000 (10:59 +0800)]
MDL-59492 block_myoverview: make view course buttons consistent

4 years agoMDL-59492 block_myoverview: fix remaining course links visibility
Simey Lameze [Thu, 10 Aug 2017 02:44:09 +0000 (10:44 +0800)]
MDL-59492 block_myoverview: fix remaining course links visibility

4 years agoMDL-59492 block_myoverview: handle course visibility style
Charles Fulton [Mon, 24 Jul 2017 14:49:58 +0000 (10:49 -0400)]
MDL-59492 block_myoverview: handle course visibility style

4 years agoMDL-59370 behat: Behat fixes for enrolled users
Damyon Wiese [Mon, 24 Jul 2017 08:13:24 +0000 (16:13 +0800)]
MDL-59370 behat: Behat fixes for enrolled users

We removed the enrolled users page, so we need to update the behats that were using it.

4 years agoMDL-59370 enrol: Kill the enrol/users page.
Damyon Wiese [Mon, 24 Jul 2017 02:10:34 +0000 (10:10 +0800)]
MDL-59370 enrol: Kill the enrol/users page.

4 years agoMDL-59388 core_calendar: display calendar footer options
Simey Lameze [Wed, 19 Jul 2017 01:04:19 +0000 (09:04 +0800)]
MDL-59388 core_calendar: display calendar footer options

4 years agoMDL-59388 core_calendar: new footer options exporter
Simey Lameze [Wed, 19 Jul 2017 00:59:11 +0000 (08:59 +0800)]
MDL-59388 core_calendar: new footer options exporter

4 years agoMDL-59388 core_calendar: add calendar_get_footer_options() method
Simey Lameze [Wed, 19 Jul 2017 00:58:11 +0000 (08:58 +0800)]
MDL-59388 core_calendar: add calendar_get_footer_options() method

4 years agoMDL-59388 calendar: Add AJAX Monthly navigation
Andrew Nicols [Wed, 19 Jul 2017 01:39:34 +0000 (09:39 +0800)]
MDL-59388 calendar: Add AJAX Monthly navigation

4 years agoMDL-59388 calendar: Switch monthly view to use templates
Andrew Nicols [Wed, 19 Jul 2017 01:34:34 +0000 (09:34 +0800)]
MDL-59388 calendar: Switch monthly view to use templates

4 years agoMDL-59388 calendar: Add a helper to convert ymd to timestamp
Andrew Nicols [Wed, 19 Jul 2017 01:37:14 +0000 (09:37 +0800)]
MDL-59388 calendar: Add a helper to convert ymd to timestamp

4 years agoMDL-59388 calendar: Allow filter to be specified when fetching events
Andrew Nicols [Wed, 19 Jul 2017 01:36:29 +0000 (09:36 +0800)]
MDL-59388 calendar: Allow filter to be specified when fetching events

4 years agoMDL-59388 calendar: Break out event exporter into a base class
Andrew Nicols [Wed, 19 Jul 2017 01:35:19 +0000 (09:35 +0800)]
MDL-59388 calendar: Break out event exporter into a base class

4 years agoMDL-59388 calendar: Add data-time to calendar navigation links
Andrew Nicols [Wed, 19 Jul 2017 01:30:03 +0000 (09:30 +0800)]
MDL-59388 calendar: Add data-time to calendar navigation links

4 years agoMDL-59388 calendar: Move timestamp gen to new function
Andrew Nicols [Wed, 19 Jul 2017 01:27:35 +0000 (09:27 +0800)]
MDL-59388 calendar: Move timestamp gen to new function

4 years agoMDL-59388 core: Add params to link arrows
Andrew Nicols [Wed, 19 Jul 2017 01:26:15 +0000 (09:26 +0800)]
MDL-59388 core: Add params to link arrows

4 years agoMerge branch 'MDL-59741-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Mon, 14 Aug 2017 00:34:11 +0000 (02:34 +0200)]
Merge branch 'MDL-59741-master' of git://github.com/jleyva/moodle

4 years agoAutomatically generated installer lang files
AMOS bot [Sun, 13 Aug 2017 16:08:13 +0000 (00:08 +0800)]
Automatically generated installer lang files

4 years agoMDL-57611 report_log: Fix capability checks for viewing logs
Josh Ebarvia [Fri, 11 Aug 2017 03:31:50 +0000 (13:01 +0930)]
MDL-57611 report_log: Fix capability checks for viewing logs

4 years agoMDL-59756 user: Add edit enrolment button in enrol details modal
Jun Pataleta [Wed, 9 Aug 2017 07:07:05 +0000 (15:07 +0800)]
MDL-59756 user: Add edit enrolment button in enrol details modal

4 years agoMDL-59756 enrol: Swap positions of edit and unenrol actions
Jun Pataleta [Wed, 9 Aug 2017 06:36:51 +0000 (14:36 +0800)]
MDL-59756 enrol: Swap positions of edit and unenrol actions

4 years agoMDL-59785 mod_book: all navigation styles must mark as completed
Simey Lameze [Thu, 10 Aug 2017 08:11:33 +0000 (16:11 +0800)]
MDL-59785 mod_book: all navigation styles must mark as completed

4 years agoweekly release 3.4dev
David Monllao [Thu, 10 Aug 2017 07:11:29 +0000 (09:11 +0200)]
weekly release 3.4dev

4 years agoMDL-58435 behat: Behat section editing step should work on section 0
Neill Magill [Wed, 9 Aug 2017 14:15:39 +0000 (15:15 +0100)]
MDL-58435 behat: Behat section editing step should work on section 0

4 years agoMerge branch 'MDL-59671-master-fix' of git://github.com/lameze/moodle
Andrew Nicols [Wed, 9 Aug 2017 07:09:08 +0000 (15:09 +0800)]
Merge branch 'MDL-59671-master-fix' of git://github.com/lameze/moodle

4 years agoMDL-59671 core_calendar: replace current delete permission checks
Simey Lameze [Wed, 9 Aug 2017 06:48:06 +0000 (14:48 +0800)]
MDL-59671 core_calendar: replace current delete permission checks

4 years agoMDL-59671 core_calendar: create calendar_delete_event_allowed function
Simey Lameze [Wed, 9 Aug 2017 06:47:35 +0000 (14:47 +0800)]
MDL-59671 core_calendar: create calendar_delete_event_allowed function

4 years agoMerge branch 'MDL-59638_master-fix' of git://github.com/dmonllao/moodle
Andrew Nicols [Wed, 9 Aug 2017 05:41:29 +0000 (13:41 +0800)]
Merge branch 'MDL-59638_master-fix' of git://github.com/dmonllao/moodle

4 years agoMDL-59638 analytics: Prevent start time to be higher than end time
David Monllao [Tue, 8 Aug 2017 12:38:11 +0000 (14:38 +0200)]
MDL-59638 analytics: Prevent start time to be higher than end time

Other related changes:

- core_analytics\site get_start and get_end returning always integer values
- Defer intval call in define_ranges to refine some seconds

4 years agoMerge branch 'MDL-59116_master-fix2' of git://github.com/dmonllao/moodle
Dan Poltawski [Tue, 8 Aug 2017 12:19:49 +0000 (13:19 +0100)]
Merge branch 'MDL-59116_master-fix2' of git://github.com/dmonllao/moodle

4 years agoMDL-59116 analytics: Replace wrong sorting
David Monllao [Tue, 8 Aug 2017 12:04:52 +0000 (14:04 +0200)]
MDL-59116 analytics: Replace wrong sorting

4 years agoMerge branch 'MDL-59748-master-2' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 8 Aug 2017 09:49:05 +0000 (11:49 +0200)]
Merge branch 'MDL-59748-master-2' of git://github.com/andrewnicols/moodle

4 years agoMDL-57188 course: correct return url to manage page
Marina Glancy [Mon, 7 Aug 2017 02:52:00 +0000 (10:52 +0800)]
MDL-57188 course: correct return url to manage page

4 years agoMerge branch 'MDL-59749-master' of git://github.com/ryanwyllie/moodle
Andrew Nicols [Tue, 8 Aug 2017 06:33:43 +0000 (14:33 +0800)]
Merge branch 'MDL-59749-master' of git://github.com/ryanwyllie/moodle

4 years agoMerge branch 'MDL-59666-master-fix' of git://github.com/junpataleta/moodle
Andrew Nicols [Tue, 8 Aug 2017 04:54:27 +0000 (12:54 +0800)]
Merge branch 'MDL-59666-master-fix' of git://github.com/junpataleta/moodle

4 years agoMDL-59666 mod_assign: Disable remind to grade by field in override tests
Jun Pataleta [Tue, 8 Aug 2017 04:28:39 +0000 (12:28 +0800)]
MDL-59666 mod_assign: Disable remind to grade by field in override tests

4 years agoMerge branch 'MDL-59671-master' of git://github.com/lameze/moodle
Andrew Nicols [Tue, 8 Aug 2017 03:46:51 +0000 (11:46 +0800)]
Merge branch 'MDL-59671-master' of git://github.com/lameze/moodle

4 years agoMDL-59671 core_calendar: action events edition needs to be on module
Simey Lameze [Mon, 7 Aug 2017 02:59:52 +0000 (10:59 +0800)]
MDL-59671 core_calendar: action events edition needs to be on module

4 years agoMDL-59671 core_calendar: add visibility logic to template
Simey Lameze [Fri, 4 Aug 2017 06:54:41 +0000 (14:54 +0800)]
MDL-59671 core_calendar: add visibility logic to template

4 years agoMDL-59671 core_calendar: check if the event can be deleted
Simey Lameze [Fri, 4 Aug 2017 06:19:38 +0000 (14:19 +0800)]
MDL-59671 core_calendar: check if the event can be deleted

4 years agoMDL-59671 core_calendar: move logic to calendar event exporter
Simey Lameze [Fri, 4 Aug 2017 05:06:51 +0000 (13:06 +0800)]
MDL-59671 core_calendar: move logic to calendar event exporter

4 years agoMDL-59749 form: revert setting id on inline form elements
Ryan Wyllie [Tue, 8 Aug 2017 03:28:36 +0000 (03:28 +0000)]
MDL-59749 form: revert setting id on inline form elements

Revert the change I made in MDL-59382 to correctly set the id for inline
form elements because it's breaking a bunch of different places that had
already worked around the problem.

4 years agoMerge branch 'MDL-59448-master' of https://github.com/xow/moodle
David Monllao [Tue, 8 Aug 2017 02:25:06 +0000 (04:25 +0200)]
Merge branch 'MDL-59448-master' of https://github.com/xow/moodle

4 years agoMerge branch 'MDL-58889-master' of https://github.com/xow/moodle
David Monllao [Tue, 8 Aug 2017 02:23:31 +0000 (04:23 +0200)]
Merge branch 'MDL-58889-master' of https://github.com/xow/moodle

4 years agoMerge branch 'MDL-59700-master' of git://github.com/cameron1729/moodle
Andrew Nicols [Tue, 8 Aug 2017 02:12:35 +0000 (10:12 +0800)]
Merge branch 'MDL-59700-master' of git://github.com/cameron1729/moodle

4 years agoMDL-59748 groupslib: Fix time issue in unit test
Andrew Nicols [Tue, 8 Aug 2017 01:00:02 +0000 (09:00 +0800)]
MDL-59748 groupslib: Fix time issue in unit test

4 years agoMDL-59448 boost: Make info colour accessible and match default primary
John Okely [Mon, 24 Jul 2017 08:06:08 +0000 (16:06 +0800)]
MDL-59448 boost: Make info colour accessible and match default primary

4 years agoMDL-58889 boost: Use underline links in footer
John Okely [Tue, 27 Jun 2017 04:14:58 +0000 (12:14 +0800)]
MDL-58889 boost: Use underline links in footer

It's impossible to gain the right colour contrast against a dark footer
using the same primary colour that gets 4.5 against white.

4 years agoMerge branch 'MDL-59725-master' of https://github.com/xow/moodle
Andrew Nicols [Tue, 8 Aug 2017 00:30:33 +0000 (08:30 +0800)]
Merge branch 'MDL-59725-master' of https://github.com/xow/moodle

4 years agoMerge branch 'MDL-59614-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Mon, 7 Aug 2017 23:48:35 +0000 (01:48 +0200)]
Merge branch 'MDL-59614-master' of git://github.com/junpataleta/moodle

4 years agoMDL-59746 oauth2: urlencode parameters for post requests
Jan Dageförde [Mon, 7 Aug 2017 20:21:29 +0000 (22:21 +0200)]
MDL-59746 oauth2: urlencode parameters for post requests

4 years agoMerge branch 'MDL-59506-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Mon, 7 Aug 2017 17:55:19 +0000 (19:55 +0200)]
Merge branch 'MDL-59506-master' of git://github.com/andrewnicols/moodle

4 years agoMerge branch 'MDL-59638_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Mon, 7 Aug 2017 17:48:17 +0000 (19:48 +0200)]
Merge branch 'MDL-59638_master' of git://github.com/dmonllao/moodle

4 years agoMerge branch 'MDL-59172-master' of https://github.com/snake/moodle
Dan Poltawski [Mon, 7 Aug 2017 15:20:11 +0000 (16:20 +0100)]
Merge branch 'MDL-59172-master' of https://github.com/snake/moodle

4 years agoMerge branch 'MDL-59642-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 7 Aug 2017 12:41:32 +0000 (14:41 +0200)]
Merge branch 'MDL-59642-master' of git://github.com/andrewnicols/moodle

4 years agoMDL-59116 analytics: Add rangeindex field to predict_samples index
David Monllao [Mon, 7 Aug 2017 10:39:20 +0000 (12:39 +0200)]
MDL-59116 analytics: Add rangeindex field to predict_samples index

4 years agoMDL-59740 core_form: add ability to specify if a button is primary
Mark Nelson [Mon, 7 Aug 2017 07:53:39 +0000 (15:53 +0800)]
MDL-59740 core_form: add ability to specify if a button is primary

4 years agoMDL-59737 core_backup: changed reference to domain doesntexist.com
Mark Nelson [Mon, 7 Aug 2017 05:37:10 +0000 (13:37 +0800)]
MDL-59737 core_backup: changed reference to domain doesntexist.com

4 years agoMDL-59741 auth: Always check the type of iconurls
Juan Leyva [Mon, 7 Aug 2017 08:58:37 +0000 (10:58 +0200)]
MDL-59741 auth: Always check the type of iconurls

We need to check always if iconurl is an instance of moodle_url to
avoid Web Services returning iconurls from identity providers to fail.

4 years agoMerge branch 'MDL-59666-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Mon, 7 Aug 2017 08:31:34 +0000 (09:31 +0100)]
Merge branch 'MDL-59666-master' of git://github.com/junpataleta/moodle

4 years agoMDL-59700 filestorage: Rework repositories to avoid add_file_to_pool
Cameron Ball [Mon, 7 Aug 2017 07:27:46 +0000 (15:27 +0800)]
MDL-59700 filestorage: Rework repositories to avoid add_file_to_pool

For historical reasons repositories need to call add_file_to_pool
to sync file records. However now that a before_file_created hook
has been added additional information is needed by add_file_to_pool.

Ideally add_file_to_pool and friends will become private/protected,
so we need to remove all uses of it in core.

This patch adds some new methods to the file class to allow syncing
to be managed internally by the file and the file_storage class.

4 years agoMerge branch 'MDL-59116_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 7 Aug 2017 07:44:37 +0000 (08:44 +0100)]
Merge branch 'MDL-59116_master' of git://github.com/dmonllao/moodle

4 years agoMerge branch 'MDL-59532-master' of git://github.com/jleyva/moodle
David Monllao [Mon, 7 Aug 2017 07:42:08 +0000 (09:42 +0200)]
Merge branch 'MDL-59532-master' of git://github.com/jleyva/moodle

4 years agoMerge branch 'MDL-59644-master' of git://github.com/lameze/moodle
David Monllao [Mon, 7 Aug 2017 07:34:36 +0000 (09:34 +0200)]
Merge branch 'MDL-59644-master' of git://github.com/lameze/moodle

4 years agoMerge branch 'wip-MDL-59655-master' of git://github.com/marinaglancy/moodle
David Monllao [Mon, 7 Aug 2017 07:27:38 +0000 (09:27 +0200)]
Merge branch 'wip-MDL-59655-master' of git://github.com/marinaglancy/moodle