]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoAdded find_sequence_name() to be used by insert_record() to get the correct sequence
stronk7 [Sun, 8 Oct 2006 09:38:09 +0000 (09:38 +0000)]
Added find_sequence_name() to be used by insert_record() to get the correct sequence

18 years agoAdding getSequenceFromDB() for Oracle in order to detect the correct
stronk7 [Sun, 8 Oct 2006 09:36:33 +0000 (09:36 +0000)]
Adding getSequenceFromDB() for Oracle in order to detect the correct
sequence name in the insert_record() function.

18 years agoadd note to admin settings to check max_allowed_packet when enabling db sessions...
skodak [Sun, 8 Oct 2006 09:20:46 +0000 (09:20 +0000)]
add note to admin settings to check max_allowed_packet when enabling db sessions in MySQL - MDL-6866 , fixed quotes :-(

18 years agoadd note to admin settings to check max_allowed_packet when enabling db sessions...
skodak [Sun, 8 Oct 2006 09:16:38 +0000 (09:16 +0000)]
add note to admin settings to check max_allowed_packet when enabling db sessions in MySQL - MDL-6866

18 years agoGrades computed incorrectly if assignment name appears more than twice in a course...
skodak [Sun, 8 Oct 2006 09:04:59 +0000 (09:04 +0000)]
Grades computed incorrectly if assignment name appears more than twice in a course MDL-6876 , patch submitted by Gary Anderson

18 years agofixed wrong strip_slashes() when printing blog entry
skodak [Sun, 8 Oct 2006 08:52:15 +0000 (08:52 +0000)]
fixed wrong strip_slashes() when printing blog entry

18 years agoError when adding Recent activity as a sticky block MDL-6801
skodak [Sun, 8 Oct 2006 08:44:32 +0000 (08:44 +0000)]
Error when adding Recent activity as a sticky block MDL-6801

18 years agofixed wrong redirect when editing blocks in stickyblocks page
skodak [Sun, 8 Oct 2006 08:36:45 +0000 (08:36 +0000)]
fixed wrong redirect when editing blocks in stickyblocks page

18 years agofixed encoding header() in messaging frames MDL-6128 - 1.6, special chars and messagi...
skodak [Sun, 8 Oct 2006 08:29:35 +0000 (08:29 +0000)]
fixed encoding header() in messaging frames MDL-6128 - 1.6, special chars and messaging system.

18 years agoResource frameset error in IE6 MDL-6842, patch submitted by Chris Fryer.
skodak [Sun, 8 Oct 2006 08:20:38 +0000 (08:20 +0000)]
Resource frameset error in IE6 MDL-6842, patch submitted by Chris Fryer.

18 years agoScalable Vector Graphics (SVG) files in Moodle are not correctly displayed in many...
skodak [Sun, 8 Oct 2006 08:13:41 +0000 (08:13 +0000)]
Scalable Vector Graphics (SVG) files in Moodle are not correctly displayed in many Browsers MDL-6878, patch submitted by Geoffrey Rowland, thanks!

18 years agoadded 'Reviewed' assignment status to My moodle page MDL-6834, patch submitted by...
skodak [Sun, 8 Oct 2006 08:06:04 +0000 (08:06 +0000)]
added 'Reviewed' assignment status to My moodle page MDL-6834, patch submitted by Stephen Bourget - thanks!

18 years agoAutomatic installer.php lang files by installer_builder (20061008)
moodler [Sun, 8 Oct 2006 02:52:12 +0000 (02:52 +0000)]
Automatic installer.php lang files by installer_builder (20061008)

18 years agofixed some incorrect strtolower() calls that were breaking non ascii languages MDL...
skodak [Sat, 7 Oct 2006 20:47:54 +0000 (20:47 +0000)]
fixed some incorrect strtolower() calls that were breaking non ascii languages MDL-6135

18 years agoDon't strip slashes from data send to htmlarea, after all it is not being stripped...
gustav_delius [Sat, 7 Oct 2006 17:20:35 +0000 (17:20 +0000)]
Don't strip slashes from data send to htmlarea, after all it is not being stripped from data going to the normal textarea either.

18 years agoDon't use stripslashes on data coming from database
gustav_delius [Sat, 7 Oct 2006 17:18:15 +0000 (17:18 +0000)]
Don't use stripslashes on data coming from database

18 years agosimplified the javascript to hide "name", "studentfeedbackurl" and dates when not...
gbateson [Sat, 7 Oct 2006 14:57:37 +0000 (14:57 +0000)]
simplified the javascript to hide "name", "studentfeedbackurl" and dates when not required

18 years agoAllow load average to be displayed in servers using the comma as
stronk7 [Sat, 7 Oct 2006 10:33:58 +0000 (10:33 +0000)]
Allow load average to be displayed in servers using the comma as
decimal separator.

18 years agoadded PARAM types for all calls to "optional_param()" and "required_param()"
gbateson [Sat, 7 Oct 2006 08:59:59 +0000 (08:59 +0000)]
added PARAM types for all calls to "optional_param()" and "required_param()"

18 years agoadjust "best grade" to range 0 to hotpot->maxgrade
gbateson [Sat, 7 Oct 2006 05:03:52 +0000 (05:03 +0000)]
adjust "best grade" to range 0 to hotpot->maxgrade

18 years agoremoved "thiscourse" and "allmycourses" as they are no longer used in hotpot/report.php
gbateson [Sat, 7 Oct 2006 02:00:53 +0000 (02:00 +0000)]
removed "thiscourse" and "allmycourses" as they are no longer used in hotpot/report.php

18 years agoremvoved course selection for admins, and tidied up handling of capabilities
gbateson [Sat, 7 Oct 2006 01:57:57 +0000 (01:57 +0000)]
remvoved course selection for admins, and tidied up handling of capabilities

18 years agoremove "Selecting a course" section
gbateson [Sat, 7 Oct 2006 01:53:49 +0000 (01:53 +0000)]
remove "Selecting a course" section

18 years agoWood-ising the adminsettings fieldset
stronk7 [Fri, 6 Oct 2006 22:25:49 +0000 (22:25 +0000)]
Wood-ising the adminsettings fieldset

18 years agoMDL-6731 Can't save manual comment on a quiz question. I had missed one instance...
tjhunt [Fri, 6 Oct 2006 17:22:08 +0000 (17:22 +0000)]
MDL-6731 Can't save manual comment on a quiz question. I had missed one instance of the comment -> manualcomment column rename.

18 years agoTypo.
tjhunt [Fri, 6 Oct 2006 17:20:37 +0000 (17:20 +0000)]
Typo.

18 years agoHopefully improve performance on site with lots of question categories Merged from...
tjhunt [Fri, 6 Oct 2006 16:48:54 +0000 (16:48 +0000)]
Hopefully improve performance on site with lots of question categories Merged from MOODLE_16_STABLE.

18 years agoOne malformed XML was preventing wiki_logs to be properly UTF8-ised. MDL-6854
stronk7 [Fri, 6 Oct 2006 15:26:13 +0000 (15:26 +0000)]
One malformed XML was preventing wiki_logs to be properly UTF8-ised. MDL-6854

18 years agoTypo recently introduced. MDL-6336
stronk7 [Fri, 6 Oct 2006 15:03:46 +0000 (15:03 +0000)]
Typo recently introduced. MDL-6336
(merged from MOODLE_16_STABLE)

18 years agoCode cleanup in blog.
skodak [Fri, 6 Oct 2006 10:11:52 +0000 (10:11 +0000)]
Code cleanup in blog.

MDL-6805  Fixed redirects in blog; MDL-6807  partially fixed use of capabilitites - it needs more testing and possibly minor fixing, the commit contains other blog bugfixes too. In general it should work exactly the same. The introduction of roles makes proper setup more difficult :-(

Expect some more fixes soon, no other bigger changes...

18 years agofix undefined variable $context on line 135
gbateson [Fri, 6 Oct 2006 09:36:40 +0000 (09:36 +0000)]
fix undefined variable $context on line 135

18 years agofix for MDL-6336
toyomoyo [Fri, 6 Oct 2006 08:26:37 +0000 (08:26 +0000)]
fix for MDL-6336

18 years agoallow display and deletion of attempts by "All users" including unenrolled students
gbateson [Fri, 6 Oct 2006 08:02:07 +0000 (08:02 +0000)]
allow display and deletion of attempts by "All users" including unenrolled students

18 years agoSome fixes for MDL-6674. This should fix moving activities (resources).
vyshane [Fri, 6 Oct 2006 07:56:37 +0000 (07:56 +0000)]
Some fixes for MDL-6674. This should fix moving activities (resources).
Thanks to Dan Poltawski for suggestions.

18 years agofix typo on line 89: get_context_instance(CONTEXT_COURSE, $course) ... should be...
gbateson [Fri, 6 Oct 2006 07:09:27 +0000 (07:09 +0000)]
fix typo on line 89: get_context_instance(CONTEXT_COURSE, $course) ... should be ... get_context_instance(CONTEXT_COURSE, $course->id)

18 years agoDrop the user_xxx tables after Roles install
moodler [Fri, 6 Oct 2006 06:47:12 +0000 (06:47 +0000)]
Drop the user_xxx tables after Roles install

18 years agoRemoved some references to user_teachers that will probably cause a bug
moodler [Fri, 6 Oct 2006 06:42:33 +0000 (06:42 +0000)]
Removed some references to user_teachers that will probably cause a bug

18 years agoRemove user_students references
moodler [Fri, 6 Oct 2006 06:39:29 +0000 (06:39 +0000)]
Remove user_students references

18 years agoAdded missing cap strings
moodler [Fri, 6 Oct 2006 06:37:58 +0000 (06:37 +0000)]
Added missing cap strings

18 years agoAdded some defaults to make sure Exercise is off by default
moodler [Fri, 6 Oct 2006 06:34:08 +0000 (06:34 +0000)]
Added some defaults to make sure Exercise is off by default

18 years agoFix some doc links
moodler [Fri, 6 Oct 2006 06:26:06 +0000 (06:26 +0000)]
Fix some doc links

18 years agoadded "format_string" and "stripslashes" when print HotPot name to browser
gbateson [Fri, 6 Oct 2006 06:22:15 +0000 (06:22 +0000)]
added "format_string" and "stripslashes" when print HotPot name to browser

18 years agoDisable the exercise module as it's not maintained or upgraded for roles
moodler [Fri, 6 Oct 2006 06:15:57 +0000 (06:15 +0000)]
Disable the exercise module as it's not maintained or upgraded for roles

18 years agofix for MDL-6859, MDL-6860
toyomoyo [Fri, 6 Oct 2006 06:04:32 +0000 (06:04 +0000)]
fix for MDL-6859, MDL-6860

18 years agoFixes for naming of forms to make them XHTML compatible
moodler [Fri, 6 Oct 2006 06:02:17 +0000 (06:02 +0000)]
Fixes for naming of forms to make them XHTML compatible

18 years agoFixed a misplaced form tag MDL-6861
moodler [Fri, 6 Oct 2006 05:57:07 +0000 (05:57 +0000)]
Fixed a misplaced form tag  MDL-6861

18 years agorenamed all $hp to $hotpot; added/update/delete calendar events when adding/updating...
gbateson [Fri, 6 Oct 2006 05:56:53 +0000 (05:56 +0000)]
renamed all $hp to $hotpot; added/update/delete calendar events when adding/updating/deleting hotpots; add functions required for participation report;

18 years agoMade alt tags translatable MDL-6861
moodler [Fri, 6 Oct 2006 05:53:28 +0000 (05:53 +0000)]
Made alt tags translatable   MDL-6861

18 years agoFixed some unencoded & in urls
moodler [Fri, 6 Oct 2006 05:44:05 +0000 (05:44 +0000)]
Fixed some unencoded & in urls

18 years agoMOre fixes to remove erros due to JS
moodler [Fri, 6 Oct 2006 05:28:57 +0000 (05:28 +0000)]
MOre fixes to remove erros due to JS

18 years agoFIxed some incorrect backslashes MDL-6861
moodler [Fri, 6 Oct 2006 05:06:25 +0000 (05:06 +0000)]
FIxed some incorrect backslashes   MDL-6861

18 years agoIn "Selecting Users" section, added "All users" and modified "All participants" and...
gbateson [Fri, 6 Oct 2006 04:03:39 +0000 (04:03 +0000)]
In "Selecting Users" section, added "All users" and modified "All participants" and "Existing students"

18 years agoadding utf8 support for new fields
toyomoyo [Fri, 6 Oct 2006 04:03:02 +0000 (04:03 +0000)]
adding utf8 support for new fields

18 years agoadded $string['allusers'] = 'All users'; for "hotpot/report.php"
gbateson [Fri, 6 Oct 2006 03:46:46 +0000 (03:46 +0000)]
added $string['allusers'] = 'All users'; for "hotpot/report.php"

18 years agoAutomatic installer.php lang files by installer_builder (20061006)
moodler [Fri, 6 Oct 2006 02:56:20 +0000 (02:56 +0000)]
Automatic installer.php lang files by installer_builder (20061006)

18 years agoremoved all references to obsolete indexes on "hotpot_questions.name" and "hotpot_str...
gbateson [Fri, 6 Oct 2006 02:03:43 +0000 (02:03 +0000)]
removed all references to obsolete indexes on "hotpot_questions.name" and "hotpot_strings.string"

18 years agoreset version number in HotPot v1 with over-advanced version number
gbateson [Fri, 6 Oct 2006 01:25:56 +0000 (01:25 +0000)]
reset version number in HotPot v1 with over-advanced version number

18 years agoIncomplete user record (the one where the username is still 'changeme') should not...
gustav_delius [Thu, 5 Oct 2006 22:45:01 +0000 (22:45 +0000)]
Incomplete user record (the one where the username is still 'changeme') should not be included in user listing. See bug 4570. For some reason this script is not using get_users() but is instead constructing its own sql, so the change to get_users() had to be duplicated here.

18 years agoIncomplete user record (the one where the username is still 'changeme') should not...
gustav_delius [Thu, 5 Oct 2006 22:21:09 +0000 (22:21 +0000)]
Incomplete user record (the one where the username is still 'changeme') should not be included in user listing. See bug 4570

18 years agoAvoid some notices. Part of MDL-6854
stronk7 [Thu, 5 Oct 2006 19:51:47 +0000 (19:51 +0000)]
Avoid some notices. Part of MDL-6854

18 years agoAvoid some notices. Part of MDL-6854
stronk7 [Thu, 5 Oct 2006 19:29:39 +0000 (19:29 +0000)]
Avoid some notices. Part of MDL-6854

18 years agoMDL-6837 - move warning about pupup blockers into the lang file. Merged from MOODLE_1...
tjhunt [Thu, 5 Oct 2006 15:58:08 +0000 (15:58 +0000)]
MDL-6837 - move warning about pupup blockers into the lang file. Merged from MOODLE_16_STABLE.

18 years agooverlapping fix
andreabix [Thu, 5 Oct 2006 09:52:38 +0000 (09:52 +0000)]
overlapping fix

18 years agofixed a bug with user listing where user_lastaccess entries are not set, e.g. after...
toyomoyo [Thu, 5 Oct 2006 08:54:35 +0000 (08:54 +0000)]
fixed a bug with user listing where user_lastaccess entries are not set, e.g. after a resotre

18 years agoSome small formatting changes.
vyshane [Thu, 5 Oct 2006 08:47:13 +0000 (08:47 +0000)]
Some small formatting changes.
Added some missing semi-colons in js code.

18 years agoFix to ignore hidden courses when using switchrole in a course MDL-6841
moodler [Thu, 5 Oct 2006 08:41:06 +0000 (08:41 +0000)]
Fix to ignore hidden courses when using switchrole in a course  MDL-6841

18 years agoFix for MDL-6682. Removed duplicate string quiz:grade
vyshane [Thu, 5 Oct 2006 08:05:55 +0000 (08:05 +0000)]
Fix for MDL-6682. Removed duplicate string quiz:grade

18 years agoMerged fix for MDL-6819
vyshane [Thu, 5 Oct 2006 07:22:48 +0000 (07:22 +0000)]
Merged fix for MDL-6819

18 years agoRemoved user_students, user_teachers, user_coursecreators and user_admins
moodler [Thu, 5 Oct 2006 07:05:06 +0000 (07:05 +0000)]
Removed user_students, user_teachers, user_coursecreators and user_admins
as they are now irrelevant   MDL-6830

18 years agoMoved sticky blocks to Appearance section
moodler [Thu, 5 Oct 2006 07:01:28 +0000 (07:01 +0000)]
Moved sticky blocks to Appearance section

18 years agoFixed comments_from_learner data element to fit ADL requirements
bobopinna [Thu, 5 Oct 2006 06:48:30 +0000 (06:48 +0000)]
Fixed comments_from_learner data element to fit ADL requirements

18 years agodroppinf utf8 support for user_* tables
toyomoyo [Thu, 5 Oct 2006 06:05:02 +0000 (06:05 +0000)]
droppinf utf8 support for user_* tables

18 years agoa few fixes, for MDL-6836, MDL-6835, and MDL-6765
toyomoyo [Thu, 5 Oct 2006 04:05:07 +0000 (04:05 +0000)]
a few fixes, for MDL-6836, MDL-6835, and MDL-6765

18 years agoremoving some debugging statements
toyomoyo [Thu, 5 Oct 2006 03:26:22 +0000 (03:26 +0000)]
removing some debugging statements

18 years agoMerged fixes for MDL-2583
vyshane [Thu, 5 Oct 2006 03:18:29 +0000 (03:18 +0000)]
Merged fixes for MDL-2583

18 years agoclosing MDL-5510
koenr [Wed, 4 Oct 2006 21:40:18 +0000 (21:40 +0000)]
closing MDL-5510

18 years agofixed nocache option in format_text()
skodak [Wed, 4 Oct 2006 21:22:57 +0000 (21:22 +0000)]
fixed nocache option in format_text()

18 years agoSoften the color of currently selected admin menu.
mits [Wed, 4 Oct 2006 20:42:57 +0000 (20:42 +0000)]
Soften the color of currently selected admin menu.

18 years ago'MDL-6790 Grab handle icon is missing from blocks. Added property to show the move...
urs_hunkler [Wed, 4 Oct 2006 16:23:44 +0000 (16:23 +0000)]
'MDL-6790 Grab handle icon is missing from blocks. Added property to show the move curser for a simmilar signal as for the crosses'

18 years ago'merged from 1.6 - MDL-6824, redundant declaration: .categorybox .category'
urs_hunkler [Wed, 4 Oct 2006 15:51:48 +0000 (15:51 +0000)]
'merged from 1.6 - MDL-6824, redundant declaration: .categorybox .category'

18 years ago'MDL-6824, redundant declaration: .categorybox .category'
urs_hunkler [Wed, 4 Oct 2006 15:51:00 +0000 (15:51 +0000)]
'MDL-6824, redundant declaration: .categorybox .category'

18 years agoWas this checked in by accident?
moodler [Wed, 4 Oct 2006 15:49:54 +0000 (15:49 +0000)]
Was this checked in by accident?

18 years agomerged from 1.6 - MDL-6824
urs_hunkler [Wed, 4 Oct 2006 15:49:41 +0000 (15:49 +0000)]
merged from 1.6 - MDL-6824

18 years agoReverted my changes to ddlib
moodler [Wed, 4 Oct 2006 15:35:27 +0000 (15:35 +0000)]
Reverted my changes to ddlib

18 years agoUndoing my hacks to try and keep this code clean as possible.
moodler [Wed, 4 Oct 2006 15:30:54 +0000 (15:30 +0000)]
Undoing my hacks to try and keep this code clean as possible.

18 years agoChange creation of restorelog file location to protected backupdata folder.
thompson697 [Wed, 4 Oct 2006 14:50:50 +0000 (14:50 +0000)]
Change creation of restorelog file location to protected backupdata folder.
Reassign style and language links

18 years agoCommitted a fix for streaming chat from Dan Polawski, MDL-6791
moodler [Wed, 4 Oct 2006 12:58:09 +0000 (12:58 +0000)]
Committed a fix for streaming chat from Dan Polawski, MDL-6791

Seems to help!

18 years agoTypo.
tjhunt [Wed, 4 Oct 2006 11:45:48 +0000 (11:45 +0000)]
Typo.

18 years agoFix indent.
tjhunt [Wed, 4 Oct 2006 10:39:42 +0000 (10:39 +0000)]
Fix indent.

18 years agoMDL-6814 - Can't change "maximum grade" value on a quiz. Now you can.
tjhunt [Wed, 4 Oct 2006 10:21:23 +0000 (10:21 +0000)]
MDL-6814 - Can't change "maximum grade" value on a quiz. Now you can.

18 years ago[MDL-6701] Added closing </form> tags in wiki admin pages (the pages are still not...
sam_marshall [Wed, 4 Oct 2006 10:20:21 +0000 (10:20 +0000)]
[MDL-6701] Added closing </form> tags in wiki admin pages (the pages are still not xhtml, but...)

18 years agoWiki: list of pages to strip in the 'are you sure' message was incorrectly URL-encode...
sam_marshall [Wed, 4 Oct 2006 10:11:15 +0000 (10:11 +0000)]
Wiki: list of pages to strip in the 'are you sure' message was incorrectly URL-encoded on display to user, this fix removes url encoding and html-encodes it instead

18 years agoWiki - fixed 'Strip versions' that didn't work in postgres because of GROUP BY a...
sam_marshall [Wed, 4 Oct 2006 10:03:02 +0000 (10:03 +0000)]
Wiki - fixed 'Strip versions' that didn't work in postgres because of GROUP BY a select alias not being allowed. (Even tested in mysql this time...)

18 years agoBye-bye to old database upgrade files and hellow to upgrade.php!
moodler [Wed, 4 Oct 2006 09:47:05 +0000 (09:47 +0000)]
Bye-bye to old database upgrade files and hellow to upgrade.php!

First order of business:  drop all the extraneous user_xxx tables.

18 years agoSome changes to ddllib.php to make some functions a bit easier to call.
moodler [Wed, 4 Oct 2006 09:44:38 +0000 (09:44 +0000)]
Some changes to ddllib.php to make some functions a bit easier to call.

May not be final ... see MDL-6817 for details.

18 years agofixing roles support for backup/restore
toyomoyo [Wed, 4 Oct 2006 09:01:50 +0000 (09:01 +0000)]
fixing roles support for backup/restore

18 years agoAdded $restore->mods[$mod->type]->granular to restore_create_sections() and to restor...
vyshane [Wed, 4 Oct 2006 08:35:00 +0000 (08:35 +0000)]
Added $restore->mods[$mod->type]->granular to restore_create_sections() and to restore_create_modules(). This defines whether we are doing a granular restore where we care about the individual module instances to be restored, or whether we are not doing a granular restore, in which case we just restore all course module instances.

18 years agoFIxed up some more references to user tables
moodler [Wed, 4 Oct 2006 07:36:58 +0000 (07:36 +0000)]
FIxed up some more references to user tables

18 years agoAdded new function
moodler [Wed, 4 Oct 2006 07:07:57 +0000 (07:07 +0000)]
Added new function

   function user_has_role_assignment($userid, $roleid, $contextid=0)

18 years agoFixed a bad error code choose
bobopinna [Wed, 4 Oct 2006 06:22:18 +0000 (06:22 +0000)]
Fixed a bad error code choose
Rewritten the GetErrorString function to fix bad error code call