Git commits in Moodle 1.6.0 by mjollnir_

commit 38d0c10e3cc4c448bef878c70fcbb4a047d17ef4
Author: mjollnir_ <mjollnir_>
Date:   Fri, 16 Jun 2006 05:33:06 +0800
Tag:    v1.6.0

 participants list last access filter should only show for teachers! I noticed this on moodle.org this morning :|

commit 200460b0c8726211359e667c8733d73a709fb9d0
Author: mjollnir_ <mjollnir_>
Date:   Tue, 16 May 2006 05:51:30 +0800
Tag:    v1.6.0

mod/quiz/view No-longer display final grade when quiz settings forbid it. Changed view.php so that it checked if there were any attempts with concealed grades before printing the student's overall score. Credit: Peter Bulmer <peter.bulmer@catalyst.net.nz>

commit d57cf4c132669c38ee24d36efc07e939b7e72c21
Author: mjollnir_ <mjollnir_>
Date:   Wed, 03 May 2006 10:44:25 +0800
Tag:    v1.6.0

question/type/qtype hide scores when requested by teacher Changed question/type/questiontype.php such that when review.php displays a state-by-state review of answers submitted, scores are not displayed unless allowed by quiz options.

commit 88a6724534b22c85fa4080a27a57254957356e92
Author: mjollnir_ <mjollnir_>
Date:   Fri, 28 Apr 2006 07:25:06 +0800
Tag:    v1.6.0

Fixing missing global in quiz pg upgrade

commit b8a25300b648431e7a083477dc362d840549b171
Author: mjollnir_ <mjollnir_>
Date:   Wed, 26 Apr 2006 04:47:44 +0800
Tag:    v1.6.0

Fixing bug #5148: I don't know how this worked for restore and not for import, but it works for both now

commit 9e3e6be8e776d034fed0de04cf7c4e9435826af8
Author: mjollnir_ <mjollnir_>
Date:   Fri, 21 Apr 2006 11:09:58 +0800
Tag:    v1.6.0

Only force topic section in front page if ALL options are set to hide, not if we have news

commit 60188cee2b5709bb4d8ba113c08d464542e7ffe1
Author: mjollnir_ <mjollnir_>
Date:   Thu, 20 Apr 2006 08:19:17 +0800
Tag:    v1.6.0

assign admins page should respect MAX_USERS_PER_PAGE

commit fbc525bc0b4c9eff92221c2fc4c2f63dd257baa7
Author: mjollnir_ <mjollnir_>
Date:   Wed, 19 Apr 2006 10:31:32 +0800
Tag:    v1.6.0

Correcting code to remove warning originating from earlier commit Peter Bulmer peterbulmer@catalyst.net.nz

commit eb55a1bfb9939ad6fc956b4b6d6358e7c2e00eeb
Author: mjollnir_ <mjollnir_>
Date:   Wed, 19 Apr 2006 06:57:28 +0800
Tag:    v1.6.0

Avoiding warning in last commit: mod/quiz/index changes to only display quiz grades when teacher allows Changes to index.php to only allow student to view overall quiz scores when teacher has not set options forbidding this, and it can't give away what scores were for attempts where results should still be hidden. Credit: Peter Bulmer peterbulmer@catalyst.net.nz

commit 40377b188b3486ac4cebf188d1cff4eacb590259
Author: mjollnir_ <mjollnir_>
Date:   Wed, 19 Apr 2006 06:55:28 +0800
Tag:    v1.6.0

mod/quiz/index changes to only display quiz grades when teacher allows Changes to index.php to only allow student to view overall quiz scores when teacher has not set options forbidding this, and it can't give away what scores were for attempts where results should still be hidden. Credit: Peter Bulmer peterbulmer@catalyst.net.nz

commit d78a1cf6d8700f1fb74b01429d48bb413beae66d
Author: mjollnir_ <mjollnir_>
Date:   Wed, 19 Apr 2006 06:54:51 +0800
Tag:    v1.6.0

mod/quiz/locallib bugfix get_qn_options now uses more sensible defaults. Previously get_question_options used options for after-attempt-while-quiz-open, when called while a attempt was still in progress.  Changed it to use options for immediately-after-attempt instead. Credit: Peter Bulmer peterbulmer@catalyst.net.nz

commit 309c0d55b2953c75119059e38cb35acbcf0ce797
Author: mjollnir_ <mjollnir_>
Date:   Wed, 19 Apr 2006 06:54:10 +0800
Tag:    v1.6.0

mod/quiz/view changes to only display attempt grades when teacher allows. Changed view.php to only display grades when the teacher has not set options forbidding it.  Further, where there is some attempts that are allowed to be displayed, and others not, highligting of the highest score, and printing of the overall grade allocation has been disabled to ensure the hidden grade is not revealed. Credit: Peter Bulmer peterbulmer@catalyst.net.nz

commit 15db443c8777ad5f4f78bab449b0364b42c21faf
Author: mjollnir_ <mjollnir_>
Date:   Wed, 19 Apr 2006 06:50:04 +0800
Tag:    v1.6.0

mod/quiz/review only display grade summary if student allowed to see scores Change to review.php so that the student will only see the grade summary if they are allowed to view their scores - as determined by quiz options set by the teacher. Credit: Peter Bulmer peterbulmer@catalyst.net.nz

commit 9f7f01db04cc9b33486466591dcd7720eef6e48d
Author: mjollnir_ <mjollnir_>
Date:   Wed, 19 Apr 2006 06:47:56 +0800
Tag:    v1.6.0

mod/quiz/review quiz options loaded once per pageload, not once per qn. Moved loading of quiz review options from loop iterating over each qn to be displayed, to the top of the pageload.  Should give efficency gains on quizes with long pages, as well as making the options available earlier in the process. Credit: Peter Bulmer peterbulmer@catalyst.net.nz

commit ee234b5cac2498c0ee390993460ae4d98921e7c9
Author: mjollnir_ <mjollnir_>
Date:   Tue, 18 Apr 2006 10:50:46 +0800
Tag:    v1.6.0

Putting back in the fix for authorize enrol plugin not originally having correct pg version number and table sync with mysql tables and version number

commit 86e75a7b77992c0f772a2e3a766cd09f88a43127
Author: mjollnir_ <mjollnir_>
Date:   Fri, 14 Apr 2006 12:51:43 +0800
Tag:    v1.6.0

Disable gui for forum timed posts since we are not quite ready for it. All code is still there but hidden & controlled by a config var forum_enabletimedposts.

commit 03c9562b4018ca5055c342e91d11c286ecc9fc23
Author: mjollnir_ <mjollnir_>
Date:   Tue, 11 Apr 2006 13:19:56 +0800
Tag:    v1.6.0

Moving attachments attached to forum posts when moving threads between forums was broken when dataroot is over an nfs mount (important for clustering!)... this fixes it but please can somebody test this on windows

commit 9c9aeef15cf56c303c97954e68b07760f639725a
Author: mjollnir_ <mjollnir_>
Date:   Wed, 05 Apr 2006 11:54:12 +0800
Tag:    v1.6.0

Fixing postgres unicode migration for mac os x and multiple postgres installations

commit 34f4ff351d727bdb5ee08c924911116aa1c3e065
Author: mjollnir_ <mjollnir_>
Date:   Mon, 27 Mar 2006 12:04:40 +0800
Tag:    v1.6.0

WHERE 1 is NOT valid postgres syntax. Just pass empty string instead!

commit fa10cafe61dd6d0331bc398eb20474ff346bf1ff
Author: mjollnir_ <mjollnir_>
Date:   Mon, 27 Mar 2006 12:03:19 +0800
Tag:    v1.6.0

Fixing blocks upgrade in postgres (my fault)

commit 173fc40f560629f09cfd9e92bea2dcacbd80c6f5
Author: mjollnir_ <mjollnir_>
Date:   Mon, 27 Mar 2006 10:22:34 +0800
Tag:    v1.6.0

Added missing language string for statsoff

commit 742104c531a9a04ee060280108e1bb48c18e3703
Author: mjollnir_ <mjollnir_>
Date:   Mon, 27 Mar 2006 06:59:23 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Since there was no pg support for enrol/authorize until later, the versioning was screwey in postgres, so check the table exists first before trying to add columns to it, create it if it is not there

commit effbd108a3a5db52d9dfa8022718d4faaf049930
Author: mjollnir_ <mjollnir_>
Date:   Sat, 25 Mar 2006 15:55:56 +0800
Tag:    v1.6.0

Fixing call to upgrade_plugins since questiontypes moved to question/type

commit 9ec656750e8fb17d1ae6926da070e51cd5fe6736
Author: mjollnir_ <mjollnir_>
Date:   Sat, 25 Mar 2006 04:43:38 +0800
Tag:    v1.6.0

More time fixes for stats - under certain dst situations there could have been an infinite loop. Please someone who is clever about timezones & dst review this

commit 60f4cbc13a8ca3ef121f27e9879db1f5fadc6376
Author: mjollnir_ <mjollnir_>
Date:   Thu, 23 Mar 2006 08:37:53 +0800
Tag:    v1.6.0

Fixing missing , in prefix_blog_instance postgres creation

commit aa898e41c1954dd4e208887d68da8cfb7d908811
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Mar 2006 11:17:44 +0800
Tag:    v1.6.0

Stickyblocks: fool pagelib into thinking it is course-view when it needs to be, rather than admin-stickyblocks

commit d355395199e92371548f91b0c008294630e51538
Author: mjollnir_ <mjollnir_>
Date:   Mon, 13 Mar 2006 08:42:01 +0800
Tag:    v1.6.0

Fixing my moodle bug in forum track posts display

commit d348b6f2b01c7fa4086247f5b8188203ea3d5b5f
Author: mjollnir_ <mjollnir_>
Date:   Mon, 13 Mar 2006 07:20:47 +0800
Tag:    v1.6.0

Adding new mdl_log indexes to the .sql files as well as just the pg ones (bug #4112), plus a few postgres fixes for blog

commit 65070e3c0317d37d6ea6971d9659d93900a056ca
Author: mjollnir_ <mjollnir_>
Date:   Mon, 13 Mar 2006 07:19:17 +0800
Tag:    v1.6.0

Adding new mdl_log indexes to the .sql files as well as just the pg ones (bug #4112)

commit fb3ea05cc3eb9aa8bf56e83b32f0e5ddf88c152a
Author: mjollnir_ <mjollnir_>
Date:   Wed, 08 Mar 2006 06:14:40 +0800
Tag:    v1.6.0

Adding more indexes to the log table - bug 4112 + version bump

commit 2e05b22ab641c5d01d72058d077ce6c3f880a174
Author: mjollnir_ <mjollnir_>
Date:   Mon, 06 Mar 2006 08:39:51 +0800
Tag:    v1.6.0

Fixing the parse error in moodlelib! Do I get a prize for being first after sf.net came back up? ;)

commit 74ffb569c62136c286bfcc113aece05d06976958
Author: mjollnir_ <mjollnir_>
Date:   Mon, 06 Mar 2006 08:36:06 +0800
Tag:    v1.6.0

Added a useful function in moodlelib to resolve filename collisions when moving files around. Perhaps useful for backup or importing or files/index.php

commit ed2482dfae000a44c9cc3208db6c47a510579047
Author: mjollnir_ <mjollnir_>
Date:   Thu, 02 Mar 2006 09:30:04 +0800
Tag:    v1.6.0

Fixing up some RENAME tables in postgres for quiz

commit ecb5d875af883cf2c9070646d8710fd8b1da5495
Author: mjollnir_ <mjollnir_>
Date:   Wed, 01 Mar 2006 11:00:33 +0800
Tag:    v1.6.0

Updated the comments around the horrible sql construction in the quiz reports for overview & response

commit eeaf5ebce1f962fca4954f926015d04391bab05a
Author: mjollnir_ <mjollnir_>
Date:   Wed, 01 Mar 2006 10:46:15 +0800
Tag:    v1.6.0

Ported the rework of the reports to the responses report. PLEASE try not to load all users into memory and then implode it into a string for the sql - just JOIN, it is what the database is good at sad

commit 3d4583272108350439a2c07a8be465c8de921092
Author: mjollnir_ <mjollnir_>
Date:   Wed, 01 Mar 2006 10:44:38 +0800
Tag:    v1.6.0

Tidyup of whitespace and commented out stuff from last commit

commit 03c8c27ee00d4c5d9ab347d4dfdbf5d7a11191fa
Author: mjollnir_ <mjollnir_>
Date:   Wed, 01 Mar 2006 10:20:32 +0800
Tag:    v1.6.0

By popular request - quiz report now shows students with attempts only, students with no attempts only, students with attempts AND no attempts. This fixes bugs #4406 and #4353

commit 6ae92cf9b0870ea3674b54e698f90ecf0132e5c6
Author: mjollnir_ <mjollnir_>
Date:   Wed, 01 Mar 2006 10:17:47 +0800
Tag:    v1.6.0

Fixing up a badly named quiz table in postgres. PLEASE remember that you cannot just do RENAME - it breaks the sequences

commit cfe3f66f4796bf4da6fe37179438562cb4785654
Author: mjollnir_ <mjollnir_>
Date:   Wed, 01 Mar 2006 08:49:49 +0800
Tag:    v1.6.0

Added comments in the horribly complicated sql around the quiz report (fixes bug # 4406)

commit 7343f3c40a2731afe0e0986c8543a3b506ee3fc9
Author: mjollnir_ <mjollnir_>
Date:   Wed, 01 Mar 2006 08:33:50 +0800
Tag:    v1.6.0

Fixing a warning in import course data - bug #4773

commit 0a0bcdd2599aceed4bfcbc84fd8dfbe31f564a88
Author: mjollnir_ <mjollnir_>
Date:   Fri, 24 Feb 2006 06:15:30 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing a problem reported about self enrolment in child courses and not being able to access the parent without logging in and out again at http://moodle.org/mod/forum/post.php?reply=185699

commit ebe2c5057b39468af38238b371c13c341da737ab
Author: mjollnir_ <mjollnir_>
Date:   Mon, 20 Feb 2006 07:15:55 +0800
Tag:    v1.6.0

Fixed up a few tiny syntax errors in quiz upgrade

commit 35cfff0e667935c2e634c6ec3a4bf21d99fa3c30
Author: mjollnir_ <mjollnir_>
Date:   Wed, 15 Feb 2006 04:33:40 +0800
Tag:    v1.6.0

added to magpie the ability to do POSTs as well as GETs.. submitted this patch upstream but upstream doesn't seem to look at patches on sf.net

commit f9648e77cf002067cd8a4c19bffbf06e8fe83fd3
Author: mjollnir_ <mjollnir_>
Date:   Tue, 14 Feb 2006 11:24:08 +0800
Tag:    v1.6.0

Added cron support for blocks - it was already there in the tables, now we just need to use it

commit 3a11c548b2ba3220fd82642e26fe9d097a2ff37d
Author: mjollnir_ <mjollnir_>
Date:   Tue, 14 Feb 2006 10:01:31 +0800
Tag:    v1.6.0

Fixing a warning in debug mode

commit 347723bda2f0e93a66fd109e7b8931ef9f1ac0a7
Author: mjollnir_ <mjollnir_>
Date:   Tue, 14 Feb 2006 10:01:06 +0800
Tag:    v1.6.0

fixing bug # 4751 - adding unique key in postgres for mod/quiz for gustav

commit f5f270a188b7fb51491685f82091a79fa9b34e17
Author: mjollnir_ <mjollnir_>
Date:   Tue, 07 Feb 2006 07:02:05 +0800
Tag:    v1.6.0

Adding missing default perfdebug

commit f90672bf85da473067636bd0b42e508e688cef23
Author: mjollnir_ <mjollnir_>
Date:   Tue, 07 Feb 2006 04:58:27 +0800
Tag:    v1.6.0

Added back a field I missed when reworking the sql for quiz reports - qa.uniqueid as attemptuniqueid - after skype discussion with gustav

commit 510b75ae64a10558ab2b85c01a663c8838ab99c6
Author: mjollnir_ <mjollnir_>
Date:   Fri, 03 Feb 2006 04:30:34 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Moved check_dir_exists function from backup/lib.php to moodlelib

commit 3abd1a555266fa715bd298972cfd6a1c49055caa
Author: mjollnir_ <mjollnir_>
Date:   Thu, 02 Feb 2006 04:01:50 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing bug#4659  - don't make upload directories unless there's something to save

commit 5e33ce6da343966deafd651644e4d24482907776
Author: mjollnir_ <mjollnir_>
Date:   Tue, 24 Jan 2006 06:38:01 +0800
Tag:    v1.6.0

bugfix for hook for filters to have their own save config function

commit e5b66e2cd44da4d8384b082284f2c16e69415318
Author: mjollnir_ <mjollnir_>
Date:   Tue, 24 Jan 2006 04:37:44 +0800
Tag:    v1.6.0

added hook for filters to have their own save config function if they want to

commit e31e89c3acd300374fc6a6d720dc00a15eafa092
Author: mjollnir_ <mjollnir_>
Date:   Fri, 20 Jan 2006 12:19:08 +0800
Tag:    v1.6.0

fixing a strange bug in stats graph display

commit 41547057cc0283f999a5f7d0083f96379bb28441
Author: mjollnir_ <mjollnir_>
Date:   Fri, 20 Jan 2006 07:52:08 +0800
Tag:    v1.6.0

Merged Patrick's mailnow patch.  This allows admin users the ability to override maxediting time and have forum posts mailed out immediately.

commit e49c4d3075fc4d57b2c0f67037e6bebc041d0087
Author: mjollnir_ <mjollnir_>
Date:   Wed, 18 Jan 2006 07:54:14 +0800
Tag:    v1.6.0

Fixing wishlist bug # 4357: different icon & wording in admin block for metacourse importstudents

commit 824f1c40fccc5bedf4b519fffc91f7396ac970b0
Author: mjollnir_ <mjollnir_>
Date:   Wed, 18 Jan 2006 07:46:42 +0800
Tag:    v1.6.0

cache category_parent_visible so as to avoid doing millions of database queries

commit 5aa23eead34f63ac753cfb6c16247218e4587605
Author: mjollnir_ <mjollnir_>
Date:   Wed, 18 Jan 2006 06:03:48 +0800
Tag:    v1.6.0

Cache strings for my moodle, don't call get_string over and over again

commit 454be164a3b7fd9583b3ad267602874d90666ab8
Author: mjollnir_ <mjollnir_>
Date:   Wed, 18 Jan 2006 04:59:19 +0800
Tag:    v1.6.0

My moodle forum overview small bugfix, counting new posts should not count adding discussions

commit 185cfb095b5ec80823644a820a92ae2fa9fd12a5
Author: mjollnir_ <mjollnir_>
Date:   Wed, 18 Jan 2006 04:49:43 +0800
Tag:    v1.6.0

Reworked the My Moodle course overview API to be MUCH more efficient. Previously we were literally doing hundreds of database queries, now it's very much faster. This makes the API slightly more complicated, but it's definitely worth it! Each module should implement modname_print_overview, which takes an array of courses and an array to fill up indexed by [$courseid]['modname'] for the controller to loop through and print. Each module should LIMIT the number of queries to use, all module instances can be fetched with the new function get_all_instances_in_courses which is the same as get_all_instances_in_course but takes an array of courses to fetch the instances for.  This means there is no need to loop over the courses array and fetch the instances for each course (dramatically cutting down the number of queries!)

commit b12d055a8fabe805f43c5a2f7cbcdb928be41e6c
Author: mjollnir_ <mjollnir_>
Date:   Tue, 17 Jan 2006 08:21:29 +0800
Tag:    v1.6.0

Fixing an sql sytax error in forum cron that prevented mailouts! It seems to have been introduced at 1.405

commit 460ec53664add1d96436aa94ec4e0c5bd70ec4cb
Author: mjollnir_ <mjollnir_>
Date:   Tue, 17 Jan 2006 06:55:18 +0800
Tag:    v1.6.0

Added missing fields in restore for embargoed announcements

commit f332bd025c0c65311661f66f9879efb8d4e72ba6
Author: mjollnir_ <mjollnir_>
Date:   Tue, 17 Jan 2006 05:50:57 +0800
Tag:    v1.6.0

Added cast to string in choose_from_menu_nested as well as choose_from_menu

commit b22008bae03fd53956cd120fea9562d5c53de095
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 17:07:30 +0800
Tag:    v1.6.0

after discussion with Eloy: Always strip controlchars in xml_tag_safe_content

commit bd905b45689247bf8e684c19077e0b61a4b97afb
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 17:05:23 +0800
Tag:    v1.6.0

Backing out type checking in choose_from_menu and choose_from_menu nested. Perhaps will add casting to string on both sides later

commit abfd14da26429afeddf2bb11e31b5f0c169010cb
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 16:59:20 +0800
Tag:    v1.6.0

Managed forum posts: missing restore fields.  Beating Eloy to fix the bug before he reports it ;)

commit df1b52e8bbf0fc225ba35aa09dacc4903d2e51df
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 16:52:21 +0800
Tag:    v1.6.0

Contextual help for participants list 'with selected users' actions

commit a4f495bf86526921d38bdeff41107a78be71a48f
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 16:42:09 +0800
Tag:    v1.6.0

Introducing: managed posted forums. Optional ability to 'throttle' forums by adding three new settings: warnafter, blockafter and blockperiod. Useful for tutors with big courses with some dominant students.

commit 325a76ead3179bed411f716a40cff295d205721d
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 13:36:33 +0800
Tag:    v1.6.0

Fixing missing prefix (copy & paste error) in forum type upgrade from very recent commit

commit 098d27d46ed846cdc35d8d0621c5ef6438b6ab11
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 12:57:48 +0800
Tag:    v1.6.0

New forum type: question and answer: requires students to post their answer before being able to view other posts. After initial post, students can view & respond normally

commit 950c35a96cd4f73e727bb92d825405b453fcbc6e
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 11:15:48 +0800
Tag:    v1.6.0

Changing the limit for drop down menus on the log page to something reasonable (1000)

commit d5250d2f1300b6247df453c94467e123c63a308f
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 11:02:42 +0800
Tag:    v1.6.0

RSS client block: users can now add their own rss feeds and pick from their feeds and admin feeds. users don't see feeds added by other nonadmin users. this is probably only useful for my moodle since they can't edit any other pages

commit a9e1e4c8505710229d8fcaf8b62d13a2a4febcf3
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 10:37:19 +0800
Tag:    v1.6.0

Backup xml tags now support attributes and a new function for xml content to be safe utf-8. Eloy can you please review this patch?

commit a94baeaf20a2c2e2df269ad84db999f74c6672ea
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 08:39:01 +0800
Tag:    v1.6.0

	Abstracted all the stuff that gets backup prefs from request, and put 	it into session. This makes it easier to add a new stages 	and not have to write hidden fields and such like

commit 9f23133b04ca9509e4e3c1dc174daf5454b4cf49
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 06:46:51 +0800
Tag:    v1.6.0

Add instances to info/mods in scheduled backup so they can be granularly restore from

commit f90666aa5ce697114ea1003c3bfcde796c33e737
Author: mjollnir_ <mjollnir_>
Date:   Mon, 16 Jan 2006 05:09:13 +0800
Tag:    v1.6.0

Abstracted a bit of the restore procedure to allow for silent restoring. Added new function, import_backup_file_silently Changed everything that prints stuff to check for a constant first. Backup_flush checks a different constant, this is so that output can still get flushed to the browser when necessary but not print <li>s everywhere. Please test this!

commit 20258a2e43b0cd9b89a4546571fe4a1a2ee73372
Author: mjollnir_ <mjollnir_>
Date:   Fri, 13 Jan 2006 12:51:39 +0800
Tag:    v1.6.0

Added in a check for php5 before including uni_soap.php5 - for some reason it was getting through and being included in my php 4.3 something

commit 3ccbb6eb9d0e82bab70d37a9e25de7df533dbffe
Author: mjollnir_ <mjollnir_>
Date:   Fri, 13 Jan 2006 12:35:21 +0800
Tag:    v1.6.0

Preventing fatal errors from libraries getting included more than once. Please remember to use require_once !

commit 1ecea9767968ff9794ed87c46ea1e7d8c71ea4b9
Author: mjollnir_ <mjollnir_>
Date:   Fri, 13 Jan 2006 11:45:31 +0800
Tag:    v1.6.0

Granular backup & restore: This patch allows the much requested selection of individual instances of modules within a course to backup and restore. It needs A LOT of testing and probably some prettyifying too.

commit 0f4e83c17304a1897d1bd61bb1059b0c6d375c7b
Author: mjollnir_ <mjollnir_>
Date:   Fri, 13 Jan 2006 11:09:24 +0800
Tag:    v1.6.0

Fixing up a problem in chat login - ip address is lastip not lastIP - member variables are case sensitive

commit be2ae09442affbe8e400412d37900308ffc4fe48
Author: mjollnir_ <mjollnir_>
Date:   Fri, 13 Jan 2006 07:28:20 +0800
Tag:    v1.6.0

Replaced mysql specific comments with generic ones in hotpot sql

commit b44a6e5a0436e73c6c807157532ece7d4e2d1a5d
Author: mjollnir_ <mjollnir_>
Date:   Fri, 13 Jan 2006 04:05:34 +0800
Tag:    v1.6.0

Fixed a fatal error in scorm locallib

commit fbcbd77c859e1ab460905caf0f5dcb509381c720
Author: mjollnir_ <mjollnir_>
Date:   Thu, 12 Jan 2006 10:55:59 +0800
Tag:    v1.6.0

Fixing bug # 4567: warning in get_my_courses

commit 4534774cc81d55afeb89353c2d23b80e566da167
Author: mjollnir_ <mjollnir_>
Date:   Wed, 11 Jan 2006 10:33:50 +0800
Tag:    v1.6.0

New style for errors (useful for form validation) (standard theme)

commit 82c859921b04fa2b74e8eb86ccaf4b5f542441e8
Author: mjollnir_ <mjollnir_>
Date:   Wed, 11 Jan 2006 10:26:26 +0800
Tag:    v1.6.0

Added selectall/deselectall to files/index.php

commit 1404079794fbfb21905910e1460f14acd81be765
Author: mjollnir_ <mjollnir_>
Date:   Wed, 11 Jan 2006 10:22:16 +0800
Tag:    v1.6.0

added useful function array_is_nested to moodlelib; added choose_from_menu_nested which takes a nested array and prints <optgroup> for first level of array and then <option> under that

commit d0d272e75813287826a134284d4ad58ed5ad46f8
Author: mjollnir_ <mjollnir_>
Date:   Wed, 11 Jan 2006 10:14:37 +0800
Tag:    v1.6.0

A few changes to weblib - print_checkbox can now return and have script elements, choose_from_menu does type comparisons when testing for selected, added print_textfield function

commit 2422dc936ae5780ee898ab352a05d0cc43265f64
Author: mjollnir_ <mjollnir_>
Date:   Wed, 11 Jan 2006 09:00:34 +0800
Tag:    v1.6.0

Quiz confirmation popup is now for limited attempts and/or timelimit, or a combination of the above

commit 79a1029455d22209bb82973dd2ba0665d26f8713
Author: mjollnir_ <mjollnir_>
Date:   Tue, 10 Jan 2006 09:19:44 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Metacourse unenrolling: fixes bug #4541

commit ddf1935f306ec4804a7fe19943149194ac3f6814
Author: mjollnir_ <mjollnir_>
Date:   Wed, 21 Dec 2005 04:55:37 +0800
Tag:    v1.6.0

For pinned blocks (that don't have a pageid), make one up on the fly (Fixes bug #4497)

commit 6f61d7b98522d8dedd82c2d0114a45cf1d6d719a
Author: mjollnir_ <mjollnir_>
Date:   Wed, 21 Dec 2005 04:39:52 +0800
Tag:    v1.6.0

Postgres compatibility in scorm db upgrade

commit cc17b250d809490a21f4edc2b133ab6dcfa97af8
Author: mjollnir_ <mjollnir_>
Date:   Wed, 21 Dec 2005 04:19:17 +0800
Tag:    v1.6.0

Fixing bug #4496: strings to long in lang file

commit f3815a9547ee82d1f02a63ef7f32c34cade092b6
Author: mjollnir_ <mjollnir_>
Date:   Tue, 20 Dec 2005 08:21:38 +0800
Tag:    v1.6.0

Participation report - check for course modules and print an error if there are none.

commit 05b18caf51f6cb79e703006390461d91acdab4cf
Author: mjollnir_ <mjollnir_>
Date:   Mon, 12 Dec 2005 11:17:08 +0800
Tag:    v1.6.0

Merged as MOODLE_15_STABLE: Accounts that are created with no authentication shouldn't allow non alphanumeric usernames, fixing in login/index.php as the auth library can't pass error messages. Fixes bug #4192

commit dcfb30bb16f87f4dabe36256a23cbcb5c89c509b
Author: mjollnir_ <mjollnir_>
Date:   Mon, 12 Dec 2005 05:29:56 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing a fatal error in updating a wiki (lib.php included twice )

commit f3180d6e702bf85454e0d9ece6dc99fd5a0a99cf
Author: mjollnir_ <mjollnir_>
Date:   Mon, 05 Dec 2005 07:01:25 +0800
Tag:    v1.6.0

Better fix to change_password.php - primary admin can change their OWN password, the form displays the error for other admins trying to change the primary password (before it failed silently) and external auth admin change password works too!

commit 9b4082cd1fa32d9de5c574f85480537f00f1a3eb
Author: mjollnir_ <mjollnir_>
Date:   Mon, 05 Dec 2005 06:42:28 +0800
Tag:    v1.6.0

Backing out last patch - needs fixing differently

commit f3929d413c48c8d23121bee7acb2ab16246b1671
Author: mjollnir_ <mjollnir_>
Date:   Mon, 05 Dec 2005 06:30:35 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing problem where admins couldn't change their password (with external auth)

commit 4820a99e872b9e88c60ba1aad4f8d52f914b429d
Author: mjollnir_ <mjollnir_>
Date:   Tue, 29 Nov 2005 04:50:15 +0800
Tag:    v1.6.0

New report - course participation.  Integrated with messaging system, same as participants list.

commit 04d38a9dc415c6b064b12e0e74eb99ad613fe386
Author: mjollnir_ <mjollnir_>
Date:   Mon, 21 Nov 2005 06:16:49 +0800
Tag:    v1.6.0

Removing incomplete mi_nt- Maori Ngai Tahu - request from Dan Marsden - will be re-added later when complete

commit 69d3257259b4ef786e868db3c5924a9d425b707b
Author: mjollnir_ <mjollnir_>
Date:   Mon, 21 Nov 2005 06:13:10 +0800
Tag:    v1.6.0

Sorry - this language pack is Maori - Tainui

commit 00b5340f94acb6f644f07d0a975efd2edab6776c
Author: mjollnir_ <mjollnir_>
Date:   Mon, 21 Nov 2005 04:07:29 +0800
Tag:    v1.6.0

mi_utf8 should be considered Maori - Tainui rather than just Maori

commit e366107f670180514c96fc92ae37a13154a21a17
Author: mjollnir_ <mjollnir_>
Date:   Sat, 19 Nov 2005 05:03:05 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing bug 4345: merging problem when fixing bug 4303

commit f53fba389a67880c9b0b054d8e4e62c281a992be
Author: mjollnir_ <mjollnir_>
Date:   Fri, 18 Nov 2005 12:19:58 +0800
Tag:    v1.6.0

If tablelib is going to do fullname voodoo, it should allow us to make the default order field something that makes up fullname (ie, firstname/lastname)

commit c0abecb82290bc4cec6ae7bfb2332ea120f94bec
Author: mjollnir_ <mjollnir_>
Date:   Fri, 18 Nov 2005 06:50:56 +0800
Tag:    v1.6.0

New version of mi_utf8 following comments from Eloy

commit 2e910d21c7525016074812d30e8bf79341e9168c
Author: mjollnir_ <mjollnir_>
Date:   Fri, 18 Nov 2005 05:36:55 +0800
Tag:    v1.6.0

Fixed typo in lams postgres creation

commit e4103b6a59e058c6822148e4654f58d7b68d924c
Author: mjollnir_ <mjollnir_>
Date:   Thu, 17 Nov 2005 11:10:53 +0800
Tag:    v1.6.0

&amp; instead of & in participants list base url (from last commit - make participants list searchable)

commit f1e24e7a1b5afa68687ff6206483715c9b8a1912
Author: mjollnir_ <mjollnir_>
Date:   Thu, 17 Nov 2005 11:09:07 +0800
Tag:    v1.6.0

Make participants list searchable

commit 31b71336833f2673edd4481d45c682695845a7ac
Author: mjollnir_ <mjollnir_>
Date:   Thu, 17 Nov 2005 10:46:27 +0800
Tag:    v1.6.0

Add a last access filter to the participants list - show users inactive for more than x time period

commit e87d42e013a096cd19fa5fe4bcb35492b3595c88
Author: mjollnir_ <mjollnir_>
Date:   Thu, 17 Nov 2005 10:30:53 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing misnamed variable in forgot password link in login block

commit 1b4fe47b08233e86d333a79898a385e102d7cc74
Author: mjollnir_ <mjollnir_>
Date:   Thu, 17 Nov 2005 10:27:05 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Pulling in a missing global CFG in datalib:execute_sql (affects CFG->dblogerror)

commit 41238653e17cea70d7c68eb5b2c86c3018f5e925
Author: mjollnir_ <mjollnir_>
Date:   Thu, 17 Nov 2005 09:20:41 +0800
Tag:    v1.6.0

Maori translation! Translated by OSCINZ (http://eduforge.org/projects/oscinz)

commit 29fbf0d5b80e19b0ededb8fbeeaaafed61264e0d
Author: mjollnir_ <mjollnir_>
Date:   Thu, 17 Nov 2005 06:20:43 +0800
Tag:    v1.6.0

My moodle - forums shouldn't print the forum header and all their nothing new stuff. Only talk when you've got something to say ;)

commit 68d96543165dbc4208f0549858e4de6f85b6d08d
Author: mjollnir_ <mjollnir_>
Date:   Thu, 17 Nov 2005 03:49:07 +0800
Tag:    v1.6.0

Display fix to stats

commit 4907efae2b63ddd74cc63bf7e15ff13ec1f70bd9
Author: mjollnir_ <mjollnir_>
Date:   Wed, 16 Nov 2005 10:12:12 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Another fix to the perf printing patch from earlier. I didn't realise that 'no' in the context of perf means 7 ;)

commit 526cdd63a0a7a3ed7726a9f87b90aeb529d8b274
Author: mjollnir_ <mjollnir_>
Date:   Wed, 16 Nov 2005 09:38:07 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing merging problem in the quiz report fix ealier - disabling wrong checkbox for site course quizes

commit 39a276146579233ff33e51cb541861edd51fe761
Author: mjollnir_ <mjollnir_>
Date:   Wed, 16 Nov 2005 06:23:43 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing bug 4303 - quiz reports dying on large enrolments - getting all users into an array and imploding it into an IN() replaced with joins. This changes the functionality SLIGHTLY in two ways - 1. show students with no attempts now JUST shows students with no attempts, rather than both.  Show students with no attempts is now disabled for the site course as is not really relevant and could be ridiculously large

commit d1f1e3f899912dd8e230a4f5de96d8f56226625b
Author: mjollnir_ <mjollnir_>
Date:   Wed, 16 Nov 2005 05:34:53 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: perf configvar & footer

commit bacd847b35eecc7143e388da276c6a34774d8b01
Author: mjollnir_ <mjollnir_>
Date:   Mon, 14 Nov 2005 06:58:26 +0800
Tag:    v1.6.0

Fixing last commit - mysql upgrade - table_column defaults to 0 for default rather than empty string and mysql doesn't want to allow 0 for defaults for type text columns

commit 79598cf025c47e845ce84a119caf480711e36ab2
Author: mjollnir_ <mjollnir_>
Date:   Mon, 14 Nov 2005 06:50:45 +0800
Tag:    v1.6.0

Fixing bug 4244: length of rss title changed to TEXT in db and truncated to 64+ ... in block content. Also fixed BAD BUG where the function  name for rss_client block upgrade was misnamed - this would have meant that db no upgrades ran for this block

commit 860cea3526075e60dc725ef2db28b57400b95a7d
Author: mjollnir_ <mjollnir_>
Date:   Mon, 14 Nov 2005 05:19:23 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Getting directory sizes with du - use escapeshellarg on the file/directory as unzipping files on the server can result in filenames that need escaping

commit 7d5258795cd96385eef4871efff6ba43e97da4bc
Author: mjollnir_ <mjollnir_>
Date:   Wed, 09 Nov 2005 04:51:27 +0800
Tag:    v1.6.0

(re)fixing bug #4199: import course activities offering non taught courses to import from. got lost in the course import rewrite

commit aba94550ad0ed87d007d21f653a45c4d920b9d9c
Author: mjollnir_ <mjollnir_>
Date:   Mon, 07 Nov 2005 10:43:34 +0800
Tag:    v1.6.0

fixing a bogus warning in upload lib about no file selected when allownull is on

commit aff2944e78e83cc9648e2f41129b477d0dcfd2b3
Author: mjollnir_ <mjollnir_>
Date:   Fri, 04 Nov 2005 12:26:29 +0800
Tag:    v1.6.0

Changes to uploadlib to deal better with multiple file uploads (I don't think anywhere in moodle is using this yet,  but it's much nicer now)

commit 9afaefaa1f27510d4414ba8b0be09669d658d0ce
Author: mjollnir_ <mjollnir_>
Date:   Fri, 04 Nov 2005 08:51:42 +0800
Tag:    v1.6.0

Adding threshold to most active courses (Weighted)

commit e7202b3fd23122744d94c06b587d51c37589c51a
Author: mjollnir_ <mjollnir_>
Date:   Fri, 04 Nov 2005 06:57:14 +0800
Tag:    v1.6.0

Adding missing stats string; fixing weird bug for when stats starts processing from now rather than all

commit 7b89e1898faefabb4ec1472abb52e72f09384fb3
Author: mjollnir_ <mjollnir_>
Date:   Fri, 04 Nov 2005 06:45:35 +0800
Tag:    v1.6.0

Admin setting for stats: ranked courses get userthreshold

commit ce4a0f541fc40e64e84335d6e1ea369d440e6b00
Author: mjollnir_ <mjollnir_>
Date:   Fri, 04 Nov 2005 06:44:29 +0800
Tag:    v1.6.0

Adding default for new stats value for threshold to defaults file

commit e15df3562f56207754213168fb75030f73811fc8
Author: mjollnir_ <mjollnir_>
Date:   Fri, 04 Nov 2005 06:22:05 +0800
Tag:    v1.6.0

Stats display fix for ranked courses: enrolments and active users should be max() not sum()

commit 42307c47b2b1af9929758f02d4e72c48a475ca98
Author: mjollnir_ <mjollnir_>
Date:   Thu, 03 Nov 2005 06:20:35 +0800
Tag:    v1.6.0

Fixing bug 4259: statslib infinite loop on php 5.1 date/time changes. Credit: Samuli Karevaara (great catch!)

commit 723d3fb591f9d8cde90eb715ac1a5780893f1fac
Author: mjollnir_ <mjollnir_>
Date:   Thu, 03 Nov 2005 05:26:10 +0800
Tag:    v1.6.0

Further to bug 4199: just select courses we're an editing teacher in, not just all courses we're a teacher in

commit 0b3d29373766f5a1d26187e6a90151d3868b2401
Author: mjollnir_ <mjollnir_>
Date:   Thu, 03 Nov 2005 05:09:12 +0800
Tag:    v1.6.0

Fixing bug 4199: course import offering courses not a teacher in to import from. Will merge to stable after confirmation from bug reporter.

commit f6a5aa18f24f0234d5555663c497c45a8189611d
Author: mjollnir_ <mjollnir_>
Date:   Wed, 02 Nov 2005 10:26:53 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing warning in course import (part of bug 4199)

commit 78c7303cb421479c988bac136df6aa83a29c1e79
Author: mjollnir_ <mjollnir_>
Date:   Mon, 31 Oct 2005 04:39:16 +0800
Tag:    v1.6.0

Fixing warnings in statslib. Bug # 4252, credit: samuli dot karevaara at lamk dot fi

commit 092dcfa4183fd977a5b838ffe6d0f80c09125cc2
Author: mjollnir_ <mjollnir_>
Date:   Mon, 31 Oct 2005 04:20:09 +0800
Tag:    v1.6.0

In the case of my moodle we don't want to redirect to referrer on 'no', referrer will 90% of the time be the my moodle page. Redirect to wwwroot instead

commit fdaa60067564a196c7193e32dd520eaad01b6a4c
Author: mjollnir_ <mjollnir_>
Date:   Mon, 31 Oct 2005 04:10:43 +0800
Tag:    v1.6.0

My moodle page should not be available to guests and offer a full login

commit 527883218cc1066742c7e0518673b438810ab5b3
Author: mjollnir_ <mjollnir_>
Date:   Fri, 28 Oct 2005 12:11:17 +0800
Tag:    v1.6.0

Participants block shouldn't be shown for my moodle; guests don't want my moodle redirect, fixing page title in edit block instance in my moodle

commit 404fe839d6a16ae2ebd1ce02dd827d3a148334f8
Author: mjollnir_ <mjollnir_>
Date:   Fri, 28 Oct 2005 09:36:59 +0800
Tag:    v1.6.0

Stats date display should use moodle timezone and not show time of day, date is enough

commit 1330905958f52f139db7742fb284f88d194c2217
Author: mjollnir_ <mjollnir_>
Date:   Fri, 28 Oct 2005 09:33:32 +0800
Tag:    v1.6.0

Cronjob: override admin user timezone to moodle default timezone

commit 6e5620607f274ef90eb01008db6159d447550f6b
Author: mjollnir_ <mjollnir_>
Date:   Fri, 28 Oct 2005 06:14:53 +0800
Tag:    v1.6.0

Fixing merging issue with stats: userfields that only exist in our branch removed

commit 4d8e4c38ae6f07a9b2a5e953940e919155a6ce36
Author: mjollnir_ <mjollnir_>
Date:   Fri, 28 Oct 2005 04:41:49 +0800
Tag:    v1.6.0

Better time handling for stats - ignores dst and no longer relies on 1 day to be +(60*60*24). Also fixes mysql incompatibility in reporting with ::real - bug # 4241

commit 41f7a86012e17e04bf34c39a3c672d51e17c2591
Author: mjollnir_ <mjollnir_>
Date:   Thu, 27 Oct 2005 05:19:01 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Now the login block uses the same logic for forgot password as the login page does

commit 81a5d9ca418ce6a29c2dad7319403c6fb6edd569
Author: mjollnir_ <mjollnir_>
Date:   Wed, 26 Oct 2005 10:05:08 +0800
Tag:    v1.6.0

Fixing small bug that adds Label to add activity module dropdown all the time. should only be added to activity module when resource is restricted and label is not

commit 65f05987fd91da62c4d4f649fb44fafb4c7bc1a9
Author: mjollnir_ <mjollnir_>
Date:   Thu, 20 Oct 2005 08:19:42 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing bug 4199: import course data should only allow you to import from a course that you're already a teacher in, unless you're at least a creator

commit c9c8db2dac62f041c1dadf37559ac77c97e802f7
Author: mjollnir_ <mjollnir_>
Date:   Tue, 18 Oct 2005 07:17:54 +0800
Tag:    v1.6.0

better message for no data for stats - now we have statscatchup mode we don't need to know about waiting a week

commit 12177083634d78ccc47e4102dacc27a5d06d4684
Author: mjollnir_ <mjollnir_>
Date:   Mon, 17 Oct 2005 06:34:25 +0800
Tag:    v1.6.0

My moodle sticky block config now generic, can be used for any pagetype. Currently implemented: course-view (and my moodle, of course)

commit b32145b87c64720b3c2a48e7862f9796f2ca90bc
Author: mjollnir_ <mjollnir_>
Date:   Mon, 17 Oct 2005 06:13:35 +0800
Tag:    v1.6.0

Missing strings for new stats report, new link in admin/index.php for admin reports

commit 3eb9babc7147d8771ff96477df5caf38f4dd574a
Author: mjollnir_ <mjollnir_>
Date:   Mon, 17 Oct 2005 04:55:40 +0800
Tag:    v1.6.0

Some fixes to stats (performance) and new reports for ranking courses based on usage/particpation

commit e19db11055e040504b6e4c3ce4c224eed11de65d
Author: mjollnir_ <mjollnir_>
Date:   Fri, 14 Oct 2005 05:12:13 +0800
Tag:    v1.6.0

course_request.password should be varchar(50) not text. bug 4180

commit 3a317277b6123d15a4ba2caa2236ae7d925a30dc
Author: mjollnir_ <mjollnir_>
Date:   Thu, 13 Oct 2005 11:16:11 +0800
Tag:    v1.6.0

Many small fixes to stats, including aggregate activity across all courses when querying for SITEID

commit db48e8d1f09594d3b45b5596df5aacf07e3dd55f
Author: mjollnir_ <mjollnir_>
Date:   Wed, 12 Oct 2005 10:15:42 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Execute some updates silently (dropping non existent columns in workshop) bug 2964

commit 56eb871c3933e17850965ce15654c2554ab4bf88
Author: mjollnir_ <mjollnir_>
Date:   Wed, 12 Oct 2005 09:17:03 +0800
Tag:    v1.6.0

Added enrolment key to course requests - fixes wishlist bug 4170

commit 5ed4dd5a76f687c460c99c3104b83702fafd48ed
Author: mjollnir_ <mjollnir_>
Date:   Tue, 11 Oct 2005 09:20:37 +0800
Tag:    v1.6.0

Stats: many bug fixes found while running over a very large dataset...

commit 8b658d8abf127defd11ae79f9e0f3b39ca426e51
Author: mjollnir_ <mjollnir_>
Date:   Tue, 11 Oct 2005 04:17:07 +0800
Tag:    v1.6.0

Stats: fixing a display problem

commit 4900433c841a1f98c52e2b961af486800f0f6a86
Author: mjollnir_ <mjollnir_>
Date:   Mon, 10 Oct 2005 08:46:44 +0800
Tag:    v1.6.0

More fixes to stats to do with runtimes

commit 5cde4950313e7915cd045b5d9360ea7ba9883d03
Author: mjollnir_ <mjollnir_>
Date:   Wed, 05 Oct 2005 09:36:59 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE (ish): Fixing the mass migrate postgres upgrade to be silent in quiz. Added a fix to a previous rename table that breaks pg_dump & pg_restore (incorrectly named sequence)

commit 5560ed98c8051b48af51e9940d2363fc7a5e3724
Author: mjollnir_ <mjollnir_>
Date:   Wed, 05 Oct 2005 04:25:31 +0800
Tag:    v1.6.0

Various fixes to stats after our attempts to run it on a large real dataset

commit f156a4699b3a92a26c03e494b03a1cac27968359
Author: mjollnir_ <mjollnir_>
Date:   Tue, 04 Oct 2005 06:12:46 +0800
Tag:    v1.6.0

Committing missing stats string

commit 243a4e75b802f0b4b68865f062d0b69f191c17a4
Author: mjollnir_ <mjollnir_>
Date:   Fri, 30 Sep 2005 08:39:58 +0800
Tag:    v1.6.0

New 404 handler for a custompix fallback

commit 2b287cacbabc4eda1eadceb2009caf0799f5c265
Author: mjollnir_ <mjollnir_>
Date:   Fri, 30 Sep 2005 07:40:14 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE : Much better namespace collision fix to apacheloguser thing

commit 72194b0aa3c4c92d813b951bfe163ec877f65658
Author: mjollnir_ <mjollnir_>
Date:   Fri, 30 Sep 2005 05:54:03 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing up the log apache user patch from the otherday - problem with variable scope

commit bc83fd0c4aaaea37b1d30e313dd13a853c3eb6c6
Author: mjollnir_ <mjollnir_>
Date:   Thu, 29 Sep 2005 08:33:12 +0800
Tag:    v1.6.0

Adding defaults for new config options. Fixes bug 4107

commit 140c139e56d1963555a3a26deb58a44dd336a705
Author: mjollnir_ <mjollnir_>
Date:   Wed, 28 Sep 2005 14:07:40 +0800
Tag:    v1.6.0

Various stats fixes - including putting the link to stats in admin block - which somebody had accidently (I presume) backed out during a conflict

commit 3bb2ac066843a18838a63873418ccacb31f9d51c
Author: mjollnir_ <mjollnir_>
Date:   Wed, 28 Sep 2005 10:58:05 +0800
Tag:    v1.6.0

Backing out broken last patch - bug 4119

commit 9c5b82dd34f57486f0f66bceee83983e8c389512
Author: mjollnir_ <mjollnir_>
Date:   Wed, 28 Sep 2005 10:36:44 +0800
Tag:    v1.6.0

Fixing various small silly things in stats - runtime stuff and a couple PHP notices

commit aff2511993cc1370d8c3f6904c3ad599c9728a12
Author: mjollnir_ <mjollnir_>
Date:   Wed, 28 Sep 2005 05:09:10 +0800
Tag:    v1.6.0

Don't clear out old daily logs unless the run was complete.

commit 96e19e7b675b67da3fd985f21ac8d383ffa52eb4
Author: mjollnir_ <mjollnir_>
Date:   Tue, 27 Sep 2005 13:25:23 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Logging apache user now takes into account loginas

commit 47c8939975a36f9d4bb7d4bb1cdaea0f68b649ae
Author: mjollnir_ <mjollnir_>
Date:   Wed, 14 Sep 2005 06:51:49 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Login block should be more discerning about offering signup link. Fixed to be more in line with the login page

commit 9284a728b7289d9b952d74631061d1933f6a5043
Author: mjollnir_ <mjollnir_>
Date:   Fri, 09 Sep 2005 07:04:23 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Much more sophisticated IP address cleansing

commit 212f79a5e9066b54b767cd6861aa2808ac5e4ac7
Author: mjollnir_ <mjollnir_>
Date:   Fri, 09 Sep 2005 05:30:42 +0800
Tag:    v1.6.0

Fix to bug 4026 and 3913. Credit: jjg7 at humboldt dot edu

commit a9b3afb7b15115d645e8bbee8f755bea60df1845
Author: mjollnir_ <mjollnir_>
Date:   Thu, 08 Sep 2005 06:00:55 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Performance fix: in postgres, sometimes indexes are not used because of type casting. block_instance.pageid is a big int field so the index wasn't being used. Wrapping in '' prevents the typecast. See http://www.postgresql.org/docs/7.4/interactive/datatype.html#DATATYPE-INT for more information

commit 95d71ad3a3ffecbc675c2207f16e8b2bea48ae93
Author: mjollnir_ <mjollnir_>
Date:   Wed, 07 Sep 2005 13:43:27 +0800
Tag:    v1.6.0

Fixed a warning for empty array in forum print_overview for my moodle

commit 7686b6b1d0868d782cc617cba09af125428fbfee
Author: mjollnir_ <mjollnir_>
Date:   Wed, 07 Sep 2005 12:43:47 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE (ish): better fix to messaging problem query

commit 3bff4935eb591c135c555320a96a24bf4f692c84
Author: mjollnir_ <mjollnir_>
Date:   Wed, 07 Sep 2005 05:34:02 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Further tidyup to the cleanremoteaddr function I added - some thing were getting through

commit 1807d0a953cd99a0ff14a36383a9ada3fffcac26
Author: mjollnir_ <mjollnir_>
Date:   Wed, 07 Sep 2005 05:23:38 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Backing out a previous patch of mine - bad merge with our local copy

commit 29dc9751e385cee58f9fe24d1844f4830578d01e
Author: mjollnir_ <mjollnir_>
Date:   Tue, 06 Sep 2005 09:34:48 +0800
Tag:    v1.6.0

Friendlier forum information in overview in my moodle

commit 51332190b9d8fb3c3307aae3cd0b71d5881fa7e0
Author: mjollnir_ <mjollnir_>
Date:   Mon, 05 Sep 2005 13:33:02 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Performance fix for get_directory_size: new config option for path to du - if we have it, use that instead. MUCH faster on directories with a lot of files

commit f871698811303a6fa13208b4264971ca5cdbfc0e
Author: mjollnir_ <mjollnir_>
Date:   Mon, 05 Sep 2005 09:31:08 +0800
Tag:    v1.6.0

Reworked my moodle overview api to be more efficient. Note that this changes how mod_print_overview is called

commit c9169822b2379338d43970a2ef8e947ac8f8ffa2
Author: mjollnir_ <mjollnir_>
Date:   Mon, 05 Sep 2005 06:37:46 +0800
Tag:    v1.6.0

In course overview in my moodle page, dim hidden courses

commit 3509dd97f0af3e1d7b5c9b7444f1d1968fec03e7
Author: mjollnir_ <mjollnir_>
Date:   Mon, 05 Sep 2005 05:07:36 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing up a bug in the log selector to do with optionally showing all users in the dropdown when over COURSE_MAX_USERS_PER_DROPDOWN

commit d7aba64b5ac191bbb37eb1cfba7e8e535cc51428
Author: mjollnir_ <mjollnir_>
Date:   Mon, 05 Sep 2005 04:57:43 +0800
Tag:    v1.6.0

Trying to prevent user table allowing ordering by non-existant fields (I added for bulk IM)

commit c69dbe691e827d8996c8d3dcd72b6edd64b80ecd
Author: mjollnir_ <mjollnir_>
Date:   Fri, 02 Sep 2005 13:00:59 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: (ish, version numbers different): Add an index where we really need it - block_instance.pagetype

commit 861efb1937be51e559d4360f785780bb61da6ecb
Author: mjollnir_ <mjollnir_>
Date:   Thu, 01 Sep 2005 12:48:22 +0800
Tag:    v1.6.0

Allow moving courses and editing courses and stuff from the course results search page (now has turn editing on button)

commit f2f3893c3ba8af435b6d4eaf8b6a9298be81e001
Author: mjollnir_ <mjollnir_>
Date:   Thu, 01 Sep 2005 12:26:59 +0800
Tag:    v1.6.0

[STATS] Merging forgotten patch

commit f3221af9e51e51f536c081a15ec0509284684341
Author: mjollnir_ <mjollnir_>
Date:   Thu, 01 Sep 2005 12:14:31 +0800
Tag:    v1.6.0

Initial checkin of stats (from processing the log table). I will write up some information about it for the developers wiki.

commit 3ec22e352cd5b7c3958d322976a6231a89b0a783
Author: mjollnir_ <mjollnir_>
Date:   Thu, 01 Sep 2005 08:28:45 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: merging check_db_compat function for backwards compatability (just in case)

commit 9ea9d69744c74b6557f53246b2cfdd3fbc122da4
Author: mjollnir_ <mjollnir_>
Date:   Thu, 01 Sep 2005 07:58:42 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing bug 3977: properly for HEAD since we're dropping mysql 3 support for 1.6. No need for db compatability checks here.

commit 02839110785571cc806294c7eabfc54b4b7844c2
Author: mjollnir_ <mjollnir_>
Date:   Wed, 31 Aug 2005 14:13:26 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Preventing another warning.  In some cases in the  calendar blocks, resource filtering gets called with no courseid

commit 5838e5b21ff2b2ed4acfc563aed9bca2f308be11
Author: mjollnir_ <mjollnir_>
Date:   Wed, 31 Aug 2005 13:24:31 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Avoid a warning when displaying multichoice quiz questions

commit d89d870bf5e9bd0d91f7e28b3ba4a96af04ed932
Author: mjollnir_ <mjollnir_>
Date:   Wed, 31 Aug 2005 10:30:20 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABE: prevent stuff being sent to the browser before config.php being included

commit 62e4c0959bf03c2e97cbb5bd61c1edb668a00859
Author: mjollnir_ <mjollnir_>
Date:   Mon, 29 Aug 2005 10:34:17 +0800
Tag:    v1.6.0

New config setting for /my redirect and breadcrumb replacement rather than always doing it

commit d23d0398fe3b889064d12941a18bf844497fd46d
Author: mjollnir_ <mjollnir_>
Date:   Fri, 26 Aug 2005 13:29:34 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Escape strings for database. SC # 145

commit 300dfca61082edc7ff56ac3bac30706c4ce0a33a
Author: mjollnir_ <mjollnir_>
Date:   Fri, 26 Aug 2005 12:53:39 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing typo in call to get_record that was causing a lot of noise in the db error log

commit 3bcb678ea258c78d4f69a526d8f1b3ff63fedef9
Author: mjollnir_ <mjollnir_>
Date:   Fri, 26 Aug 2005 12:41:48 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Backticks are not postgres friendly! sad

commit 5b66416fe97b85f15fe4380099647db38c4648f9
Author: mjollnir_ <mjollnir_>
Date:   Thu, 25 Aug 2005 08:03:14 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing another postgres problem. With distinct, you can't order by a field not in the select field list

commit d5efb299de16af9f4dc5192289a01517fa923768
Author: mjollnir_ <mjollnir_>
Date:   Thu, 25 Aug 2005 07:48:12 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing typo in postgres-fixing patch from a couple days ago

commit d86ab8c6729551ad3134dc8515966e09c8c3834e
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Aug 2005 14:46:50 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Backticks are NOT ALLOWED in postgres!

commit 755c8d587027fb904862fcd639dd57ce86a714d4
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Aug 2005 13:43:02 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing metacourses to work in mysql 3.23 series. At same time, set enrolment type to 'metacourse' so as not to break some external enrolment (eg ldap) plugins

commit 4374ee2ca98be9c67775a324e1cf1079616c0364
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Aug 2005 12:48:34 +0800
Tag:    v1.6.0

Fixing warnings in my moodle/ blocks /pagelib, plus moved page->edit_always to base class

commit 44f90f4e047e3b8768ea636a2f009fbe3c674c41
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Aug 2005 12:25:17 +0800
Tag:    v1.6.0

Fixing another warning in my moodle blocks

commit ee6055eb89e2ce19061a6fa173dd55d6cd7b3948
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Aug 2005 12:03:56 +0800
Tag:    v1.6.0

Fixing up the my moodle blocks to use blocks_setup instead of the old way.

commit 347d7d2760ba19f1ce3a28b0041d06f21501f332
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Aug 2005 12:03:25 +0800
Tag:    v1.6.0

Recent activity block shouldn't go into my moode

commit 90558ec4a592f7dbbce57bd115c319fafcc77f48
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Aug 2005 11:57:12 +0800
Tag:    v1.6.0

Fixing warning in my moodle course overview in forums

commit f19570d0ecdbceb8ca9362e77ef87c322d0e95eb
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Aug 2005 13:44:13 +0800
Tag:    v1.6.0

Initial checkin of new feature to select users from participants page for a recipient list for sending an IM to.  Please test.

commit d13dc4ac8cebc2a71eb6fde930511809add33b8f
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Aug 2005 09:44:47 +0800
Tag:    v1.6.0

merged from MOODLE_15_STABLE: Clean up IP addresses from getremoteaddr. Otherwise we sometimes get weird results from proxies and inserts into mdl_log and mdl_user fail

commit c1147b7efe269f681f5bdca0b7074439ef714c0c
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Aug 2005 07:17:05 +0800
Tag:    v1.6.0

merged from MOODLE_15_STABLE: Fixing a postgres error. You can't sort by a field that isn't in the select list when you have distinct

commit e7fa4c7f140baa51565bb016e88e80040bc074cf
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Aug 2005 06:36:55 +0800
Tag:    v1.6.0

Bumping blocks version for my moodle changes

commit 5d3715d4922980bb7b22f51ef5d759f36b1faef2
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Aug 2005 07:17:56 +0800
Tag:    v1.6.0

Removed tiny amount of unncessary code I added as part of the my moodle block stuff yesterday

commit f41ef63ee6cebfbc89ff63953d6f9cc3e01383a1
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Aug 2005 07:15:58 +0800
Tag:    v1.6.0

materialized path & depth for course categories.

commit 0705ff843bb5b359712e6ff0fa73c1b9e9508b01
Author: mjollnir_ <mjollnir_>
Date:   Tue, 16 Aug 2005 14:15:49 +0800
Tag:    v1.6.0

Course request feature. Allows normal users to 'request' courses they would like created, and admins can approve or reject pending courses.

commit 84c57908c88e607eb7d99e718a1f3fb93c368b84
Author: mjollnir_ <mjollnir_>
Date:   Tue, 16 Aug 2005 13:56:55 +0800
Tag:    v1.6.0

renaming block_student_loan_calc to block_loancalc

commit 3e920f36ff0d09e2f0b48747d97adde41f0e5ac2
Author: mjollnir_ <mjollnir_>
Date:   Tue, 16 Aug 2005 09:45:42 +0800
Tag:    v1.6.0

New block for student loan calculation.  Doesn't contain db tables.

commit 0d6b9d4f4db44dbd7c57af7ae55277aaffe60156
Author: mjollnir_ <mjollnir_>
Date:   Tue, 16 Aug 2005 08:25:39 +0800
Tag:    v1.6.0

MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in.

commit 43e664cca716007105b95d3bfc68f283f5d170a4
Author: mjollnir_ <mjollnir_>
Date:   Tue, 16 Aug 2005 06:31:22 +0800
Tag:    v1.6.0

Added locallib - hook to provide easier means for local customisations. Currently contains mechanism for having local db upgrades without munging the main CFG->dbtype.php scripts.

commit 5afa0de6770bc4f9c13e3c5eed238a2982a4c44f
Author: mjollnir_ <mjollnir_>
Date:   Thu, 11 Aug 2005 12:24:57 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: When fetching child courses for a metacourse, order by shortname (unless just counting)

commit a675ec9b409349164d6464e8159bb3cf42cfdb51
Author: mjollnir_ <mjollnir_>
Date:   Thu, 11 Aug 2005 11:38:31 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Changing the js timer in quiz to call the form by name rather than index. People who have forms in the headers (ie logout buttons) run into problems otherwise

commit 67bbc9b7de1f661e3e5d5dc6fe5ff048dc280dc9
Author: mjollnir_ <mjollnir_>
Date:   Wed, 03 Aug 2005 06:48:20 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Postgres doesn't happily convert NULL to 0 for int fields, so we set it manually. Credit: Patrick Li

commit 168d73d0bdbe112046078a5e6e2080d803c7a157
Author: mjollnir_ <mjollnir_>
Date:   Wed, 03 Aug 2005 06:40:19 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Adding a length limit to input field in line with db field size

commit 80d3523ed03a3ee2eb3031acfac68b5ba1479330
Author: mjollnir_ <mjollnir_>
Date:   Mon, 20 Jun 2005 12:32:29 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: fixing bug 3569: current workaround= one query for postgres, one for mysql. probably a better way to do it when someone has more time

commit f45ea97457c28fcca4ad9e09a40b2cf872541d38
Author: mjollnir_ <mjollnir_>
Date:   Mon, 20 Jun 2005 05:38:39 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing postgres upgrade to match postgres7.sql (bug 3547)

commit b71748a86c00d74d6e718b1fa0f0e04150a04ff9
Author: mjollnir_ <mjollnir_>
Date:   Mon, 20 Jun 2005 05:31:26 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing typo on index for rqp type (bug 3547)

commit 93d58b30f3749da9ebb33915ed147929ff1cf2d4
Author: mjollnir_ <mjollnir_>
Date:   Thu, 16 Jun 2005 11:12:10 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Another postgres fix -- this time forums were not being displayed

commit 10a760b9b2dd16a4184466ce1a5a9237e1975011
Author: mjollnir_ <mjollnir_>
Date:   Thu, 16 Jun 2005 10:58:24 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: html_entity_decode segfaults in php 4.3.1 on an empty variable... documented in bug 3508. credit: Eloy & Jose Luis Daz

commit d27920b9ad39b351917aeccf074aeda2b14a2889
Author: mjollnir_ <mjollnir_>
Date:   Thu, 16 Jun 2005 10:33:42 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE Fix for bug 3508 -- only do the clam log on backup/restore for restoring course/user/group files, not for temp backup data

commit adf19ef5b423aee9481831367fdbbbfd7d842809
Author: mjollnir_ <mjollnir_>
Date:   Thu, 16 Jun 2005 06:49:02 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing bug 3502 - 2 postgres problems - one in db creation (my fault) and one in '' instead of 0 for int in sql query

commit e67755a1b001a7b661381e0e0b077904937974c8
Author: mjollnir_ <mjollnir_>
Date:   Mon, 13 Jun 2005 08:17:16 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Email bounce handling: fixing md5 validation bug

commit 2019116ea97086d191ad613f09e0208524f4bcf0
Author: mjollnir_ <mjollnir_>
Date:   Tue, 31 May 2005 07:26:17 +0800
Tag:    v1.6.0

Merged from MOODLE_15_STABLE: Fixing up problem in generate_email_processing_address -- using sitesecret rather than siteidentifier

commit f010d3387507c4c4bb77645b73ff77019f0e4807
Author: mjollnir_ <mjollnir_>
Date:   Wed, 18 May 2005 05:51:29 +0800
Tag:    v1.6.0

Merged from MOODLE_14_STABLE. Merging in my last unmerged patch. Corrects a bad constraint name in postgres for quiz. Bumped quiz version

commit acd2279e54bab2ed86afdc42b42fea1e98dbed48
Author: mjollnir_ <mjollnir_>
Date:   Thu, 12 May 2005 07:34:46 +0800
Tag:    v1.6.0

Merged from MOODLE_14_STABLE: SQL errors are now (optionally -- defaults to off) logged to the apache error log. Helps debugging! Credit: Patrick Li <patrick@catalyst.net.nz>

commit 7088c65545f22fe7d352811c84190776d370b005
Author: mjollnir_ <mjollnir_>
Date:   Wed, 11 May 2005 10:05:59 +0800
Tag:    v1.6.0

Merged from MOODLE_14_STABLE: Default course id for htmlarea insert image to 0 rather than empty string to prevent invalid sql. Credit: Patrick Li

commit 124dabc799f9109e0cf77b953482d5195ed4b804
Author: mjollnir_ <mjollnir_>
Date:   Mon, 09 May 2005 05:28:37 +0800
Tag:    v1.6.0

Updating postgres.php to match mysql.php with max-min/2 rather than min+max/2

commit 9c05be5508fdf292bea081c7b34b265f52a826d5
Author: mjollnir_ <mjollnir_>
Date:   Sun, 08 May 2005 18:38:56 +0800
Tag:    v1.6.0

Change new to newest for quiz_newest_states (reserved word)

commit 2a8057e7ef1503a6715783a456e56007309ab894
Author: mjollnir_ <mjollnir_>
Date:   Sat, 07 May 2005 10:38:42 +0800
Tag:    v1.6.0

Porting quiz upgrade to postgres. Still one bug remains - see 3148

commit a35ee5201744de27848ffd3e782b5776f4e115f6
Author: mjollnir_ <mjollnir_>
Date:   Sat, 07 May 2005 10:36:45 +0800
Tag:    v1.6.0

Please don't put 1 into the where part of get_records_select, it causes postgres-invalid sql

commit 730e965b1748aa4f4504c1342a93095e18dbd5f0
Author: mjollnir_ <mjollnir_>
Date:   Sat, 07 May 2005 08:23:50 +0800
Tag:    v1.6.0

New postgres7.sql for quiz -- There is a bug in this to do with reserved words (see bug #3148) but committing anyway as is clean apart from this.

commit f3799277d79fcea9f9d571eaa23eaa2ac9909c66
Author: mjollnir_ <mjollnir_>
Date:   Wed, 20 Apr 2005 07:27:33 +0800
Tag:    v1.6.0

Another fix for choice for pg. We now install cleanly! Woohoo!

commit 31c0603dc8e97b5d1a8580ec91d363483cf22b2d
Author: mjollnir_ <mjollnir_>
Date:   Wed, 20 Apr 2005 07:22:46 +0800
Tag:    v1.6.0

Fixing choice for postgres (I assume responses was renamed to answers at some point)

commit a1c63c86a0e72ae2fbff377532a07f1ce9bf56f9
Author: mjollnir_ <mjollnir_>
Date:   Tue, 19 Apr 2005 09:34:37 +0800
Tag:    v1.6.0

Fixes for workshop upgrade in postgres

commit f82f45fab4dcdd9711e4f09eb198a4787793b693
Author: mjollnir_ <mjollnir_>
Date:   Tue, 19 Apr 2005 09:33:51 +0800
Tag:    v1.6.0

Fixes for scorm upgrade in postgres

commit ab5aeca11c0044e7ed119233bdf810448302a888
Author: mjollnir_ <mjollnir_>
Date:   Tue, 19 Apr 2005 08:42:24 +0800
Tag:    v1.6.0

Fixing timezone postgres upgrade. Please do not use backticks for postgres, they are invalid

commit 9058e785cb04d6b288d026a1b9b62cfa154315ea
Author: mjollnir_ <mjollnir_>
Date:   Tue, 19 Apr 2005 08:41:13 +0800
Tag:    v1.6.0

Small fixes to quiz for postgres compatibility

commit 2eab06687a6673c2723968c117b1e84e388ec0fa
Author: mjollnir_ <mjollnir_>
Date:   Thu, 07 Apr 2005 06:25:31 +0800
Tag:    v1.6.0

Merged from MOODLE_14_STABLE: Fixing problem with set up of site course

commit 28a858cf02c680807a9e082e49c3520ea68f599a
Author: mjollnir_ <mjollnir_>
Date:   Thu, 07 Apr 2005 05:20:10 +0800
Tag:    v1.6.0

Syntax fix for postgres upgrade for choice (now upgrades cleanly). Postgres7.sql missing a table, I think. Bug #2848