Git commits in Moodle 1.5.0 by mjollnir_

commit 8c28ed78384f88afb0ef95495415ba9d0da59914
Author: mjollnir_ <mjollnir_>
Date:   Tue, 31 May 2005 07:25:56 +0800
Tag:    v1.5.0

Fixing up problem in generate_email_processing_address -- using sitesecret rather than siteidentifier

commit 4c9c104a227679e0de15a35f1a2b9e4d1d48fe7c
Author: mjollnir_ <mjollnir_>
Date:   Wed, 06 Apr 2005 10:09:16 +0800
Tag:    v1.5.0

One more syntax fix for scorm postgres upgrade. You can't do WHERE 1 in postgres

commit 7965748f147510a7b1e693c6dfb0438409d55f64
Author: mjollnir_ <mjollnir_>
Date:   Wed, 06 Apr 2005 10:08:06 +0800
Tag:    v1.5.0

Fixing a few syntax problems in scorm upgrade for postgres. Upgrade still fails (this relates to bug #2832 which I'm about to update)

commit 9d99be2aa4fd8daf9f9aec8f5fefd093620bad8c
Author: mjollnir_ <mjollnir_>
Date:   Wed, 06 Apr 2005 10:04:17 +0800
Tag:    v1.5.0

Fixing postgres upgrade for quiz

commit 173a1cb5ef897ee411b2895dd454f9d957054e1d
Author: mjollnir_ <mjollnir_>
Date:   Wed, 06 Apr 2005 09:55:52 +0800
Tag:    v1.5.0

Some syntax fixes for postgres upgrade for choice. Still failing though, I am about to create a bug report for it

commit bb2889b41dbc1f3ac5da3a147be8fab6f55b0c64
Author: mjollnir_ <mjollnir_>
Date:   Wed, 06 Apr 2005 08:22:36 +0800
Tag:    v1.5.0

Fix postgres upgrade for deletion of course_modules.deleted flag

commit 9921028a3d6eb4363eb52df13e9819f5a97c669a
Author: mjollnir_ <mjollnir_>
Date:   Mon, 04 Apr 2005 05:04:02 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Fix for return id for insert_record - needs to be cast to an int

commit 816d9586c76af1257e4b4fd1e9f8f2d7bea428ee
Author: mjollnir_ <mjollnir_>
Date:   Tue, 29 Mar 2005 12:32:48 +0800
Tag:    v1.5.0

New indexes for forum_posts - created & mailed. Useful for performance for the cron  mailout

commit 8a72bfa258f414632fc0c2ad86192885e8ff12ba
Author: mjollnir_ <mjollnir_>
Date:   Tue, 29 Mar 2005 11:51:14 +0800
Tag:    v1.5.0

Tables for grades for postgres (and a fix to timezone update for postgres)

commit d54ced861833f9bdbaf1b54a24583d3fe8428621
Author: mjollnir_ <mjollnir_>
Date:   Tue, 29 Mar 2005 08:21:55 +0800
Tag:    v1.5.0

Fixing typo in ldap enrolment plugin (variable missing _)

commit 9680ba9801ec236e984f95595503b4139c381749
Author: mjollnir_ <mjollnir_>
Date:   Wed, 16 Mar 2005 07:12:50 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Fix for bug 2742 - sequences out of sequences in postgres

commit 3f052187154896350cbbac10d8df53a0fc7efaee
Author: mjollnir_ <mjollnir_>
Date:   Wed, 09 Mar 2005 07:24:10 +0800
Tag:    v1.5.0

In blocks_print_group, if we just return if pageblocks are empty, we never get to print the admin block

commit 5ad4a39da5619350141cd0cdb805161ce963975e
Author: mjollnir_ <mjollnir_>
Date:   Wed, 09 Mar 2005 04:56:30 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Add new line after url in journal mailout to prevent  /mod/journal/view.php?id=1----- type requests

commit 5f31b29682d16c5347613dbead2f7224a4c0aca6
Author: mjollnir_ <mjollnir_>
Date:   Wed, 09 Mar 2005 04:46:58 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Postgres fix in quiz (added AS)

commit cf4a271d64741194e4afe7fa0e23cc9c7a5f4bed
Author: mjollnir_ <mjollnir_>
Date:   Fri, 04 Mar 2005 07:19:19 +0800
Tag:    v1.5.0

Reworking join to make it compatible with postgres

commit 900416ed8e3da2688f169da35d849104844d0f4d
Author: mjollnir_ <mjollnir_>
Date:   Fri, 04 Mar 2005 07:11:13 +0800
Tag:    v1.5.0

Fixing warning (postgres does not like where id = '')

commit 53dc7cc60648fc80258c3ae75a5c256439567489
Author: mjollnir_ <mjollnir_>
Date:   Wed, 02 Mar 2005 13:38:47 +0800
Tag:    v1.5.0

Course/import.php should check for teacher

commit 1e62c63b3fe20ea7336c8e4617f1b3b3014008b0
Author: mjollnir_ <mjollnir_>
Date:   Wed, 02 Mar 2005 07:39:56 +0800
Tag:    v1.5.0

Fix for bug 2660 - postgres upgrade breaking mdl_block sequence

commit 729d325004771cd3afc09278f9155f10b5bcc736
Author: mjollnir_ <mjollnir_>
Date:   Wed, 02 Mar 2005 07:38:51 +0800
Tag:    v1.5.0

Changing a require to a require_once in forum postgres upgrade (was getting included twice)

commit 876714665d8610e630b8570fb75af00b6cf07d38
Author: mjollnir_ <mjollnir_>
Date:   Fri, 18 Feb 2005 10:42:33 +0800
Tag:    v1.5.0

This SHOULD fix the bug where users get unenrolled and reenrolled in metacourses (2579). Needs TESTING PLEASE smile

commit 303d0af144046a5713a7cff86af8604869ec92ce
Author: mjollnir_ <mjollnir_>
Date:   Thu, 10 Feb 2005 15:53:52 +0800
Tag:    v1.5.0

In email processing, change sitesecret (non existant) to (already used) siteidentifier

commit 0bedb1879230d4bfc15a69594bc6bc58dc9b1de7
Author: mjollnir_ <mjollnir_>
Date:   Tue, 08 Feb 2005 11:39:40 +0800
Tag:    v1.5.0

Removing mdl_ in sync_metacourse

commit bb64b51aa335b2d085f36b33ffa0dc5a7c603d0e
Author: mjollnir_ <mjollnir_>
Date:   Tue, 08 Feb 2005 10:57:14 +0800
Tag:    v1.5.0

First cut of email to module (or core) processing.

commit a45ee54ee128d5cc31c75be39dec95c0bf8693f9
Author: mjollnir_ <mjollnir_>
Date:   Tue, 08 Feb 2005 05:10:25 +0800
Tag:    v1.5.0

Removing PHP notice in metacourse assign courses page (bug 2479)

commit 832e87dfd826c742d3a2238f9df80610200e2722
Author: mjollnir_ <mjollnir_>
Date:   Tue, 08 Feb 2005 05:04:53 +0800
Tag:    v1.5.0

Fixing formatting problem (extraneous <p>)

commit ffed6bf316b13164fd5556d6b64352058b578bc7
Author: mjollnir_ <mjollnir_>
Date:   Mon, 07 Feb 2005 17:32:24 +0800
Tag:    v1.5.0

Better fix for 2479.  This time I'm 99.999999% positive it's fixed ;)

commit 835c8061b6134c747940ef5d0375458b58487365
Author: mjollnir_ <mjollnir_>
Date:   Mon, 07 Feb 2005 17:27:03 +0800
Tag:    v1.5.0

Removing db ids (found their way in from copying sql - bad) from last patch

commit 178ccd11c042d1c92419f286773538c90da256cc
Author: mjollnir_ <mjollnir_>
Date:   Mon, 07 Feb 2005 17:22:07 +0800
Tag:    v1.5.0

Fixing bug 2479. Can't figure out a way to do it with a left join at this stage but the query doesn't look too bad.  Anyone who thinks they can figure out a more elegant way for it is welcome\!

commit a5849937b4ca5d253fc341f5b1d737f4412b7487
Author: mjollnir_ <mjollnir_>
Date:   Mon, 07 Feb 2005 09:00:57 +0800
Tag:    v1.5.0

More bug fixing - #2479

commit ee1bef900a6394726f6a2674bc327206bbbc9eef
Author: mjollnir_ <mjollnir_>
Date:   Sat, 05 Feb 2005 13:15:16 +0800
Tag:    v1.5.0

Fixing bug 2480 - meta course enrolment

commit 22766937993b02864b12d2bb2f33ac6f2c8095e9
Author: mjollnir_ <mjollnir_>
Date:   Fri, 04 Feb 2005 06:34:42 +0800
Tag:    v1.5.0

Better attempt at fixing 2479

commit 6036cae8549387b4c89454d704c11664ac8dfc0f
Author: mjollnir_ <mjollnir_>
Date:   Fri, 04 Feb 2005 06:30:46 +0800
Tag:    v1.5.0

Reverting last patch for bug 2479

commit 6cc75c99f4af3fb26894cd68a25590b7d716bad0
Author: mjollnir_ <mjollnir_>
Date:   Fri, 04 Feb 2005 06:21:30 +0800
Tag:    v1.5.0

Fixing bug #2479 (parent courses showing in meta course search)

commit e5cf5750cf7a0708e416dc4c97145874ba9105de
Author: mjollnir_ <mjollnir_>
Date:   Wed, 02 Feb 2005 04:45:46 +0800
Tag:    v1.5.0

Modification for datalib (modify_database) to ignore lines that start with -- as well as # (postgres)

commit bf60471bc8607177e94d177e6fdf92fdb3858e09
Author: mjollnir_ <mjollnir_>
Date:   Tue, 01 Feb 2005 12:51:28 +0800
Tag:    v1.5.0

Fix for metacourses.  Courses with course->metacourse shouldn't be offered in the courses to add dropdown

commit 8a4e77ae1bbc9dd3fb120e9c3c385ed6cbfb2cc6
Author: mjollnir_ <mjollnir_>
Date:   Tue, 01 Feb 2005 12:47:04 +0800
Tag:    v1.5.0

Another fix for metacourses (lost auto_increment). This will preserve data.

commit d20f58e7e865ab32a789c966c3f309a54ea028ed
Author: mjollnir_ <mjollnir_>
Date:   Tue, 01 Feb 2005 08:28:02 +0800
Tag:    v1.5.0

Fixing column_type for postgres (WHERE 0 is not valid so using LIMIT 0 instead)

commit 61e1af73fff94b8e1f685a387a8852e896b1279a
Author: mjollnir_ <mjollnir_>
Date:   Mon, 31 Jan 2005 12:26:22 +0800
Tag:    v1.5.0

Apparently I forgot to commit this new file when committing the import course content stuff.  Here it is!

commit a22fd258aa02cc35fc8eb01824964a3bb75b8d49
Author: mjollnir_ <mjollnir_>
Date:   Fri, 28 Jan 2005 04:41:54 +0800
Tag:    v1.5.0

Fixing a typo in metacourses in mysql (id should be int 10 not int 1). Hopefully this is the end of it sad

commit 483b71581d8b04f59f8db4ba90c146763ebec831
Author: mjollnir_ <mjollnir_>
Date:   Fri, 28 Jan 2005 04:02:30 +0800
Tag:    v1.5.0

Taking out addition of wrongly named metacourse tables for first upgrade. Those who are tracking head will have already gotten it, but those upgrading from 1.4 to 1.5 don't need to see it.

commit 873bf8758f5f53bbccea38e3d18ec35c2cc72886
Author: mjollnir_ <mjollnir_>
Date:   Thu, 27 Jan 2005 10:35:10 +0800
Tag:    v1.5.0

Initial checkin for import course content functionality (uses backup/restore). Probably needs wording changes and new icon! Please test me *thoroughly*!

commit f8688e0f37ac12f76623c36bc18286fe032f003f
Author: mjollnir_ <mjollnir_>
Date:   Thu, 27 Jan 2005 10:30:45 +0800
Tag:    v1.5.0

Removing debug error_log calls in uploadlib

commit e3a232138a361d2d7bc745df712f09bac7a3596e
Author: mjollnir_ <mjollnir_>
Date:   Thu, 27 Jan 2005 10:29:53 +0800
Tag:    v1.5.0

Fix for add_to_log to stop notification of invalid call to isteacher. Some actions aren't associated with a course and therefore isteacher shouldn't get called

commit f63a559570921ae9c094e5854f3eb9f72f093259
Author: mjollnir_ <mjollnir_>
Date:   Thu, 27 Jan 2005 10:17:35 +0800
Tag:    v1.5.0

Fixing bug #2419 - missing global $CFG in upgrade for choice resulting in missing prefix

commit 5f37b628ae6f794ef9263743d1c805327285679f
Author: mjollnir_ <mjollnir_>
Date:   Tue, 25 Jan 2005 12:33:02 +0800
Tag:    v1.5.0

Update for meta courses.   New table renamed from meta_course to course_meta (and upgrade script provided in mysql.php and postgres7.php) and new field in course table renamed from meta_course to metacourse.  Associated changes in code.  Please test me!

commit be4f36a3a775de917f1ea30ddfcb086710c72a61
Author: mjollnir_ <mjollnir_>
Date:   Tue, 25 Jan 2005 06:23:01 +0800
Tag:    v1.5.0

New files for meta courses

commit b61efafba5169f93b0a7a0ccf999b8856a63dcf4
Author: mjollnir_ <mjollnir_>
Date:   Tue, 25 Jan 2005 06:21:28 +0800
Tag:    v1.5.0

Initial checkin for new meta courses feature.  Please test! See http://moodle.org/mod/forum/discuss.php?d=17269 for description.

commit b2597e0badc399bad44890f1d9f40be4088c23f2
Author: mjollnir_ <mjollnir_>
Date:   Wed, 19 Jan 2005 05:58:28 +0800
Tag:    v1.5.0

Initial support for postgres for rss client block table

commit 6c4e8471cd282dea9c1ce4c47f5e00dfe37b8928
Author: mjollnir_ <mjollnir_>
Date:   Thu, 13 Jan 2005 11:56:34 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Fixing warning about invalid argument for foreach in course/lib.php in log selector form

commit 075ff4698aaf26954e67f2b9b558714490110cce
Author: mjollnir_ <mjollnir_>
Date:   Tue, 11 Jan 2005 05:48:04 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Adding slashes to backup_log.info as courses with an apostrophe in their fullname cause sql errors

commit 0044147e10bacee2fceed5632390b6a6ec6e5793
Author: mjollnir_ <mjollnir_>
Date:   Thu, 23 Dec 2004 07:11:27 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Added empty rather than just testing variable, added trim to search string in get_users and get_users_listing

commit 2e1898b21ce1b6f9edd7c6a1e1ee62a89866379d
Author: mjollnir_ <mjollnir_>
Date:   Wed, 22 Dec 2004 02:30:19 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Fixing postgres bug on unique constraint

commit 68ba62d21adc23547b0e3ac5049b2a26b7218e77
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Dec 2004 11:04:24 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Adding fix for idnumber duplication problem in restoring from backup discussed at http://moodle.org/mod/forum/discuss.php?d=16297

commit 91b4c5eee936e27d21df27ac75189257bba21593
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Dec 2004 10:20:04 +0800
Tag:    v1.5.0

Postgres compliance for dst_preset table

commit 24cc8ec9bad87f6b11bec8d2e990850eb7163110
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Dec 2004 09:43:06 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Committing skodak's fixes for sc#40 and #42

commit b8b932924b05fea9c2f5193b82f7258d4e4672e9
Author: mjollnir_ <mjollnir_>
Date:   Mon, 13 Dec 2004 04:43:19 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Added addslashes back in to username field after splitting it out for lowercasing

commit 6740dd64946c54f3440df8101b1d9afc76894f36
Author: mjollnir_ <mjollnir_>
Date:   Fri, 10 Dec 2004 12:16:02 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Upload users should lowercase username field just as user/edit.php does

commit bf35eb157c75a93c83958c82f45a3d4a584cfcc8
Author: mjollnir_ <mjollnir_>
Date:   Fri, 10 Dec 2004 05:35:20 +0800
Tag:    v1.5.0

Small bug fix in sql in log page for site errors (infected file uploads & login errors)

commit a2ddd957f2562ba6496f34c47192a657d3969e83
Author: mjollnir_ <mjollnir_>
Date:   Fri, 26 Nov 2004 05:56:32 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: In get logs don't join on the user table for just counting the records

commit 7472315e3c6f06768e458f185b9f9967e5518228
Author: mjollnir_ <mjollnir_>
Date:   Thu, 25 Nov 2004 07:51:04 +0800
Tag:    v1.5.0

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

commit 56e9c38161a5ff77fbb2c8a7d8745f243c905de3
Author: mjollnir_ <mjollnir_>
Date:   Thu, 25 Nov 2004 07:24:32 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Fix for postgres-invalid-sql (must have AS between field and alias)

commit f3c9e7f9c347d64eb928b6d7922d446cfa28eba0
Author: mjollnir_ <mjollnir_>
Date:   Thu, 25 Nov 2004 03:00:24 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Fixing typo in mysql.sql for unique key for user_teachers on course userid

commit a56f0d607bd090692b3ef255855bfa3a53a658f0
Author: mjollnir_ <mjollnir_>
Date:   Wed, 24 Nov 2004 07:34:34 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Forum: Do not trust userid from hidden form field, use $USER->id instead for db inserts

commit 76feee3f86a4a946d063623e73c62f909e9ed6a7
Author: mjollnir_ <mjollnir_>
Date:   Wed, 24 Nov 2004 07:27:18 +0800
Tag:    v1.5.0

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

commit 63758a78489f14f3f308519d776235a94e877180
Author: mjollnir_ <mjollnir_>
Date:   Wed, 24 Nov 2004 07:16:08 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Requires bump for glossary for last patch - needs db_lowercase and db_uppercase

commit ef0fc810bfda7ad44a6d0e4d69a8285cf70f2826
Author: mjollnir_ <mjollnir_>
Date:   Wed, 24 Nov 2004 07:13:52 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Bug fix for forum rating redirects - manifested itself in invalid sql in postgres

commit 6b7f8df2ec516f3a7ea7c189f0466b338876db63
Author: mjollnir_ <mjollnir_>
Date:   Wed, 24 Nov 2004 07:05:06 +0800
Tag:    v1.5.0

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

commit 38279ad6d8a7efa662aa16e35c2064df86f7dd30
Author: mjollnir_ <mjollnir_>
Date:   Wed, 24 Nov 2004 06:40:48 +0800
Tag:    v1.5.0

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)

commit 905e80d273ab93fdebd10fe6e920d824c300a333
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 13:04:53 +0800
Tag:    v1.5.0

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

commit f1f2c12527c54e366509239132a4d45f2fac6ac8
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 11:53:41 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Update log_display to use postgres friendly concat functions for firstname lastname

commit 7b07a935c5aec1a51514d1808da8018e4d4ed35d
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 10:49:51 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Fixing weird forum bug to do with forum ratings (manifested itself in invalid postgres sql)

commit 1604a0fc2bd96b753b9f04af1d110d9e47a6dd76
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 10:05:47 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: More small sql tweaks to avoid invalid postgres sql

commit df7ebd69ab0ef3021305c6cefc485b347b8da865
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 09:05:11 +0800
Tag:    v1.5.0

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

commit 8b19b040856aa69136160012cbe0bf0d24a1dc82
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 08:39:29 +0800
Tag:    v1.5.0

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

commit 60fdc71463a8b063ebc7916f2c7d05b85429a790
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 08:16:24 +0800
Tag:    v1.5.0

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)

commit 6a6f25af85baee5c550680b2506df7df72db3a86
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 05:30:26 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Fix for bug #2207 - sortorder now honored in front page listing

commit 1a31c2b3665a5fee3fbf48f135e2192b402b2a08
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 13:46:18 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Don't need to select course.* in rebuild course cache

commit e6d1d120b1437a2cb2edcb48dcf17d04dbac99e7
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 13:41:14 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Changes to calls to get_courses to not get all fields

commit ed040b1f2df79744e40892742fe7faa72a0b466a
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 13:22:20 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Recent course/scale optimisations

commit b565bbdfe2304518d3de41523ed818a8151fe78a
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 12:24:30 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Fixes in datalib and backuplib for postgres invalid sql

commit a96763761423cd76f08a09af6d2d0c28d2ae4076
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 12:11:07 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: modify_database function change - if no ; in single line sql strings, add it

commit 01669f1619f807e5390d5f3aba0898b5ee0a3491
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 11:35:31 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Fixed another instance of getting all fields from all courses (in log selector)

commit da862d410fb26fa2664f4db474400945f4898207
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 11:17:49 +0800
Tag:    v1.5.0

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

commit 4f3fecf4a6c1ff13b02c80af038d6b7fff330f38
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 09:40:18 +0800
Tag:    v1.5.0

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

commit eb46f6a322375c654ba2a5b7e6838450638d1c29
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 06:03:48 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes for workshop and version bump (honoring partial freeze)

commit 81c41b659e2dc0619e419bec3f44bb459777def4
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 05:16:41 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes for wiki and version bump (honoring partial freeze)

commit 5417b5b07a55137c34a160f627a6b34613ac03f6
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 04:43:27 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes for survey and version bump (honoring partial freeze)

commit 429a24b7fc9f6653977e21e467b61c04533ccdd3
Author: mjollnir_ <mjollnir_>
Date:   Sat, 20 Nov 2004 18:38:01 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Fixing bug # 2199 - missing some teacher roles in course/category.php

commit 7e0286af89af6b49b013c69f9cb326d533ca9474
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 13:28:51 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes for scorm and version bump (honoring partial freeze)

commit a5e2b34dac72a5480220e4d84ce7e12500dbddad
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 13:00:40 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes for resource and version bump (honoring partial freeze)

commit 556b96786e6e56efd39355ca0b20270fd62b2fff
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 12:14:13 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes for quiz and version bump (honoring partial freeze)

commit 33a55a6d558e1e539cf8551d9c2d4f2b8c5733dc
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 11:13:05 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes for lesson and version bump (honoring partial freeze)

commit 6513df237cdb35581e16c7744aa8c07d044f67d4
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 11:05:38 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes for label and version bump (honoring partial freeze)

commit 4b0626c985b90f938cd882b7383d218bbbf52555
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 10:30:40 +0800
Tag:    v1.5.0

Fixed another version problem, this time not _as_ serious as just in UNSTABLE DEVELOPMENT

commit 58336c87a2e8fde6bff7f6bd7636d6f7cbfcc784
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 10:02:38 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes for journal and version bump (honoring partial freeze)

commit 1ad49e00d9a5e665ffb77c78235bf627d574780d
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 12:38:52 +0800
Tag:    v1.5.0

Merged from MOODlE_14_STABLE: Indexes for glossary and version bump

commit d21e88a9382b265708fb46e4c887044f8abaa248
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 12:10:47 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes on forum and version bump

commit 275c630a4adfec77111efcb573971b5054bdcd8f
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 10:55:33 +0800
Tag:    v1.5.0

Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - main tables

commit 327613bcb66d13e6f25b05c7c644ff1469bb02dc
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 10:42:33 +0800
Tag:    v1.5.0

Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - exercise module

commit 1ef51a6c423d880bb13299c6e48e8606f5df19ba
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 10:40:24 +0800
Tag:    v1.5.0

Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - dialogue module

commit 782fe16bbc4336c9a444618e83b838649ea4fa99
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 10:39:16 +0800
Tag:    v1.5.0

Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - choice module

commit 756fe81e1559e5d4cb9dc9c9bb9df37656fb6dbc
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 10:37:58 +0800
Tag:    v1.5.0

Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - chat module

commit 362d9c0e7e1152e9cee62877599c7298e0fc9938
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 10:35:42 +0800
Tag:    v1.5.0

Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - attendance module

commit d66122e2a8629e883cf6f6f9ae26562d0ea469d2
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 10:33:49 +0800
Tag:    v1.5.0

Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - assignment module

commit 2171c83396cf259e5ee41c58658710771e64b0ce
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 09:57:04 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes for exercise and version bump

commit 62bf565657d21dd06c489c2a38a194245a377072
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 09:35:32 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes and version bump for dialogue

commit 15e0081234ab0f6edfda5c30f5f5f3672669d142
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 07:03:56 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes and version bump for choice

commit 74dbfd4dafaa1180bdc64089df13b32b350e46cf
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 06:54:16 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes for chat and version bump

commit f75d0a479cbb034455966aeed36f06a28df39d6b
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 06:11:52 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes and version bump for attendance

commit ce64ebf9b7cbeab6ddeb221e99840d19acf80d7f
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 05:49:48 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE: Indexes and version bump for assignment

commit ed38d55a4184aa737a3afa7706c8397171e0a1b6
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 15:49:04 +0800
Tag:    v1.5.0

Version bump for new indexes

commit ffa5f71b4bebc64ba676233440d4cb7035894f59
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 15:47:03 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE:

commit 17f3e7d05b732d8a2c855d0c27273981a56674a7
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 15:09:08 +0800
Tag:    v1.5.0

Merge from MOODLE_14_STABLE: Indexes on faux foreign keys and often used fields, one more set and version bump to come.

commit ba87a4daf5f462691027ec3a901d0018b24d1248
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 14:57:28 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE:

commit 1ed5abc877dbecdb632783e4617d6b435c88a487
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 13:31:21 +0800
Tag:    v1.5.0

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)

commit 72ccca56323a6711dbfc4233d89a670893f592cb
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 13:05:14 +0800
Tag:    v1.5.0

Merge from MOODLE_14_STABLE: moodle--eduforge--1.3.3--patch-201 - optimized calls to get_courses() to retrieve only required fields (martinlanghoff)

commit 17c88613b41dad58726a5531e6a44ccdac460197
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 11:17:05 +0800
Tag:    v1.5.0

Bug fix for sql for new workshop tables for mysql

commit ff84f65428ed06492f8164fa02d5d28bf3ffbc1d
Author: mjollnir_ <mjollnir_>
Date:   Tue, 16 Nov 2004 10:21:31 +0800
Tag:    v1.5.0

Confirmation for deleting course categories

commit 36c2c0efee81642cca891bfdd364c300a78f4dbf
Author: mjollnir_ <mjollnir_>
Date:   Wed, 10 Nov 2004 05:02:39 +0800
Tag:    v1.5.0

glossary attachments fix to allow optional file upload

commit cfd146aefad6133bae9ee2e150fc642841497cdd
Author: mjollnir_ <mjollnir_>
Date:   Mon, 08 Nov 2004 13:32:18 +0800
Tag:    v1.5.0

Wiki integration with upload class. Changes in two upload forms and in moodle_binary_store.php - moodle_binary_store_file

commit f7f36ce2608984bc9a4e586cd3cae3fecdebcfcb
Author: mjollnir_ <mjollnir_>
Date:   Mon, 08 Nov 2004 13:26:27 +0800
Tag:    v1.5.0

few wayward typos breaking postgres workshop install

commit 436d4c6bf5585ef650d71776f478c9bd5f799b76
Author: mjollnir_ <mjollnir_>
Date:   Thu, 30 Sep 2004 12:18:41 +0800
Tag:    v1.5.0

close bracket in wrong place

commit 777b9e0faf7677763577d1fb1320acf9cde89f2e
Author: mjollnir_ <mjollnir_>
Date:   Thu, 30 Sep 2004 11:43:40 +0800
Tag:    v1.5.0

More changes to use fullname function rather than firstname lastname

commit 92e754ebd2407ab217981ce96e1ac6645b2d9faa
Author: mjollnir_ <mjollnir_>
Date:   Thu, 30 Sep 2004 05:32:53 +0800
Tag:    v1.5.0

Fixed firstname lastname to call to fullname function

commit 2e23c59ddc9f196ca12477d809e0ea98f8421b72
Author: mjollnir_ <mjollnir_>
Date:   Thu, 30 Sep 2004 05:13:53 +0800
Tag:    v1.5.0

fixed bad newlines and changed firstname lastname to call to fullname function

commit ea09b04bbd63dafa5c13bb3753ebe0ea90669d7f
Author: mjollnir_ <mjollnir_>
Date:   Wed, 29 Sep 2004 08:45:06 +0800
Tag:    v1.5.0

Postgres bufix

commit 69a9b3d1bb222bc1555257a343d59e69ae636c89
Author: mjollnir_ <mjollnir_>
Date:   Thu, 23 Sep 2004 07:20:41 +0800
Tag:    v1.5.0

Fixed handlevirus.php so that files resolve better to users.

commit 8930f90071735d7acaa6297695125e7778db9616
Author: mjollnir_ <mjollnir_>
Date:   Mon, 20 Sep 2004 13:51:42 +0800
Tag:    v1.5.0

Logging new file paths from backup/restore. Since the files don't have any metadata, we're logging against the logged in user (ie, the teacher restoring the course).

commit 4bf5e3e2f66db5ad1d5f1e97df4f638a23de70f4
Author: mjollnir_ <mjollnir_>
Date:   Mon, 20 Sep 2004 09:36:16 +0800
Tag:    v1.5.0

Better attempts for handlevirus to find files to deal with them, added an instruction.

commit db290a6efc5f158badb6c64495303aed671bea0c
Author: mjollnir_ <mjollnir_>
Date:   Mon, 20 Sep 2004 08:04:44 +0800
Tag:    v1.5.0

Fix for forums to behave slightly in a more friendly manner for reporting stuff about file uploads. Also told upload class to not complain if there isn't a file selected.

commit eee8d9c8f58d95a12aca2badef17424c29916f86
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Sep 2004 13:46:12 +0800
Tag:    v1.5.0

bumps for version and requires for modules that use new upload class

commit 9603814743e53016e6e359464535e0fd6ecedfb5
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Sep 2004 12:21:41 +0800
Tag:    v1.5.0

Small bug fixes for upload class.

commit c80b75857da196163828a401e16bb674aa4ebbf2
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Sep 2004 08:10:53 +0800
Tag:    v1.5.0

Changes to log view page so that infected files comes under 'site errors'.

commit 7604c7db98dd7066bb6ee2ff2230f2647711e4b5
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Sep 2004 07:12:20 +0800
Tag:    v1.5.0

Logging infected files to error_log AND moodle log table.

commit 12e6ee6e8e696026cc0c26853fdb4574dd2ba800
Author: mjollnir_ <mjollnir_>
Date:   Thu, 16 Sep 2004 12:50:21 +0800
Tag:    v1.5.0

Added clam_log_upload where move_uploaded_file is in quiz/format/coursetestmanager/format.php (validated and scanned before given to function)

commit 95c603d35d02df9d3e4d826c0d4bbbcca12d137a
Author: mjollnir_ <mjollnir_>
Date:   Thu, 16 Sep 2004 12:42:59 +0800
Tag:    v1.5.0

Integration of upload code with quiz import

commit 6e30064b5d5d49b46545d8370d6a9f64e31599ce
Author: mjollnir_ <mjollnir_>
Date:   Thu, 16 Sep 2004 12:33:29 +0800
Tag:    v1.5.0

Integration of upload code with lesson  - html form

commit 3dc2cd2deef01066ef43d2f66eba3d6190d6388e
Author: mjollnir_ <mjollnir_>
Date:   Thu, 16 Sep 2004 12:25:55 +0800
Tag:    v1.5.0

Integration of upload code with lesson.

commit 2d53dd68ec0a7befd2c918f36e93bc3ecf2144de
Author: mjollnir_ <mjollnir_>
Date:   Thu, 16 Sep 2004 12:25:24 +0800
Tag:    v1.5.0

Small fix for assignment regarding integration with upload class.

commit 81d425b43cd1574907f4758fa0006e6a1e0adcd7
Author: mjollnir_ <mjollnir_>
Date:   Thu, 16 Sep 2004 08:16:48 +0800
Tag:    v1.5.0

Integration of new centralised upload code with user profile, and group profile, as well as an enhancement to upload class to be configured to be silent.

commit 46c5446e34a59150e7a3ddd965ae219be28bd1f0
Author: mjollnir_ <mjollnir_>
Date:   Thu, 16 Sep 2004 06:42:10 +0800
Tag:    v1.5.0

Integration of new centralised upload code with admin/uploaduser.php and fix in upload class so preprocess_files returns false if there are no files!

commit 16ffe14a93583533b119dee8ad472ecd5c3ed65e
Author: mjollnir_ <mjollnir_>
Date:   Thu, 16 Sep 2004 06:07:27 +0800
Tag:    v1.5.0

Integration of new centralised upload code with wiki/wikifiles.php - this is the choose initial page part, not the upload a page into the wiki part.

commit 960db9965fd0cdc7579f624b5b6e02135bcf007d
Author: mjollnir_ <mjollnir_>
Date:   Wed, 15 Sep 2004 11:57:00 +0800
Tag:    v1.5.0

Integration of new centralised upload code with lib/editor/coursefiles.php and courseimages.php

commit 3bb4d8440bfca30a6ade3d2778bc11a30d09c7b8
Author: mjollnir_ <mjollnir_>
Date:   Wed, 15 Sep 2004 10:43:40 +0800
Tag:    v1.5.0

Integration of new centralised upload code with files/index.php

commit 21de6ca1dbe8f7a082ce1b22e1868bcd6366c088
Author: mjollnir_ <mjollnir_>
Date:   Wed, 15 Sep 2004 08:03:04 +0800
Tag:    v1.5.0

Integration of new centralised file upload code with workshop module.

commit 18b8fbfa0dbaad888cab24eac7d7e1b13521f857
Author: mjollnir_ <mjollnir_>
Date:   Wed, 15 Sep 2004 06:58:13 +0800
Tag:    v1.5.0

Centralised file upload code, integration with clam AV, integration with some modules: assignment, exercise, forum, glossaryt, resource, scorm (more to come soon).

commit a6c7e600bc4baeba0f84cfbc94ccad18b63b9f5f
Author: mjollnir_ <mjollnir_>
Date:   Fri, 10 Sep 2004 12:42:01 +0800
Tag:    v1.5.0

bug related to postgres - inserts into prefix_exercise_assessments were failing, because generalcomment and teachercomment were not null and didn't have defaults. for some reason mysql allows this but postgres complains. I've set empty string defaults and added into mysql for consistency.

commit 166330f56ea489ed4a138a3721b21acfd971229d
Author: mjollnir_ <mjollnir_>
Date:   Fri, 27 Aug 2004 08:24:05 +0800
Tag:    v1.5.0

Fixed very small bug where log entries with module course & action recent are unable to be restored.