10079 Commits

Author SHA1 Message Date
mjollnir_
f1f2c12527 Merged from MOODLE_14_STABLE: Update log_display to use postgres friendly concat functions for firstname lastname 2004-11-23 03:53:41 +00:00
moodler
f7abd64afb Merged changes from stable 2004-11-23 03:43:24 +00:00
mjollnir_
7b07a935c5 Merged from MOODLE_14_STABLE: Fixing weird forum bug to do with forum ratings (manifested itself in invalid postgres sql) 2004-11-23 02:49:51 +00:00
moodler
ae6d640123 Minor HTML fixes 2004-11-23 02:47:07 +00:00
moodler
cc28a5b560 Just a code tidy up 2004-11-23 02:41:45 +00:00
mjollnir_
1604a0fc2b Merged from MOODLE_14_STABLE: More small sql tweaks to avoid invalid postgres sql 2004-11-23 02:05:47 +00:00
mjollnir_
df7ebd69ab Merged from MOODlE_14_STABLE: Fix for invalid sql (for postgres) in cron cleanup of duplicate enrolments. Possibly soon to be overridden by a unique index 2004-11-23 01:05:11 +00:00
mjollnir_
8b19b04085 Bug fix for patch related to forcing searching in course/student.(html|php) if too many users, and bump to MAX_USERS_PER_PAGE to 5000 2004-11-23 00:39:29 +00:00
mjollnir_
60fdc71463 Slight change to log page so that for > 5000 courses or users we don't straight off load the huge drop down menus but instead default to whatever is normally selected, with an option for 'More' to display the full drop down for either. Also includes an Martin L patch for sql query that brought postgres to it's knees (Martin L patch is destined for MOODLE_14_STABLE as well) 2004-11-23 00:16:24 +00:00
koenr
0dcc5d3fce noticed a couple typo's while translating 2004-11-22 23:35:33 +00:00
koenr
2fc010061d filling in missing strings 2004-11-22 22:07:27 +00:00
koenr
fab930e0ef typo 2004-11-22 21:35:25 +00:00
mjollnir_
6a6f25af85 Merged from MOODLE_14_STABLE: Fix for bug #2207 - sortorder now honored in front page listing 2004-11-22 21:30:26 +00:00
koenr
387d8632f1 changing thislanguage to NCR so it displays properly in the languagelist 2004-11-22 21:24:34 +00:00
koenr
d2c66e66d1 Added some new files
Deleted a lot of English strings / files
Corrected a lot of errors in html
Help-files should be xhtml compliant

CAN SOMEONE WHO ACTUALLY CAN READ THE LANGUAGE PLEASE CHECK
2004-11-22 21:09:47 +00:00
rkingdon
03371565eb Fixes teacher's view of 3 phase workshops. 2004-11-22 19:09:06 +00:00
julmis
361855e6e7 Adding support for Mac OS X Camino browsers see bug #2176 2004-11-22 18:38:33 +00:00
moodler
b5c6d80dfe I've not tested this at all :-( but it was sent to me by the original
author of this feature as a bug fix.

PLEASE TEST!   (See bug 2179 for example)
2004-11-22 16:25:29 +00:00
moodler
735547525a Added dummy constructor to keep PHP5 happy. 2004-11-22 16:09:06 +00:00
martignoni
b5e74921f3 String trysearching added 2004-11-22 16:00:13 +00:00
martignoni
71bce841c6 Confirmation for deleting course categories 2004-11-22 15:58:35 +00:00
martignoni
604c058b35 Changed $ongoingcustom definition 2004-11-22 15:51:41 +00:00
martignoni
6088c640d8 Added new lang entries for lesson module 2004-11-22 15:49:18 +00:00
martignoni
f14aa0a774 A few new strings for Version 2004111000. 2004-11-22 15:11:02 +00:00
villate
eefebe2471 A few new variables translated 2004-11-22 14:51:47 +00:00
moodler
35a0379ac2 Merged sesskey fix in social activities block from stable 2004-11-22 14:44:24 +00:00
scop22
31ad9e60b3 Fix buggy string in moodle.php 2004-11-22 13:59:36 +00:00
scop22
d4bf677d37 Many new translated strings in some major modules: lesson.php, quiz.php, moodle.php, survey.php, wiki.php 2004-11-22 13:01:20 +00:00
carlesbellver
530935f148 *** empty log message *** 2004-11-22 07:59:33 +00:00
martinlanghoff
b36a8fc4f5 Auth/LDAP
Bugfix - value truncation to fit Moodle database
- Added truncate_userinfo() to cleanup data coming from external auth
- Fixed auth_user_create() to truncate user info as appropriate

Auth_ldap_user_sync
- created external script that calls the function
- much faster update strategy on postgres and mysql: auth_sync_users now to uses bulk inserts into a temp table, and then use LEFT JOINs and plain old SELECTs to determine what users it has to insert.
- we now loop over smaller sets of data -- we are still memory-bound, but (a) it'll be easy to use LIMIT to manage that and (b) memory use is much lower now in all cases.
- postgres: phased commits in auth_user_sync() for the batch user upload phase
- Several feature and performance enhancements:
  - if a value is removed from ldap, it will be cleared from moodle
  - no-op updates (where the data does not change) are skipped
  - if a user disappears and then reappears in LDAP in two separate calls to auth_user_sync(),the account will be marked deleted and then be revived. before, the account would have been deleted and created anew.

Multi-source ldap values:

The LDAP auth module now accepts a comma separated set of LDAP field names. When creating or updating a user record, auth/ldap will retrieve all the relevant fields. The right-most values overwrites all the others.

This is particularly useful when updating the user's email address from an LDAP source, which may contain the email address in one of several fields (traditionally: mail, mailForwardingAddress, mailAlternateAddress).

If a value is updated and is set to update external auth and this field is using this multi-source ldap configuration, the auth/ldap module will retrieve the old value, find which field it was sourced from, and update that field in LDAP. If it fails to find the original source of the value, it will log it in error_log.


Log of patchsets applied:
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-131
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-137
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-139
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-172
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-173
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-189
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-190
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-208
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-212
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-216
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-279
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-282
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-287
	arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-294
2004-11-22 07:46:10 +00:00
mjollnir_
1a31c2b366 Merged from MOODLE_14_STABLE: Don't need to select course.* in rebuild course cache 2004-11-22 05:46:18 +00:00
mjollnir_
e6d1d120b1 Merged from MOODLE_14_STABLE: Changes to calls to get_courses to not get all fields 2004-11-22 05:41:14 +00:00
mjollnir_
ed040b1f2d Merged from MOODLE_14_STABLE: Recent course/scale optimisations 2004-11-22 05:22:20 +00:00
mjollnir_
b565bbdfe2 Merged from MOODLE_14_STABLE: Fixes in datalib and backuplib for postgres invalid sql 2004-11-22 04:24:30 +00:00
mjollnir_
a967637614 Merged from MOODLE_14_STABLE: modify_database function change - if no ; in single line sql strings, add it 2004-11-22 04:11:07 +00:00
mjollnir_
01669f1619 Merged from MOODLE_14_STABLE: Fixed another instance of getting all fields from all courses (in log selector) 2004-11-22 03:35:31 +00:00
mjollnir_
da862d410f Merged from MOODLE_14_STABLE: Fix for calendar set filters to not query the database for groups of a course if it doesn't use groups 2004-11-22 03:17:49 +00:00
martinlanghoff
911378628f Fixed typo in index name 2004-11-22 02:58:23 +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
martinlanghoff
6e8ca9837e Enrol/LDAP - enrol_student() and add_teacher() now populate the 'enrol' field. 2004-11-22 02:38:31 +00:00
martinlanghoff
5cd796869e Enrol/LDAP - DB Patches + version bump
These patches add an 'enrol' column to the user_students and user_teachers tables for the enrolment plugins to be able to keep track of source of the enrolments. Follows similar conventions to the user table with its 'auth' field.

This is a merge of the following patches:
 arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-187
 arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-192
2004-11-22 02:36:14 +00:00
mjollnir_
4f3fecf4a6 On enrol students to a course page, force searching if too many users to display (controlled by MAX_USERS_PER_PAGE - not previously used and bumped up to 1000 as a more reasonable limit) - trying to put 30,000 users in a drop down menu crashes some browsers 2004-11-22 01:40:18 +00:00
mjollnir_
eb46f6a322 Merged from MOODLE_14_STABLE: Indexes for workshop and version bump (honoring partial freeze) 2004-11-21 22:03:48 +00:00
mjollnir_
81c41b659e Merged from MOODLE_14_STABLE: Indexes for wiki and version bump (honoring partial freeze) 2004-11-21 21:16:41 +00:00
mjollnir_
5417b5b07a Merged from MOODLE_14_STABLE: Indexes for survey and version bump (honoring partial freeze) 2004-11-21 20:43:27 +00:00
koenr
59aa644972 filling in missing strings (finely understood 'instances' :-') ) 2004-11-21 17:49:50 +00:00
rkingdon
5c2b2dd83a User Pictures to dialogue headers. 2004-11-21 15:30:14 +00:00
paca70
706552f038 Updates for postgres 2004-11-21 15:01:33 +00:00
moodler
72b9f333b9 Merged fix for hiding unneeded sections in course navmenu 2004-11-21 06:28:17 +00:00
rkingdon
7decbe4b12 Added vetting of conversationid; fixed bug 2194 (Problems with
backup/restore); Tidied Postgres table.
2004-11-21 04:01:10 +00:00