moodle.git
3 years agoMerge branch 'MDL-62049_master' of git://github.com/markn86/moodle
Jun Pataleta [Mon, 23 Apr 2018 05:54:38 +0000 (13:54 +0800)]
Merge branch 'MDL-62049_master' of git://github.com/markn86/moodle

3 years agoMerge branch 'wip-MDL-61966-master' of git://github.com/abgreeve/moodle
Jun Pataleta [Mon, 23 Apr 2018 05:11:30 +0000 (13:11 +0800)]
Merge branch 'wip-MDL-61966-master' of git://github.com/abgreeve/moodle

3 years agoMDL-62049 core_privacy: use correct lang string for date
Mark Nelson [Thu, 19 Apr 2018 06:28:00 +0000 (14:28 +0800)]
MDL-62049 core_privacy: use correct lang string for date

3 years agoMerge branch 'MDL-61759-master-nonexistinghandler' of git://github.com/mudrd8mz/moodle
Andrew Nicols [Sun, 22 Apr 2018 13:04:56 +0000 (21:04 +0800)]
Merge branch 'MDL-61759-master-nonexistinghandler' of git://github.com/mudrd8mz/moodle

3 years agoon-demand release 3.5dev+
Eloy Lafuente (stronk7) [Fri, 20 Apr 2018 21:53:54 +0000 (23:53 +0200)]
on-demand release 3.5dev+

3 years agoNOBUG: Fixed file access permissions
Eloy Lafuente (stronk7) [Fri, 20 Apr 2018 21:53:53 +0000 (23:53 +0200)]
NOBUG: Fixed file access permissions

3 years agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Fri, 20 Apr 2018 21:53:52 +0000 (23:53 +0200)]
NOBUG: Fixed SVG browser compatibility

3 years agoMerge branch 'MDL-61899_master-fixgetroleusers' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Fri, 20 Apr 2018 17:13:38 +0000 (19:13 +0200)]
Merge branch 'MDL-61899_master-fixgetroleusers' of git://github.com/dmonllao/moodle

3 years agoMDL-61899 tool_dataprivacy: Add missing get_role_users fields
David Monllao [Fri, 20 Apr 2018 15:46:49 +0000 (17:46 +0200)]
MDL-61899 tool_dataprivacy: Add missing get_role_users fields

3 years agoMerge branch 'MDL-56511_master-fixbehat4' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Fri, 20 Apr 2018 15:32:08 +0000 (17:32 +0200)]
Merge branch 'MDL-56511_master-fixbehat4' of git://github.com/dmonllao/moodle

3 years agoMDL-61899 tool_dataprivacy: Separate the retention period in 2 css selectors
David Monllao [Fri, 20 Apr 2018 15:08:32 +0000 (17:08 +0200)]
MDL-61899 tool_dataprivacy: Separate the retention period in 2 css selectors

3 years agoMDL-56511 behat: Fix failing behat tests (again)
David Monllao [Fri, 20 Apr 2018 12:25:10 +0000 (14:25 +0200)]
MDL-56511 behat: Fix failing behat tests (again)

3 years agoMerge branch 'MDL-61899_master-fixsubjectscope' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Fri, 20 Apr 2018 08:46:36 +0000 (10:46 +0200)]
Merge branch 'MDL-61899_master-fixsubjectscope' of git://github.com/dmonllao/moodle

3 years agoMDL-61899 tool_dataprivacy: Replace wrong function for subject scope
David Monllao [Fri, 20 Apr 2018 08:27:05 +0000 (10:27 +0200)]
MDL-61899 tool_dataprivacy: Replace wrong function for subject scope

3 years agoMDL-61966 block_myoverview: Update to provider for user preferences.
Adrian Greeve [Sat, 14 Apr 2018 03:41:23 +0000 (11:41 +0800)]
MDL-61966 block_myoverview: Update to provider for user preferences.

3 years agoMDL-61899 tool_dataprivacy: Fix undefined property error
Mark Sharp [Wed, 18 Apr 2018 15:14:37 +0000 (16:14 +0100)]
MDL-61899 tool_dataprivacy: Fix undefined property error

3 years agoMDL-56511 theme_boost: Restore file perms back to 644
David Monllao [Fri, 20 Apr 2018 04:18:54 +0000 (06:18 +0200)]
MDL-56511 theme_boost: Restore file perms back to 644

3 years agoMDL-56511 Theme: behat fixes for theme clean
Bas Brands [Thu, 19 Apr 2018 18:51:13 +0000 (20:51 +0200)]
MDL-56511 Theme: behat fixes for theme clean

3 years agoMDL-56511 theme: position next button.
Bas Brands [Thu, 19 Apr 2018 07:23:05 +0000 (09:23 +0200)]
MDL-56511 theme: position next button.

3 years agoMerge branch 'MDL-62048_master' of git://github.com/markn86/moodle
Jun Pataleta [Fri, 20 Apr 2018 03:53:37 +0000 (11:53 +0800)]
Merge branch 'MDL-62048_master' of git://github.com/markn86/moodle

3 years agoMerge branch 'MDL-61892-master' of git://github.com/zig-moodle/moodle
Andrew Nicols [Fri, 20 Apr 2018 03:47:54 +0000 (11:47 +0800)]
Merge branch 'MDL-61892-master' of git://github.com/zig-moodle/moodle

3 years agoMDL-61892 admin/tools: Implement null privacy providers
Zig Tan [Fri, 20 Apr 2018 03:41:20 +0000 (11:41 +0800)]
MDL-61892 admin/tools: Implement null privacy providers

3 years agoMerge branch 'MDL-61899-master-fix' of git://github.com/junpataleta/moodle
Andrew Nicols [Fri, 20 Apr 2018 03:37:46 +0000 (11:37 +0800)]
Merge branch 'MDL-61899-master-fix' of git://github.com/junpataleta/moodle

3 years agoMDL-61899 tool_dataprivacy: Use default parameters for get_role_users()
Jun Pataleta [Fri, 20 Apr 2018 02:01:34 +0000 (10:01 +0800)]
MDL-61899 tool_dataprivacy: Use default parameters for get_role_users()

* To avoid failures in Oracle.

3 years agoMerge branch 'wip-MDL-62035-master' of git://github.com/abgreeve/moodle
Andrew Nicols [Fri, 20 Apr 2018 03:16:46 +0000 (11:16 +0800)]
Merge branch 'wip-MDL-62035-master' of git://github.com/abgreeve/moodle

3 years agoMDL-62035 core_blog: Update to blog with comments.
Adrian Greeve [Thu, 19 Apr 2018 05:51:17 +0000 (13:51 +0800)]
MDL-62035 core_blog: Update to blog with comments.

This makes blog use the updated delete methods in the
comments provider.

3 years agoMDL-62035 core_comment: Update to deletion methods.
Adrian Greeve [Thu, 19 Apr 2018 02:20:34 +0000 (10:20 +0800)]
MDL-62035 core_comment: Update to deletion methods.

Also clarification with the export method to clarify that it
is only for one context.

3 years agoMerge branch 'MDL-62003-master-privacyfiles' of git://github.com/mudrd8mz/moodle
Andrew Nicols [Fri, 20 Apr 2018 02:26:01 +0000 (10:26 +0800)]
Merge branch 'MDL-62003-master-privacyfiles' of git://github.com/mudrd8mz/moodle

3 years agoMerge branch 'MDL-61848-master' of git://github.com/cescobedo/moodle
Jun Pataleta [Fri, 20 Apr 2018 01:20:13 +0000 (09:20 +0800)]
Merge branch 'MDL-61848-master' of git://github.com/cescobedo/moodle

3 years agoMerge branch 'MDL-61836-master-order' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Fri, 20 Apr 2018 01:03:34 +0000 (03:03 +0200)]
Merge branch 'MDL-61836-master-order' of git://github.com/andrewnicols/moodle

3 years agoMDL-61836 blog: Fix random order failures
Andrew Nicols [Fri, 20 Apr 2018 00:49:00 +0000 (08:49 +0800)]
MDL-61836 blog: Fix random order failures

3 years agoMDL-61836 core_blog: Prevent randomness in comments order
Frédéric Massart [Thu, 19 Apr 2018 08:05:12 +0000 (16:05 +0800)]
MDL-61836 core_blog: Prevent randomness in comments order

3 years agoMerge branch 'MDL-61827' of git://github.com/lszeremeta/moodle
Eloy Lafuente (stronk7) [Fri, 20 Apr 2018 00:32:26 +0000 (02:32 +0200)]
Merge branch 'MDL-61827' of git://github.com/lszeremeta/moodle

3 years agoMerge branch 'MDL-61836-master-fix' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Fri, 20 Apr 2018 00:27:51 +0000 (02:27 +0200)]
Merge branch 'MDL-61836-master-fix' of git://github.com/andrewnicols/moodle

3 years agoMerge branch 'MDL-61991-master' of https://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Fri, 20 Apr 2018 00:22:20 +0000 (02:22 +0200)]
Merge branch 'MDL-61991-master' of https://github.com/lucaboesch/moodle

3 years agoMDL-61836 comment: Add missing require
Andrew Nicols [Fri, 20 Apr 2018 00:17:15 +0000 (08:17 +0800)]
MDL-61836 comment: Add missing require

3 years agoMerge branch 'MDL-61975-master' of git://github.com/zig-moodle/moodle
Eloy Lafuente (stronk7) [Fri, 20 Apr 2018 00:04:18 +0000 (02:04 +0200)]
Merge branch 'MDL-61975-master' of git://github.com/zig-moodle/moodle

3 years agoMerge branch 'MDL-61348-take2' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Thu, 19 Apr 2018 23:59:15 +0000 (01:59 +0200)]
Merge branch 'MDL-61348-take2' of git://github.com/timhunt/moodle

3 years agoMDL-61848 auth_manual: Implement Privacy API
cescobedo [Thu, 19 Apr 2018 22:08:30 +0000 (00:08 +0200)]
MDL-61848 auth_manual: Implement Privacy API

3 years agoMDL-61102 core_search: Restore search manager instance
David Monllao [Thu, 19 Apr 2018 11:37:35 +0000 (13:37 +0200)]
MDL-61102 core_search: Restore search manager instance

3 years agoMerge branch 'MDL-61138-master-require-context-id' of git://github.com/ryanwyllie...
David Monllao [Thu, 19 Apr 2018 09:18:47 +0000 (11:18 +0200)]
Merge branch 'MDL-61138-master-require-context-id' of git://github.com/ryanwyllie/moodle

3 years agoMerge branch 'MDL-61102-master' of https://github.com/sammarshallou/moodle
David Monllao [Thu, 19 Apr 2018 08:37:30 +0000 (10:37 +0200)]
Merge branch 'MDL-61102-master' of https://github.com/sammarshallou/moodle

3 years agoMerge branch 'MDL-61772-master' of git://github.com/lameze/moodle
Jun Pataleta [Thu, 19 Apr 2018 08:13:18 +0000 (16:13 +0800)]
Merge branch 'MDL-61772-master' of git://github.com/lameze/moodle

3 years agoMerge branch 'MDL-62025_master' of git://github.com/markn86/moodle
Jun Pataleta [Thu, 19 Apr 2018 07:50:09 +0000 (15:50 +0800)]
Merge branch 'MDL-62025_master' of git://github.com/markn86/moodle

3 years agoMDL-62025 mod_choice: add missing join on modules table
Mark Nelson [Thu, 19 Apr 2018 07:17:43 +0000 (15:17 +0800)]
MDL-62025 mod_choice: add missing join on modules table

3 years agoMerge branch 'MDL-61568-master' of git://github.com/zig-moodle/moodle
Andrew Nicols [Thu, 19 Apr 2018 07:00:16 +0000 (15:00 +0800)]
Merge branch 'MDL-61568-master' of git://github.com/zig-moodle/moodle

3 years agoMerge branch 'MDL-61970-master' of git://github.com/FMCorz/moodle
Andrew Nicols [Thu, 19 Apr 2018 06:52:04 +0000 (14:52 +0800)]
Merge branch 'MDL-61970-master' of git://github.com/FMCorz/moodle

3 years agoMerge branch 'MDL-61969-master' of git://github.com/mihailges/moodle
Andrew Nicols [Thu, 19 Apr 2018 06:47:20 +0000 (14:47 +0800)]
Merge branch 'MDL-61969-master' of git://github.com/mihailges/moodle

3 years agoMerge branch 'MDL-61878-master' of git://github.com/mihailges/moodle
Jun Pataleta [Thu, 19 Apr 2018 06:40:12 +0000 (14:40 +0800)]
Merge branch 'MDL-61878-master' of git://github.com/mihailges/moodle

3 years agoMDL-61568 repository_flickr: Fix oauth secret export
Zig Tan [Thu, 19 Apr 2018 06:30:18 +0000 (14:30 +0800)]
MDL-61568 repository_flickr: Fix oauth secret export

3 years agoMDL-61138 mod_quiz: add question preview to random question modal
Ryan Wyllie [Wed, 21 Mar 2018 07:36:55 +0000 (15:36 +0800)]
MDL-61138 mod_quiz: add question preview to random question modal

3 years agoMDL-61138 question: external function to get random question set
Ryan Wyllie [Wed, 21 Mar 2018 07:34:49 +0000 (15:34 +0800)]
MDL-61138 question: external function to get random question set

3 years agoMDL-61878 fileconverter_googledrive: Add privacy files and unit tests
Mihail Geshoski [Thu, 19 Apr 2018 05:16:21 +0000 (13:16 +0800)]
MDL-61878 fileconverter_googledrive: Add privacy files and unit tests

3 years agoMDL-61970 mod_survey: Do not assume context passed is one of survey
Frédéric Massart [Thu, 19 Apr 2018 05:05:51 +0000 (13:05 +0800)]
MDL-61970 mod_survey: Do not assume context passed is one of survey

3 years agoMDL-62048 core_privacy: extend test to ensure table exists
Mark Nelson [Thu, 19 Apr 2018 05:00:15 +0000 (13:00 +0800)]
MDL-62048 core_privacy: extend test to ensure table exists

3 years agoMerge branch 'MDL-61945-master' of git://github.com/cescobedo/moodle
Andrew Nicols [Thu, 19 Apr 2018 03:50:31 +0000 (11:50 +0800)]
Merge branch 'MDL-61945-master' of git://github.com/cescobedo/moodle

3 years agoMerge branch 'MDL-61948-master' of git://github.com/mihailges/moodle
Andrew Nicols [Thu, 19 Apr 2018 03:38:04 +0000 (11:38 +0800)]
Merge branch 'MDL-61948-master' of git://github.com/mihailges/moodle

3 years agoMerge branch 'MDL-61836-master' of git://github.com/FMCorz/moodle
Andrew Nicols [Thu, 19 Apr 2018 03:19:07 +0000 (11:19 +0800)]
Merge branch 'MDL-61836-master' of git://github.com/FMCorz/moodle

3 years agoMerge branch 'MDL-61970-master' of git://github.com/FMCorz/moodle
Andrew Nicols [Thu, 19 Apr 2018 03:12:35 +0000 (11:12 +0800)]
Merge branch 'MDL-61970-master' of git://github.com/FMCorz/moodle

3 years agoMerge branch 'MDL-61614-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Wed, 18 Apr 2018 21:13:07 +0000 (23:13 +0200)]
Merge branch 'MDL-61614-master' of git://github.com/rezaies/moodle

3 years agoMDL-56511 theme_boost: Fixing minor behat failures
David Monllao [Wed, 18 Apr 2018 11:52:58 +0000 (13:52 +0200)]
MDL-56511 theme_boost: Fixing minor behat failures

Related to MDL-56511 markup changes.

3 years agoMerge branch 'MDL-61716-master' of git://github.com/mastnym/moodle
David Monllao [Wed, 18 Apr 2018 15:39:15 +0000 (17:39 +0200)]
Merge branch 'MDL-61716-master' of git://github.com/mastnym/moodle

3 years agoMDL-61958 rss: Add rss test suite
David Monllao [Wed, 18 Apr 2018 15:34:19 +0000 (17:34 +0200)]
MDL-61958 rss: Add rss test suite

3 years agoMerge branch 'MDL-61958-master' of git://github.com/sarjona/moodle
David Monllao [Wed, 18 Apr 2018 15:22:13 +0000 (17:22 +0200)]
Merge branch 'MDL-61958-master' of git://github.com/sarjona/moodle

3 years agoMerge branch 'MDL-62018-master' of git://github.com/sarjona/moodle
David Monllao [Wed, 18 Apr 2018 15:20:22 +0000 (17:20 +0200)]
Merge branch 'MDL-62018-master' of git://github.com/sarjona/moodle

3 years agoMDL-61899 tool_dataprivacy: Fixes during integration review
Jun Pataleta [Wed, 18 Apr 2018 05:16:30 +0000 (13:16 +0800)]
MDL-61899 tool_dataprivacy: Fixes during integration review

* Disable tool by default.
* Add format columns for 'comments' and 'dpocomment' fields in
tool_dataprivacy_request table.
* Use data request exporter when sending email notification to DPO

3 years agoMDL-61899 tool_dataprivacy: Fix cibot complains
David Monllao [Tue, 17 Apr 2018 11:35:52 +0000 (13:35 +0200)]
MDL-61899 tool_dataprivacy: Fix cibot complains

3 years agoMDL-61899 tool_dataprivacy: Create name-description exporter
Jun Pataleta [Mon, 16 Apr 2018 16:05:14 +0000 (00:05 +0800)]
MDL-61899 tool_dataprivacy: Create name-description exporter

Create exporter for lawful bases that contain name and description pairs

3 years agoMDL-61899 tool_dataprivacy: Unit test fixes
Jun Pataleta [Sun, 15 Apr 2018 14:49:56 +0000 (22:49 +0800)]
MDL-61899 tool_dataprivacy: Unit test fixes

3 years agoMDL-61899 tool_dataprivacy: Remove namespace alias
David Monllao [Fri, 13 Apr 2018 12:10:19 +0000 (14:10 +0200)]
MDL-61899 tool_dataprivacy: Remove namespace alias

Includes MDL-61935

3 years agoMDL-61899 tool_dataprivacy: Fix table column width distribution
Jun Pataleta [Thu, 12 Apr 2018 07:48:06 +0000 (15:48 +0800)]
MDL-61899 tool_dataprivacy: Fix table column width distribution

Includes MDL-61935

3 years agoMDL-61899 tool_dataprivacy: Add lawful bases fields
Jun Pataleta [Wed, 11 Apr 2018 10:02:19 +0000 (18:02 +0800)]
MDL-61899 tool_dataprivacy: Add lawful bases fields

Includes MDL-61935

* New fields when defining purposes that let the Privacy Officer
set the lawful bases of personal data collection and reason(s)
for the exemption of prohibition from processing sensitive personal
data.

3 years agoMDL-61899 tool_dataprivacy: Delete user after deletion request or expired context
David Monllao [Fri, 13 Apr 2018 10:19:19 +0000 (12:19 +0200)]
MDL-61899 tool_dataprivacy: Delete user after deletion request or expired context

Includes MDL-61955

3 years agoMDL-61899 tool_dataprivacy: Implement data export for the tool
Jun Pataleta [Fri, 13 Apr 2018 04:17:13 +0000 (12:17 +0800)]
MDL-61899 tool_dataprivacy: Implement data export for the tool

3 years agoMDL-61899 tool_dataprivacy: Helper class for the tool
Jun Pataleta [Fri, 13 Apr 2018 04:06:30 +0000 (12:06 +0800)]
MDL-61899 tool_dataprivacy: Helper class for the tool

* Create helper functions for getting the string names of data
request types and statuses.

3 years agoMDL-61899 tool_dataprivacy: Remove upgrade.php and add @since
David Monllao [Wed, 11 Apr 2018 08:49:17 +0000 (10:49 +0200)]
MDL-61899 tool_dataprivacy: Remove upgrade.php and add @since

3 years agoMDL-61899 tool_dataprivacy: Removing unnecessary dependencies
David Monllao [Tue, 10 Apr 2018 10:30:07 +0000 (12:30 +0200)]
MDL-61899 tool_dataprivacy: Removing unnecessary dependencies

Includes MDL-61489

3 years agoMDL-61899 tool_dataprivacy: Addition of js file and misc. updates.
Adrian Greeve [Tue, 10 Apr 2018 03:51:26 +0000 (11:51 +0800)]
MDL-61899 tool_dataprivacy: Addition of js file and misc. updates.

Includes MDL-61489

3 years agoMDL-61899 tool_dataprivacy: Styling of the second registry.
Barbara Ramiro [Fri, 6 Apr 2018 08:07:55 +0000 (16:07 +0800)]
MDL-61899 tool_dataprivacy: Styling of the second registry.

Includes MDL-61489

3 years agoMDL-61899 tool_dataprivacy: Addition of plugin compliance registry.
Adrian Greeve [Mon, 26 Mar 2018 07:45:37 +0000 (15:45 +0800)]
MDL-61899 tool_dataprivacy: Addition of plugin compliance registry.

Includes MDL-61489

3 years agoMDL-61899 tool_dataprivacy: Fix reference to unexisting method
David Monllao [Tue, 10 Apr 2018 09:40:23 +0000 (11:40 +0200)]
MDL-61899 tool_dataprivacy: Fix reference to unexisting method

All credit goes to Marcel Behrmann

3 years agoMDL-61899 tool_dataprivacy: Fetch context ids to update then update
Jun Pataleta [Tue, 10 Apr 2018 04:12:37 +0000 (12:12 +0800)]
MDL-61899 tool_dataprivacy: Fetch context ids to update then update

Fetch the context ids to be updated first before performing the update
to the contextlist_context table to avoid using subquery that causes
cross DB compatibility issues.

3 years agoMDL-61899 tool_dataprivacy: Additional fixes to tool
Jun Pataleta [Mon, 9 Apr 2018 09:04:32 +0000 (17:04 +0800)]
MDL-61899 tool_dataprivacy: Additional fixes to tool

Fixes applied from the following issues:
1. MDL-61618
2. MDL-61901

3 years agoMDL-61899 tool_dataprivacy: Refined patch fixing cibot complains
David Monllao [Sun, 8 Apr 2018 17:06:53 +0000 (19:06 +0200)]
MDL-61899 tool_dataprivacy: Refined patch fixing cibot complains

3 years agoMDL-61899 core: Add too_dataprivacy to core plugins
David Monllao [Sun, 8 Apr 2018 16:35:07 +0000 (18:35 +0200)]
MDL-61899 core: Add too_dataprivacy to core plugins

3 years agoMDL-61899 tool_dataprivacy: Subject access requests tool
David Monllao [Sun, 8 Apr 2018 16:04:59 +0000 (18:04 +0200)]
MDL-61899 tool_dataprivacy: Subject access requests tool

This commit is composed of different issues, most of them under
MDL-61306:
- MDL-61888, MDL-61785, MDL-61830, MDL-61874, MDL-59720,
  MDL-61486, MDL-61697, MDL-61798, MDL-61685, MDL-61682,
  MDL-61684, MDL-61618, MDL-61681, MDL-61680, MDL-61487,
  MDL-61499, MDL-61500, MDL-61362 and MDL-59718

Contributions to this patch by:
- Jun Pataleta
- David Monllao
- Andrew Nicols
- Adrian B. Greeve
- Jake Dallimore
- Sara Arjona

3 years agoMDL-61102 core_search: Improve performance by reducing schema checks
sam marshall [Thu, 21 Dec 2017 17:58:22 +0000 (17:58 +0000)]
MDL-61102 core_search: Improve performance by reducing schema checks

3 years agoMDL-62003 privacy: Fix reported coding style violation
David Mudrák [Wed, 18 Apr 2018 11:13:51 +0000 (13:13 +0200)]
MDL-62003 privacy: Fix reported coding style violation

3 years agoMDL-62003 privacy: Consistently export files into _files folder
David Mudrák [Wed, 18 Apr 2018 11:12:47 +0000 (13:12 +0200)]
MDL-62003 privacy: Consistently export files into _files folder

There were two major issues with the previous implementation:

* The exported folder name was localised so it was "Files" or "Soubory"
  etc depending on the current language. Yet URLs referring to the files
  in that folder were always rewritten with hard-coded English "files".
* Files from all fileareas and itemids were all exported to a single
  target directory. So if there were two files with the same name being
  exported from multiple areas (such as submission_content and
  submission_attachment in the workshop module), one would overwrite
  another.

The patch addresses these issues as follows:

* To unify the folder name and also to minimise the risk of conflict
  with a subcontext folder, we now always export stored files under
  "_files" folder.
* Under that folder, there is a subdirectory with the area name and then
  eventually another subdirectory with non-zero itemid. And there
  finally the stored_file is exported to under its own file path.

3 years agoMerge branch 'MDL-61796-master' of https://github.com/lucaboesch/moodle
David Monllao [Wed, 18 Apr 2018 13:20:19 +0000 (15:20 +0200)]
Merge branch 'MDL-61796-master' of https://github.com/lucaboesch/moodle

3 years agoMerge branch 'MDL-38099-master' of https://github.com/lucaboesch/moodle
David Monllao [Wed, 18 Apr 2018 12:14:20 +0000 (14:14 +0200)]
Merge branch 'MDL-38099-master' of https://github.com/lucaboesch/moodle

3 years agoMerge branch 'MDL-61621_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Wed, 18 Apr 2018 10:57:38 +0000 (12:57 +0200)]
Merge branch 'MDL-61621_master' of git://github.com/dmonllao/moodle

3 years agoMerge branch 'MDL-62025_master' of git://github.com/markn86/moodle
Jun Pataleta [Wed, 18 Apr 2018 08:26:26 +0000 (16:26 +0800)]
Merge branch 'MDL-62025_master' of git://github.com/markn86/moodle

3 years agoMerge branch 'MDL-61928' of git://github.com/timhunt/moodle
Jun Pataleta [Wed, 18 Apr 2018 08:00:49 +0000 (16:00 +0800)]
Merge branch 'MDL-61928' of git://github.com/timhunt/moodle

3 years agoMDL-62025 mod_choice: only export in the CONTEXT_MODULE context
Mark Nelson [Wed, 18 Apr 2018 07:10:12 +0000 (15:10 +0800)]
MDL-62025 mod_choice: only export in the CONTEXT_MODULE context

3 years agoMDL-61970 mod_survey: Implement privacy API
Frédéric Massart [Fri, 13 Apr 2018 03:42:24 +0000 (11:42 +0800)]
MDL-61970 mod_survey: Implement privacy API

3 years agoMerge branch 'MDL-61568-master' of git://github.com/zig-moodle/moodle
Andrew Nicols [Wed, 18 Apr 2018 06:24:28 +0000 (14:24 +0800)]
Merge branch 'MDL-61568-master' of git://github.com/zig-moodle/moodle

3 years agoMDL-61969 datapreset_imagegallery: Implement null privacy provider
Mihail Geshoski [Fri, 13 Apr 2018 03:37:07 +0000 (11:37 +0800)]
MDL-61969 datapreset_imagegallery: Implement null privacy provider

3 years agoMDL-61948 core_media: Implement null privacy provider
Mihail Geshoski [Thu, 12 Apr 2018 02:14:07 +0000 (10:14 +0800)]
MDL-61948 core_media: Implement null privacy provider

3 years agoMDL-61568 core_repository: Implement privacy providers
Zig Tan [Tue, 17 Apr 2018 02:53:00 +0000 (10:53 +0800)]
MDL-61568 core_repository: Implement privacy providers