Damyon Wiese
3615842625
MDL-12689 auth: No settings if ldap missing
2017-04-04 11:15:29 +08:00
David Monllao
b1e8f8bf37
MDL-12689 mod_data: Remove trailing whitespaces
2017-04-04 00:14:35 +02:00
David Monllao
fcada374ac
Merge branch 'MDL-12689_m33v4' of https://github.com/sbourget/moodle
2017-04-04 00:08:50 +02:00
Stephen Bourget
037273d87e
MDL-12689: convert auth plugins to use settings.php
2017-04-03 10:50:09 -04:00
Damyon Wiese
7b9f5b9986
MDL-58220 oauth2: Cleanup on user delete
...
Delete the linked logins for this user account when it is deleted.
2017-04-03 13:43:27 +08:00
Damyon Wiese
512e681a3b
MDL-58220 oauth2: Don't login as deleted users
...
Also prevent sesskey error on first page of new logins.
2017-04-03 13:43:27 +08:00
Damyon Wiese
7f15866006
MDL-58220 oauth2: Use email as default username
...
And give better error messages.
2017-04-03 13:43:27 +08:00
Damyon Wiese
e25362a7db
MDL-58220 auth: $OUTPUT -> $output
...
Don't use global $OUTPUT when there is a more specific renderer.
2017-04-03 13:43:26 +08:00
Damyon Wiese
c45d4b6a73
MDL-58220 oauth2: Change $OUTPUT to $this
2017-04-03 13:43:26 +08:00
Damyon Wiese
5b0b35c096
MDL-58220 oauth2: Add is_configured to issuer
...
Saves repeated checks for clientid and clientsecret.
2017-04-03 13:43:25 +08:00
Damyon Wiese
5aa0f0ae48
MDl-58220 auth_oauth2: Skip upgrade for new plugin
2017-04-03 13:43:25 +08:00
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