89 Commits

Author SHA1 Message Date
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +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
1f9a0c9c01 MDL-19788 fix unknown $OUTPUT variable 2009-09-03 07:50:47 +00:00
nicolasconnault
7f383c5676 MDL-19788 Upgraded calls to link_to_popup_window() 2009-08-20 13:14:05 +00:00
nicolasconnault
977e5edbd9 MDL-19788 Upgraded calls to choose_from_menu 2009-08-17 15:15:42 +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
tjhunt
93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +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
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +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
nicolasconnault
77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +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
skodak
6bc1e5d577 (MDL-8973) Fix OOP model of new multi auth plugins + some other auth related fixes, fixed change_password, ldap updates, etc.; TODO: fix docs 2007-03-22 12:27:52 +00:00
skodak
c57dcb62c2 MDL-8590 auth cleanup - reset password cleanup+fixes 2007-02-22 22:20:51 +00:00
skodak
430759a5fe MDL-8590 auth cleanup - part 6 2007-02-21 21:42:10 +00:00
skodak
139ebfdb3b MDL-8590 auth cleanup - part 1 2007-02-20 17:03:36 +00:00
skodak
0813712fb8 MDL-8542 External db auth cleanup
* some more sync script fixing
2007-02-16 10:55:05 +00:00
skodak
8ae42b8d78 MDL-8542 External db auth cleanup
* configurable encoding conversions
* fixed handling of magic quotes
* proper sybase quoting
* adodb debug mode
* fixed language strings
* sha1 support
* connection setup command (use names 'utf8')
* mysqli support
* form field labels
* general cleanup and minor fixing
2007-02-16 10:45:53 +00:00
stronk7
931b508559 Applying new rs_xxx() functions everywhere. MDL-8134 2007-01-29 23:52:33 +00:00
stronk7
c024b94b02 Applying new rs_xxx() functions everywhere. MDL-8134 2007-01-29 10:47:25 +00:00
donal72
fb5c773965 Auth: Documentation update to reflect changes in signature of user_update_password method 2007-01-28 22:08:59 +00:00
donal72
da249a3028 Auth: Fix for error creating admin user (if you choose a new username). Also addresses an issue in the user_update_password method. 2007-01-28 10:27:05 +00:00
stronk7
150b5fb0e0 $form is an object (from data_submitted). 2007-01-23 16:33:15 +00:00
martinlanghoff
0f02788f70 auth/db/auth.php - fewer queries against the ext db
Previously sync script would query the ext db once for each field that
might be wanted (repeated for each user).  Changed to query once for each
user.

Originally by Peter Bulmer <peter.bulmer@catalyst.net.net>
Somewhat adapted by Martin Langhoff ;-)
2007-01-16 05:24:20 +00:00
martinlanghoff
de6e7ee2a9 auth/db: fix fields not read from external database MDL-7712 2007-01-15 19:53:26 +00:00