iarenaza
59b567692d
Remove additional check when dealing with hidden courses in LDAP enrolment.
...
The check is superfluous and uses an inexistant variable ($type) that
was removed when we switched to role based enrolment.
Fixes MDL-11098 MDL-10282 and MDL-8346.
2007-09-15 21:38:13 +00:00
skodak
b0efa7ec07
MDL-9169 Error in function call in ldap/enrol.php; typo found by Svante Agnestig; merged from MOODLE_18_STABLE
2007-04-02 13:16:55 +00:00
skodak
8f80eba57d
MDL-4313 LDAP doesn't properly escape extra quotes in course details + minor role unassign change; merged from MOODLE_18_STABLE
2007-03-29 21:40:48 +00:00
danmarsden
4f896599f8
MDL-9102 incorrect use of unset_config()
2007-03-28 23:36:23 +00:00
mjollnir_
87c75906ed
update enrol/ldap to work with roles.
...
Credit: Alastair Pharo <alastair@catalyst.net.nz>
1) Some config settings have changed (ones that related specifically to
teachers and students). There is a check in place however to migrate
old configurations to new ones.
2) Perviously two syncs happened - one for students, one for teachers.
Now sync gets called the same number of times as there are roles.
Those roles that have config settings associated with them then run
through all the records. This means syncing takes longer the more
roles you configure (which is expected anyway I suppose).
2006-09-26 01:31:33 +00:00
danmarsden
f2b7abf058
Bug #5882 ldap enrolment doesn't work. $USER->student getting munged
...
patch from Iñaki.
2006-07-24 00:37:58 +00:00
danstowell
6d19caab41
Change to make LDAP enroller simply ignore accounts with blank idnumber - see moodle.org discussion with Inaki
2006-07-06 13:13:42 +00:00
martinlanghoff
74da3c2c89
[multienrol]Improved get_student/teacher_courses() functions to cache enrolment type that saves lots of recursive database query
2006-03-09 03:15:42 +00:00
martinlanghoff
1919f9926e
[multienrol]Replaced configuration variable override with class property
2006-03-09 03:15:01 +00:00
martinlanghoff
f9667a5aea
[multienrol]Initial commit for multi enrolment plugin feature
2006-03-09 02:48:29 +00:00
moodler
5a0345c2e1
Merged parameter fixes from stable
2005-12-05 04:53:57 +00:00
patrickslee
20fdb1b755
Fixed a wrong call to add_teacher in LDAP plugin (Merged from MOODLE_15_STABLE)
2005-11-02 20:35:32 +00:00
martinlanghoff
50f1b47543
Merged from MOODLE_15_STABLE - enrol/ldap - fix course auto-creation to work with the new blocks infrastructure. doh! (thanks penny!)
2005-09-02 06:52:36 +00:00
martinlanghoff
33a30ca9e6
Merged from MOODLE_15_STABLE - enrol/ldap - fixed default objectclass, and we can now bind non-anonymously
2005-08-26 04:11:22 +00:00
martinlanghoff
4f03006577
Merged from MOODLE_15_STABLE - LDAP servers being down or unavailable should not prevent login - we now fail with a notice() rather than with an error()
2005-08-17 22:38:24 +00:00
martinlanghoff
0cce156053
Merged from MOODLE_15_STABLE - Fix calls to enrol_student() and add_teacher() where nulls were being passed erroneously - credits to jeff graham
2005-08-12 01:51:14 +00:00
martinlanghoff
1007a3f1a3
enrol/ldap: bugfixes suggested by Jeff Graham here http://moodle.org/mod/forum/post.php?reply=124170 -- fixes course creation not pulling summaries, form errors in ldap_search_sub, calls to deprecated blocks_get_default_blocks() and DB errors when inserting new enrolments. With these fixes, it may even work.
2005-06-25 02:41:56 +00:00
martinlanghoff
0bf73dd33a
Enrol/LDAP now uses correct password to login -- fixes #3237
2005-05-17 03:26:14 +00:00
mjollnir_
d54ced8618
Fixing typo in ldap enrolment plugin (variable missing _)
2005-03-29 00:21:55 +00:00
martinlanghoff
6ebaf0edcb
Fixed bogus warnings about empty LDAP contexts.
2005-01-17 21:07:00 +00:00
martinlanghoff
64031bbb0f
Enrol/LDAP - initial commit, a bit rough around the edges.
...
This code is in production in a high-volume environment, so it has already proven to be reliable and scalable. Configuration is still tricky, and some corner cases may or may not be handled elegantly.
Please test!
2004-11-22 02:41:41 +00:00