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
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
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
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
Mark Nelson
e0e6d931f3
MDL-45936 auth_db: use core functions when creating/updating a user
2014-06-14 15:59:45 -07: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
Petr Škoda
6cf2091571
MDL-16073 add test for connection to external database for authentication and enrolments
2013-10-08 21:53:51 +02:00
Rajesh Taneja
bb78e249cd
MDL-39961 Events: Replace Legacy events - User
...
This change includes:
* Added user_updated event, replacing old event
* Added user_created event, replacing old event
* Added user_deleted event, replacing old event
* Added user_loggedout event, replacing old event
* Added user_enrolment_created event, replacing old event
* Added user_enrolment_deleted event, replacing old event
* Added user_enrolment_updated event, replacing old event
2013-09-02 16:10:05 +08:00
Petr Škoda
2f1e464a88
MDL-40438 migrate all collatorlib:: and textlib:: uses
2013-08-06 21:04:35 +02:00
Simon Coggins
ec2d8ceb88
MDL-35332 lib: Improve security of hashed passwords
2013-02-09 06:47:57 +13:00
Petr Škoda
e7aeaa6590
MDL-37304 cleanup auth_db and use progress_trace
2012-12-29 21:57:57 +01:00
Petr Škoda
ba87b41b53
MDL-35695 do not connect to ext database when not necessary during login
2012-10-07 21:36:23 +02:00
Petr Škoda
5c28e3a8c6
MDL-32572 fix notice when changing internal auth_db passwords
2012-09-18 13:17:35 +02:00
Petr Škoda
bee0220935
MDL-32572 detect username conflicts in auth_db sync
2012-09-18 12:35:15 +02:00
Petr Škoda
a0a5ca2578
MDL-32572 always lookpup passwords only in records from current auth plugin
...
This bug should not be creating any problems thanks to our design of login process, but it should be fixed anyway.
2012-09-18 12:29:13 +02:00
Petr Škoda
28fd4d6c6b
MDL-34635 use user->suspended flag in auth_db sync
2012-08-02 10:05:10 +02:00
Petr Škoda
f0364be67a
MDL-13363 remove non-function user undeleting
2012-08-02 10:03:14 +02:00
Petr Skoda
a4d25731df
MDL-30718 add missing timecraeted and timeupdated, fix user undeleting
2012-01-08 14:51:00 +01:00
Petr Skoda
ab6e0848c1
MDL-29025 standardise cli verbose output and general cleanup
2011-09-11 12:43:43 +02:00
Petr Skoda
f91f3f63a7
MDL-28182 always use full user object when deleting users
2011-07-22 22:46:32 +02:00
Eloy Lafuente (stronk7)
20d8d5c799
MDL-27148 whitespace fix
2011-04-18 01:38:41 +02:00
Petr Skoda
cf717dc26b
MDL-27148 use new get_in_or_equal() param prefix instead of start
2011-04-14 15:15:01 +02:00
Petr Skoda
9449d0c5e8
MDL-25778 fix default country and city on user upload form and revert change in auth plugins
...
Auth plugins should have separate defaults from site defaults).
2011-02-15 09:13:33 +01:00
Petr Skoda
fa7f750c60
MDL-25778 add defaultcity option
...
This is based on patch by Jonathan Harker.
2011-02-14 20:10:50 +01:00
Petr Skoda
7415aed103
MDL-11728 finally defining the exact meaning of is_internal() in auth plugins
...
internal means "uses password hash for user authentication", there is a new is_synchronised_with_external() method that indicates if moodle should automatically sync user info with external system after login; I have also improved the default for prevent_local_passwords() which is now defaulting to !is_internal()
2010-11-14 02:01:59 +00:00
Petr Skoda
03ea0b32cc
MDL-20210 dod not stop login process when can not connect to auth/db external database
2010-10-22 09:07:02 +00:00
Petr Skoda
bc31625aba
MDL-24356 fixed DML conversion - based on patch by Jay Knight
2010-09-27 09:41:59 +00:00
Petr Skoda
1dffbae2da
MDL-24321 switching to stdClass in /auth/
2010-09-21 08:09:22 +00:00
Petr Skoda
dd88de0ebd
MDL-14679 fixed remaining old style update_record()s
2010-09-03 18:01:25 +00:00
Petr Skoda
a9637e7df4
MDL-14679 fixed a lot more old style uses of insert_record()
2010-09-03 17:47:41 +00:00
Petr Skoda
99f9f85f00
MDL-23489 auth plugins can specify own edit profile url - patch submitted by Jay Knight + tweaking change password url to use new moodle_url at the same time, it is backwards compatible, custom plugins may still use string url for now
2010-08-18 22:07:00 +00:00
Petr Skoda
6b8ad965dc
MDL-16919 we have to really use the username cleaning only when manually adding new accounts, any sync with external system needs the exact match without any cleaning!
2010-06-06 14:06:30 +00:00
Dan Poltawski
5211c7ec51
auth/db: MDL-19469 - Swich from hardcoded auth type
...
thanks to Jay Knight for the patch
2010-05-16 13:10:26 +00:00
Petr Skoda
2c10db3b3c
MDL-22060 fixed $a in string to match new rules
...
AMOS START
REM fixed $a[] in [auth_dbdeleteuser, auth_db]
REM fixed $a[] in [auth_dbinsertuser, auth_db]
REM fixed $a[] in [auth_dbreviveduser, auth_db]
REM fixed $a[] in [auth_dbsuspenduser, auth_db]
REM fixed $a[] in [auth_dbupdatinguser, auth_db]
AMOS END
2010-04-11 16:55:17 +00:00
Inaki
b8fc9582e6
auth cas/db/ldap: MDL-18689 Fix typos in auth/{cas,db,ldap}/auth.php
...
Forward-ported from MOODLE_18_STABLE
2010-04-10 15:26:39 +00:00
Rossiani Wijaya
07ed083e4e
MDL-16919 - Allow username to contain alphanumeric lowercase characters, underscore (_), hyphen (-), period (.) or at symbol (@)
2010-01-13 06:23:54 +00:00
Petr Skoda
e79781f72e
MDL-20948 proper removal of cached pasword hashes just in case upgrading from <1.9.7
2009-11-24 14:39:35 +00:00
Petr Skoda
edb5da8331
MDL-20934 'not cached' flag used in all auth plugins that do not need the password
2009-11-23 21:50:40 +00:00
Petr Skoda
d5a8d9aa71
MDL-20625 new delegated transaction support in DML
2009-11-07 08:52:56 +00:00
Petr Skoda
5117d59899
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:55:14 +00:00
samhemelryk
e772148574
auth-db MDL-20530 Fixed fatal error because of missing include in external db authentication
2009-10-13 02:44:13 +00:00
jerome
2b06294b9a
authentication MDL-19182 split auth.php lang file into multiple files separate for each plugin
2009-06-11 03:34:46 +00:00
iarenaza
5261baf11e
MDL-16061 Revert incorrect fix for "Remove 'username' from the $moodleattributes array"
...
Merged from MOODLE_18_STABLE.
The fix is wrong, as it breaks auth_db_sync_users.php and
auth_ldap_sync_users.php at least. No new users are added to Moodle, as the
username is missing from the new user info record.
The fix needs to go into update_user_record() in lib/moodlelib.php to make it
skip the 'username' key, as we really need get_userinfo() to return the
username as part of the user info array.
2008-08-25 22:44:45 +00:00