Marco Ferrante
a86dbfbb3d
MDL-59432 auth_db: add aliases to field mapping query
...
This patch fixes an issue with mapping different internal fields
to the same external field.
2017-07-20 14:57:39 +08:00
Eloy Lafuente (stronk7)
5e27228335
MDL-58933 upgrade: add 3.3.0 separation line to all upgrade scripts
2017-05-19 19:22:07 +02:00
Eloy Lafuente (stronk7)
d989ee1e03
MDL-58853 versions: bump all versions and requires near release
...
version = 2017051500 release version
requires= 2017050500 current rc1 version
2017-05-09 02:58:28 +02:00
David Mudrák
2b948c204a
MDL-58793 auth: Do not report migrated settings as new ones on upgrade
...
As a result of fixing the auth plugins config storage in MDL-12689, many
settings would be falsely reported as new ones by
admin/upgradesettings.php. We do not want to confuse admins so we try to
reduce the bewilderment by pre-populating the config_plugins table with
default values. This should be done only for disabled auth methods. The
enabled methods have their settings already stored, so reporting actual
new settings for them is valid.
2017-05-08 11:51:55 +02:00
David Mudrák
9f29e45e15
MDL-58793 auth: Fix invalid access to $this in settings.php files
...
It has never been guaranteed that settings.php would always be included
from inside the core\plugininfo\auth::load_settings() scope only.
Alternative fix would be to use $plugininfo->name but I think it is
better to be explicit here (same as we are explicit with setting names,
strings etc).
2017-05-08 11:47:29 +02:00
David Mudrák
31bd102316
MDL-58692 auth: Improve the migration of auth setting names
...
Some auth plugins used to have a mix of the legacy style of plugin names
in config_plugins table (such as 'auth/mnet') and the new correct
style (such as 'auth_mnet'). Attempting to rename the setting plugin via
low level SQL UPDATE could lead to duplicate key violation.
The patch introduces a new helper function to safely migrate the old
settings to the new ones, eventually informing the admin about the
values mismatch.
2017-05-03 12:02:43 +02:00
Andrew Nicols
930cab683d
Merge branch 'master' of https://github.com/koennys/moodle
2017-04-04 11:48:50 +08:00
David Monllao
b1e8f8bf37
MDL-12689 mod_data: Remove trailing whitespaces
2017-04-04 00:14:35 +02:00
Stephen Bourget
037273d87e
MDL-12689: convert auth plugins to use settings.php
2017-04-03 10:50:09 -04:00
Koen Nys
bb9f8451b7
MDL-57686 auth/db: added pdo support.
2017-03-24 17:19:59 +01: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
John Okely
22c98e1e5a
MDL-57268 auth_db: Unit tests for deletion from a large user set
2016-12-19 10:06:55 +08: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
Frederic Massart
113efed5b0
MDL-51948 admin: Make admin settings RTL friendly
...
Part of MDL-55071
2016-09-23 10:54:22 +01:00
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
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
a5061bf7b7
MDL-53980 lang: Merge English strings from the en_fix language pack
2016-04-28 18:32:03 +02: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
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
Marina Glancy
cc3048eb41
MDL-52286 core: several fixes to ADOdb
2015-12-14 18:06:22 +08:00
Tony Levi
79d4558a58
MDL-52283 core: password_hash() deprecation in PHP7
2015-11-27 09:12:20 +08: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
John Okely
78a713685d
MDL-50307 auth_db: Stop using AS to prevent error with some drivers
2015-08-11 12:11:43 +08:00
Charles Fulton
b6f28375b7
MDL-45113 auth: add is_configured method and convert auth_db to use it
2015-07-31 15:16:08 +00:00
Eloy Lafuente (stronk7)
26ea380d24
MDL-50102 versions: bump all versions and requires near release
...
version = planned 2015051100 release version
requires= current 2015050500 rc1 version
Note: On purpose, the course format social wrong version (2015102100)
has been kept unmodified. Looking forward a solution right now.
2015-05-05 17:43:19 +02:00
Zachary Durber
a6fe447a9a
MDL-43415 auth_db: support textarea and uppercase fields
2015-02-10 13:47:22 +08:00
Vadim Dvorovenko
4ad0d0f2f5
MDL-43415 auth_db: Adding custom profile fields to "Lock user fields"
...
Adding custom profile fields to "Lock user fields". It's needed to sync
custom user profile fields with external DB.
2015-02-10 10:37:12 +08:00
Dan Poltawski
e7087cb4c6
MDL-20365 auth_db: upgrade.txt - make the hash comment clearer
2014-11-27 08:43:32 +00:00
Dan Poltawski
4832be5a40
MDL-20365 auth_db: refinement to the upgrade.txt
2014-11-27 08:26:43 +00:00
David Monllao
c00cbdc784
MDL-20365 auth_db: Warning users about case sensitive plain passwords
...
Also, changing returned passwords to lower case when
maching against an md5() string or a sha1() string.
2014-11-27 13:57:06 +08:00
Eloy Lafuente (stronk7)
e3d9fc3f5a
MDL-20365 auth_db: cross-db passfield case and saltedcrypt unit test
2014-11-26 12:11:46 +01:00
Sam Hemelryk
c7c397ca39
MDL-20365 auth_db: post integration tweaks
...
* Fixes SQL indentation.
* Amended the new auth_dbsaltedcrypt string.
2014-11-25 09:05:24 +13:00
Ray Morris
f97b63bfd1
MDL-20365 auth_db: Add salted crypt() password hash option
2014-11-12 16:32:34 -06:00
Eloy Lafuente (stronk7)
de881693f7
MDL-48021 bump: Bump all versions to planned release
...
This bumps all versions to planned 2.8 release
(2014111000) version and all the dependencies to
current 2.8rc1 (2014110400)
2014-11-04 17:52:35 +01:00
Tim Hunt
a20d675250
MDL-47666 DB auth & enrol: unit tests fail with custom DB drivers
...
Changed to used $DB->get_db_family, rather than hard-coding the list of
class names.
2014-10-20 12:10:52 +01:00
Mark Nelson
e0e6d931f3
MDL-45936 auth_db: use core functions when creating/updating a user
2014-06-14 15:59:45 -07:00
Eloy Lafuente (stronk7)
538bf99ece
MDL-45486 Bump all versions to planned release
...
This bumps all versions to planned 2.7 release
(2014051200) version and all the dependencies to
current 2.7rc2 (2014050800)
2014-05-09 02:12:28 +02:00
Eloy Lafuente (stronk7)
6576413e48
MDL-44862 postgres: tests to support socket & port
...
Both the database auth and enrol plugins use ADOdb
to perform connections. Socket and port are allowed
there if passed as "socket:port", so, when both are
configured in CFG, we pass them that way. Else
ADOdb defaults to standard port (5432).
2014-03-31 09:28:57 +08:00
Petr Škoda
bfaf4f00cb
MDL-43903 prevent adodb error logging output in phpunit execution with
...
native ms sql driver
2014-01-30 10:39:34 +08:00
Mark Nelson
8bf0f20795
MDL-42932 core_calendar: introduced calendar type system setting
2013-12-09 18:40:46 -08:00
Ankit Agarwal
963cdce4e2
MDL-42097 auth: Auth plugins must check passwordurl before returning it
2013-12-03 14:17:42 +08:00
Eloy Lafuente (stronk7)
f39c82ebed
MDL-42701 Bump all versions near 2.6 release
2013-11-05 02:36:00 +01:00