Commit graph

90808 commits

Author SHA1 Message Date
Shamim Rezaie
44451a6a40 MDL-63564 core_question: support removal of multiple users in a context
This issue is a part of the MDL-62560 Epic.
2018-11-02 14:40:37 +08:00
Andrew Nicols
9bb62d6cdd Merge branch 'MDL-63701-35-1' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-11-02 12:03:20 +08:00
Andrew Nicols
13ed41e499 Merge branch 'MDL-63666-35' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-11-02 10:52:40 +08:00
Mihail Geshoski
9825658af9 MDL-63666 logging: Rename delete_data_for_all_users() function 2018-11-02 09:42:16 +08:00
Adrian Greeve
2a939b9f7f MDL-63666 logging: Add support for removal of context users.
This creates a new interface for the logging subplugins to
implement for the users to be deleted separately.
2018-11-02 09:42:16 +08:00
Andrew Nicols
57eae451f1 MDL-63842 core_user: Remove unnecessary DB fetch 2018-11-02 09:07:49 +08:00
Andrew Nicols
30d8fed964 Merge branch 'MDL-63703-35-1' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-11-02 09:00:12 +08:00
Andrew Nicols
dc23a75d68 MDL-63702 core_block: Correct phpdoc for get_users 2018-11-02 08:34:45 +08:00
Andrew Nicols
78552ea548 MDL-63422 blog: Correct phpdoc for get_users 2018-11-02 08:34:45 +08:00
Andrew Nicols
6404971918 Merge branch 'MDL-63816-35' of git://github.com/mickhawkins/moodle into MOODLE_35_STABLE 2018-11-02 08:00:49 +08:00
Eloy Lafuente (stronk7)
414ca3e1c1 Merge branch 'MDL-63746-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE 2018-11-01 15:38:34 +01:00
Andrew Nicols
4d79fb98a5 MDL-63818 core: Add all relevant module context caps
This change ensures that all capabilities at module context level are
shown within a module, only filtering out those which belong to another
module or the subplugins of another module.

This has the effect that module-level capabilities are included
providing they relate to
- the module being queried
- any subplugin of that module
- any capability at module level which does not belong to another module
  or its subplugin
- any other explicitly included capability

This allows permissions to be defined on a capability at a context
level.
2018-11-01 20:52:02 +08:00
Michael Hawkins
199d36febc MDL-63712 core_message: Unit test improvements for fetching context/user
This issue is part of the MDL-62560 Epic.
2018-11-01 16:53:07 +08:00
Mihail Geshoski
3cd0a770d6 MDL-63701 editor_atto: Add support for removal of context users
This issue is part of the MDL-62560 Epic.
2018-11-01 14:21:12 +08:00
Shamim Rezaie
55e5747d04 MDL-63712 core_message: support removal of multiple users in a context
This issue is a part of the MDL-62560 Epic.
2018-11-01 13:06:27 +08:00
Shamim Rezaie
3433b0bfb5 MDL-63712 core_message: Data should be in user context, not system
This issue is a part of the MDL-62560 Epic.
2018-11-01 13:05:58 +08:00
Mihail Geshoski
7f4d3aac07 MDL-63703 core_role: Add support for removal of context users
This issue is a part of the MDL-62560 Epic.
2018-11-01 12:13:52 +08:00
Damyon Wiese
790235e123 MDL-63746 boost: Dropdown menu styles
Remove btn styling from menu buttons as the additional padding makes things not line up.
2018-11-01 11:05:37 +08:00
Andrew Nicols
0ee1075ec4 Merge branch 'MDL-63566-35' of git://github.com/mickhawkins/moodle into MOODLE_35_STABLE 2018-11-01 10:11:57 +08:00
Adrian Greeve
f7d57a3d96 MDL-63566 tool_dataprivacy: New interface check for userlist.
This adds another check to see if the plugins are implementing the
new core_userlist_provider.
2018-11-01 10:08:13 +08:00
Jun Pataleta
bbb9ffb0c1 Merge branch 'MDL-63826_35' of git://github.com/stronk7/moodle into MOODLE_35_STABLE 2018-11-01 09:28:30 +08:00
Eloy Lafuente (stronk7)
e882740a56 MDL-63826 tests: Don't rely on random array keys for testing 2018-11-01 00:35:21 +01:00
Andrew Nicols
1da0d646b3 Merge branch 'm35_MDL-63727_Wrong_SCO_Launched_Link' of https://github.com/scara/moodle into MOODLE_35_STABLE 2018-11-01 07:01:42 +08:00
Matteo Scaramuccia
b193f7754d MDL-63727 mod_scorm: Fixed typo in test_launch_sco() 2018-10-31 22:42:06 +01:00
Davo Smith
73c8d34ab8 MDL-63727 mod_scorm: fix typo in sco_launched URL 2018-10-31 22:42:05 +01:00
David Monllao
bf1b7ef8c9 Merge branch 'MDL-63726-35' of https://github.com/lucaboesch/moodle into MOODLE_35_STABLE 2018-10-31 10:21:52 +01:00
Luca Bösch
662878b6b5 MDL-63726 tool_dataprivacy: En-/disable 'Data retention summary' link 2018-10-31 09:10:48 +01:00
Andrew Nicols
bc35326e3e Merge branch 'MDL-63684-35-1' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-10-31 15:13:17 +08:00
Mihail Geshoski
df0a4ec014 MDL-63684 core_calendar: Fix test_get_contexts_for_userid() test
This issue is part of the MDL-62560 Epic.
2018-10-31 14:12:08 +08:00
Mihail Geshoski
8782043946 MDL-63684 core_calendar: Add support for removal of context users
This issue is part of the MDL-62560 Epic.
2018-10-31 14:12:08 +08:00
Andrew Nicols
f669a63cca Merge branch 'MDL-63702-35' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-10-31 14:05:39 +08:00
David Monllao
a25a4d30be Merge branch 'MDL-62601-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-10-31 06:47:43 +01:00
Michael Hawkins
aae2aa2d81 MDL-63700 core_analytics: Add support for removal of context users
This issue is a part of the MDL-62560 Epic.
2018-10-31 13:47:07 +08:00
Andrew Nicols
1760650216 MDL-62601 core_privacy: Ensure providers can handle deleted users 2018-10-31 13:45:00 +08:00
Andrew Nicols
52a16f409d MDL-62601 editor_atto: Do not use context_user 2018-10-31 13:45:00 +08:00
David Monllao
19768075ff Merge branch 'MDL-63582-35' of https://github.com/lucaboesch/moodle into MOODLE_35_STABLE 2018-10-31 06:10:38 +01:00
Jun Pataleta
fdc3a96e54 Merge branch 'MDL-63690-35-integration' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-10-31 12:53:47 +08:00
Michael Hawkins
a25222e9c4 MDL-63816 privacy: Corrected provider get_users_in_context descriptions 2018-10-31 12:14:43 +08:00
Michael Hawkins
eaae1a7ea1 MDL-63816 privacy: Corrected interface get_users_in_context description 2018-10-31 12:14:43 +08:00
Mihail Geshoski
c81cc39a02 MDL-63690 core_blog: Handle when user blog posts are not being returned 2018-10-31 11:50:35 +08:00
Jun Pataleta
a3d372061a Merge branch 'MDL-60897-35' of git://github.com/junpataleta/moodle into MOODLE_35_STABLE 2018-10-31 11:34:47 +08:00
Andrew Nicols
5de480c21b Merge branch 'MDL-63624-35' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-10-31 11:16:47 +08:00
Jun Pataleta
446de56bfc MDL-60897 qtype_multianswer: Code style fixes
And Behat steps improvement, too!
2018-10-31 11:12:53 +08:00
Jean-Michel Vedrine
5e997d239c MDL-60897 qtype_multianswer: Invalid cloze-questions saved to db 2018-10-31 11:12:53 +08:00
Mihail Geshoski
cb69e0ca88 MDL-63624 tool_cohortroles: Add support for removal of context users
This issue is part of the MDL-62560 Epic.
2018-10-31 11:09:44 +08:00
Adrian Greeve
0a0e5a03a0 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:05:21 +08:00
Andrew Nicols
12a3bcee4f Merge branch 'MDL-63530-35-2' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-10-31 09:22:06 +08:00
Andrew Nicols
ddf649109d Merge branch 'MDL-63606-35-2' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-10-31 08:56:25 +08:00
Andrew Nicols
18b69cc33d Merge branch 'MDL-63690-35' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-10-31 08:23:28 +08:00
Luca Bösch
4283575676 MDL-63582 theme_boost: Fix the license field in the file picker width. 2018-10-30 22:42:33 +01:00