Commit graph

89653 commits

Author SHA1 Message Date
Jake Dallimore
6f213a2fa2 Merge branch 'MDL-61951-master' of git://github.com/sarjona/moodle 2018-05-11 10:18:58 +08:00
Jun Pataleta
195f6fe37e Merge branch 'MDL-62388_master' of git://github.com/dmonllao/moodle 2018-05-11 10:03:44 +08:00
Mihail Geshoski
b1add54344 MDL-62384 privacy: Modify user contexts query for auth_oauth2 2018-05-11 09:46:29 +08:00
Jun Pataleta
239c6202e2 Merge branch 'MDL-62117-master-fix' of git://github.com/andrewnicols/moodle 2018-05-11 09:34:37 +08:00
Andrew Nicols
932ee52ba7 MDL-62117 enrol_paypal: Improve SQL efficiency 2018-05-11 09:29:07 +08:00
Andrew Nicols
38e6852140 MDL-62384 core_rating: Move WHERE clauses to JOIN 2018-05-11 09:15:30 +08:00
Andrew Nicols
a339908497 MDL-62384 core_grade: Move WHERE clause to JOIN 2018-05-11 09:15:30 +08:00
Andrew Nicols
f6021ae0af MDL-62384 mod_lesson: Move WHERE clause to JOIN 2018-05-11 09:15:29 +08:00
Andrew Nicols
09f9af4729 MDL-62384 logstore_standard: Remove unnecessary join on context 2018-05-11 09:15:29 +08:00
Andrew Nicols
037027230a MDL-62384 mod_quiz: Improve performancy of privacy queries 2018-05-11 09:15:29 +08:00
Adrian Greeve
d04b8d74a7 MDL-62384 mod_data: Update sql to improve performance. 2018-05-11 09:15:28 +08:00
Adrian Greeve
212d7fef05 MDL-62384 tool_monitor: Update to sql to fix performance. 2018-05-11 09:15:28 +08:00
Adrian Greeve
5a329d81f9 MDL-62384 core_competency: Update to sql to increase performance. 2018-05-11 09:15:27 +08:00
Adrian Greeve
d8eec7ee38 MDL-62384 core_completion: Update to sql to improve performance. 2018-05-11 09:15:27 +08:00
Adrian Greeve
8a5b84cf8b MDL-62384 mod_assign: Update to sql query for performance. 2018-05-11 09:15:27 +08:00
Eloy Lafuente (stronk7)
e4ad3ee714 Merge branch 'MDL-62380-master' of git://github.com/mihailges/moodle 2018-05-11 02:06:48 +02:00
Tim Hunt
75aa674b99 MDL-62275 qtype_calc*: improve validation of formulae
Many thanks to Marina Glancy for helping with this.
2018-05-11 01:21:16 +02:00
Eloy Lafuente (stronk7)
575b2eaa2d MDL-62354 notes: Reduce string to avoid js_call_amd() lenght limits
That way we are under the max 1024 allowed and also, the help string
is shown properly in the modal (previously part of it was not visible
falling off-window).
2018-05-10 23:30:22 +02:00
Eloy Lafuente (stronk7)
a7a5d10319 Merge branch 'MDL-62277-master' of git://github.com/bmbrands/moodle 2018-05-10 20:50:20 +02:00
Andrew Nicols
00293f90a4 MDL-61635 tool_dataprivacy: Filter out protected contexts in delete 2018-05-10 20:36:02 +02:00
David Monllao
1f000f071e Merge branch 'MDL-62366-master' of git://github.com/zig-moodle/moodle 2018-05-10 18:13:44 +02:00
David Monllao
4033c2a11b Merge branch 'MDL-61714-master' of git://github.com/sarjona/moodle 2018-05-10 18:10:29 +02:00
David Monllao
74e82e4684 Merge branch 'MDL-62200-master' of git://github.com/bmbrands/moodle 2018-05-10 18:04:08 +02:00
David Monllao
7b6c74431b Merge branch 'MDL-61949-master-privacy-upgrade-txt' of git://github.com/mudrd8mz/moodle 2018-05-10 17:53:05 +02:00
David Monllao
a319808cfb MDL-62075 tool_dataprivacy: Display correctly requests for other users 2018-05-10 17:43:59 +02:00
Bas Brands
f01734122a MDL-62277 Theme boost: add badge criteria layout 2018-05-10 16:32:41 +02:00
David Monllao
c459409c1b MDL-61637 tool_dataprivacy: Context-based fetching
Blocks API do not provide methods to retrieve a list of
blocks without filtering by UI-availability. We need to
get course blocks based on their course context.
2018-05-10 15:56:50 +02:00
Shamim Rezaie
8614257135 MDL-62251 Privacy: Fix dir separator in export_file() 2018-05-10 23:30:38 +10:00
Shamim Rezaie
07890336ab MDL-62251 Privacy: Url path separator should be platform independant
It should always be forward slash.
2018-05-10 23:30:38 +10:00
Shamim Rezaie
44efefcbeb MDL-62251 Privacy: Fix get_path() and get_full_path() bug in Windows 2018-05-10 23:30:23 +10:00
David Monllao
c2a38d17a4 MDL-62388 tool_dataprivacy: Fixing bs4stable table layout 2018-05-10 14:58:11 +02:00
David Monllao
bdc43d7729 MDL-62388 tool_dataprivacy: Default value if no sensitive data provided 2018-05-10 14:57:43 +02:00
Jake Dallimore
7feac02414 MDL-61951 core_grading: Several fixes to the privacy implementation
- Fixed legacy polyfill method definitions
- Added unit test for legacy polyfill
- Fixed delete_gradingform_for_userid in gradingform provider
2018-05-10 13:26:47 +02:00
Andrew Nicols
51e53b9f40 MDL-61905 mod_workshop: Adjust privacy SQL queries
This change moves the content of WHERE to the JOIN, thus filtering the
results before they are returned. This reduces the number of joined rows
which gives a big performance benefit.
2018-05-10 13:03:11 +02:00
Shamim Rezaie
4dfafed5d9 MDL-62251 Task: Make test_cron_delete_from_temp Unix independent 2018-05-10 20:13:09 +10:00
Eloy Lafuente (stronk7)
8e8ae80550 Merge branch 'MDL-62354-master-enfix' of git://github.com/mudrd8mz/moodle 2018-05-10 11:37:55 +02:00
David Mudrák
4f41ae2763 MDL-61949 privacy: Add mention of the new API in upgrade.txt files
The notice is explicitly repeated for activity modules because they
usually process user data heavily.
2018-05-10 11:35:12 +02:00
Bas Brands
d2d150b21d MDL-62376 Theme boost: server side form validation for checkboxes 2018-05-10 11:12:31 +02:00
Shamim Rezaie
da3c76158e MDL-62251 task: Fix file_temp_cleanup_task::execute() bug in Windows
$CFG->tempdir might contain both / and \ in Windows. Therefore, we need to
call realpatch() to be able to compare that with another patch.
2018-05-10 18:39:49 +10:00
Sara Arjona
b1f1bd2e54 MDL-61714 admin: Update digital age consent map according legislation 2018-05-10 10:32:49 +02:00
Jake Dallimore
eac66ff63c Merge branch 'MDL-61971-master' of git://github.com/mickhawkins/moodle 2018-05-10 16:23:22 +08:00
David Monllao
7258bf0bcf MDL-62373 tool_dataprivacy: Get rid of profile's contact dpo left-margin 2018-05-10 10:18:10 +02:00
Shamim Rezaie
f181a24a0b MDL-62251 backup: Fix replace_tempdir() bug under Windows
rename() fails under Windows if the destination file/directory exists.
I modified the code to only call $this->get_workdir_path() once as that function
creates the directory if doesn't exist. And we don't want that considering the
behaviour of rename on Windows.
2018-05-10 18:16:09 +10:00
David Monllao
91037dfb29 MDL-62373 tool_dataprivacy: More spacing between rows 2018-05-10 09:01:23 +02:00
David Monllao
782b242ccb Merge branch 'MDL-61309-master' of git://github.com/andrewnicols/moodle 2018-05-10 08:46:32 +02:00
Andrew Nicols
f662082974 MDL-61309 mod_forum: Improve privacy query performance 2018-05-10 14:05:53 +08:00
Jun Pataleta
4a70fd9973 Merge branch 'wip-MDL-62289-master' of git://github.com/abgreeve/moodle 2018-05-10 13:52:46 +08:00
Marina Glancy
f5b667f1c5 MDL-62206 blocks: do not add fixed form elements as hidden 2018-05-10 12:08:41 +08:00
Adam Olley
efc508c39c MDL-62210 mod_assign: limit file lookup to the target assign 2018-05-10 11:21:44 +08:00
Brendan Cox
1be5d6f4fe MDL-62210 mod_assign: improved validation in portfolio caller class 2018-05-10 11:21:44 +08:00