Commit graph

91442 commits

Author SHA1 Message Date
Jun Pataleta
ead79c8627 MDL-63183 auth_shibboleth: Don't render page when already logged in 2018-11-07 00:11:47 +01:00
Jun Pataleta
50edf48571 MDL-63183 auth_shibboleth: Add hidden login token in guest login form 2018-11-07 00:11:47 +01:00
Damyon Wiese
b427ab4f70 MDL-63183 auth: Login protection
CSRF protection for the login form. The authenticate_user_login function was
extended to validate the token (in \core\session\manager) but by default it
does not perform the extra validation. Existing uses of this function from
auth plugins and features like "change password" will continue to work without
changes. New config value $CFG->disablelogintoken can bypass this check.
2018-11-07 00:11:47 +01:00
Eloy Lafuente (stronk7)
15c87e0bb1 Merge branch 'm35_MDL-63789_Search_SOLR_Fixes_Proxy_Auth' of https://github.com/scara/moodle into MOODLE_35_STABLE 2018-11-07 00:08:23 +01:00
Eloy Lafuente (stronk7)
4ead20ffea weekly release 3.5.2+ 2018-11-06 19:06:47 +01:00
Eloy Lafuente (stronk7)
f37269b124 Merge branch 'install_35_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_35_STABLE 2018-11-06 19:06:45 +01:00
Andrew Nicols
f9de59ada9 Merge branch 'MDL-63711-35-fix' of git://github.com/junpataleta/moodle into MOODLE_35_STABLE 2018-11-06 14:20:59 +08:00
Jun Pataleta
f5cf23270a MDL-63711 core_grade: Use canonicalize for checking userlist IDs 2018-11-06 14:16:57 +08:00
Andrew Nicols
88c2c6758a Merge branch 'MDL-62563-35-3' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-11-06 09:47:26 +08:00
AMOS bot
0da99d3c4d Automatically generated installer lang files 2018-11-06 00:07:25 +00:00
Dan Marsden
4aa5cee144 MDL-63800 mod_assign: don't show grade if not set. 2018-11-06 10:04:54 +13:00
David Monllao
ad6b515ab6 Merge branch 'MDL-63711-35' of git://github.com/abgreeve/moodle into MOODLE_35_STABLE 2018-11-05 16:36:05 +01:00
Eloy Lafuente (stronk7)
56cc378799 Merge branch 'MDL-63748-35' of git://github.com/jleyva/moodle into MOODLE_35_STABLE 2018-11-05 13:11:47 +01:00
David Monllao
3b8730628b Merge branch 'MDL-63764-35' of git://github.com/mickhawkins/moodle into MOODLE_35_STABLE 2018-11-05 12:46:35 +01:00
David Monllao
ce8ada051d Merge branch 'MDL-63700-35' of git://github.com/mickhawkins/moodle into MOODLE_35_STABLE 2018-11-05 11:14:47 +01:00
Mihail Geshoski
d2481db6b0 MDL-62563 privacy: Create delete data request for existing deleted users 2018-11-05 16:24:02 +08:00
Mihail Geshoski
e3eb339d89 MDL-62563 privacy: Add unit tests 2018-11-05 16:21:52 +08:00
Andrew Nicols
d906136aa5 Merge branch 'MDL-63689-35-workshopprivacy' of git://github.com/mudrd8mz/moodle into MOODLE_35_STABLE 2018-11-05 15:00:40 +08:00
Damyon Wiese
c675598ac0 Merge branch 'MDL-63717-35' of git://github.com/jleyva/moodle into MOODLE_35_STABLE 2018-11-05 13:45:39 +08:00
Andrew Nicols
ea321f34c4 Merge branch 'MDL-63564-35' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-11-05 13:21:33 +08:00
Mark Nelson
bb34fe0838 MDL-63839 core_message: use component name for Behat tag 2018-11-05 10:36:32 +08:00
Andrew Nicols
748409df5b Merge branch 'MDL-63712-35' of git://github.com/mickhawkins/moodle into MOODLE_35_STABLE 2018-11-05 09:34:17 +08:00
Eloy Lafuente (stronk7)
d07431a2c6 Merge branch 'MDL-63818-35-2' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-11-05 00:03:17 +01:00
Matteo Scaramuccia
60735e6bee MDL-63789 search_solr: use proxy creds, if any
Also use proxy port, IF any.
2018-11-02 23:34:13 +01:00
Eloy Lafuente (stronk7)
9d870a800d weekly release 3.5.2+ 2018-11-02 21:08:38 +01:00
Roger Barras
82083929b1 MDL-60267 user: Fix set default data for the user profile field 2018-11-02 20:10:31 +01:00
Adrian Greeve
52efa6a2f0 MDL-63711 core_grades: Delete data for specified users in a context. 2018-11-03 02:59:58 +08:00
Juan Leyva
8396ade620 MDL-63748 core_auth: Fix redirect parameter being ignored 2018-11-02 15:23:26 +01:00
Juan Leyva
e159265c55 MDL-63717 tool_mobile: Ensure URLs are valid
We need to clean the URLs returned by the get_public_config WS because some old plugins didn't validate the stored data.
2018-11-02 14:35:34 +01:00
Mihail Geshoski
46782ecb13 MDL-63564 core_question: Avoid using UNION in get_users_in_context() 2018-11-02 14:40:38 +08:00
Shamim Rezaie
2a34d4b3fd MDL-63564 mod_quiz: Added delete_quizaccess_data_for_users to polyfill
This issue is a part of the MDL-62560 Epic.
2018-11-02 14:40:38 +08:00
Shamim Rezaie
e1dca20127 MDL-63564 mod_quiz: 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
Shamim Rezaie
73b5e30559 MDL-63564 mod_quiz: Added quizaccess_user_provider interface
This issue is a part of the MDL-62560 Epic.
2018-11-02 14:40:37 +08:00
Shamim Rezaie
d7c85ebb3d MDL-63564 question: Add helper to fetch users in context
This issue is a part of the MDL-62560 Epic.
2018-11-02 14:40:37 +08:00
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