moodler [Fri, 26 Nov 2004 07:07:06 +0000 (07:07 +0000)]
Changes for XHTML and accessibility compatibility
stronk7 [Fri, 26 Nov 2004 01:22:41 +0000 (01:22 +0000)]
Solve some visualisation issues in encyclopedia format. I think that now
it will be correct!
Merged from MOODLE_14_STABLE
martinlanghoff [Fri, 26 Nov 2004 00:57:58 +0000 (00:57 +0000)]
Merge from MOODLE_14_STABLE
Fix for bug 2227 "bug in pclzip.php causing scorm errors"
http://moodle.org/bugs/bug.php?op=show&bugid=2227
Credits go to skodak
mjollnir_ [Thu, 25 Nov 2004 21:56:32 +0000 (21:56 +0000)]
Merged from MOODLE_14_STABLE: In get logs don't join on the user table for just counting the records
defacer [Thu, 25 Nov 2004 17:35:25 +0000 (17:35 +0000)]
Ummm... more changes due to the renaming.
defacer [Thu, 25 Nov 2004 17:23:57 +0000 (17:23 +0000)]
Somehow I forgot to commit these and the whole page setup wasn't working
after renaming MoodlePage => page_base.
carlesbellver [Thu, 25 Nov 2004 15:02:54 +0000 (15:02 +0000)]
*** empty log message ***
moodler [Thu, 25 Nov 2004 10:03:57 +0000 (10:03 +0000)]
Style for quiz feedback updated
moodler [Thu, 25 Nov 2004 10:01:56 +0000 (10:01 +0000)]
Changes for XHTML and accessibility compatibility
martinlanghoff [Thu, 25 Nov 2004 00:02:58 +0000 (00:02 +0000)]
Merged form MOODLE_14_STABLE
Fixed an issue with postgres database upgrade code -- drop either index or constraint if they exist
Merge of patchset arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-430
mits [Thu, 25 Nov 2004 00:00:13 +0000 (00:00 +0000)]
new translated file added.
mjollnir_ [Wed, 24 Nov 2004 23:51:04 +0000 (23:51 +0000)]
Merged from MOODLE_14_STABLE: Fixed bug in dialogue where plain text email notification had no break between the url and the ---- that was causing GET requests like mod/dialogue/view.php?id=foo--------- and subsequent invalid sql
stronk7 [Wed, 24 Nov 2004 23:37:46 +0000 (23:37 +0000)]
New paging system for glosaries.
100% compatible with Moodle's one.
Supports more options. Perhaps we could use it
sitewide.
Merged from MOODLE_14_STABLE
mjollnir_ [Wed, 24 Nov 2004 23:24:32 +0000 (23:24 +0000)]
Merged from MOODLE_14_STABLE: Fix for postgres-invalid-sql (must have AS between field and alias)
koenr [Wed, 24 Nov 2004 22:49:54 +0000 (22:49 +0000)]
string for 'back' in preview question
martinlanghoff [Wed, 24 Nov 2004 22:48:58 +0000 (22:48 +0000)]
Merge from MOODLE_14_STABLE
Additional fixes for indexes in postgres. A few unique indexes may have been created non-unique. Still deferring the version bump -- please review the patch!
Merge of patchsets
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-423
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-425
koenr [Wed, 24 Nov 2004 20:53:51 +0000 (20:53 +0000)]
*** empty log message ***
mjollnir_ [Wed, 24 Nov 2004 19:00:24 +0000 (19:00 +0000)]
Merged from MOODLE_14_STABLE: Fixing typo in mysql.sql for unique key for user_teachers on course userid
koenr [Wed, 24 Nov 2004 15:33:38 +0000 (15:33 +0000)]
filling in missing strings
gustav_delius [Wed, 24 Nov 2004 09:40:20 +0000 (09:40 +0000)]
insert line break before language selection menu to make front page look similar to Moodle 1.4
gustav_delius [Wed, 24 Nov 2004 09:38:04 +0000 (09:38 +0000)]
added some missing styles to make Latest News and Recent Activity blocks look the same as in Moodle 1.4
gustav_delius [Wed, 24 Nov 2004 09:16:39 +0000 (09:16 +0000)]
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.
mits [Wed, 24 Nov 2004 05:45:34 +0000 (05:45 +0000)]
translated some.
martinlanghoff [Wed, 24 Nov 2004 03:56:39 +0000 (03:56 +0000)]
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
martinlanghoff [Wed, 24 Nov 2004 02:25:36 +0000 (02:25 +0000)]
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
mjollnir_ [Tue, 23 Nov 2004 23:34:34 +0000 (23:34 +0000)]
Merged from MOODLE_14_STABLE: Forum: Do not trust userid from hidden form field, use $USER->id instead for db inserts
mjollnir_ [Tue, 23 Nov 2004 23:27:18 +0000 (23:27 +0000)]
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
mjollnir_ [Tue, 23 Nov 2004 23:16:08 +0000 (23:16 +0000)]
Merged from MOODLE_14_STABLE: Requires bump for glossary for last patch - needs db_lowercase and db_uppercase
mjollnir_ [Tue, 23 Nov 2004 23:13:52 +0000 (23:13 +0000)]
Merged from MOODLE_14_STABLE: Bug fix for forum rating redirects - manifested itself in invalid sql in postgres
mjollnir_ [Tue, 23 Nov 2004 23:05:06 +0000 (23:05 +0000)]
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
mjollnir_ [Tue, 23 Nov 2004 22:40:48 +0000 (22:40 +0000)]
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)
paca70 [Tue, 23 Nov 2004 21:34:38 +0000 (21:34 +0000)]
Fixed typo. Time to sleep...
paca70 [Tue, 23 Nov 2004 21:29:21 +0000 (21:29 +0000)]
Closed bug #2209
Don't replace & if it's part of encoded character.
rkingdon [Tue, 23 Nov 2004 20:52:54 +0000 (20:52 +0000)]
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.
defacer [Tue, 23 Nov 2004 18:53:34 +0000 (18:53 +0000)]
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.
mjollnir_ [Tue, 23 Nov 2004 05:04:53 +0000 (05:04 +0000)]
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
mjollnir_ [Tue, 23 Nov 2004 03:53:41 +0000 (03:53 +0000)]
Merged from MOODLE_14_STABLE: Update log_display to use postgres friendly concat functions for firstname lastname
moodler [Tue, 23 Nov 2004 03:43:24 +0000 (03:43 +0000)]
Merged changes from stable
mjollnir_ [Tue, 23 Nov 2004 02:49:51 +0000 (02:49 +0000)]
Merged from MOODLE_14_STABLE: Fixing weird forum bug to do with forum ratings (manifested itself in invalid postgres sql)
moodler [Tue, 23 Nov 2004 02:47:07 +0000 (02:47 +0000)]
Minor HTML fixes
moodler [Tue, 23 Nov 2004 02:41:45 +0000 (02:41 +0000)]
Just a code tidy up
mjollnir_ [Tue, 23 Nov 2004 02:05:47 +0000 (02:05 +0000)]
Merged from MOODLE_14_STABLE: More small sql tweaks to avoid invalid postgres sql
mjollnir_ [Tue, 23 Nov 2004 01:05:11 +0000 (01:05 +0000)]
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
mjollnir_ [Tue, 23 Nov 2004 00:39:29 +0000 (00:39 +0000)]
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
mjollnir_ [Tue, 23 Nov 2004 00:16:24 +0000 (00:16 +0000)]
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)
koenr [Mon, 22 Nov 2004 23:35:33 +0000 (23:35 +0000)]
noticed a couple typo's while translating
koenr [Mon, 22 Nov 2004 22:07:27 +0000 (22:07 +0000)]
filling in missing strings
koenr [Mon, 22 Nov 2004 21:35:25 +0000 (21:35 +0000)]
typo
mjollnir_ [Mon, 22 Nov 2004 21:30:26 +0000 (21:30 +0000)]
Merged from MOODLE_14_STABLE: Fix for bug #2207 - sortorder now honored in front page listing
koenr [Mon, 22 Nov 2004 21:24:34 +0000 (21:24 +0000)]
changing thislanguage to NCR so it displays properly in the languagelist
koenr [Mon, 22 Nov 2004 21:09:47 +0000 (21:09 +0000)]
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
rkingdon [Mon, 22 Nov 2004 19:09:06 +0000 (19:09 +0000)]
Fixes teacher's view of 3 phase workshops.
julmis [Mon, 22 Nov 2004 18:38:33 +0000 (18:38 +0000)]
Adding support for Mac OS X Camino browsers see bug #2176
moodler [Mon, 22 Nov 2004 16:25:29 +0000 (16:25 +0000)]
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)
moodler [Mon, 22 Nov 2004 16:09:06 +0000 (16:09 +0000)]
Added dummy constructor to keep PHP5 happy.
martignoni [Mon, 22 Nov 2004 16:00:13 +0000 (16:00 +0000)]
String trysearching added
martignoni [Mon, 22 Nov 2004 15:58:35 +0000 (15:58 +0000)]
Confirmation for deleting course categories
martignoni [Mon, 22 Nov 2004 15:51:41 +0000 (15:51 +0000)]
Changed $ongoingcustom definition
martignoni [Mon, 22 Nov 2004 15:49:18 +0000 (15:49 +0000)]
Added new lang entries for lesson module
martignoni [Mon, 22 Nov 2004 15:11:02 +0000 (15:11 +0000)]
A few new strings for Version
2004111000.
villate [Mon, 22 Nov 2004 14:51:47 +0000 (14:51 +0000)]
A few new variables translated
moodler [Mon, 22 Nov 2004 14:44:24 +0000 (14:44 +0000)]
Merged sesskey fix in social activities block from stable
scop22 [Mon, 22 Nov 2004 13:59:36 +0000 (13:59 +0000)]
Fix buggy string in moodle.php
scop22 [Mon, 22 Nov 2004 13:01:20 +0000 (13:01 +0000)]
Many new translated strings in some major modules: lesson.php, quiz.php, moodle.php, survey.php, wiki.php
carlesbellver [Mon, 22 Nov 2004 07:59:33 +0000 (07:59 +0000)]
*** empty log message ***
martinlanghoff [Mon, 22 Nov 2004 07:46:10 +0000 (07:46 +0000)]
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
mjollnir_ [Mon, 22 Nov 2004 05:46:18 +0000 (05:46 +0000)]
Merged from MOODLE_14_STABLE: Don't need to select course.* in rebuild course cache
mjollnir_ [Mon, 22 Nov 2004 05:41:14 +0000 (05:41 +0000)]
Merged from MOODLE_14_STABLE: Changes to calls to get_courses to not get all fields
mjollnir_ [Mon, 22 Nov 2004 05:22:20 +0000 (05:22 +0000)]
Merged from MOODLE_14_STABLE: Recent course/scale optimisations
mjollnir_ [Mon, 22 Nov 2004 04:24:30 +0000 (04:24 +0000)]
Merged from MOODLE_14_STABLE: Fixes in datalib and backuplib for postgres invalid sql
mjollnir_ [Mon, 22 Nov 2004 04:11:07 +0000 (04:11 +0000)]
Merged from MOODLE_14_STABLE: modify_database function change - if no ; in single line sql strings, add it
mjollnir_ [Mon, 22 Nov 2004 03:35:31 +0000 (03:35 +0000)]
Merged from MOODLE_14_STABLE: Fixed another instance of getting all fields from all courses (in log selector)
mjollnir_ [Mon, 22 Nov 2004 03:17:49 +0000 (03:17 +0000)]
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
martinlanghoff [Mon, 22 Nov 2004 02:58:23 +0000 (02:58 +0000)]
Fixed typo in index name
martinlanghoff [Mon, 22 Nov 2004 02:41:41 +0000 (02:41 +0000)]
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!
martinlanghoff [Mon, 22 Nov 2004 02:38:31 +0000 (02:38 +0000)]
Enrol/LDAP - enrol_student() and add_teacher() now populate the 'enrol' field.
martinlanghoff [Mon, 22 Nov 2004 02:36:14 +0000 (02:36 +0000)]
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
mjollnir_ [Mon, 22 Nov 2004 01:40:18 +0000 (01:40 +0000)]
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
mjollnir_ [Sun, 21 Nov 2004 22:03:48 +0000 (22:03 +0000)]
Merged from MOODLE_14_STABLE: Indexes for workshop and version bump (honoring partial freeze)
mjollnir_ [Sun, 21 Nov 2004 21:16:41 +0000 (21:16 +0000)]
Merged from MOODLE_14_STABLE: Indexes for wiki and version bump (honoring partial freeze)
mjollnir_ [Sun, 21 Nov 2004 20:43:27 +0000 (20:43 +0000)]
Merged from MOODLE_14_STABLE: Indexes for survey and version bump (honoring partial freeze)
koenr [Sun, 21 Nov 2004 17:49:50 +0000 (17:49 +0000)]
filling in missing strings (finely understood 'instances' :-') )
rkingdon [Sun, 21 Nov 2004 15:30:14 +0000 (15:30 +0000)]
User Pictures to dialogue headers.
paca70 [Sun, 21 Nov 2004 15:01:33 +0000 (15:01 +0000)]
Updates for postgres
moodler [Sun, 21 Nov 2004 06:28:17 +0000 (06:28 +0000)]
Merged fix for hiding unneeded sections in course navmenu
rkingdon [Sun, 21 Nov 2004 04:01:10 +0000 (04:01 +0000)]
Added vetting of conversationid; fixed bug 2194 (Problems with
backup/restore); Tidied Postgres table.
defacer [Sat, 20 Nov 2004 20:10:03 +0000 (20:10 +0000)]
Fixes for slightly incorrect behavior on days where the DST setting changes.
Not quite correct in some places though (those require more attention).
defacer [Sat, 20 Nov 2004 19:44:28 +0000 (19:44 +0000)]
Removed a useless space :)
defacer [Sat, 20 Nov 2004 19:36:47 +0000 (19:36 +0000)]
Slight change to the HOWTO to be more clear.
Removed the $course var from MoodleBlock (useless now).
dhawes [Sat, 20 Nov 2004 19:06:29 +0000 (19:06 +0000)]
spacing and quotes cleanup
defacer [Sat, 20 Nov 2004 18:30:31 +0000 (18:30 +0000)]
Fixed a couple PHP notices which cropped up
moodler [Sat, 20 Nov 2004 17:51:04 +0000 (17:51 +0000)]
Merged fix for bugs 2199 and 2200 from stable
martinlanghoff [Sat, 20 Nov 2004 10:38:43 +0000 (10:38 +0000)]
Merged from MOODLE_14_STABLE: Fixing handling of empty memory_limit for PHP without memory_limit (mostly Windows binaries)
mjollnir_ [Sat, 20 Nov 2004 10:38:01 +0000 (10:38 +0000)]
Merged from MOODLE_14_STABLE: Fixing bug # 2199 - missing some teacher roles in course/category.php
skodak [Fri, 19 Nov 2004 21:28:29 +0000 (21:28 +0000)]
merged from MOODLE_14_STABLE; updated parameter cleaning, preparation for new file.php SC#5
mjollnir_ [Fri, 19 Nov 2004 05:28:51 +0000 (05:28 +0000)]
Merged from MOODLE_14_STABLE: Indexes for scorm and version bump (honoring partial freeze)
mjollnir_ [Fri, 19 Nov 2004 05:00:40 +0000 (05:00 +0000)]
Merged from MOODLE_14_STABLE: Indexes for resource and version bump (honoring partial freeze)
mjollnir_ [Fri, 19 Nov 2004 04:14:13 +0000 (04:14 +0000)]
Merged from MOODLE_14_STABLE: Indexes for quiz and version bump (honoring partial freeze)
defacer [Fri, 19 Nov 2004 03:29:16 +0000 (03:29 +0000)]
Silly me... forgot to update url_get_path when I moved this thing in here.
defacer [Fri, 19 Nov 2004 03:16:56 +0000 (03:16 +0000)]
Proof of concept for the things you can do with the new Blocks and Pages APIs.
What's important to stress here is that this demo is completely self-contained;
it does not require modifying ANY core Moodle code.