Commit graph

91048 commits

Author SHA1 Message Date
Mihail Geshoski
77134a08b2 MDL-63684 core_calendar: Fix test_get_contexts_for_userid() test
This issue is part of the MDL-62560 Epic.
2018-10-31 14:10:47 +08:00
Mihail Geshoski
c844eafd6f MDL-63684 core_calendar: Add support for removal of context users
This issue is part of the MDL-62560 Epic.
2018-10-31 14:10:08 +08:00
Andrew Nicols
cac50a5cba Merge branch 'MDL-63702-master' of git://github.com/mihailges/moodle 2018-10-31 14:04:08 +08:00
David Monllao
57c2400b07 Merge branch 'MDL-62601-master' of git://github.com/andrewnicols/moodle 2018-10-31 06:47:16 +01:00
Andrew Nicols
5efa9f4653 MDL-62601 core_privacy: Ensure providers can handle deleted users 2018-10-31 13:45:00 +08:00
Andrew Nicols
801c6bcfca MDL-62601 editor_atto: Do not use context_user 2018-10-31 13:45:00 +08:00
David Monllao
df9813c25b Merge branch 'MDL-63582-master' of https://github.com/lucaboesch/moodle 2018-10-31 06:09:07 +01:00
Jun Pataleta
3841786272 Merge branch 'MDL-63690-master-integration' of git://github.com/mihailges/moodle 2018-10-31 12:54:24 +08:00
Michael Hawkins
b16a3388bb MDL-63816 privacy: Corrected provider get_users_in_context descriptions 2018-10-31 12:13:30 +08:00
Michael Hawkins
52e5c8b739 MDL-63816 privacy: Corrected interface get_users_in_context description 2018-10-31 12:11:21 +08:00
Mihail Geshoski
4acdbe5d0b MDL-63690 core_blog: Handle when user blog posts are not being returned 2018-10-31 11:44:09 +08:00
Jun Pataleta
3b0dbe2b64 Merge branch 'MDL-60897-master' of git://github.com/junpataleta/moodle 2018-10-31 11:34:54 +08:00
Andrew Nicols
7f56f4bfba Merge branch 'MDL-63624-master' of git://github.com/mihailges/moodle 2018-10-31 11:15:24 +08:00
Mihail Geshoski
3c0290a9fb MDL-63624 tool_cohortroles: Add support for removal of context users
This issue is part of the MDL-62560 Epic.
2018-10-31 11:08:49 +08:00
Jake Dallimore
eb35e0b176 MDL-63549 core_message: deprecate data_for_messagearea_conversations 2018-10-31 10:55:34 +08:00
Jan Dageförde
4354a4286a MDL-58943 nextcloud: translatable exception messages 2018-10-31 10:42:58 +08:00
Jan Dageförde
daef88213b MDL-58943 oauth2: use standard way of URL validation 2018-10-31 10:42:58 +08:00
Tobias Reischmann
3e3e120d3a MDL-58943 oauth2: Added nextcloud to standard issuers
* New button allows to create standard issuer for nextcloud
* Since the endpoints url has to be https and nextcloud relys on the
baseurl to create the endpoints, the baseurl of issuers has now to be
https as well (or empty).
* Google's baseurl was changed to https (there was no reason not to),
whereas Facebook and Microsoft baseurls remain empty.
* In case of the creation of a nextcloud issuer, the baseurl is
required.
* Nextcloud requires the baseurl, therefore a parameter is added to
create_standard_issuer($type, $baseurl = false). That parameter not
required (or used) for anything but Nextcloud.
2018-10-31 10:42:58 +08:00
Tobias Reischmann
fa6cd89b24 MDL-58943 oauth2: Split issuer initialization from endpoint creation
* Splitted the initialization of default values for issuers, the
creation of the issuer, and the creation of its endpoints. This is
a fix for following use case:
 1. A user creates a standard issuer.
 2. She cancels the form.
 3. However, the issuer was already created. Thus, the cancel had no
effect.
* The function create_standard_issuer($type) can still be used to create
issuers programmatically if all required data is known beforehand (e.g.,
during upgrade or in tests).
2018-10-31 10:42:57 +08:00
Jan Dageförde
f6df2a884e MDL-58943 repository: Add repository_nextcloud to core plugins 2018-10-31 10:42:57 +08:00
Nina Herrmann
b4e24a82db MDL-58943 repository: Add repository_nextcloud
Based on repository_owncloud from
https://github.com/learnweb/moodle-repository_owncloud at 5b5fdbb.
Differences to the original:

* Renamed to repository_nextcloud
* Updated version.php for core
* Removed compatibility polyfills (webdav, privacy)
* Removed boilerplate files (e.g. README, CI config)
* Implement null_provider for privacy API as personal data is neither
  stored nor transmitted to the external system
2018-10-31 10:42:57 +08:00
Adrian Greeve
98f8c082de MDL-63702 core_block: Update to use new userlist interface.
This allows user data to be deleted on a role basis.
2018-10-31 10:01:44 +08:00
Jun Pataleta
6ffeabfdff MDL-60897 qtype_multianswer: Code style fixes
And Behat steps improvement, too!
2018-10-31 09:33:23 +08:00
Jean-Michel Vedrine
09fc929e13 MDL-60897 qtype_multianswer: Invalid cloze-questions saved to db 2018-10-31 09:29:53 +08:00
Andrew Nicols
244c0e10f9 Merge branch 'MDL-63530-master-2' of git://github.com/mihailges/moodle 2018-10-31 09:02:08 +08:00
Andrew Nicols
4b7418d3b0 Merge branch 'MDL-63606-master-2' of git://github.com/mihailges/moodle 2018-10-31 08:51:35 +08:00
Andrew Nicols
17109340cc Merge branch 'MDL-63690-master' of git://github.com/mihailges/moodle 2018-10-31 08:20:31 +08:00
Jake Dallimore
6f31927af8 MDL-63549 core_message: add get_conversations web service 2018-10-31 08:16:32 +08:00
Jake Dallimore
eb5865da8b MDL-63549 core_message: add group support to api::get_conversations
- Added support for returning group conversations
- Added support for conversation type filtering
- Added support for NO favourites, or ONLY favourites restrictions.
2018-10-31 08:16:31 +08:00
Andrew Nicols
de49fdb774 Merge branch 'MDL-63781' of https://github.com/timhunt/moodle 2018-10-31 08:15:43 +08:00
Eloy Lafuente (stronk7)
f3507f5982 Merge branch 'MDL-61197-master' of git://github.com/jleyva/moodle 2018-10-31 00:22:30 +01:00
Eloy Lafuente (stronk7)
b702dbf6dd MDL-63422 lib: lessphp - review core loop / switch / case / continue 2018-10-31 00:17:59 +01:00
Eloy Lafuente (stronk7)
77331aed27 MDL-63422 lib: horde - review core loop / switch / case / continue 2018-10-31 00:17:59 +01:00
Eloy Lafuente (stronk7)
ed24d21b78 MDL-63422 lib: tcpdf - review core loop / switch / case / continue 2018-10-31 00:17:59 +01:00
Eloy Lafuente (stronk7)
0d2d2b9886 MDL-63422 auth_cas: review core loop / switch / case / continue
Created https://github.com/apereo/phpCAS/pull/278 upstream, applied locally.
2018-10-31 00:17:59 +01:00
Eloy Lafuente (stronk7)
bd5fdcfccd MDL-63422 general: review core loop / switch / case / continue
This commit reviews all continue uses in core happening within a
loop / switch / case hierarchy. This does not cover:

- Changes to libraries. Will be handled in another issue / commit.
- Uses out from loops, will be reviewed by other commit.

The policy followed has been:
- When possible, take rid of the continue.
- When clearly the intention was to jump to next element in loop
  change to continue 2
- When it was not clear, keep old behavior switching to break, no
  matter how weird the behavior may be.
2018-10-31 00:17:59 +01:00
Luca Bösch
e5abe2afbf MDL-59454 core_user: Download user table in the available formats. 2018-10-30 22:55:51 +01:00
Luca Bösch
abc469dd3b MDL-63726 tool_dataprivacy: En-/disable 'Data retention summary' link 2018-10-30 22:52:54 +01:00
Luca Bösch
2eec5251af MDL-63582 theme_boost: Fix the license field in the file picker width. 2018-10-30 22:42:47 +01:00
Eloy Lafuente (stronk7)
8b019fb709 on-demand release 3.6dev+ 2018-10-30 18:24:14 +01:00
Eloy Lafuente (stronk7)
4ea6f848fa NOBUG: Fixed file access permissions 2018-10-30 18:24:14 +01:00
Eloy Lafuente (stronk7)
3f32559999 Merge branch 'MDL-63522-master' of git://github.com/jleyva/moodle 2018-10-30 18:01:10 +01:00
Juan Leyva
716c103d49 MDL-63522 course: Restore config and static cache 2018-10-30 17:35:46 +01:00
Albert Gasset
577fdc3438 MDL-63820 assignfeedback_comments: Implement get_file_areas 2018-10-30 15:25:58 +01:00
Tim Hunt
a6c2bc5474 MDL-63781 qtype_ddmarker: fix changing shape type on editing form in IE 2018-10-30 10:32:09 +00:00
Juan Leyva
6f89b33bdb MDL-61197 core_group: Fix groupings not being filtered 2018-10-30 10:22:58 +01:00
Juan Leyva
b8a3567407 MDL-61197 core_group: Refactor get_course_user_groups to get all groups
This is a refactor of the function to be able to get all the user
course groups in just one call
2018-10-30 10:22:58 +01:00
Mihail Geshoski
541982c01e MDL-63606 core_badges: Add support for removal of context users
This issue is part of the MDL-62560 Epic.
2018-10-30 16:41:44 +08:00
Mihail Geshoski
fd45ae4566 MDL-63530 core_notes: Add support for removal of context users
This issue is part of the MDL-62560 Epic.
2018-10-30 16:18:24 +08:00
Jun Pataleta
a78e94257a Merge branch 'MDL-63813-master' of git://github.com/andrewnicols/moodle 2018-10-30 15:32:32 +08:00