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
Andrew Nicols
d4274bd951
Merge branch 'MDL-60520_master' of git://github.com/dmonllao/moodle
2018-10-29 07:39:58 +08:00
Andrew Nicols
621e7eb022
Merge branch 'MDL-63466-master' of https://github.com/snake/moodle
2018-10-26 12:33:13 +08:00
Andrew Nicols
c3d1878ff3
Merge branch 'MDL-63655' of git://github.com/stronk7/moodle
2018-10-25 14:53:18 +08:00
Andrew Nicols
2263bbdfce
Merge branch 'MDL-63058-master' of git://github.com/bmbrands/moodle
2018-10-25 11:49:45 +08:00
Sara Arjona
ecf7567a89
MDL-63466 core_message: Add conversationid to message class
2018-10-24 09:38:01 +08:00
Shamim Rezaie
c37407ba9d
MDL-63713 core: Support for removal of context users
...
This issue is part of the MDL-62560 Epic.
2018-10-23 11:55:49 +11:00
David Monllao
ed12ba6ba8
MDL-60520 analytics: Per-model ml backend
2018-10-22 13:58:33 +02:00
Bas Brands
3cfff88516
MDL-63058 block_myoverview: starring and storing preferences
2018-10-20 17:53:35 +02:00
Andrew Nicols
2ac4ea89d9
Merge branch 'MDL-63658-master-2' of https://github.com/snake/moodle
2018-10-18 09:08:22 +08:00
Jake Dallimore
3a1ece149f
MDL-63658 core: new method get_component_names() added to core
2018-10-18 08:22:07 +08:00
Mark Nelson
14de10c463
MDL-63547 core_message: updated message_deleted event to support groups
2018-10-17 12:05:16 +08:00
Jake Dallimore
4fca5dabb2
MDL-63658 core_favourites: introduce the favourites subsystem to core
2018-10-17 10:16:18 +08:00
Eloy Lafuente (stronk7)
040360468c
MDL-63655 core: Fix miss-placed parenthesis
2018-10-15 01:02:25 +02:00
David Mudrák
75ab4d2eb7
MDL-62891 core: Stop using var_export() to describe callables
...
Make use of the newly added function get_callable_name() when reporting
that an exception happened during shutdown.
2018-10-05 09:10:16 +02:00
Mark Nelson
bacebf3738
MDL-63211 core: created new events for blocking/unblocking users
2018-10-03 11:35:25 +08:00
Mark Nelson
b393296311
MDL-63211 core: deprecated events for blocking/unblocking contacts
...
The message_contact_blocked and message_contact_unblocked
events were deprecated. The reason being that you will be
able to block and unblock any user, regardless if they are
a contact or not. This information is also now stored in a
separate DB table.
2018-09-28 10:19:57 +08:00
Ryan Wyllie
1e44de35b3
MDL-63044 block_timeline: add timeline block
2018-09-27 13:10:45 +08:00
Ryan Wyllie
40a14ef345
MDL-63044 icon: add next and previous icons
2018-09-27 13:09:23 +08:00
Eloy Lafuente (stronk7)
0e05bac861
Merge branch 'MDL-60630-master' of git://github.com/andrewnicols/moodle
2018-09-12 23:14:54 +02:00
Andrew Nicols
666196271f
MDL-60630 cachestore: Remove memcache plugin
2018-09-12 21:07:01 +08:00
Andrew Nicols
89aff0d828
MDL-63329 core: Remove memcache session support
2018-09-12 08:15:35 +08:00
Marina Glancy
442f12f81a
MDL-62742 core: rename coursecat->core_course_category
...
Also rename course_in_list -> core_course_list_element
Deprecate class coursecat_sortable_records
2018-08-28 11:36:23 +02:00
Jake Dallimore
71926adb0d
Merge branch 'MDL-63050-master' of git://github.com/andrewnicols/moodle
2018-08-15 10:59:37 +08:00
Andrew Nicols
7b4dbb05e3
Merge branch 'MDL-55449-master' of git://github.com/abgreeve/moodle
2018-08-07 11:44:38 +08:00
Adrian Greeve
cc4952e997
MDL-55449 messages: Remove support for stdClass messages.
...
This also makes message_sent::create_from_ids() $courseid
parameter required.
2018-08-07 11:04:22 +08:00
Andrew Nicols
2a8830379f
Merge branch 'wip-MDL-61424-master' of git://github.com/marinaglancy/moodle
2018-08-07 08:18:58 +08:00
Andrew Nicols
ed3ff719f2
MDL-63050 redis: Make session check compatible with Redis 4.0
2018-08-02 10:57:53 +08:00
Eloy Lafuente (stronk7)
c965349aad
Merge branch 'MDL-59595-master-2' of git://github.com/snake/moodle
2018-08-02 00:21:23 +02:00
Eloy Lafuente (stronk7)
1ffa22bbc7
Merge branch 'MDL-61041-master' of git://github.com/damyon/moodle
2018-08-01 16:36:12 +02:00
Marina Glancy
9991670ff9
MDL-61424 admin: reset registration if token is rejected
2018-07-30 16:12:05 +02:00
Adrian Greeve
b41e1d7c55
MDL-55188 events: Final deprecation of part of events 1 API.
2018-07-30 09:25:06 +08:00
Damyon Wiese
3412b12c22
MDL-61041 assign: Remove assignment 2.2 upgrader
2018-07-25 14:11:10 +08:00
Jake Dallimore
7d91564204
MDL-59595 admin: Make sure $ADMIN is properly unset when changing users
2018-07-24 08:25:30 +08:00
Tomasz Muras
c126a29f5a
MDL-52966 core: static cache fix for file types.
2018-07-17 15:37:15 +02:00
Tim Schroeder
81f55e41a7
MDL-61351 core: added \core\session\manager\get_handler_class()
...
* This is needed e.g. by the shibboleth logout handler to check which
type of sessions are used.
2018-07-17 16:45:20 +08:00
Jun Pataleta
a746b6e840
Merge branch 'MDL-37624-master' of git://github.com/mickhawkins/moodle
2018-07-04 15:33:43 +08:00
Michael Hawkins
ef4e04ee26
MDL-37624 calendar: Added location support
2018-06-29 10:46:54 +08:00
Marina Glancy
6e40d1edfe
MDL-62526 admin: ask privacy policy agreement for moodle.net
2018-06-28 11:43:48 +08:00
Victor Deniz
046dd892c7
MDL-62320 mimetypes: Add JSON to the default mime types list
2018-06-15 12:54:23 +01:00
David Monllao
a7fb68f27f
Merge branch 'MDL-62273-master' of https://github.com/sammarshallou/moodle
2018-06-06 11:16:41 +02:00
Jun Pataleta
054900f5ed
Merge branch 'MDL-61826-master' of git://github.com/junpataleta/moodle
2018-06-06 11:16:38 +02:00
David Monllao
75ebfbdf99
Merge branch 'MDL-50812-master' of https://github.com/nashtechdev01/moodle
2018-06-06 11:16:13 +02:00
Jun Pataleta
7766dbed5d
MDL-61826 auth: Make Facebook endpoints more maintainable
2018-06-06 12:44:24 +08:00
Łukasz Szeremeta
ac45c16544
MDL-61826 auth: Facebook OAuth2 - getting a better-quality profile photo
...
Get 200x200 px instead of 50x50 px user profile picture from Facebook OAuth2.
2018-06-06 12:09:09 +08:00
sam marshall
bef86c669c
MDL-62273 Profile: Callback allows plugins to control profile access
...
Adds a new callback, <plugin>_control_view_profile. Plugins may
return core_user::VIEWPROFILE_PREVENT to prevent access,
core_user::VIEWPROFILE_DO_NOT_PREVENT to make no change, or
core_user::VIEWPROFILE_FORCE_ALLOW to allow access even when Moodle
would normally prevent it.
This allows third-party plugins to restrict (or allow) access to
profile pages in response to arbitrary business logic.
2018-06-01 09:59:01 +01:00
Michael Hawkins
d0f3b5f083
MDL-61778 message: Renamed online status icon and replaced Boost icon
2018-06-01 10:15:11 +08:00