53 Commits

Author SHA1 Message Date
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Inaki
7a9f7d6c8a enrolment plugins: MDL-21337 Missing global $OUTPUT variable in some enrolment plugins configuration page 2010-01-13 22:16:01 +00:00
Inaki
c757ef825b enrol/ldap: MDL-13952 Don't auto create courses if auto creation not enabled.
Merged from MOODLE_18_STABLE
2009-11-04 21:00:58 +00:00
Petr Skoda
4317f92f3f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:51:40 +00:00
Petr Skoda
f19b623bd9 MDL-20695 do not use trigger_error together with echo, it just duplicates info when debugdisplay on 2009-10-31 22:55:17 +00:00
nicolasconnault
4644e09c4a MDL-19795 Upgraded calls to link_to_popup_window() 2009-08-20 13:15:04 +00:00
nicolasconnault
c60e66aee3 MDL-19795 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:59:01 +00:00
nicolasconnault
f147f547cb MDL-19795 Upgraded calls to choose_from_menu 2009-08-17 15:18:35 +00:00
tjhunt
6cbcbf0fb3 blocklib: MDL-19010 eliminate remaining calls to blocks_repopulate_page 2009-05-08 08:22:59 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
tjhunt
d49962135c Missing global $DB; causing fatal error. 2008-09-10 06:21:27 +00:00
skodak
0cbe81112a MDL-14580 rewritten course sorting algorithms 2008-06-16 14:25:53 +00:00
iarenaza
2230061c5b MDL-15182 Fix LDAP enrolment course auto-creation at user login 2008-06-07 21:21:37 +00:00
skodak
7c3600238e MDL-14679 converted some add/stripslashes 2008-06-03 08:24:31 +00:00
iarenaza
37ad7544f9 MDL-15039 Apostrophes in idnumber prevent users from being unenrolled via LDAP
If any member of a course has an ID number containing an apostrophe (eg.
CN=Paddy O'Brien,OU=Students,DC=etc...), no other members will ever be
unenrolled via LDAP.

Thanks to Michael Woods for the bug report and proposed solution.

Merged from MOODLE_18_STABLE.
2008-06-02 22:39:39 +00:00
skodak
50c5bef452 MDL-14679 towards enrol conversion 2008-06-02 21:02:52 +00:00
stronk7
d936580e1f Not visible courses don't cause unenrolment under LDAP anymore. Credit goes to Iñaki Arenaza. MDL-14097 ; merged from 19_STABLE 2008-03-30 00:45:58 +00:00
danmarsden
7993f4bdaa Fix for MDL-12998 and MDL-13079 Ldap not unenrolling users correctly 2008-01-21 23:22:12 +00:00
skodak
df512196f5 MDL-9744 passwork field for ldap bind pw - patch by Iñaki Arenaza; merged from MOODLE_18_STABLE 2008-01-02 22:53:47 +00:00
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
nicolasconnault
933e257ab2 MDL-9322 Fixed non-compliant xhtml code for mnet pages, logs and enrol pages 2007-04-13 07:03:04 +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
moodler
b40b3eb4cf Merged string fixes from stable 2007-02-23 06:58:43 +00:00
toyomoyo
537ea84763 MDL-8290, fix for broken plugins 2007-02-09 07:47:14 +00:00
skodak
b150307551 MDL-7861 xhtml strict fixes - fixed capital letter tags and attributes 2007-01-04 23:59:55 +00:00
skodak
7150226896 MDL-7861 xhtml strict fixes - fixed all <br> in our code 2007-01-04 23:38:17 +00:00
skodak
b490cf71a0 MDL-8029 removed obsoleted optional_variable() from ldap config 2006-12-30 21:22:36 +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
skodak
7eb0b60a1f debugging and error reporting level fixes and improvements MDL-6671 2006-09-23 09:38:39 +00:00
moodler
0e1cc9070b Fixed a some debugging statements 2006-09-18 13:24:45 +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
f7d18493f6 Merged from MOODLE_15_STABLE. enrol/ldap offers enrol_allowinternal config option as it should. 2005-05-30 03:51:39 +00:00
martinlanghoff
bdf09a84fe Enrol/LDAP -- adds support for searching subcontexts -- Discussed in http://moodle.org/mod/forum/discuss.php?d=23696 2005-05-17 03:49:20 +00:00
martinlanghoff
0bf73dd33a Enrol/LDAP now uses correct password to login -- fixes #3237 2005-05-17 03:26:14 +00:00
stronk7
894ff63f8f Tabs are out 2005-05-16 22:22:31 +00:00
mjollnir_
d54ced8618 Fixing typo in ldap enrolment plugin (variable missing _) 2005-03-29 00:21:55 +00:00