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.
mjollnir_ [Fri, 19 Nov 2004 03:13:05 +0000 (03:13 +0000)]
Merged from MOODLE_14_STABLE: Indexes for lesson and version bump (honoring partial freeze)
mjollnir_ [Fri, 19 Nov 2004 03:05:38 +0000 (03:05 +0000)]
Merged from MOODLE_14_STABLE: Indexes for label and version bump (honoring partial freeze)
defacer [Fri, 19 Nov 2004 03:01:31 +0000 (03:01 +0000)]
Updated the configuration-handling logic to the same level as the new instance-
configuration handlers. Much more easy to use and precise.
defacer [Fri, 19 Nov 2004 02:47:00 +0000 (02:47 +0000)]
Correct construction of SQL clauses (fix for SC#20).
Improved conformance with the new _param() functions a bit.
defacer [Fri, 19 Nov 2004 02:41:32 +0000 (02:41 +0000)]
Tweaked class MoodleBlock some. Removed a useless function (how did it get in here?)
and renamed handle_config(), print_config() to config_save(), config_print() for
consistency with the new instance_ functions().
Removed that old and obsolete README file.
defacer [Fri, 19 Nov 2004 02:36:57 +0000 (02:36 +0000)]
Updated the two standard blocks that have configuration features to work
with the latest version of the Blocks API.
defacer [Fri, 19 Nov 2004 02:32:48 +0000 (02:32 +0000)]
First version of the Developer Documentation: Blocks how-to.
Still a bit rough around the edges and definitely will see refining.
Almost killed me, though. I hope it turns out to be useful.
mjollnir_ [Fri, 19 Nov 2004 02:30:40 +0000 (02:30 +0000)]
Fixed another version problem, this time not _as_ serious as just in UNSTABLE DEVELOPMENT
mjollnir_ [Fri, 19 Nov 2004 02:02:38 +0000 (02:02 +0000)]
Merged from MOODLE_14_STABLE: Indexes for journal and version bump (honoring partial freeze)
martignoni [Thu, 18 Nov 2004 18:53:21 +0000 (18:53 +0000)]
Changed "search" string for more explicity
skodak [Thu, 18 Nov 2004 10:08:14 +0000 (10:08 +0000)]
merged from MOODLE_14_STABLE;
fixed encoding of html entities in tex expressions - SC#7
moodler [Thu, 18 Nov 2004 07:32:31 +0000 (07:32 +0000)]
Merged default categpory fix from stable
moodler [Thu, 18 Nov 2004 06:41:51 +0000 (06:41 +0000)]
Use the defined defines that we defined (eg FORUM_FORCESUBSCRIBE)
moodler [Thu, 18 Nov 2004 06:40:11 +0000 (06:40 +0000)]
FIxed the call to forum_add_user that was breaking student enrollment
moodler [Thu, 18 Nov 2004 06:33:23 +0000 (06:33 +0000)]
When there are no courses to list in the block, then include a link for adding one.
mjollnir_ [Thu, 18 Nov 2004 04:38:52 +0000 (04:38 +0000)]
Merged from MOODlE_14_STABLE: Indexes for glossary and version bump
rkingdon [Thu, 18 Nov 2004 04:24:31 +0000 (04:24 +0000)]
Allow student submissions to be edited/deleted in the Submission phase of
workshops.
mjollnir_ [Thu, 18 Nov 2004 04:10:47 +0000 (04:10 +0000)]
Merged from MOODLE_14_STABLE: Indexes on forum and version bump
moodler [Thu, 18 Nov 2004 03:36:52 +0000 (03:36 +0000)]
In execute_sql, if feedback is not required then don't even show the
ADOdb feedback. Makes those careful DROPs look less frightening! :-)
mjollnir_ [Thu, 18 Nov 2004 02:55:33 +0000 (02:55 +0000)]
Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - main tables
martinlanghoff [Thu, 18 Nov 2004 02:55:06 +0000 (02:55 +0000)]
Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-335 Now memory_limit can be overriden by higher config settings from php.ini, commandline, httpd.conf, .htaccess
martinlanghoff [Thu, 18 Nov 2004 02:47:02 +0000 (02:47 +0000)]
Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-321 Fixed bug in user search: now we trim() the search string
mjollnir_ [Thu, 18 Nov 2004 02:42:33 +0000 (02:42 +0000)]
Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - exercise module
mjollnir_ [Thu, 18 Nov 2004 02:40:24 +0000 (02:40 +0000)]
Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - dialogue module
mjollnir_ [Thu, 18 Nov 2004 02:39:16 +0000 (02:39 +0000)]
Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - choice module
mjollnir_ [Thu, 18 Nov 2004 02:37:58 +0000 (02:37 +0000)]
Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - chat module
martinlanghoff [Thu, 18 Nov 2004 02:37:52 +0000 (02:37 +0000)]
Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-305 - Postgres SQL bugfix for instance_is_visible()
mjollnir_ [Thu, 18 Nov 2004 02:35:42 +0000 (02:35 +0000)]
Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - attendance module
mjollnir_ [Thu, 18 Nov 2004 02:33:49 +0000 (02:33 +0000)]
Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - assignment module
martinlanghoff [Thu, 18 Nov 2004 02:31:53 +0000 (02:31 +0000)]
Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-222 - SQL improvements\n Better SQL performance for get_courses() and get_courses_page() calls, specially from the categories page. This gives much better performance when browsing existing courses
mjollnir_ [Thu, 18 Nov 2004 01:57:04 +0000 (01:57 +0000)]
Merged from MOODLE_14_STABLE: Indexes for exercise and version bump
mjollnir_ [Thu, 18 Nov 2004 01:35:32 +0000 (01:35 +0000)]
Merged from MOODLE_14_STABLE: Indexes and version bump for dialogue
mjollnir_ [Wed, 17 Nov 2004 23:03:56 +0000 (23:03 +0000)]
Merged from MOODLE_14_STABLE: Indexes and version bump for choice
mjollnir_ [Wed, 17 Nov 2004 22:54:16 +0000 (22:54 +0000)]
Merged from MOODLE_14_STABLE: Indexes for chat and version bump
mjollnir_ [Wed, 17 Nov 2004 22:11:52 +0000 (22:11 +0000)]
Merged from MOODLE_14_STABLE: Indexes and version bump for attendance