Git commits in Moodle 1.4.x by mjollnir_

commit c32eee0b15f5a48db64a42ba333d73e97913dd60
Author: mjollnir_ <mjollnir_>
Date:   Wed, 20 Apr 2005 06:44:25 +0800
Tag:    v1.4.5

Backporting Howard's commit fixing bug #2963 for import/export dropdown from HEAD

commit 8d37ee0d67066ed0b2ab9df8798dc485f1ca2a29
Author: mjollnir_ <mjollnir_>
Date:   Wed, 20 Apr 2005 06:03:17 +0800
Tag:    v1.4.5

Backporting Howard's commit fixing bug #2963 where course dir missing from HEAD

commit 43dd005911142d447319786fe6bbdb80518cdcd1
Author: mjollnir_ <mjollnir_>
Date:   Thu, 07 Apr 2005 06:23:25 +0800
Tag:    v1.4.5

Fixing problem with set up of site course

commit b0debb89ce8990d993d42f64eabf66b2dbf1766e
Author: mjollnir_ <mjollnir_>
Date:   Mon, 04 Apr 2005 05:03:35 +0800
Tag:    v1.4.5

Fix for return id for insert_record - needs to be cast to an int

commit 4131f8923b7aae039c99bed0930fa3759157ea19
Author: mjollnir_ <mjollnir_>
Date:   Tue, 22 Mar 2005 13:36:07 +0800
Tag:    v1.4.5

Another fix for my old fix for a postgres constraint that was missing a prefix.  This time we don't create it with the silly name in the first place

commit 92ac9fe4f4f49d568cc1d539e95ce1f4fd89efc2
Author: mjollnir_ <mjollnir_>
Date:   Wed, 16 Mar 2005 06:57:15 +0800
Tag:    v1.4.5

Fix for bug 2742 - sequences out of sequences in postgres

commit a331476e418aaae5a6b9a7c1a4f47ffb6e48097e
Author: mjollnir_ <mjollnir_>
Date:   Wed, 09 Mar 2005 04:56:22 +0800
Tag:    v1.4.4

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

commit 930c08c352c7832aa973d9f70478772510771737
Author: mjollnir_ <mjollnir_>
Date:   Wed, 09 Mar 2005 04:46:23 +0800
Tag:    v1.4.4

Postgres fix in quiz (added AS)

commit 1f08492ac1fa96008956edd1a9a52c3c8c02a215
Author: mjollnir_ <mjollnir_>
Date:   Thu, 13 Jan 2005 11:56:07 +0800
Tag:    v1.4.4

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

commit 758a8e15c2fb16de933e8f8828e5cdba9b103eeb
Author: mjollnir_ <mjollnir_>
Date:   Tue, 11 Jan 2005 05:46:21 +0800
Tag:    v1.4.4

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

commit d20aa8e36ab841126bdfc95884889122e74ad350
Author: mjollnir_ <mjollnir_>
Date:   Thu, 23 Dec 2004 07:11:15 +0800
Tag:    v1.4.4

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

commit 7bd05dc10e05a314b292af81d7101498a4f73fae
Author: mjollnir_ <mjollnir_>
Date:   Wed, 22 Dec 2004 02:24:50 +0800
Tag:    v1.4.4

Fixing postgres bug on unique constraint

commit fa115ec5a2477a617bf30cd55a8c7c333b459e85
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Dec 2004 13:38:32 +0800
Tag:    v1.4.4

Updating release notes ready for 1.4.3

commit 44b052de61ebd6aad8329a71e5bb3dfabc0f53ad
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Dec 2004 11:03:35 +0800
Tag:    v1.4.4

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

commit 30060fe8927e7695acbef666ef82a1efcf117e37
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Dec 2004 10:51:46 +0800
Tag:    v1.4.4

Postgres fix for exercise: get_submit_logs - amazing what you see with debug=on ;)

commit 9a4a7d0040c99358a33118f8f091734112b7385c
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Dec 2004 09:42:31 +0800
Tag:    v1.4.4

Committing skodak's fixes for sc#40 and #42

commit 13f26d69a78fa41b98b3e57862254db27f32f240
Author: mjollnir_ <mjollnir_>
Date:   Fri, 17 Dec 2004 05:32:14 +0800
Tag:    v1.4.3

Merged Jon's fixes from HEAD for change password in debug mode.  Changes in user/edit.html not present in stable so not patched

commit 7e334604bee62f84c138a69729dab549829d010f
Author: mjollnir_ <mjollnir_>
Date:   Mon, 13 Dec 2004 04:43:05 +0800
Tag:    v1.4.3

Added addslashes back in to username field after splitting it out for lowercasing

commit 5aeaa64aee6eca6f86914bdaae3f0bafc9dfeb55
Author: mjollnir_ <mjollnir_>
Date:   Fri, 10 Dec 2004 12:15:37 +0800
Tag:    v1.4.3

Upload users should lowercase username field just as user/edit.php does

commit 9430b5a322a6c9879b52fbe014e5d2a4fd5a7ce3
Author: mjollnir_ <mjollnir_>
Date:   Fri, 26 Nov 2004 05:56:05 +0800
Tag:    v1.4.3

In get logs don't join on the user table for just counting the records

commit 8b34bee9c66f5955f1341eb9f0c263d68a7966fe
Author: mjollnir_ <mjollnir_>
Date:   Thu, 25 Nov 2004 07:50:43 +0800
Tag:    v1.4.3

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 a961a2b8514bbffe66d3d1def04b541af2b86da7
Author: mjollnir_ <mjollnir_>
Date:   Thu, 25 Nov 2004 07:23:09 +0800
Tag:    v1.4.3

Fix for postgres-invalid-sql (must have AS between field and alias)

commit b9ebeecd114f91c6d9f733a87cb50f949be86d6c
Author: mjollnir_ <mjollnir_>
Date:   Thu, 25 Nov 2004 05:21:59 +0800
Tag:    v1.4.3

Removing duplicate index for workshop_grades assessmentid

commit a925263bd3a92ce943f2c13a8b84a8d01a0820ac
Author: mjollnir_ <mjollnir_>
Date:   Thu, 25 Nov 2004 02:58:15 +0800
Tag:    v1.4.3

Fixing typo in mysql.sql for unique key for user_teachers on course userid

commit 1a0c7e470b768d026016021354cb6d31105ec165
Author: mjollnir_ <mjollnir_>
Date:   Wed, 24 Nov 2004 07:34:14 +0800
Tag:    v1.4.3

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

commit b442f81966ddd71861b836ba15586d37a19d33ac
Author: mjollnir_ <mjollnir_>
Date:   Wed, 24 Nov 2004 07:26:49 +0800
Tag:    v1.4.3

Fix for invalid sql in postgres - don't query log table for what was in log display if log->info is not set

commit e74d8b7fbcc329c68b77ab7fedb8284bd40220cf
Author: mjollnir_ <mjollnir_>
Date:   Wed, 24 Nov 2004 07:15:28 +0800
Tag:    v1.4.3

Requires bump for glossary for last patch - needs db_lowercase and db_uppercase

commit 3a4b2855490173d3c53f0038389331dcc806ad5c
Author: mjollnir_ <mjollnir_>
Date:   Wed, 24 Nov 2004 07:12:45 +0800
Tag:    v1.4.3

Bug fix for forum rating redirects - manifested itself in invalid sql in postgres

commit c12ab13b7f29b3cf210d53034e450a24a3f58ed4
Author: mjollnir_ <mjollnir_>
Date:   Wed, 24 Nov 2004 06:58:35 +0800
Tag:    v1.4.3

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

commit c110bf9c4a7598f010c45e14bf835c4cfece6cd3
Author: mjollnir_ <mjollnir_>
Date:   Wed, 24 Nov 2004 06:40:27 +0800
Tag:    v1.4.3

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 0df93edd14f094118a8360e97733e7a846c348d1
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 12:59:16 +0800
Tag:    v1.4.3

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 61d5adce1e7861790ad1b77b97d40cbcc5f244dc
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 12:31:47 +0800
Tag:    v1.4.3

Backported Martin D's patch to get rid of adodb debug if feedback off in execute_sql to help with trying to fix up the bad constraint in quiz module for postgres

commit 7435a34081463043e9b78eb59c3ece6e70ea94dd
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 11:52:51 +0800
Tag:    v1.4.3

Update log_display to use postgres friendly concat functions for firstname lastname (holding off version bump for a day or two for more db changes)

commit 0e2d8f7d990af514a427aa33ba4d83edf6501ade
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 10:49:22 +0800
Tag:    v1.4.3

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

commit 68d69eb0965dec271316d2cab2a8a28110a542bb
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 09:58:55 +0800
Tag:    v1.4.3

More small sql tweaks to avoid invalid postgres sql

commit 4eebe5eb59eb9b2c14326a17d620cfb333e5eb71
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 09:04:45 +0800
Tag:    v1.4.3

Fix for invalid sql (for postgres) in cron cleanup of duplicate enrolments. Possibly soon to be overridden by a unique index

commit 1cc1fdcd6fb8da5635375b3669be8e2bc22a9387
Author: mjollnir_ <mjollnir_>
Date:   Tue, 23 Nov 2004 05:29:41 +0800
Tag:    v1.4.3

Fix for bug #2207 - sortorder now honored in front page listing

commit a80a5921cacdc2ba49b07b7f30aba1354a7791c8
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 13:45:58 +0800
Tag:    v1.4.3

Don't need to select course.* in rebuild course cache

commit fdbadd57ebb0597cd89aab26bee820294d341a29
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 13:40:45 +0800
Tag:    v1.4.3

Changes to calls to get_courses to not get all fields

commit f8731332d52455779550b78abffcb006cfa7f66e
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 13:18:54 +0800
Tag:    v1.4.3

Commented out calls for functions that aren't necessary in scale popup display

commit 7e8c56795a01c7e9708b6e8206088bfd32511eae
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 13:16:31 +0800
Tag:    v1.4.3

No need to sort the courses when counting the number of courses using a scale

commit 9e903136b6150a80cd1e9c3dc62dab869982079d
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 13:12:10 +0800
Tag:    v1.4.3

Optimisation for scales page - cache array of courses for site_scale_used -- Fixed

commit 3644b6dca1aa84dc72d630057b8123b3a16e7dcc
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 13:05:30 +0800
Tag:    v1.4.3

Optimisation for scales page - cache array of courses for site_scale_used

commit 61f779597d2db5f2c5f073d992c71622d05f8a4a
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 12:44:14 +0800
Tag:    v1.4.3

Another fix for getting all fields for all courses - in blocks_get_courses_using_block_by_id

commit d13e627af5c0e858855647015aeb00104e6f3377
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 12:24:05 +0800
Tag:    v1.4.3

Fixes in datalib and backuplib for postgres invalid sql

commit 1e47ecd5d9fd7a00590d7f824ff5d63a8eea3b44
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 12:10:05 +0800
Tag:    v1.4.3

modify_database function change - if no ; in single line sql strings, add it

commit ea77aa0617c0251541884dea37bc1cd890da5c19
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 11:34:49 +0800
Tag:    v1.4.3

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

commit d44af20f3729f0e0cea0545e91ccb487b3a79748
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 11:15:31 +0800
Tag:    v1.4.3

Fix for calendar set filters to not query the database for groups of a course if it doesn't use groups

commit 461a4afe83fb56a41249de463ca9024c9c9f394d
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 06:30:22 +0800
Tag:    v1.4.3

Bugfix for search courses in postgres

commit 9958e237c3804905a944c292bacb23c2553926d4
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 05:39:56 +0800
Tag:    v1.4.3

Indexes for workshop and version bump (honoring partial freeze)

commit c26fdb80fb471269660a02d2db0675037b8f4713
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 05:07:54 +0800
Tag:    v1.4.3

Indexes for wiki and version bump (honoring partial freeze)

commit a1c0899be1b090790d092e4fb6b7b1135fae9170
Author: mjollnir_ <mjollnir_>
Date:   Mon, 22 Nov 2004 04:37:31 +0800
Tag:    v1.4.3

Indexes for survey and version bump (honoring partial freeze)

commit 609cba70d2bf5712ebcb2483484d9dee61418670
Author: mjollnir_ <mjollnir_>
Date:   Sat, 20 Nov 2004 18:36:58 +0800
Tag:    v1.4.3

Fixing bug # 2199 - missing some teacher roles in course/category.php

commit 37ac5dfdb127fb52c1f866d04464f1c508d5c953
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 13:21:06 +0800
Tag:    v1.4.3

Indexes for scorm and version bump (honoring partial freeze)

commit a4f2ce69464b7fc689b977a4a273dcda4db690f8
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 12:52:34 +0800
Tag:    v1.4.3

Indexes for resource and version bump (honoring partial freeze)

commit 6ddc682c3c21cdd07596dc27d1398f05ad5bee87
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 11:23:58 +0800
Tag:    v1.4.3

Indexes for quiz and version bump (honoring partial freeze)

commit 0d3a8fa2805ac730eb041330e2d11da6139f42cd
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 11:00:17 +0800
Tag:    v1.4.3

Indexes for lesson and version bump (honoring partial freeze)

commit 96522de058105ee5906824dbea67ce6bd5da59d8
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 10:12:58 +0800
Tag:    v1.4.3

Indexes for label and version bump (honoring partial freeze)

commit 51cf993598887b6c8b7369e55ea84dafe53f352d
Author: mjollnir_ <mjollnir_>
Date:   Fri, 19 Nov 2004 06:40:29 +0800
Tag:    v1.4.3

Indexes for journal and version bump (honoring partial freeze)

commit 8fcb9ebb39ed791b6901fdca168a6c914f6653a1
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 12:38:16 +0800
Tag:    v1.4.3

Indexes for glossary and version bump

commit e8f491f24917fe3ec4b6b7a906654cdbd284643c
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 12:10:19 +0800
Tag:    v1.4.3

Indexes on forum and version bump

commit ee99d4dd14572c87bd5517630fb8748578800331
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 09:54:56 +0800
Tag:    v1.4.3

Indexes for exercise and version bump

commit a12772c2926191d684670d7fa77cfc95302511fc
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 09:33:17 +0800
Tag:    v1.4.3

Indexes and version bump for dialogue

commit b53f6cbec484c057b08e671ed553515123798632
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 07:03:46 +0800
Tag:    v1.4.3

Indexes and version bump for choice

commit 7bf8395be7b670390f9e8a083b8fc21914fc1030
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 06:53:07 +0800
Tag:    v1.4.3

Indexes for chat and version bump

commit eca64410fa31fa55fcd0b6408f636912a3add9af
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 06:11:28 +0800
Tag:    v1.4.3

Indexes and version bump for attendance

commit f3f9ab2a5eb7fc5bac6913f903fe642f8985e611
Author: mjollnir_ <mjollnir_>
Date:   Thu, 18 Nov 2004 05:49:12 +0800
Tag:    v1.4.3

Indexes and version bump for assignment

commit 602c1506e4755624ceb621d0fede56ecb265d044
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 15:48:45 +0800
Tag:    v1.4.3

Version bump for new indexes

commit 3ebf865805d7c69b95df470599acbf2b7b4be435
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 15:42:36 +0800
Tag:    v1.4.3

Add a unique key to guarantee that course,sortorder is unique. Allows fix_course_sortorder and ordering operations to be much faster. (martinlanghoff)

commit bd2c2596c2c205a915510cbbfec2a9d977dde158
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 15:06:18 +0800
Tag:    v1.4.3

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

commit 0ee95ca7c3665138ebf060557135206c7875e638
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 14:56:46 +0800
Tag:    v1.4.3

Fixes to fix_course_sortorder() and course/category.php pages. (martinlanghoff)

commit ad16b64f1afc6de86d69c610b3120ec46a02ec48
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 13:28:24 +0800
Tag:    v1.4.3

moodle--eduforge--1.3.3--patch-207(partial) + moodle--eduforge--1.3.3--patch-408  - added begin_sql() and commit_sql() (martinlanghoff)

commit dcb043ddd32c6f6b746683e34517deb3207c7b9e
Author: mjollnir_ <mjollnir_>
Date:   Wed, 17 Nov 2004 13:03:51 +0800
Tag:    v1.4.3

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