180 Commits

Author SHA1 Message Date
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
33a9fd4745 Added auth_db_sync_users.php 2006-01-16 03:02:30 +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
stronk7
ef9b35a01b Tabs are out 2005-05-16 19:38:21 +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
moodler
f0fd3436be Some cleanups just to make these pages look acceptable 2005-02-09 12:55:34 +00:00
moodler
21c7f77048 Removed a lot of needless <p> tags 2005-02-08 09:36:21 +00:00
paca70
ba1ceab2f5 Postgresql does not like modified prefix 2004-09-24 08:36:05 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +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
16b8fe5b7f Fixed some short tags 2003-09-09 05:37:39 +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
7ff671df29 Bug fix for dbtype menu 2002-11-21 11:12:55 +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