Andrew Nicols
21e8b48d13
MDL-51758 libraries: Remove password_compat library from core
2016-07-18 10:06:57 +08:00
Adrian Greeve
3261b9eeea
MDL-46682 auth/db: Increase of chunk size and update change.
...
The update query was not checking the mnet auth id and could
have been updating the wrong entry.
2016-07-06 16:41:51 +08:00
Jerome Mouneyrac
6f08f36c49
MDL-46682 auth/db: IN clause crashes when too many users to sync
2016-07-06 09:18:41 +08:00
Dan Poltawski
0fd08fc7e5
Merge branch 'MDL-35628' of https://github.com/mr-russ/moodle
2016-06-16 09:04:12 +01:00
Russell Smith
1fcf0ca8a5
MDL-35628 performance: Remove dirname() where possible.
...
dirname() is a slow function compared with __DIR__ and using
'/../'. Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code. This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Jakob
cffd0fa138
MDL-53306 auth: Add hook for auth plugins to access user object.
...
Add a hook for auth plugins to be able to modify or check a user, before
raising any authentication errors.
The auth plugin needs to add a public function like this:
/**
* Pre user_login hook.
* This method is called from authenticate_user_login() right after the user
* object is generated. This gives the auth plugins an option to make adjustments
* before the verification process starts.
*
* @param object $user user object, later used for $USER
*/
public function pre_user_login_hook(&$user) {
// Override if needed.
}
2016-05-30 11:57:03 -07:00
Eloy Lafuente (stronk7)
4da854a68b
MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts
2016-05-23 01:31:34 +02:00
Eloy Lafuente (stronk7)
1abca11e0a
MDL-54638 versions: bump all versions and requires near release
...
version = 2016052300 release version
requires= 2016051900 current rc1 version
2016-05-19 02:16:15 +02:00
Helen Foster
75a22eb9fb
MDL-54549 lang: Merge English strings from the en_fix language pack
2016-05-17 18:26:15 +02:00
Cameron Ball
8ffe9aef1f
MDL-53580 auth_ldap: Set default value for suspended_attribute
...
It was also necessary to cast some boolean values to ints as a
workaround for moodle's broken boolean validation.
2016-05-10 23:04:46 +08:00
David Monllao
3032b16b3d
MDL-53750 shibboleth: Passing a var to empty for PHP 5.4
2016-05-06 09:27:27 +08:00
John Okely
f9ee3dbcc1
MDL-53750 auth: fix logout bug in shibboleth
...
Original patch by Dr. Michael Schneider
2016-05-06 09:27:25 +08:00
David Monllao
f74e3ace69
Merge branch 'MDL-53980-master-enfix' of git://github.com/mudrd8mz/moodle
2016-05-02 10:46:50 +08:00
Helen Foster
a5061bf7b7
MDL-53980 lang: Merge English strings from the en_fix language pack
2016-04-28 18:32:03 +02:00
Mark Nelson
1d8886fa31
MDL-52035 auth_lti: added auth plugin
2016-04-26 15:58:08 +08:00
Andrew Nicols
6ab41abd3e
Merge branch 'MDL-52781-master' of git://github.com/lameze/moodle
2016-04-21 15:54:45 +08:00
Simey Lameze
5e60be8aaf
MDL-52781 auth_db: deprecate clean_data method.
...
The old clean_data method has been deprecated as the user_create_user and user_updated user
will be responsible by validating the user data.
2016-04-21 15:24:36 +08:00
Simey Lameze
ac9768fc1b
MDL-52781 core_user: replace direct PARAM_ usages.
...
This commit replace as much as possible of clean_param and PARAM_ usages related to user object.
Also few unit tests has been changed to match the new validation
2016-04-21 15:24:36 +08:00
Rajesh Taneja
eb9ca848fa
MDL-53381 behat: Replaced chained steps with api.
...
Behat 3.x doesn't support chained steps and hence
this is first step to get rid of chained steps in core.
2016-04-06 11:32:49 +08:00
David Monllao
121b97e2ed
MDL-53401 auth_mnet: Update upgrade note according to reality.
...
Grrrr David, thanks DanP.
2016-03-30 09:29:50 +08:00
David Monllao
c573ca1cfd
MDL-53401 auth_mnet: Note in upgrade.txt about the change
2016-03-30 09:21:11 +08:00
David Monllao
11e60abf75
Merge branch 'MDL-53401-master' of git://github.com/lameze/moodle
2016-03-30 09:12:25 +08:00
gabrielrosset
3ce68e4f8f
MDL-53401 auth_mnet: add user created event trigger on MNET
...
Moodle does not fire user_created event while creating user via MNET.
That makes impossible to hook on user creation when user land into a host via MNET for the 1st time.
2016-03-23 08:38:29 +08:00
David Monllao
f811003aae
Merge branch 'MDL-53519-master' of git://github.com/lameze/moodle
2016-03-22 06:51:57 +08:00
Simey Lameze
dfc7c0a9df
MDL-53519 auth_cas: update cas to version 1.3.4
2016-03-21 13:16:03 +08:00
Cameron Ball
052141abc7
MDL-52207 upgradelib: Replace uses of Zend_Server_Reflection
...
Now that Zend has been removed we can only use native PHP reflection
methods.
2016-03-21 11:03:24 +08:00
Andrew Nicols
c7f04791f3
MDL-52386 auth_ldap: Typo fix for suspended user
2016-03-16 08:03:05 +08:00
Andrew Nicols
baa536188b
Merge branch 'MDL-52386-master' of git://github.com/cameron1729/moodle
2016-03-16 07:50:10 +08:00
Cameron Ball
6141dcfe67
MDL-52386 auth_ldap: Add support for disabled accounts
2016-03-11 16:48:18 +08:00
Rajesh Taneja
86055d11f9
MDL-46891 behat: Optimised login step and context helper
2016-03-11 10:51:15 +08:00
Rajesh Taneja
42ad096fdb
MDL-46891 Behat: Added support for behat 3
2016-03-11 10:51:15 +08:00
Simey Lameze
ce59760476
MDL-50705 auth_db: apply standard cleaning to all fields
...
Also unit tests were added to cover the new clean_data() method.
2016-03-10 13:17:08 +01:00
Rajesh Taneja
b4a5d4fa17
MDL-52387 auth_ldap: Use proper dn to find password age
...
dn with fine grained password should be used
to get msds-maximumpasswordage attribute.
No checks should be used to see if the array
key is set as entry should always return them.
2016-02-18 11:38:03 +08:00
David Monllao
ce74ad69ae
Merge branch 'MDL-52387-master' of git://github.com/lameze/moodle
2016-02-16 11:25:22 +08:00
Simey Lameze
c1bc628e1d
MDL-52387 auth_ldap: add support for fine grained password
...
Contributed by Matthew Johnson.
2016-02-16 11:03:42 +08:00
Eloy Lafuente (stronk7)
e8c82aac82
MDL-51580 upgrade: clean < 2.7.0 upgrade steps
...
This just deletes all the upgrade steps previous to 2.7.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.
Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase.
2016-02-15 18:38:09 +01:00
Eloy Lafuente (stronk7)
f5e0cb117a
Merge branch 'MDL-52975-master-mnet-context' of git://github.com/mudrd8mz/moodle
2016-02-08 22:57:45 +01:00
David Mudrák
1ef135e773
MDL-52975 mnet: Set system context on the MNet SSO landing page
...
Without the context being explicitly set, debugging warning can be
displayed in certain rare situations.
2016-02-04 17:14:30 +01:00
Andrew Nicols
abedeb8c70
MDL-51723 ldap: Normalise the user objectclass
2016-02-01 10:24:34 +08:00
Marina Glancy
cc3048eb41
MDL-52286 core: several fixes to ADOdb
2015-12-14 18:06:22 +08:00
Dan Poltawski
1bd60ff6a5
MDL-52285 auth: Add constructors for backwards compat
...
These are very unlikely to be used but just to be safe..
2015-12-10 10:34:29 +00:00
Marina Glancy
4a89e83b80
MDL-52285 auth: use __construct() for constructors
2015-12-10 13:40:42 +08:00
Tony Levi
79d4558a58
MDL-52283 core: password_hash() deprecation in PHP7
2015-11-27 09:12:20 +08:00
Eloy Lafuente (stronk7)
6d29c4acdd
MDL-52140 upgrade: add 3.0.0 separation line to all upgrade scripts
2015-11-17 17:08:56 +01:00
Eloy Lafuente (stronk7)
2e144835bb
MDL-52059 versions: bump all versions and requires near release
...
version = planned 2015111600 release version
requires= current 2015111000 rc3 version
2015-11-10 12:33:52 +01:00
Helen Foster
da6ecfd8c1
MDL-52018 lang: Merge English strings from the en_fix language pack
2015-11-02 22:12:06 +01:00
Simey Lameze
0bc41cfcec
MDL-51824 auth: include required CLI library
2015-10-26 15:52:11 +08:00
Simey Lameze
37e51a5daa
MDL-51824 core: initial deprecation of auth sync CLI scripts
...
This commit does the initial deprecation of the CLI scripts of CAS and LDAP authentication plugins.
2015-10-26 13:36:27 +08:00
Vadim Dvorovenko
e96ac9156d
MDL-46623 auth: Sheduled tasks for users sync
...
Sheduled tasks for syncing users with external sources for auth_ldap
and auth_cas. Using task is simplier than setting separate cron
job for running cli script. Task are disabled by default.
2015-10-22 12:45:57 +08:00
Andrew Nicols
dc2091c87f
Merge branch 'MDL-51162-master' of git://github.com/lameze/moodle
2015-10-20 10:48:14 +08:00