120 Commits

Author SHA1 Message Date
nicolasconnault
77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
skodak
344514fca5 MDL-3339 support md5 and sha1 in ldap when adding or changing passwords; merged from MOODLE_18_STABLE 2007-03-29 19:50:53 +00:00
skodak
cd874e2133 MDL-8590 fixed ldap creators, added new option to specify dn in member attribute; merged from MOODLE_18_STABLE 2007-03-29 15:53:09 +00:00
skodak
a8d58c58e7 MDL-9099 LDAP auth does not allow dn in idnumber field (or other user attributes); patch by Jeff Graham; merged from MOODLE_18_STABLE 2007-03-29 08:42:07 +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
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
stronk7
fa96bfaa11 sync_users() now working both under MSSQL and Oracle. Big credits to
Jay Lee for his cool patch about MDL-7525 MDL-8023 MDL-8153

Merged from MOODLE_18_STABLE
2007-02-17 01:26:43 +00:00
thepurpleblob
0b906e7847 MDL-8443
Fixed Typo.
2007-02-14 15:31:07 +00:00
toyomoyo
43c6650b35 fixing a typo 2007-02-09 00:34:49 +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
stronk7
60b562c49e Adding some $CFG->dbfamily-s here and there. MDL-7061 2007-01-12 00:06:08 +00:00
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
donal72
b7b50143f3 Auth: Bugfix: MDL-8131 2007-01-10 00:50:59 +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
skodak
cf6bf1ab5f MDL-7837 auth_ldap_bulk_insert() fails when user data contains single quotes - patch by Iñaki Arenaza 2006-12-29 21:17:43 +00:00
skodak
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
moodler
f274fe073c Merged AS keyword fixes from stable MDL-7207 2006-10-25 09:04:25 +00:00
moodler
3ede4ecbcb Fixes to remove access to user_coursecreators and use roles instead MDL-6800 2006-10-04 05:36:17 +00:00
mjollnir_
7d49253f40 Here's a little patch for auth/ldap/lib.php... just stops some
errors from popping up.
Credit: Alastair Pharo <alastair@catalyst.net.nz>
2006-09-26 01:26:27 +00:00
toyomoyo
d76a5a7fed replacing references to user_* tables 2006-09-19 01:44:33 +00:00
skodak
4630e4e483 Bug #5953 - problem in /auth/ldap/lib.php; merged from MOODLE_16_STABLE 2006-06-29 07:05:00 +00:00
martinlanghoff
9aad454299 auth/ldap: better handling of empty values from ldap 2006-05-30 00:44:21 +00:00
skodak
f2b5a58a0f Bug #5604 - LDAP error notice when users update profile; merged from MOODEL_16_STABLE 2006-05-24 21:12:46 +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
stronk7
5db97a46a5 We don't need to convert to Unicode if Moodle is running under Unicode.
(anyway, we need a new field inside each authentication system to be
able to define the external encoding!)
2006-03-28 17:13:09 +00:00
moodler
0b5f5c0de0 Some old fix, that wasn't checked in 2006-01-05 06:30:12 +00:00
martinlanghoff
ff2cbb73a9 Merged from MOODLE_15_STABLE - auth/ldap: Fix support for AD -- thanks to Inaki, in more than one sense ;-) 2005-12-12 04:58:11 +00:00
martinlanghoff
a4e3e98f08 Merged from MOODLE_15_STABLE - Updated the definition of member for AD - thanks to Inaki for the tip! 2005-11-07 01:00:05 +00:00
martinlanghoff
85523834e7 auth/ldap: Better warnings and handling of updaging multi-source LDAP fields
+ Raise a warning if the auth_ldap_get_entries for one user record
   returns more than one record (!?)
 + Resolved some subtle bugs when updating a remote LDAP repo from user
   updates. The logic is now simpler too.
 + Simplified the code that compares old/new values

Merged from MOODLE_15_STABLE
2005-11-07 00:53:07 +00:00
martinlanghoff
33b29afb8f Merged from MOODLE_15_STABLE - Fix for bug 3141 - Can't update external data with LDAP authentication 2005-10-06 02:24:03 +00:00
martinlanghoff
16582b8500 Merged from MOODLE_15_STABLE - Fix for bug 3992 - LDAP password including a quote does not work - credits go to Kita 2005-10-06 02:19:38 +00:00
martinlanghoff
8be24a07d0 auth/ldap: Merging pending patches from MOODLE_15_STABLE 2005-10-06 02:11:34 +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
martinlanghoff
98ee505608 Merged from MOODLE_15_STABLE - auth/ldap: fixed typo in auth_user_activate() - bug #3594 - thanks to ze @ nbox.org 2005-09-09 00:28:09 +00:00
martinlanghoff
cb2b145f50 Merged from MOODLE_15_STABLE - auth/ldap - sync_users script bugfix x2: it was deleting fields that were not supposed to be synched to ldap and it was failing to set auth_forcepasswordchange 2005-09-02 06:56:32 +00:00
martinlanghoff
b8a0a101e5 Merged from MOODLE_15_STABLE - auth/ldap: Fixed handling of multi-source field mapping. Now fields with non-empty values have precedence over empty fields, regardless of order. Fields will be set to empty only if all ldap source fields are empty. 2005-08-25 04:58:59 +00:00
martinlanghoff
1ec75a2446 Merged from MOODLE_15_STABLE - Temp table now matches idnumber length with username - thanks to Yves Roy for pointing this out. 2005-08-12 02:31:34 +00:00
martinlanghoff
2a37498d85 Merged from MOODLE_15_STABLE - Fix for small syntax error that was hiding debug info from an error msg. #3527 - Credits to cangussu@gmail.com 2005-08-11 23:02:40 +00:00
martinlanghoff
b957a44bb6 Merged from MOODLE_15_STABLE - Fix for using dn as idnumber - thanks to Jeff Graham - http://moodle.org/mod/forum/discuss.php?d=28840 2005-08-11 22:48:33 +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
stronk7
ef9b35a01b Tabs are out 2005-05-16 19:38:21 +00:00
paca70
e8a7fa9afd Added missing argumet 2005-04-04 10:16:28 +00:00