]> git.mjollnir.org Git - moodle.git/log
moodle.git
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

18 years agoAdded API property version required from ADL Test Suite
bobopinna [Wed, 4 Oct 2006 06:18:49 +0000 (06:18 +0000)]
Added API property version required from ADL Test Suite

18 years agoFixes to remove access to user_coursecreators and use roles instead MDL-6800
moodler [Wed, 4 Oct 2006 05:36:17 +0000 (05:36 +0000)]
Fixes to remove access to user_coursecreators and use roles instead   MDL-6800

18 years agoAdded button to turn editing off again ... ugly but ...
moodler [Wed, 4 Oct 2006 04:49:44 +0000 (04:49 +0000)]
Added button to turn editing off again ... ugly but ...

18 years agoFIxed category editing button
moodler [Wed, 4 Oct 2006 04:45:58 +0000 (04:45 +0000)]
FIxed category editing button

18 years agoFixed roles link a bit
moodler [Wed, 4 Oct 2006 04:40:55 +0000 (04:40 +0000)]
Fixed roles link a bit

18 years agoFIxed for duplicate icons MDL-6811
moodler [Wed, 4 Oct 2006 04:37:40 +0000 (04:37 +0000)]
FIxed for duplicate icons    MDL-6811

18 years agoAutomatic installer.php lang files by installer_builder (20061004)
moodler [Wed, 4 Oct 2006 02:56:19 +0000 (02:56 +0000)]
Automatic installer.php lang files by installer_builder (20061004)

18 years agofixing typo
toyomoyo [Wed, 4 Oct 2006 02:43:29 +0000 (02:43 +0000)]
fixing typo

18 years agofixed a bug where block instances aren't deleted properly
toyomoyo [Wed, 4 Oct 2006 02:43:11 +0000 (02:43 +0000)]
fixed a bug where block instances aren't deleted properly

18 years agoFix for access to users at site level MDL-6810
moodler [Wed, 4 Oct 2006 02:14:25 +0000 (02:14 +0000)]
Fix for access to users at site level   MDL-6810

18 years agoAssignment Module breaks MyMoodle Page MDL-6802, revisited - I hope it is correct now
skodak [Tue, 3 Oct 2006 23:34:03 +0000 (23:34 +0000)]
Assignment Module breaks MyMoodle Page MDL-6802, revisited - I hope it is correct now

18 years agoMDL-6805 Fix redirects in blog - edit button now properly redirects to self
skodak [Tue, 3 Oct 2006 21:07:13 +0000 (21:07 +0000)]
MDL-6805 Fix redirects in blog - edit button now properly redirects to self

18 years agoMDL-6805 Fix redirects in blog; MDL-6807 fix blog capability checks
skodak [Tue, 3 Oct 2006 20:41:15 +0000 (20:41 +0000)]
MDL-6805 Fix redirects in blog; MDL-6807 fix blog capability checks

18 years agofixed broken table layout in blog MDL-6806
skodak [Tue, 3 Oct 2006 20:18:58 +0000 (20:18 +0000)]
fixed broken table layout in blog  MDL-6806

18 years agoPut back last commit. Some functions check $extra->id.
ethem [Tue, 3 Oct 2006 19:39:21 +0000 (19:39 +0000)]
Put back last commit. Some functions check $extra->id.

18 years agoCompletely disable all blog scripts when blog system disabled from site preferences...
skodak [Tue, 3 Oct 2006 19:21:35 +0000 (19:21 +0000)]
Completely disable all blog scripts when blog system disabled from site preferences MDL-6803

18 years agoAssignment Module breaks MyMoodle Page MDL-6802, please test it
skodak [Tue, 3 Oct 2006 18:31:51 +0000 (18:31 +0000)]
Assignment Module breaks MyMoodle Page MDL-6802, please test it

18 years agoIf an error occures, id returns 0.
ethem [Tue, 3 Oct 2006 18:21:14 +0000 (18:21 +0000)]
If an error occures, id returns 0.
The user, who will be sent email, may be confused for $record->id=0.
Merged from 16stable.

18 years agoThe course upload size limit applies to students only, it should not be imposed for...
gustav_delius [Tue, 3 Oct 2006 18:19:38 +0000 (18:19 +0000)]
The course upload size limit applies to students only, it should not be imposed for teacher uploads.

18 years ago* enrol_into_course() doesn't send welcome message unless $course->welcomemessage...
ethem [Tue, 3 Oct 2006 18:00:48 +0000 (18:00 +0000)]
* enrol_into_course() doesn't send welcome message unless $course->welcomemessage is set.
  This is actually good thing, because we can send our welcome message.

* enrol_into_course() added in Moodle(2006091700), so authorize plugin requires this version.

18 years agoMDL-5601 - restoring a course with a multianswer question sometimes causes an error...
tjhunt [Tue, 3 Oct 2006 17:57:16 +0000 (17:57 +0000)]
MDL-5601 - restoring a course with a multianswer question sometimes causes an error() for a non-fatal contition. Change it to a notify, and everything seems to work. I don't really understand why, but this change does not make matters worse, so I am committing it. Thanks to Joseph Rezeau. Merged from MOODLE_16_STABLE.

18 years agoMDL-6649 Only show the HTML editor for the first essay question on a page, since...
tjhunt [Tue, 3 Oct 2006 17:32:22 +0000 (17:32 +0000)]
MDL-6649 Only show the HTML editor for the first essay question on a page, since it is unreliable when there are lots. Merged from MOODLE_16_STABLE.

18 years agoChanged PG rename_index() to use the old ALTER TABLE ... RENAME TO syntax
stronk7 [Tue, 3 Oct 2006 15:00:55 +0000 (15:00 +0000)]
Changed PG rename_index() to use the old ALTER TABLE ... RENAME TO syntax
(pretty strange syntax, but seems to work)

18 years agoMDL-6297 shuffleanswers option not imported correctly for MC questions.
tjhunt [Tue, 3 Oct 2006 14:01:38 +0000 (14:01 +0000)]
MDL-6297 shuffleanswers option not imported correctly for MC questions.

18 years agoAdded copyright notice (they paid moodle.com for this development)
moodler [Tue, 3 Oct 2006 12:51:24 +0000 (12:51 +0000)]
Added copyright notice (they paid moodle.com for this development)

   http://moodle.org/mod/forum/discuss.php?d=55410

18 years agoNo need extra $order->status check. These functions expired() and settled() do it...
ethem [Tue, 3 Oct 2006 09:05:38 +0000 (09:05 +0000)]
No need extra $order->status check. These functions expired() and settled() do it for us. Merged from 16stable.

18 years agoadding support for 1.6->1.7 backups
toyomoyo [Tue, 3 Oct 2006 08:54:46 +0000 (08:54 +0000)]
adding support for 1.6->1.7 backups

18 years agoRemoved focussing altogether MDL-6750
moodler [Tue, 3 Oct 2006 07:31:49 +0000 (07:31 +0000)]
Removed focussing altogether    MDL-6750

18 years agoAutomatic installer.php lang files by installer_builder (20061003)
moodler [Tue, 3 Oct 2006 02:55:32 +0000 (02:55 +0000)]
Automatic installer.php lang files by installer_builder (20061003)

18 years agoMerged endless loop fix from stable
moodler [Tue, 3 Oct 2006 01:46:16 +0000 (01:46 +0000)]
Merged endless loop fix from stable

18 years agoPatched login for discussions
moodler [Tue, 3 Oct 2006 01:19:35 +0000 (01:19 +0000)]
Patched login for discussions

18 years agoNow blocks deletion looks both for tables without and with the
stronk7 [Mon, 2 Oct 2006 23:06:36 +0000 (23:06 +0000)]
Now blocks deletion looks both for tables without and with the
"block_" part in table names.
This is an interim situation until "block_" will be required. See:
http://docs.moodle.org/en/Development:Coding#Database_structures
http://tracker.moodle.org/browse/MDL-6786

Also, it's the FIRST use of XMLDB DDL functions inside Moodle! B-)

18 years agomore diagnostics in has_capability() - number instead of context object detected...
skodak [Mon, 2 Oct 2006 22:10:36 +0000 (22:10 +0000)]
more diagnostics in has_capability() - number instead of context object detected and debug message displayed

18 years agofixed has_capability context parameter in blog
skodak [Mon, 2 Oct 2006 22:06:18 +0000 (22:06 +0000)]
fixed has_capability context parameter in blog

18 years agomoodle/blog:view usage fixed in blog
skodak [Mon, 2 Oct 2006 21:15:48 +0000 (21:15 +0000)]
moodle/blog:view usage fixed in blog

18 years agosome blog problems fixed - non existing capabilitites, pg incompatibilities;
skodak [Mon, 2 Oct 2006 20:50:49 +0000 (20:50 +0000)]
some blog problems fixed - non existing capabilitites, pg incompatibilities;
in anycase the blog is still broken :-(
working on some more fixes now...

18 years agofixed print_texarea() capability requirement
skodak [Mon, 2 Oct 2006 19:47:11 +0000 (19:47 +0000)]
fixed print_texarea() capability requirement

18 years agofixed sql text quoting, other fixes in blog ahead
skodak [Mon, 2 Oct 2006 19:21:26 +0000 (19:21 +0000)]
fixed sql text quoting, other fixes in blog ahead

18 years agore-enabling the rename_field() test
stronk7 [Mon, 2 Oct 2006 17:42:31 +0000 (17:42 +0000)]
re-enabling the rename_field() test

18 years agorename_field() under mssql completed
stronk7 [Mon, 2 Oct 2006 17:42:14 +0000 (17:42 +0000)]
rename_field() under mssql completed

18 years agoFixes related to presets and MDL-6755.
moodler [Mon, 2 Oct 2006 17:24:54 +0000 (17:24 +0000)]
Fixes related to presets and MDL-6755.

The original code was shocking once I started reviewing it, and even
after heavy editing I'm still not happy with it, but at least it works
more like it was supposed to.

Needs more cleaning up to make it clearer and probably safer.

Also, presets can now contain langage packs and they'll be used.
The image gallery is an example.

18 years agoAdded another s() to the query strings. Thanks Petr!
moodler [Mon, 2 Oct 2006 17:09:18 +0000 (17:09 +0000)]
Added another s() to the query strings.  Thanks Petr!

18 years agorename_field() under oracle completed
stronk7 [Mon, 2 Oct 2006 17:06:37 +0000 (17:06 +0000)]
rename_field() under oracle completed

18 years agoMDL-6761 Edit qestion link gone from question preview popup. It was checking the...
tjhunt [Mon, 2 Oct 2006 17:04:12 +0000 (17:04 +0000)]
MDL-6761 Edit qestion link gone from question preview popup. It was checking the wrong capability.

18 years agorename_field() under postgresql completed.
stronk7 [Mon, 2 Oct 2006 17:02:35 +0000 (17:02 +0000)]
rename_field() under postgresql completed.

18 years agoMySQL doesn't have check constraints. We use enums instead.
stronk7 [Mon, 2 Oct 2006 17:02:07 +0000 (17:02 +0000)]
MySQL doesn't have check constraints. We use enums instead.

18 years agoChanged the currently selected admin menu bgcolor.
mits [Mon, 2 Oct 2006 16:51:48 +0000 (16:51 +0000)]
Changed the currently selected admin menu bgcolor.

18 years agoPrevent "id" fields to be renamed in generators
stronk7 [Mon, 2 Oct 2006 16:47:02 +0000 (16:47 +0000)]
Prevent "id" fields to be renamed in generators

18 years agoIn my previous commit, "I" was "It" :-D
stronk7 [Mon, 2 Oct 2006 16:46:12 +0000 (16:46 +0000)]
In my previous commit, "I" was "It" :-D
Plus one typo fixed.

18 years agoPrevent "id" fields to be renamed. I can cause lots of problems.
stronk7 [Mon, 2 Oct 2006 16:37:41 +0000 (16:37 +0000)]
Prevent "id" fields to be renamed. I can cause lots of problems.

18 years agoHighlight the currently selected admin menu.
mits [Mon, 2 Oct 2006 16:35:34 +0000 (16:35 +0000)]
Highlight the currently selected admin menu.
Changed admin search result color.

18 years agoSome adjustments to be able to get names without prefix
stronk7 [Mon, 2 Oct 2006 16:28:51 +0000 (16:28 +0000)]
Some adjustments to be able to get names without prefix

18 years agorename_table() under postgresql completed
stronk7 [Mon, 2 Oct 2006 16:27:18 +0000 (16:27 +0000)]
rename_table() under postgresql completed

18 years agoSet debug off on tests
stronk7 [Mon, 2 Oct 2006 16:26:34 +0000 (16:26 +0000)]
Set debug off on tests

18 years agorename_table() under oracle completed
stronk7 [Mon, 2 Oct 2006 16:19:48 +0000 (16:19 +0000)]
rename_table() under oracle completed

18 years agoString should be printed using s() MDL-6779
moodler [Mon, 2 Oct 2006 16:08:16 +0000 (16:08 +0000)]
String should be printed using s()   MDL-6779

18 years agoWith the emotion, I forgot to delete some debug lines... :-P
stronk7 [Mon, 2 Oct 2006 15:57:59 +0000 (15:57 +0000)]
With the emotion, I forgot to delete some debug lines... :-P

18 years agorename_table() under mssql completed! B-)
stronk7 [Mon, 2 Oct 2006 15:56:34 +0000 (15:56 +0000)]
rename_table() under mssql completed! B-)

18 years agoAdded language files to default preset as an example
moodler [Mon, 2 Oct 2006 15:27:24 +0000 (15:27 +0000)]
Added language files to default preset as an example

18 years agoBe a bit more flexible with the extra paths (can be a string or an array)
moodler [Mon, 2 Oct 2006 15:15:23 +0000 (15:15 +0000)]
Be a bit more flexible with the extra paths (can be a string or an array)

18 years agoAdditional paramter for get_string() that allows the calling code to
moodler [Mon, 2 Oct 2006 15:08:25 +0000 (15:08 +0000)]
Additional paramter for get_string() that allows the calling code to
specify extra locations for strings

18 years agoVarious little cleanups
moodler [Mon, 2 Oct 2006 14:57:00 +0000 (14:57 +0000)]
Various little cleanups