Commit Graph

29 Commits

Author SHA1 Message Date
stronk7 bfc8a717df Applying new rs_xxx() functions everywhere. MDL-8134 2007-01-29 23:44:58 +00:00
stronk7 31e0c05036 Applying new rs_xxx() functions everywhere. MDL-8134 2007-01-29 10:44:45 +00:00
martinlanghoff dd1ac4af5c auth/db: fix fields not read from external database MDL-7712 2007-01-15 19:58:58 +00:00
stronk7 b764301306 Set Assoc mode always after DB connection. Discovered by MDL-7443. 2006-11-13 22:58:59 +00:00
martinlanghoff 13e8d6e46f auth/db/lib (bugfix) only update mdl fields during login if 'onlogin' set
Previous operation was update all moodle fields from the external database
during each login & sync ignoring this setting. Now if this setting is
'oncreation' then the field is only copied once (on creation of user).
2006-09-28 01:05:10 +00:00
toyomoyo d76a5a7fed replacing references to user_* tables 2006-09-19 01:44:33 +00:00
martinlanghoff 3279a35540 auth/db: When using internal passwords we must register auth_update_user_password()
Now users can update their password correctly. We did have this before, I
wonder if it got dropped in a merge.
2006-07-18 01:36:47 +00:00
martinlanghoff bd18fe9ced auth/db: use auth_validate_form() to set auth_db_stdchangepassword when passtype is 'internal'
When using the 'internal' password handling, set auth_db_stdchangepassword
so we allow users to change their password normally.
2006-07-18 01:36:24 +00:00
skodak af38593211 fixed auth_user_exists(), now works the same as the one in ldap plugin 2006-04-22 16:01:02 +00:00
stronk7 5c30945a81 Only decode from utf8 if we aren't running under utf8.
(anyway we need a setting to decide the original encoding
and to be perfect)
2006-03-28 19:14:23 +00:00
skodak df1931578a password handling refactoring and added conversion of passwords to unicode 2006-03-11 11:26:36 +00:00
martinlanghoff ae57432404 auth/db now support internal passwords and sync_users() 2006-01-16 02:54:16 +00:00
martinlanghoff 3f26679388 Merged from MOODLE_15_STABLE - auth/db: Better support for utf-8 user data. 2005-08-31 06:01:14 +00:00
martinlanghoff a40803130b Per-auth-backend field locks support. Merged from MOODLE_15_STABLE
* Extended set_config()
 * Implemented get_config() which takes over $CFG loading in setup.php
 * admin/auth.php has special handling if post vars starting in pluginconfig_
 * admin/auth.php print_auth_lock_options() prints a form fragment -- being called from most plugins now
 *  user/edit.php follows the new convention when locking down fields, both javascript UI and on POST.
 * admin/auth: More solid checking for auth GET/POST var.
 * admin/auth: print_auth_lock_options() now handles user field mapping options for LDAP and similar modules
 * admin/auth: user mapping options have moved to config_plugins table
 * auth/ldap module has migrated to using new field mapping vars -- simplified config.html a lot
 * auth settings migration to config_plugins
2005-06-02 05:39:41 +00:00
moodler ce54d95cef Keep and reset $CFG->prefix as per bug 3223 2005-05-14 02:46:20 +00:00
martinlanghoff e739b19a7e Merged from MOODLE_14_STABLE - Fixed bug 2319 DB auth not fetching user data fields correctly -- credits go to andres.marquez@accenture.com and doug nutsch 2005-03-07 02:01:25 +00:00
paca70 ba1ceab2f5 Postgresql does not like modified prefix 2004-09-24 08:36:05 +00:00
gustav_delius 7ef0797dea some fixes for XHTML compliance 2004-09-12 01:34:24 +00:00
moodler 953c64fe93 Trying to avoid database clashes 2003-10-26 16:08:31 +00:00
moodler a657c48b96 A little fix to workaround what seems to be an ADOdb bug when using
database authentication
2003-01-06 05:37:26 +00:00
moodler fa3ba0f6c1 Slightly more efficient way to open the database connections 2003-01-02 11:34:00 +00:00
moodler 50c4bd4145 More robustness, and some little bug fixes.
Also, database module now supports md5 passwords
2002-12-31 08:45:37 +00:00
moodler 34daec9b3b Tweaks to authentication system. Database method now allows other
fields to be specified so that things like email, names etc can be
pulled in from external database when new Moodle accounts are created
2002-11-21 07:37:21 +00:00
moodler 35a48c9ae4 A significant new system for authentication configuration that
exposes the wide array of authentication possibilities.

Authentication now has it's own page separate from other variables.

Most of this work was done by Petri Asikainen <paca@sci.fi>, who started
these changes off.

I've done some cleanups and additions which is why I'm checking it in.

It's all working pretty well at the moment but could use some testing.

Thanks, Petri!  :-)
2002-11-19 08:51:33 +00:00
moodler 817c698e8f Slight updates 2002-11-17 09:57:34 +00:00
moodler bf09e379a4 Some docs added 2002-11-16 04:26:54 +00:00
moodler d5b94ef46c Nothing missing, just needs testing and debugging 2002-11-15 09:13:31 +00:00
moodler d1b4e17267 More authentication possibilities 2002-11-15 08:42:40 +00:00
moodler dce48fc85a First version of code to authenticate against external database.
This NOT TESTED yet, and has parameters hardcoded ... it will of
course be using Petri's config interface later when that's ready.
2002-11-15 08:25:24 +00:00