Commit Graph

31 Commits

Author SHA1 Message Date
donal72 e8b9d76a3f Auth: Replace hardcoded strings: MDL-8069 2007-01-11 00:05:47 +00:00
donal72 a9ad3633c7 Auth: Replace hardcoded strings: MDL-8069 2007-01-10 23:17:51 +00:00
martinlanghoff b9ddb2d5ea multiauth: migrated all files to the new OO API, written new API documentation
Author: Martin Langhoff <martin@catalyst.net.nz>
2007-01-04 04:52:42 +00:00
thepurpleblob 541ff6ab16 Change of plan. Change password stuff moved to admin/auth.php 2005-09-22 14:19:39 +00:00
thepurpleblob fd9c86c592 Whoops - should have been a text field
...and fixed some more dodgy xhtml on <input> tags.
2005-09-21 15:19:53 +00:00
thepurpleblob 522b9982c7 Changed config initialisation so it doesn't use optional_variable() function.
Fixed a couple of non-xhtml <br>s
Added authchangepasswordurl config parameter (ongoing improvements to
'multiple' auth methods functionality)
2005-09-21 14:58:41 +00:00
stronk7 bd8a4f07f0 One help string corrected.
Merged from MOODLE_15_STABLE
2005-07-14 15:44:34 +00:00
stronk7 f5686a5839 Interface for SC#106
Merged from MOODLE_15_STABLE
2005-07-14 15:25:43 +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
thepurpleblob 6e8503ab38 Incorrect variable name used for parameter. 2005-05-18 13:15:21 +00:00
martinlanghoff 22693f4aff Auth/LDAP -- a proper dropdown for search subcontexts option 2005-05-17 03:50:20 +00:00
moodler f0fd3436be Some cleanups just to make these pages look acceptable 2005-02-09 12:55:34 +00:00
paca70 8021cc54c1 Allow config how aliases are derefered. 2004-11-08 18:13:00 +00:00
paca70 089b19f631 Fixed bug 2012
Started work with bug 2007
Bug 1969 is partacaly fixed. ldap-module supports now password expiration.
Some work with bugs 761 and 1730

Changes in login/index.php
Reordered some code to make variables reusable in multiple places.
Added redirection in case of expired password
2004-09-28 12:39:20 +00:00
paca70 d89430abdf Changes to configuration interface 2004-09-27 14:19:32 +00:00
paca70 686650dd3e Added easy interface to specify ldap-attribute types and objectclasses.
Just select ldap-server type and you are done. Old variables can still be used
to override builtin settings.
2004-09-24 06:49:57 +00:00
paca70 8c9c0e8588 Cleaned config.html
Added configuration for expired passwords.
2004-09-22 08:28:56 +00:00
moodler d35757eb25 Merged/cleaned changes from MOODLE_15_LDAP to HEAD ...
please don't use the MOODLE_15_LDAP branch any more.
2004-09-20 09:08:57 +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
gustav_delius ff9fe32584 removed some warnings from from fields, closing bug 1558 2004-08-20 20:32:38 +00:00
paca70 815002f07f while waiting that guid-field, I added two functions:
auth_get_users ()
        Returns all userobjects from external database, with userinformation
        like address, phone ...

auth_sync_users ()
        1. Adds users from externaldatabase to moodle.
        2. renamed user in moodles db if renamed in externaldb
        3. "Delete" user in moodles db if removed from externaldb

and configuration interface for guid. ;)
2004-08-15 17:46:30 +00:00
paca70 4b9c337598 Added configuration interface for value LDAP_objectclass 2004-08-15 16:12:19 +00:00
moodler d8627a477e Thanks to Dave Lopata <Dave@Lopata.Net>, Moodle now supports LDAP 3 2004-04-15 15:57:32 +00:00
moodler 16b8fe5b7f Fixed some short tags 2003-09-09 05:37:39 +00:00
paca70 1924074c76 Added support for nonadmin course creation.
Course creators are managed by /admin/creator.php , same way that admins.
Or if authetication module have 'auth_iscreator'-function (right now only ldap-module have) ,
users are added to creators at login time.
2003-02-24 18:48:55 +00:00
paca70 5f2c35db18 Added support for usercreation from Moodle to authentication module.
Works currently only with ldap-module (tested with e-directory), but
 other modules could be extended too by
adding following functions:

function auth_user_exists ($username) {
//returns true if given username  already exists on authetication database
}

function auth_user_create ($userobject,$plainpass) {
//create new user to authentication database
//in inactive state (if posible)
//returns true if user is created
}
function auth_user_activate ($username) {
//activate external user  after email-address is confirmed
//returns true if user is activated
}
2003-02-20 21:39:51 +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 7c58aee6c7 Added full configuration to LDAP (ie transferrable fields etc) 2002-11-21 11:27:44 +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