Commit Graph

66 Commits

Author SHA1 Message Date
Petr Škoda 88fbc9a7ef MDL-32572 fix notice when changing internal auth_db passwords 2012-09-18 13:18:18 +02:00
Petr Škoda 3f22e75663 MDL-32572 skip problematic users in auth_db sync 2012-09-18 12:41:07 +02:00
Petr Škoda 45a6d31c4f 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 10:38:29 +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
iarenaza 19ac43c7a6 MDL-16061 Remove 'username' from the $moodleattributes array.
It doesn't make sense at all (username is not part of the externally mapped
fields) and produces a notice that breaks HTTP headers with debugging enabled.
2008-08-15 11:22:57 +00:00
jerome e9366bf849 MDL-15175: ensures cross-db: add a lowercase conversion for the username, merged from 19 2008-08-14 09:55:56 +00:00
jerome 1ed6ae073d MDL-15175: fix sync with external Oracle database merged from 1.9 2008-08-13 06:41:46 +00:00
skodak 245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
skodak 294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak df884cd852 MDL-15098 dml auth conversion 2008-06-07 15:41:25 +00:00
skodak f67cab32ec MDL-15094 some forgotten conversions 2008-06-05 18:01:22 +00:00
skodak 70ca450a01 MDL-15094 some forgotten conversions 2008-06-05 14:17:06 +00:00
skodak 185721a498 MDL-14679 towards /admin/auth conversion 2008-05-31 13:57:49 +00:00
skodak be544ec380 MDL-14679 towards authlib conversion 2008-05-30 20:54:19 +00:00
skodak 576c063b31 MDL-14679 towards authlib conversion 2008-05-30 20:54:19 +00:00
skodak ae040d4bcc MDL-14679 finished moodlelib conversion 2008-05-30 19:59:50 +00:00
skodak 59669b63f0 MDL-14543 fixed broken deleting from auth sync - credit goes to Juris Treibahs ; merged from MOODLE_19_STABLE 2008-04-25 13:22:02 +00:00
dongsheng 4105cafff9 MDL-12531, make the new member value available to all the affected plugins, thanks, Robert 2008-04-08 05:53:12 +00:00
dongsheng 6f87ef52b9 MDL-14055, change to human-readable strings from hard-coded integer, thanks for Matt's patch. 2008-03-26 01:35:04 +00:00
mjollnir_ 2b214bc1dc Merged from MOODLE_19_STABLE: MDL-13161 - auth/db - suppress php warning when there are no users using db auth 2008-01-27 20:05:49 +00:00
skodak 03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
skodak 90afcf3280 MDL-10260 added new user_delete() hook into auth plugins; refactored user delete code = new function delete_user() in moodlelib.php + improved cleanup in core tables when deleting user 2007-08-21 20:52:36 +00:00
skodak ab6ff8a4b5 MDL-9491 fixed problem with broken change/reset password in db auth when using internal passwords 2007-04-22 21:40:28 +00:00
stronk7 d972bfd01a Add one missing return causing db(internal) pass change not to work.
Partially, MDL-9491

Merged from MOODLE_18_STABLE
2007-04-22 14:19:43 +00:00
stronk7 a7e323672d Fixing authdb->close() in some places. Credir goes to Seiti. MDL-9212
Merged from MOODLE_18_STABLE
2007-04-05 22:22:28 +00:00