Damyon Wiese
ae596d4a54
MDL-58220 auth_oauth2: Remove allow linked logins
...
This was already removed - I just missed some spots.
2017-04-03 13:43:25 +08:00
Damyon Wiese
bfc60d386d
MDL-58220 auth_oauth: return false for non-oauth
...
Always return false for non-oauth logins.
2017-04-03 13:43:25 +08:00
Damyon Wiese
13b449f4a5
MDL-58220 oauth2: cibot cleanups
2017-04-03 13:43:25 +08:00
Damyon Wiese
28b592d5a6
MDL-58338 oauth2: Force email confirmation
...
New accounts and linking a login to an existing account MUST go through email verification.
We cannot trust the emails we get from oauth providers have been confirmed.
Part of MDL-58220
2017-04-03 13:43:25 +08:00
Damyon Wiese
c21a66e40a
MDL-58220 auth_oauth2: Restrict logins to a set of domains
...
This is set on the issuer, so you can have different lists for each oauth2 provider.
2017-04-03 13:43:25 +08:00
Damyon Wiese
979d1f66dd
MDL-58220 auth_oauth2: Fix new account creation
...
This was not allowing new accounts to be registered.
2017-04-03 13:41:19 +08:00
Damyon Wiese
eca128bf47
MDL-58220 oauth2: Global enable/disable for issuers.
2017-04-03 13:41:19 +08:00
Damyon Wiese
72fd103add
MDL-58219 cibot: Fixes
...
Fixes for cibot warnings.
Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
28dddbc129
MDL-58219 oauth2: Show connected system account info
...
Show the username and email of the connected system account (if it ever requires refreshing - this will help identity the account
to re-authorise).
Part of MDL-58220
2017-04-03 13:41:18 +08:00
Damyon Wiese
1dca8d1a1d
MDL-58168 auth_oauth2: Allow linking other accounts
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
0e59638bdb
MDL-58126 googledocs: Re-implement the google docs repo
...
Use latest REST API (v3) - but avoid the google client libraries
(too big, too much to update, not integrated with auth).
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
299112498b
MDL-58090 oauth2: Coding style
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
f9f243f93e
MDL-58090 oauth2: Complete phpdocs
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
8445556b4c
MDL-58090 oauth2: Move code from subclasses to config
...
Allow the behaviour of each oauth service to be customised by config instead of
subclasses.
Part of MDL-58220
2017-04-03 13:39:44 +08:00
Damyon Wiese
60237253a2
MDL-58090 oauth2: Store a list of oauth2 services
...
Build an admin page where OAuth 2 services can be installed and configured.
Part of MDL-58220
2017-04-03 13:39:02 +08:00
Andrew Nicols
eb6f04732a
Merge branch 'MDL-57913_auth_db_sync_task_master' of git://github.com/gthomas2/moodle
2017-03-16 07:39:48 +08:00
gthomas2
0d9704d817
MDL-57913 auth_db: warn CLI about scheduled task, abort CLI if scheduled task enabled
2017-03-15 16:42:45 +00:00
gthomas2
1b5c0dd8d4
MDL-57913 auth_db: Add scheduled task for syncing users
2017-03-06 13:49:15 +00:00
Juan Leyva
92f505171d
MDL-57361 auth_email: Force policy agreed on sign-up
2017-03-01 18:20:19 +01:00
Dan Poltawski
f5af2e6866
Merge branch 'MDL-55476-master' of git://github.com/jadet23/moodle
2017-02-13 13:41:13 +00:00
Iñaki Arenaza
e47863e840
MDL-50625 auth_ldap: Better check for paged results support
...
There is at least one LDAP server (Sun Directory Server) that doesn't
support Paged Results extension, even if it supports LDAP version 3. So
checking just for LDAP version is not enough.
If possible, we check the supportedControl attribute of the LDAP rootDSE
and see if the paged results control is available. This needs an LDAP
connection, which might not be possible to establish before we configure
some essential LDAP settings (server, bind user, password, etc.). Thus
we try to establish the connection and check the supportedControl
attribute. But if we fail, we perform only basic checks that are less
accurate and err on the side of cautiousness.
2017-01-19 10:55:26 +01:00
Jade Telford
8380658219
MDL-55476 auth: remove loginpasswordautocomplete
2017-01-19 07:24:46 +00:00
Juan Leyva
9db43c7341
MDL-57629 webservice: Fix external functions phpdoc
...
Replace external_external_function_parameters with
external_function_parameters
2017-01-11 16:56:25 +01:00
Jake Dallimore
a545224b9d
MDL-57357 auth: add behat coverage for remember username login feature
2016-12-23 11:01:56 +08:00
Jake Dallimore
8f8ae115bc
MDL-57357 auth: fix the remember username feature on login page
2016-12-23 10:42:01 +08:00
Eloy Lafuente (stronk7)
de5e61c4ba
Merge branch 'MDL-57268-master' of https://github.com/xow/moodle
2016-12-20 02:22:26 +01:00
David Monllao
c1c0d9b9cf
Merge branch 'MDL-41729-master' of git://github.com/lameze/moodle
2016-12-19 11:51:43 +01:00
John Okely
22c98e1e5a
MDL-57268 auth_db: Unit tests for deletion from a large user set
2016-12-19 10:06:55 +08:00
Jake Dallimore
fa30dd8c6e
MDL-57182 navigation: fix login failures display in page footer.
...
A bug introduced with MDL-45893 meant that the failure count was being
reset, causing the footer code to be skipped. This patch fixes that
bug and adds behat tests covering the displayloginfailures feature.
2016-12-13 07:19:58 +08:00
Lukas Hämmerle
056a5138a4
MDL-41729 auth_shibboleth: Allow password change for shibboleth users
...
This patch modifies can_change_password() and adds change_password_url() to allow Shibboleth users to change their password
in case there is an (external) password change URL defined in Moodle. If no such URL is defined, the behaviour is the same
as without the proposed change.
Thanks FH-HWZ.ch for the contribution.
2016-12-08 09:38:52 +08:00
Eloy Lafuente (stronk7)
75c57a08fb
MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts
2016-12-05 17:10:20 +01:00
Eloy Lafuente (stronk7)
dadbe55c81
Merge branch 'MDL-57193-master-notest' of git://github.com/FMCorz/moodle
2016-12-02 11:41:02 +01:00
Frederic Massart
7fc7486f49
MDL-57193 auth_db: Flip the array outside the loop for better perf
...
Also as the recent changes where affecting the whitespaces quite
a lot, I took the liberty of aligning a few lines which weren't.
2016-12-02 16:29:47 +08:00
John Okely
ec3e79134f
MDL-57193 auth_db: Use a recordset and array_key_exists
2016-12-02 16:29:47 +08:00
Josh Willcock
34949c1a55
MDL-57193 auth_db: Fixed bug suspends all users if external DB has > 10k
2016-12-02 16:29:47 +08:00
Eloy Lafuente (stronk7)
04649747a4
MDL-57197 versions: bump all versions and requires near release
...
version = 2016120500 release version
requires= 2016112900 current rc4 version
2016-11-29 22:57:05 +01:00
Helen Foster
67823776a0
MDL-57133 lang: Merge English strings from the en_fix language pack
2016-11-29 01:49:28 +01:00
Dan Poltawski
9cc9690575
Merge branch 'MDL-57102-master' of git://github.com/jleyva/moodle
2016-11-24 10:43:21 +00:00
Rajesh Taneja
b3502be320
MDL-56898 behat: Ensure we have button in viewport and page is stable
2016-11-24 07:27:19 +08:00
Juan Leyva
813320fbb6
MDL-57102 auth: Add new signup_is_enabled function
...
And apply the function in:
- login/signup.php
- blocks/login/block_login.php
2016-11-23 19:35:08 +00:00
Dan Poltawski
4b631c2d87
Merge branch 'wip-mdl-56898-fix2' of https://github.com/rajeshtaneja/moodle
2016-11-21 15:07:49 +00:00
Rajesh Taneja
7f24e5e654
MDL-56898 behat: Click on logout link in footer, it's faster
2016-11-21 09:25:35 +08:00
Juan Leyva
d0da94cdf4
MDL-56974 auth_email: Incorrect param type for redirect in sign_up WS
2016-11-19 18:21:56 +00:00
Juan Leyva
b5f3e90e1c
MDL-56739 auth: Support launching the app upon user confirm
2016-11-11 15:06:36 +00:00
Juan Leyva
d6a25bc49a
MDL-56739 auth: Support custom confirmation URL
2016-11-10 09:35:21 +00:00
Dan Poltawski
4d27d62d08
Merge branch 'wip-MDL-55927-master' of git://github.com/abgreeve/moodle
2016-11-02 14:00:29 +00:00
Ankit Agarwal
9d72acb7ed
MDL-56634 webservices: Remove script from api desc and clean desc printing
2016-11-02 10:06:05 +05:30
Adrian Greeve
159c2c91be
MDL-55927 auth_radius: Move to third party plugin.
2016-10-28 14:35:54 +08:00
Helen Foster
c9636ddd51
MDL-56542 lang: Merge English strings from the en_fix language pack
2016-10-25 20:12:52 +02:00
Dan Poltawski
876fc28255
MDL-56082 auth: minor tweak to login block idp links
...
No longer set the return url to $SESSION->wantsurl, it doens't make
sense in this context, as the user is probably on the page they want.
Also add a note about this functionality to auth/ugrade.txt
2016-10-18 17:19:03 +01:00