Commit graph

10949 commits

Author SHA1 Message Date
koenr
33bb37e1df *** empty log message *** 2004-11-24 20:53:51 +00:00
mjollnir_
f3c9e7f9c3 Merged from MOODLE_14_STABLE: Fixing typo in mysql.sql for unique key for user_teachers on course userid 2004-11-24 19:00:24 +00:00
koenr
0c06c9dd65 filling in missing strings 2004-11-24 15:33:38 +00:00
gustav_delius
b61536bc9b insert line break before language selection menu to make front page look similar to Moodle 1.4 2004-11-24 09:40:20 +00:00
gustav_delius
4de5f7bbdf added some missing styles to make Latest News and Recent Activity blocks look the same as in Moodle 1.4 2004-11-24 09:38:04 +00:00
gustav_delius
ab0e4dd42f If a block is unknown then ignore it rather than throwing fatal error. In future one might want to have a dummy block that is displayed in this case to alert the user to the fact that some block code is missing. 2004-11-24 09:16:39 +00:00
mits
ef45f25e7d translated some. 2004-11-24 05:45:34 +00:00
martinlanghoff
9530c61dbf Merge from MOODLE_14_STABLE
raise_memory() now uses get_real_size(), duplicate function return_bytes() removed.

Issue discussed in 2202 (http://moodle.org/bugs/bug.php?op=show&bugid=2202).
Also seen as arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-424
2004-11-24 03:56:39 +00:00
martinlanghoff
b110348b71 Merge from MOODLE_14_STABLE.
Student and teacher enrolments now unique + version bump

Made student and teacher enrolments unique, enforced at the database level. This patch also removes a cleanup job in moodle's cron that removed duplicate enrolments.

Merge of patchset  arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-422
2004-11-24 02:25:36 +00:00
mjollnir_
a56f0d607b Merged from MOODLE_14_STABLE: Forum: Do not trust userid from hidden form field, use $USER->id instead for db inserts 2004-11-23 23:34:34 +00:00
mjollnir_
76feee3f86 Merged from MOODLE_14_STABLE: Fix for invalid sql in postgres - don't query log table for what was in log display if log->info is not set 2004-11-23 23:27:18 +00:00
mjollnir_
63758a7848 Merged from MOODLE_14_STABLE: Requires bump for glossary for last patch - needs db_lowercase and db_uppercase 2004-11-23 23:16:08 +00:00
mjollnir_
ef0fc810bf Merged from MOODLE_14_STABLE: Bug fix for forum rating redirects - manifested itself in invalid sql in postgres 2004-11-23 23:13:52 +00:00
mjollnir_
6b7f8df2ec Merged from MOODLE_14_STABLE: Fixing use of UCASE and LCASE in glossary which are not postgres friendly - two new functions in datalib, db_uppercase and db_lowercase which return the database-correct functions to use. Some were already fixed in HEAD - those have been left as they were 2004-11-23 23:05:06 +00:00
mjollnir_
38279ad6d8 Merged from MOODlE_14_STABLE: Attempt to fix bad constraint name in wiki and version bump (honoring partial freeze) and requires bump (needs changes in execute_sql to not show adodb feedback) 2004-11-23 22:40:48 +00:00
paca70
3c55bb0f9d Fixed typo. Time to sleep... 2004-11-23 21:34:38 +00:00
paca70
e80c7d5d15 Closed bug #2209
Don't replace & if it's part of encoded character.
2004-11-23 21:29:21 +00:00
rkingdon
693f6eb5cf Cron routine does not send "graded" emails until releasegrades date;
grades are "not available" in index page until after the relaesegrades
date; phasing of three phase workshop tidied up.
2004-11-23 20:52:54 +00:00
defacer
e89d741af3 New naming conventions for class names to bring them in line with the
rest of Moodle. The convention for blocks is now:

class block_something extends block_base { ... }

HOWTO updated accordingly, plus some more minor polishing. More to come.
2004-11-23 18:53:34 +00:00
mjollnir_
905e80d273 Merged from MOODLE_14_STABLE: Attempt to fix the unique index on quiz_attemptonlast_datasets for postgres (requires version bump in quiz AND requires bump in quiz for the getting rid of adodb feedback in execute_sql 2004-11-23 05:04:53 +00:00
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