integration.git
19 years agoMerged from MOODLE_15_STABLE: Fix for Secunia Advisory SA18267 and test file cleanup MOODLE_14_STABLE
martinlanghoff [Tue, 3 Jan 2006 21:04:16 +0000 (21:04 +0000)]
Merged from MOODLE_15_STABLE: Fix for Secunia Advisory SA18267 and test file cleanup

19 years agoAdoDB tests cleanup after Secunia Advisory SA18267 and test file cleanup
martinlanghoff [Tue, 3 Jan 2006 21:03:28 +0000 (21:03 +0000)]
AdoDB tests cleanup after Secunia Advisory SA18267 and test file cleanup

19 years agoSome RSS readers seems to have problems with that wrong p tag.
stronk7 [Wed, 7 Sep 2005 17:09:20 +0000 (17:09 +0000)]
Some RSS readers seems to have problems with that wrong p tag.

Merged from MOODLE_15_STABLE

19 years agoWrong syntax fixed. Bug 4014.
stronk7 [Mon, 5 Sep 2005 16:17:52 +0000 (16:17 +0000)]
Wrong syntax fixed. Bug 4014.

Curiosly, the bug is in 1.4 and HEAD, but no in 1.5... Uhmmm,
be careful with those merges... ;-)

(http://moodle.org/bugs/bug.php?op=show&bugid=4014)

19 years agoFix for bug 3958 and google overactivity
moodler [Tue, 30 Aug 2005 09:30:44 +0000 (09:30 +0000)]
Fix for bug 3958 and google overactivity

19 years agoFixed a serious bug in table_column() that modified column not having NOT NULL for...
patrickslee [Thu, 11 Aug 2005 23:53:28 +0000 (23:53 +0000)]
Fixed a serious bug in table_column() that modified column not having NOT NULL for postgres (merged from 15_STABLE)

19 years agoDuplicate process in postgres upgrade file
patrickslee [Thu, 28 Jul 2005 04:03:18 +0000 (04:03 +0000)]
Duplicate process in postgres upgrade file

19 years agoSorry, typo on last revision
patrickslee [Wed, 27 Jul 2005 22:30:58 +0000 (22:30 +0000)]
Sorry, typo on last revision

19 years agoWe have extremely crappy support for postgres7 in those modules in 14_STABLE, someone...
patrickslee [Wed, 27 Jul 2005 22:16:43 +0000 (22:16 +0000)]
We have extremely crappy support for postgres7 in those modules in 14_STABLE, someone forgot to backport from HEAD?

20 years agoFixed a problem that courses cannot be move to another category when there are quotes...
patrickslee [Mon, 18 Jul 2005 21:51:32 +0000 (21:51 +0000)]
Fixed a problem that courses cannot be move to another category when there are quotes in some text fields.

20 years agoFixed a bug in course structure display
bobopinna [Fri, 15 Jul 2005 07:15:42 +0000 (07:15 +0000)]
Fixed a bug in course structure display

20 years agoRemoved manifest validation
bobopinna [Wed, 29 Jun 2005 07:00:16 +0000 (07:00 +0000)]
Removed manifest validation

20 years agoBetter DB errors debug traces from Patrick Li
martinlanghoff [Thu, 19 May 2005 21:55:16 +0000 (21:55 +0000)]
Better DB errors debug traces from Patrick Li

20 years agoOld file I forgot to commit, sorry Gustav. Should fix Bug 3293
stronk7 [Thu, 19 May 2005 17:04:01 +0000 (17:04 +0000)]
Old file I forgot to commit, sorry Gustav. Should fix Bug 3293
(http://moodle.org/bugs/bug.php?op=show&bugid=3293)

20 years agoAvoid some notice under PHP5
stronk7 [Thu, 19 May 2005 16:57:26 +0000 (16:57 +0000)]
Avoid some notice under PHP5

20 years agoPrevent multiple execution of restore. Bug 3291
stronk7 [Wed, 18 May 2005 18:05:24 +0000 (18:05 +0000)]
Prevent multiple execution of restore. Bug 3291
(http://moodle.org/bugs/bug.php?op=show&bugid=3291)

20 years agoMerging fix for bug 2635 from HEAD.
defacer [Tue, 17 May 2005 15:31:37 +0000 (15:31 +0000)]
Merging fix for bug 2635 from HEAD.

20 years agoFix for wrong behaviour under PHP5 where units were wrongly
stronk7 [Sat, 14 May 2005 18:18:58 +0000 (18:18 +0000)]
Fix for wrong behaviour under PHP5 where units were wrongly
populated (because we were working against the same $tmpunit
always).

(plus a bit of change in coding style...)

Credits go to Julian Sedding!

20 years agoFixed missing brace that breaks authentication
moodler [Sat, 14 May 2005 03:08:42 +0000 (03:08 +0000)]
Fixed missing brace that breaks authentication

20 years agoFixes 'Erroneous redirection to course enrolment page' bug #3224 - patch by Patrick Li
martinlanghoff [Fri, 13 May 2005 05:08:41 +0000 (05:08 +0000)]
Fixes 'Erroneous redirection to course enrolment page' bug #3224 - patch by Patrick Li

20 years agoSQL errors are now (optionally -- defaults to off) logged to the apache error log...
mjollnir_ [Wed, 11 May 2005 23:34:23 +0000 (23:34 +0000)]
SQL errors are now (optionally -- defaults to off) logged to the apache error log. Helps debugging! Credit: Patrick Li <patrick@catalyst.net.nz>

20 years agoAdded recent release notes (in English) to release notes in DE, IT, JA, JA-UTF8 and...
martinlanghoff [Wed, 11 May 2005 07:18:51 +0000 (07:18 +0000)]
Added recent release notes (in English) to release notes in DE, IT, JA, JA-UTF8 and PT_BR

20 years agoMerged NL release notes from HEAD into STABLE
martinlanghoff [Wed, 11 May 2005 07:05:14 +0000 (07:05 +0000)]
Merged NL release notes from HEAD into STABLE

20 years agoMerged FR release notes from HEAD -r1.48 -r 1.54 into STABLE
martinlanghoff [Wed, 11 May 2005 06:58:31 +0000 (06:58 +0000)]
Merged FR release notes from HEAD -r1.48 -r 1.54 into STABLE

20 years agoRemoved old SV release notes.
martinlanghoff [Wed, 11 May 2005 06:34:31 +0000 (06:34 +0000)]
Removed old SV release notes.

20 years agoRemoved old SQ release notes.
martinlanghoff [Wed, 11 May 2005 06:33:50 +0000 (06:33 +0000)]
Removed old SQ release notes.

20 years agoRemoved old PL release notes.
martinlanghoff [Wed, 11 May 2005 06:32:48 +0000 (06:32 +0000)]
Removed old PL release notes.

20 years agoRemoved old BE release notes.
martinlanghoff [Wed, 11 May 2005 06:30:55 +0000 (06:30 +0000)]
Removed old BE release notes.

20 years agoDefault course id for htmlarea insert image to 0 rather than empty string to prevent...
mjollnir_ [Wed, 11 May 2005 02:05:38 +0000 (02:05 +0000)]
Default course id for htmlarea insert image to 0 rather than empty string to prevent invalid sql. Credit: Patrick Li

20 years agoFixed report counter according to HEAD view.php 1.26 (Credit: Patrick Li)
mjollnir_ [Tue, 10 May 2005 23:45:58 +0000 (23:45 +0000)]
Fixed report counter according to HEAD view.php 1.26 (Credit: Patrick Li)

20 years agoSQL fixes in GROUP BY clause in SCORM module -- merged patch from Patrick Li
martinlanghoff [Tue, 10 May 2005 00:28:46 +0000 (00:28 +0000)]
SQL fixes in GROUP BY clause in SCORM module -- merged patch from Patrick Li

20 years agokses lib updated to 0.2.2. See bug 2702.
stronk7 [Mon, 9 May 2005 15:39:22 +0000 (15:39 +0000)]
kses lib updated to 0.2.2. See bug 2702.
(http://moodle.org/bugs/bug.php?op=show&bugid=2702)

20 years agoMoving on
moodler [Sun, 8 May 2005 02:28:59 +0000 (02:28 +0000)]
Moving on

20 years agoReleasing 1.5 very shortly v1.4.5
moodler [Sat, 7 May 2005 13:33:36 +0000 (13:33 +0000)]
Releasing 1.5 very shortly

20 years agoUpdated to 1.4.5 (links to bus processed too)
stronk7 [Sat, 7 May 2005 09:58:51 +0000 (09:58 +0000)]
Updated to 1.4.5 (links to bus processed too)

20 years agoAdded note about prefetching
moodler [Sat, 7 May 2005 08:19:47 +0000 (08:19 +0000)]
Added note about prefetching

20 years agoGoogle suggest 404 rather than 403
moodler [Sat, 7 May 2005 08:17:54 +0000 (08:17 +0000)]
Google suggest 404 rather than 403

20 years agoTo help some 1.5 scripts around the place
moodler [Sat, 7 May 2005 05:41:29 +0000 (05:41 +0000)]
To help some 1.5 scripts around the place

20 years agoBlock link prefetching from Mozilla and Google Web Accelerator.
martinlanghoff [Sat, 7 May 2005 03:02:59 +0000 (03:02 +0000)]
Block link prefetching from Mozilla and Google Web Accelerator.

20 years agoFixed calls to set_user_sesskey().
martinlanghoff [Sat, 7 May 2005 01:30:05 +0000 (01:30 +0000)]
Fixed calls to set_user_sesskey().

20 years agoRelease notes now link bug numbers to bugtracker.
martinlanghoff [Sat, 7 May 2005 00:32:40 +0000 (00:32 +0000)]
Release notes now link bug numbers to bugtracker.

20 years agoUpdated release notes for 1.4.5
martinlanghoff [Sat, 7 May 2005 00:08:14 +0000 (00:08 +0000)]
Updated release notes for 1.4.5

20 years agoMerging fix for SC113 from HEAD
moodler [Fri, 6 May 2005 03:12:47 +0000 (03:12 +0000)]
Merging fix for SC113 from HEAD

20 years agoAdding charset. Hopefully fixing some language problems.
julmis [Sun, 24 Apr 2005 21:58:37 +0000 (21:58 +0000)]
Adding charset. Hopefully fixing some language problems.

20 years agoBogus file!
moodler [Wed, 20 Apr 2005 03:02:30 +0000 (03:02 +0000)]
Bogus file!

20 years agoBackporting Howard's commit fixing bug #2963 for import/export dropdown from HEAD
mjollnir_ [Tue, 19 Apr 2005 22:44:25 +0000 (22:44 +0000)]
Backporting Howard's commit fixing bug #2963 for import/export dropdown from HEAD

20 years agoBackporting Howard's commit fixing bug #2963 where course dir missing from HEAD
mjollnir_ [Tue, 19 Apr 2005 22:03:17 +0000 (22:03 +0000)]
Backporting Howard's commit fixing bug #2963 where course dir missing from HEAD

20 years agoFix for bug 2945.
defacer [Tue, 19 Apr 2005 21:54:28 +0000 (21:54 +0000)]
Fix for bug 2945.

20 years agoNew strings for MOODLE_14_STABLE
ethem [Fri, 15 Apr 2005 08:31:24 +0000 (08:31 +0000)]
New strings for MOODLE_14_STABLE

20 years agofixing NCR notation
ethem [Fri, 15 Apr 2005 08:23:32 +0000 (08:23 +0000)]
fixing NCR notation

20 years agonew strings
ethem [Fri, 15 Apr 2005 08:07:34 +0000 (08:07 +0000)]
new strings

20 years agoBug 2918. Change proposed by t.imoto.
stronk7 [Thu, 14 Apr 2005 23:13:13 +0000 (23:13 +0000)]
Bug 2918. Change proposed by t.imoto.
(http://moodle.org/bugs/bug.php?op=show&bugid=2918)

20 years agoLeft out a line somehow!
moodler [Wed, 13 Apr 2005 09:18:57 +0000 (09:18 +0000)]
Left out a line somehow!

20 years agoContinuing last fix, allow students not in a group to post into a
moodler [Wed, 13 Apr 2005 09:16:49 +0000 (09:16 +0000)]
Continuing last fix, allow students not in a group to post into a
discussion which is also not in a group, even if the course is
using groups.

20 years agoFIxed some logic for a wierd situation when you have a grouped forum but
moodler [Wed, 13 Apr 2005 08:23:27 +0000 (08:23 +0000)]
FIxed some logic for a wierd situation when you have a grouped forum but
upgrouped discussions and ungrouped students

20 years agoAdded option to cache langlist in dataroot/cache/languages. Small logic fix.
martinlanghoff [Mon, 11 Apr 2005 06:04:35 +0000 (06:04 +0000)]
Added option to cache langlist in dataroot/cache/languages. Small logic fix.

20 years agoAdded option to cache langlist in dataroot/cache/languages. If enabled saves around...
martinlanghoff [Mon, 11 Apr 2005 05:53:56 +0000 (05:53 +0000)]
Added option to cache langlist in dataroot/cache/languages. If enabled saves around 10MB of memory and 40 includes (some really large)

20 years agoArgh! Simply forget my previous commit. I was mixing 1.4 and 1.5 in
stronk7 [Sun, 10 Apr 2005 18:43:23 +0000 (18:43 +0000)]
Argh! Simply forget my previous commit. I was mixing 1.4 and 1.5 in
my tests! Sorry!
Under 1.4.x, assessments.php is always called from itself.

20 years agoWhorkshop assessments weren't working in 1.4.4+ with secure forms enabled.
stronk7 [Sun, 10 Apr 2005 18:36:25 +0000 (18:36 +0000)]
Whorkshop assessments weren't working in 1.4.4+ with secure forms enabled.
this script can be called from a different one (assess.php), so I've used
the 'nomatch' trick.

20 years agoFixing problem with set up of site course
mjollnir_ [Wed, 6 Apr 2005 22:23:25 +0000 (22:23 +0000)]
Fixing problem with set up of site course

20 years agoFIxed a notice (bug 2850)
moodler [Wed, 6 Apr 2005 05:28:52 +0000 (05:28 +0000)]
FIxed a notice (bug 2850)

20 years agoFixed 'Can't save changes in editor configuration' form bug reported in http://moodle...
martinlanghoff [Tue, 5 Apr 2005 22:10:31 +0000 (22:10 +0000)]
Fixed 'Can't save changes in editor configuration' form bug reported in moodle.org/mod/forum/discuss.php?d=21359

20 years agoFixed paths on includes (we must always use absolute paths because some
moodler [Tue, 5 Apr 2005 13:34:47 +0000 (13:34 +0000)]
Fixed paths on includes (we must always use absolute paths because some
servers are buggy)

20 years agoJust to remove a warning
moodler [Mon, 4 Apr 2005 16:59:53 +0000 (16:59 +0000)]
Just to remove a warning

20 years agoFix for Bug #2452 - Choice shows a bad number of answers
danmarsden [Sun, 3 Apr 2005 23:39:05 +0000 (23:39 +0000)]
Fix for Bug #2452 - Choice shows a bad number of answers

20 years agoFix for return id for insert_record - needs to be cast to an int
mjollnir_ [Sun, 3 Apr 2005 21:03:35 +0000 (21:03 +0000)]
Fix for return id for insert_record - needs to be cast to an int

20 years agoReplace $HTTP_POST_FILES to $_FILES because the old one is
stronk7 [Sat, 2 Apr 2005 18:24:56 +0000 (18:24 +0000)]
Replace $HTTP_POST_FILES to $_FILES because the old one is
"deprecated" in new PHP versions.

Perhaps I should have used the upload manager but I'm not really sure
if it's fully available under 14_STABLE and viewing other modules
they use the $_FILES global, so I use such variable here too!

20 years agoReplacing some HTTP_POST_VARS uses because it doesn't work always!
stronk7 [Sat, 2 Apr 2005 17:37:36 +0000 (17:37 +0000)]
Replacing some HTTP_POST_VARS uses because it doesn't work always!
Using data_submitted() or $_POST

20 years agoNow course/recent.php works under PHP5.
stronk7 [Sat, 2 Apr 2005 11:24:24 +0000 (11:24 +0000)]
Now course/recent.php works under PHP5.
See bug 2828
(http://moodle.org/bugs/bug.php?op=show&bugid=2828)

20 years agoManual links from lesson pages to resources are now preserved
stronk7 [Sat, 2 Apr 2005 00:04:02 +0000 (00:04 +0000)]
Manual links from lesson pages to resources are now preserved
between backup/restore anywhere.
(see discussion http://moodle.org/mod/forum/discuss.php?d=21044)

20 years agoDon't throw a fatal error on unknown question, try to continue.
moodler [Fri, 1 Apr 2005 12:17:21 +0000 (12:17 +0000)]
Don't throw a fatal error on unknown question, try to continue.

20 years agoinsert_record() - major efficiency improvements for Postgres databases on insert...
martinlanghoff [Fri, 1 Apr 2005 05:33:21 +0000 (05:33 +0000)]
insert_record() - major efficiency improvements for Postgres databases on insert. Also fixed many calls to insert_record() which discard the returned record id to not ask for the record id.

20 years agoadd_to_log() - fixed a postgres support bug when is set to '', and clarified the...
martinlanghoff [Wed, 23 Mar 2005 07:02:19 +0000 (07:02 +0000)]
add_to_log() - fixed a postgres support bug when  is set to '', and clarified the logic that decides whether to update the user_students/user_teacher records.

20 years agoAnother fix for my old fix for a postgres constraint that was missing a prefix. ...
mjollnir_ [Tue, 22 Mar 2005 05:36:07 +0000 (05:36 +0000)]
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

20 years agoReset proper encoding upon login bug 2770
moodler [Mon, 21 Mar 2005 06:13:22 +0000 (06:13 +0000)]
Reset proper encoding upon login     bug 2770

20 years agoMore efficient SQL UPDATE in forum_mark_old_posts_as_mailed() -- improves performance...
martinlanghoff [Sun, 20 Mar 2005 23:10:08 +0000 (23:10 +0000)]
More efficient SQL UPDATE in forum_mark_old_posts_as_mailed() -- improves performance under PostgreSQL.

20 years agoPedantic HTTP correctness; now we return an appropriate 503 HTTP status code when...
martinlanghoff [Sun, 20 Mar 2005 08:11:21 +0000 (08:11 +0000)]
Pedantic HTTP correctness; now we return an appropriate 503 HTTP status code when the database is unreachable and assumed overloaded. This is for the benefit of monitoring and load testing scripts.

20 years agoFixing Bug #2763 - Garbled characters in utf-8
julmis [Sat, 19 Mar 2005 16:39:31 +0000 (16:39 +0000)]
Fixing Bug #2763 - Garbled characters in utf-8

20 years agoTurn off the autoloading of sound files
moodler [Wed, 16 Mar 2005 08:00:14 +0000 (08:00 +0000)]
Turn off the autoloading of sound files

20 years agoFix for bug 2742 - sequences out of sequences in postgres
mjollnir_ [Tue, 15 Mar 2005 22:57:15 +0000 (22:57 +0000)]
Fix for bug 2742 - sequences out of sequences in postgres

20 years agoBump
moodler [Tue, 15 Mar 2005 17:34:52 +0000 (17:34 +0000)]
Bump

20 years agoAndy fixed the bug with interpreting filenames - looks 100% now!
moodler [Tue, 15 Mar 2005 12:55:21 +0000 (12:55 +0000)]
Andy fixed the bug with interpreting filenames - looks 100% now!

20 years agoBetter invocation of the new MP3 player
moodler [Mon, 14 Mar 2005 18:14:14 +0000 (18:14 +0000)]
Better invocation of the new MP3 player

20 years agoNew better version from Andy that lets you play before the file is downloaded
moodler [Mon, 14 Mar 2005 15:23:44 +0000 (15:23 +0000)]
New better version from Andy that lets you play before the file is downloaded

20 years agoFixed memory limit overrun in backup config page. Why SELECT * FROM mdl_course when...
martinlanghoff [Mon, 14 Mar 2005 02:06:24 +0000 (02:06 +0000)]
Fixed memory limit overrun in backup config page. Why SELECT * FROM mdl_course when all we need is id? :)

20 years agofixed typo leading to bug 2723
gustav_delius [Sun, 13 Mar 2005 09:54:38 +0000 (09:54 +0000)]
fixed typo leading to bug 2723

20 years agoFix for bug 2729: incorrect display of previous/next days in calendar day
defacer [Sat, 12 Mar 2005 21:26:54 +0000 (21:26 +0000)]
Fix for bug 2729: incorrect display of previous/next days in calendar day
view when the server's TZ was less than GMT and the user's TZ was greater
than the server's.

This was already fixed in HEAD as part of the DST overhaul.

Kudos to Dan Fleming (dflemingnz at aol dot com) for a most informative report.

20 years agoOpps. 2nd try to hide lessons under 1.4. I was supposing that some new code
stronk7 [Sat, 12 Mar 2005 17:54:30 +0000 (17:54 +0000)]
Opps. 2nd try to hide lessons under 1.4. I was supposing that some new code
under 1.5 require_login() was working here too!
Bug 2733.
(http://moodle.org/bugs/bug.php?op=show&bugid=2733)

20 years agoNow hidden lessons cannot be viewed.
stronk7 [Sat, 12 Mar 2005 17:20:12 +0000 (17:20 +0000)]
Now hidden lessons cannot be viewed.
Thanks to Javier Gil detecting it. Bug 2733.
(http://moodle.org/bugs/bug.php?op=show&bugid=2733)

20 years agoFix from Dan Marsden: address_in_subnet() had a loop control error.
martinlanghoff [Thu, 10 Mar 2005 02:39:49 +0000 (02:39 +0000)]
Fix from Dan Marsden: address_in_subnet() had a loop control error.

20 years agoBumping for version 1.4.4 v1.4.4
moodler [Wed, 9 Mar 2005 11:04:52 +0000 (11:04 +0000)]
Bumping for version 1.4.4

20 years agoAdd new line after url in journal mailout to prevent /mod/journal/view.php?id=1...
mjollnir_ [Tue, 8 Mar 2005 20:56:22 +0000 (20:56 +0000)]
Add new line after url in journal mailout to prevent  /mod/journal/view.php?id=1----- type requests

20 years agoPostgres fix in quiz (added AS)
mjollnir_ [Tue, 8 Mar 2005 20:46:23 +0000 (20:46 +0000)]
Postgres fix in quiz (added AS)

20 years agoRelease info updated (es)
stronk7 [Tue, 8 Mar 2005 08:31:09 +0000 (08:31 +0000)]
Release info updated (es)

Merged from HEAD

20 years agoNew way to get the server name from wwwroot instead of
stronk7 [Mon, 7 Mar 2005 18:08:30 +0000 (18:08 +0000)]
New way to get the server name from wwwroot instead of
using such SERVER_NAME and HTTP_HOST variables.

It should help in servers having wrong Apache configurations, being
the cause of bad logins, referer problems....making Moodle a bit less
demanding.

Semi-merged from MOODLE_HEAD (it has been working there from some days ago
with possitive resuts).

SEMI because I've retroffited from HEAD only the WWWROOT part. The rest are
quite different but I haven't modified it. Perhaps we shoul retroffit the
function completely?

20 years agoFixed a notice when sending mail
moodler [Mon, 7 Mar 2005 12:29:39 +0000 (12:29 +0000)]
Fixed a notice when sending mail

20 years agoFIxed a date formatting bug
moodler [Mon, 7 Mar 2005 05:57:51 +0000 (05:57 +0000)]
FIxed a date formatting bug

20 years agoRelease notes for 1.4.4
martinlanghoff [Mon, 7 Mar 2005 04:35:50 +0000 (04:35 +0000)]
Release notes for 1.4.4

20 years agoFixed bug 2319 DB auth not fetching user data fields correctly -- credits go to andre...
martinlanghoff [Mon, 7 Mar 2005 01:59:50 +0000 (01:59 +0000)]
Fixed bug 2319 DB auth not fetching user data fields correctly -- credits go to andres.marquez@accenture.com and doug nutsch

20 years agoMinor changes: Corrected some indentation and change a bit the method
stronk7 [Thu, 3 Mar 2005 23:39:11 +0000 (23:39 +0000)]
Minor changes: Corrected some indentation and change a bit the method
used to store (oldid,newid) pairs to be a bit more standard.

I was ABSOLUTELY wrong! Lessons backup and restore are working fine
under 1.4. Ray & Michael work rocks!!