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
mjollnir_ [Wed, 17 Nov 2004 21:49:48 +0000 (21:49 +0000)]
Merged from MOODLE_14_STABLE: Indexes and version bump for assignment
mjollnir_ [Wed, 17 Nov 2004 07:49:04 +0000 (07:49 +0000)]
Version bump for new indexes
mjollnir_ [Wed, 17 Nov 2004 07:47:03 +0000 (07:47 +0000)]
Merged from MOODLE_14_STABLE:
Add a unique key to guarantee that course,sortorder is unique. Allows fix_course_sortorder and ordering operations to be much faster. (martinlanghoff)
Plus more indexes for user table (mjollnir_)
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-231
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-236
mjollnir_ [Wed, 17 Nov 2004 07:09:08 +0000 (07:09 +0000)]
Merge from MOODLE_14_STABLE: Indexes on faux foreign keys and often used fields, one more set and version bump to come.
mjollnir_ [Wed, 17 Nov 2004 06:57:28 +0000 (06:57 +0000)]
Merged from MOODLE_14_STABLE:
Fixes to fix_course_sortorder() and course/category.php pages. (martinlanghoff)
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-160
Minor fix: moodle would crash on high number of courses when doing course creation -- should be more scalable now
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-164
Fix a bug I have introduced in fix_course_sortorder() - v2
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-210
Fixed nested transaction in fix_course_sortorder()
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-215
Performance and memory usage fixes for re-sort courses function
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-268
Major performance and correctness improvements in the functions that move courses up and down, reorder by name, and in fix_course_sortorder(). All now assume course-sortorder is unique (this is enforced at the DB)
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-332
fix_coursesortorder() bugfixes and logic simplification
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-333
courses listing enhancements: bugfix on re-ordering, keep the right page on actions
mjollnir_ [Wed, 17 Nov 2004 05:31:21 +0000 (05:31 +0000)]
Merge from MOODLE_14_STABLE: moodle--eduforge--1.3.3--patch-207(partial) + moodle--eduforge--1.3.3--patch-408 - added begin_sql() and commit_sql() (martinlanghoff)
mjollnir_ [Wed, 17 Nov 2004 05:05:14 +0000 (05:05 +0000)]
Merge from MOODLE_14_STABLE: moodle--eduforge--1.3.3--patch-201 - optimized calls to get_courses() to retrieve only required fields (martinlanghoff)
mjollnir_ [Wed, 17 Nov 2004 03:17:05 +0000 (03:17 +0000)]
Bug fix for sql for new workshop tables for mysql
michaelpenne [Wed, 17 Nov 2004 01:07:17 +0000 (01:07 +0000)]
changed ongoingcustom definition
michaelpenne [Wed, 17 Nov 2004 01:05:39 +0000 (01:05 +0000)]
updated lesson_calculate_ongoing_score to match the grading algorithm used in view.php. Also suppressed a warning in lesson_print_tree_link_menu function.
michaelpenne [Wed, 17 Nov 2004 01:02:14 +0000 (01:02 +0000)]
Changed the grading algorithm. Now it divides points earned by total points possible. Before was dividing points earned by max grade. Also updated essay grading to work much more reliably and fixed some formatting problems with essay emails.
stronk7 [Wed, 17 Nov 2004 00:14:34 +0000 (00:14 +0000)]
Just changing some parameters stuff to new functions...
See SC and Bug 1837
Merged from MOODLE_14_STABLE
stronk7 [Tue, 16 Nov 2004 23:36:35 +0000 (23:36 +0000)]
Print view isn't accesible if the activity is hidden.
Bug 1837
(http://moodle.org/bugs/bug.php?op=show&bugid=1837)
Merged from MOODLE_14_STABLE
stronk7 [Tue, 16 Nov 2004 23:12:21 +0000 (23:12 +0000)]
Header is out and "Site:" is in.
Partially solved Bug 1837
(http://moodle.org/bugs/bug.php?op=show&bugid=1837)
Merged from MOODLE_14_STABLE
rkingdon [Tue, 16 Nov 2004 20:49:25 +0000 (20:49 +0000)]
Stock comments can now contain single quotes.
stronk7 [Tue, 16 Nov 2004 17:30:45 +0000 (17:30 +0000)]
Now hidden sections are hidden completely from student view if
"invisible sections" are configured in course settings.
Patch sent by Geoff Wilbert. Thanks!
See Bug 2185
(http://moodle.org/bugs/bug.php?op=show&bugid=2185)
Merged from MOODLE_14_STABLE
mits [Tue, 16 Nov 2004 16:22:32 +0000 (16:22 +0000)]
translated some.
mjollnir_ [Tue, 16 Nov 2004 02:21:31 +0000 (02:21 +0000)]
Confirmation for deleting course categories
martignoni [Mon, 15 Nov 2004 21:56:09 +0000 (21:56 +0000)]
Changed $thischarset to iso-8859-1. Thanks to Koen!
rkingdon [Mon, 15 Nov 2004 19:10:52 +0000 (19:10 +0000)]
Fixed some error messages in assessments.php which gave the wrong table
(workshop_elements) should be workshop_grades.
rkingdon [Mon, 15 Nov 2004 18:18:43 +0000 (18:18 +0000)]
Fixed bug in the "checking for a rapid submission" code.
moodler [Mon, 15 Nov 2004 09:34:04 +0000 (09:34 +0000)]
Fixing up any references to obsolete language pack ma_nt
koenr [Mon, 15 Nov 2004 06:44:15 +0000 (06:44 +0000)]
typo
mits [Mon, 15 Nov 2004 06:25:40 +0000 (06:25 +0000)]
translated some.
aredkin [Mon, 15 Nov 2004 05:36:44 +0000 (05:36 +0000)]
*** empty log message ***