]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoSQL ORs must be, always, "OR"
stronk7 [Thu, 21 Sep 2006 17:09:28 +0000 (17:09 +0000)]
SQL ORs must be, always, "OR"

18 years agoAllow to specify NULL clauses for some generators, mainly because
stronk7 [Thu, 21 Sep 2006 17:04:28 +0000 (17:04 +0000)]
Allow to specify NULL clauses for some generators, mainly because
some mssql drivers use to create everything as NOT NULL by default.

18 years agoNew string , used in registering
moodler [Thu, 21 Sep 2006 16:49:15 +0000 (16:49 +0000)]
New string , used in registering

18 years agoFixes to make registering work ;-)
moodler [Thu, 21 Sep 2006 16:48:46 +0000 (16:48 +0000)]
Fixes to make registering work ;-)

18 years agoFixed typo in capability name
moodler [Thu, 21 Sep 2006 16:46:10 +0000 (16:46 +0000)]
Fixed typo in capability name

18 years agofixed typos in capabiltiy names
skodak [Thu, 21 Sep 2006 16:27:37 +0000 (16:27 +0000)]
fixed typos in capabiltiy names

18 years agoPeople under switched roles should not be able to unenrol
moodler [Thu, 21 Sep 2006 16:11:31 +0000 (16:11 +0000)]
People under switched roles should not be able to unenrol

18 years agoChanging defaults for role assigning (teachers, coursecreators allowed)
moodler [Thu, 21 Sep 2006 16:02:39 +0000 (16:02 +0000)]
Changing defaults for role assigning (teachers, coursecreators allowed)

18 years agoImprovements to switchroles
moodler [Thu, 21 Sep 2006 15:58:59 +0000 (15:58 +0000)]
Improvements to switchroles

1) You can have separate switchroles active in every course

2) Admins get a better view (doanything is supressed when switchroles active)

18 years agoChanged the redirect() version with no message (that sends a redirect header) so...
sam_marshall [Thu, 21 Sep 2006 15:13:27 +0000 (15:13 +0000)]
Changed the redirect() version with no message (that sends a redirect header) so that it sends an absolute URL as per HTTP spec, even if the argument to the function is a relative URL.

18 years agoChanged the login info string when a user is using 'switch roles'
moodler [Thu, 21 Sep 2006 14:42:45 +0000 (14:42 +0000)]
Changed the login info string when a user is using 'switch roles'

18 years agoFixed a capability name typo
moodler [Thu, 21 Sep 2006 14:07:27 +0000 (14:07 +0000)]
Fixed a capability name typo

18 years agoFixed typos in capability names
moodler [Thu, 21 Sep 2006 14:05:58 +0000 (14:05 +0000)]
Fixed typos in capability names

18 years agoChanged logic slightly in switchrole_form
moodler [Thu, 21 Sep 2006 14:04:32 +0000 (14:04 +0000)]
Changed logic slightly in switchrole_form

18 years agoFix typo
moodler [Thu, 21 Sep 2006 13:11:05 +0000 (13:11 +0000)]
Fix typo

18 years agoAdded feature to blocks (and restorelib) so that blocks get a method call (default...
sam_marshall [Thu, 21 Sep 2006 12:07:15 +0000 (12:07 +0000)]
Added feature to blocks (and restorelib) so that blocks get a method call (default does nothing) after they are restored. This allows blocks to change their settings if necessary in respect of the new course roll-forward 'restore and change start date' feature that Al implemented recently. The core blocks happen not to store dates anyway so don't need this, but contributed blocks may well do.

18 years agoWhen journal to assignment migration is performed, journal
stronk7 [Thu, 21 Sep 2006 10:04:49 +0000 (10:04 +0000)]
When journal to assignment migration is performed, journal
upgrade hasn't been upgraded yet so the journal_entries->comment
field is still called "comment"

18 years agoLast reserved word is out now!
stronk7 [Thu, 21 Sep 2006 09:54:00 +0000 (09:54 +0000)]
Last reserved word is out now!
journal_entries->comment to entrycomment

Only 2 tables have reserved names but they aren't
a problem if we force $CFG->prefix always

18 years agoMoved assignment_submission->comment to submissioncomment
stronk7 [Thu, 21 Sep 2006 09:35:20 +0000 (09:35 +0000)]
Moved assignment_submission->comment to submissioncomment
(because comment is DB reserved word)

18 years agoMore strings
moodler [Thu, 21 Sep 2006 09:16:56 +0000 (09:16 +0000)]
More strings

18 years agoNew "Switch Role" functionality to replace the old "Student view".
moodler [Thu, 21 Sep 2006 09:16:41 +0000 (09:16 +0000)]
New "Switch Role" functionality to replace the old "Student view".

It's not well-tested yet and probably doesn't quite work.  I will keep debugging this tonight from home.

18 years agochanges to backups (where the roles info are stored)
toyomoyo [Thu, 21 Sep 2006 09:09:16 +0000 (09:09 +0000)]
changes to backups (where the roles info are stored)

18 years agoRemoved capability mod/forum:viewforum. We will use moodle/course:viewhiddenactivitie...
vyshane [Thu, 21 Sep 2006 08:32:05 +0000 (08:32 +0000)]
Removed capability mod/forum:viewforum. We will use moodle/course:viewhiddenactivities and hide/unhide forums instead.

18 years agoRemoved string for mod/forum:viewforum
vyshane [Thu, 21 Sep 2006 08:30:59 +0000 (08:30 +0000)]
Removed string for mod/forum:viewforum

18 years agoanother admin ui cleanup
skodak [Thu, 21 Sep 2006 08:28:25 +0000 (08:28 +0000)]
another admin ui cleanup

18 years agocapability related changes in new admin tree
skodak [Thu, 21 Sep 2006 08:18:14 +0000 (08:18 +0000)]
capability related changes in new admin tree

18 years agoold admin configuration cleanup - MDL-6595 MDL-6449 MDL-6447
skodak [Thu, 21 Sep 2006 08:05:50 +0000 (08:05 +0000)]
old admin configuration cleanup - MDL-6595 MDL-6449 MDL-6447

18 years agoForce ANSI NULLs under mssql. It's not critical to work
stronk7 [Thu, 21 Sep 2006 07:44:56 +0000 (07:44 +0000)]
Force ANSI NULLs under mssql. It's not critical to work
but it avoids some problems when changing nullability
of fields in the future.

18 years agoAdded new capability to switch roles (replaces old student view)
moodler [Thu, 21 Sep 2006 07:44:53 +0000 (07:44 +0000)]
Added new capability to switch roles (replaces old student view)

18 years agoAdded some notes for future reference
vyshane [Thu, 21 Sep 2006 07:40:24 +0000 (07:40 +0000)]
Added some notes for future reference

18 years agoFIxed defaults for frontpage format
moodler [Thu, 21 Sep 2006 07:38:13 +0000 (07:38 +0000)]
FIxed defaults for frontpage format

18 years agoadding roles support for backups
toyomoyo [Thu, 21 Sep 2006 06:57:14 +0000 (06:57 +0000)]
adding roles support for backups

18 years agoremoved moodle specific debug messages from file.php
skodak [Thu, 21 Sep 2006 06:38:27 +0000 (06:38 +0000)]
removed moodle specific debug messages from file.php

18 years agoCleanups in view.php. Also moved logging of a forum view so that the event is not...
vyshane [Thu, 21 Sep 2006 05:42:35 +0000 (05:42 +0000)]
Cleanups in view.php. Also moved logging of a forum view so that the event is not logged if the user does not have permission to view discussions in a forum (user never sees the discussions, so not counted as a view).

Tidy up of error display in discuss.php for when a user does not have permission to view the discussion.

18 years agoAdded message string for when a user does not have permissions to view forum discussi...
vyshane [Thu, 21 Sep 2006 05:39:17 +0000 (05:39 +0000)]
Added message string for when a user does not have permissions to view forum discussions in a forum.

18 years agoRemoved column ratings from data table
vyshane [Thu, 21 Sep 2006 04:10:36 +0000 (04:10 +0000)]
Removed column ratings from data table

18 years agofix for MDL-6571, added get_roles_on_exact_context() for backup
toyomoyo [Thu, 21 Sep 2006 03:21:33 +0000 (03:21 +0000)]
fix for MDL-6571, added get_roles_on_exact_context() for backup

18 years agoAutomatic installer.php lang files by installer_builder (20060921)
moodler [Thu, 21 Sep 2006 02:44:10 +0000 (02:44 +0000)]
Automatic installer.php lang files by installer_builder (20060921)

18 years agofixing syntex errors
toyomoyo [Thu, 21 Sep 2006 02:03:39 +0000 (02:03 +0000)]
fixing syntex errors

18 years agotrying to add some role support, not sure things are at the right place yet.
toyomoyo [Thu, 21 Sep 2006 01:56:59 +0000 (01:56 +0000)]
trying to add some role support, not sure things are at the right place yet.

18 years agoFlatfile enrolment plugin upgraded to new use roles. Credit: Alastair Pharo, new...
mjollnir_ [Thu, 21 Sep 2006 00:04:43 +0000 (00:04 +0000)]
Flatfile enrolment plugin upgraded to new use roles. Credit: Alastair Pharo, new Catalyst ninja ;)  <alastair@catalyst.net.nz>

18 years agoNow XMLDB installation is enabled! Old mysql.php and postgres7.php can
stronk7 [Wed, 20 Sep 2006 22:36:21 +0000 (22:36 +0000)]
Now XMLDB installation is enabled! Old mysql.php and postgres7.php can
continue being used as previously until we finish all the required
DDL functions.

Also, this implies that *.sql files aren't needed anymore. Now all we have to do
is to maintain the install.xml files from the editor.

18 years agoUpdated comment... :-/
stronk7 [Wed, 20 Sep 2006 22:03:45 +0000 (22:03 +0000)]
Updated comment... :-/

18 years agoForcing ADODB_FETCH_ASSOC explicity now for any DB.
stronk7 [Wed, 20 Sep 2006 22:00:49 +0000 (22:00 +0000)]
Forcing ADODB_FETCH_ASSOC explicity now for any DB.

18 years agofix for old email confirmation - spotted by Dirk Grunwald; merged from MOODLE_16_STABLE
skodak [Wed, 20 Sep 2006 21:48:33 +0000 (21:48 +0000)]
fix for old email confirmation - spotted by Dirk Grunwald; merged from MOODLE_16_STABLE

18 years agoforum throttling capability meaning reversed
skodak [Wed, 20 Sep 2006 21:25:51 +0000 (21:25 +0000)]
forum throttling capability meaning reversed

18 years agomajor whitespace cleanup - fixed trailng whitespace in new files and admin area
skodak [Wed, 20 Sep 2006 21:00:45 +0000 (21:00 +0000)]
major whitespace cleanup - fixed trailng whitespace in new files and admin area

18 years agomajor whitespace cleanup - fixed tabs
skodak [Wed, 20 Sep 2006 20:31:09 +0000 (20:31 +0000)]
major whitespace cleanup - fixed tabs

18 years agomajor whitespace cleanup - fixed \r line-ending
skodak [Wed, 20 Sep 2006 20:16:10 +0000 (20:16 +0000)]
major whitespace cleanup - fixed \r line-ending

18 years agomajor whitespace cleanup - fixed \r\n line-ending
skodak [Wed, 20 Sep 2006 19:46:52 +0000 (19:46 +0000)]
major whitespace cleanup - fixed \r\n line-ending

18 years agotest commit for lineending cleanup
skodak [Wed, 20 Sep 2006 19:20:34 +0000 (19:20 +0000)]
test commit for lineending cleanup

18 years agoAdding Slovak Koruna MDL-6604
koenr [Wed, 20 Sep 2006 19:06:57 +0000 (19:06 +0000)]
Adding Slovak Koruna MDL-6604

18 years agomerged changes in moodlelib.php from MOODLE_16_STABLE
skodak [Wed, 20 Sep 2006 18:40:22 +0000 (18:40 +0000)]
merged changes in moodlelib.php from MOODLE_16_STABLE

18 years agoUpdated to reflect changes to data table
vyshane [Wed, 20 Sep 2006 18:08:30 +0000 (18:08 +0000)]
Updated to reflect changes to data table

18 years agofixed warning caused by missing fields in $course; tweaked mime info for firefox...
skodak [Wed, 20 Sep 2006 17:51:59 +0000 (17:51 +0000)]
fixed warning caused by missing fields in $course; tweaked mime info for firefox when forcing download - it should use default system mime associations which should be safe in case of firefox.

18 years agoUpgrade to roles code for data module.
vyshane [Wed, 20 Sep 2006 17:46:20 +0000 (17:46 +0000)]
Upgrade to roles code for data module.

18 years agoMDL-6380 - added required include to make blocks work on the quiz pages.
tjhunt [Wed, 20 Sep 2006 17:22:38 +0000 (17:22 +0000)]
MDL-6380 - added required include to make blocks work on the quiz pages.

18 years agoFix typos in string concatenation.
tjhunt [Wed, 20 Sep 2006 17:01:19 +0000 (17:01 +0000)]
Fix typos in string concatenation.

18 years agoUpgrade to roles code, as well as restoring from 1.6 on a 1.7 install code.
vyshane [Wed, 20 Sep 2006 16:57:01 +0000 (16:57 +0000)]
Upgrade to roles code, as well as restoring from 1.6 on a 1.7 install code.

18 years agoAdded course module groupmodes in convertion to roles logic
vyshane [Wed, 20 Sep 2006 16:54:50 +0000 (16:54 +0000)]
Added course module groupmodes in convertion to roles logic

18 years agoAnother typo.
tjhunt [Wed, 20 Sep 2006 16:36:40 +0000 (16:36 +0000)]
Another typo.

A pity, I would love to know what a delect_records function did ;-)

18 years agorenaming question_dataset_items->number to itemnumber (reserved word) and
stronk7 [Wed, 20 Sep 2006 16:22:19 +0000 (16:22 +0000)]
renaming question_dataset_items->number to itemnumber (reserved word) and
question->commentarytext to question->generalfeedback

18 years agoFixed typo CONTEXT_COUSE -> CONTEXT_COURSE
tjhunt [Wed, 20 Sep 2006 16:19:57 +0000 (16:19 +0000)]
Fixed typo CONTEXT_COUSE -> CONTEXT_COURSE

18 years agoFix bug with getting the capability.
tjhunt [Wed, 20 Sep 2006 16:17:27 +0000 (16:17 +0000)]
Fix bug with getting the capability.

18 years agoUpdate to static JS - 'hitem' hidden fields now optional for lockoptions.
sam_marshall [Wed, 20 Sep 2006 15:04:57 +0000 (15:04 +0000)]
Update to static JS - 'hitem' hidden fields now optional for lockoptions.

18 years agofixed missing ;
skodak [Wed, 20 Sep 2006 15:04:01 +0000 (15:04 +0000)]
fixed missing ;

18 years agoBump for new tables. See MDL-474
ikawhero [Wed, 20 Sep 2006 14:18:37 +0000 (14:18 +0000)]
Bump for new tables. See MDL-474

18 years agoAdding tables for customisable user profile fields. See MDL-474
ikawhero [Wed, 20 Sep 2006 14:17:21 +0000 (14:17 +0000)]
Adding tables for customisable user profile fields. See MDL-474

18 years agodmlib: changed array access to keyed instead of ordinal.
martinlanghoff [Wed, 20 Sep 2006 11:26:47 +0000 (11:26 +0000)]
dmlib: changed array access to keyed instead of ordinal.

This supports the move to ADODB_FETCH_ASSOC instead of ADODB_FETCH_BOTH.
see:
http://docs.moodle.org/en/XMLDB_Problems#ADOdb_fetch_mode_.28ASSOC.2C_NUM_and_BOTH.29

Author: Luke Hudson <luke@catalyst.net.nz>

18 years agoupdated Guinea MDL-3909
koenr [Wed, 20 Sep 2006 09:33:11 +0000 (09:33 +0000)]
updated Guinea MDL-3909

18 years agoreplacing deprecated calls and references to capability calls
toyomoyo [Wed, 20 Sep 2006 09:00:04 +0000 (09:00 +0000)]
replacing deprecated calls and references to capability calls

18 years agoAdded new function function fetch_context_independent_capabilities(). Modified fetch_...
vyshane [Wed, 20 Sep 2006 08:30:49 +0000 (08:30 +0000)]
Added new function function fetch_context_independent_capabilities(). Modified fetch_context_capabilities() to use the former.

Fixed get_roles_used_in_context() sql query. r.sortorder must be selected if it is to be used in an ORDER BY clause.

18 years agoMore capability name typos.
tjhunt [Wed, 20 Sep 2006 08:01:59 +0000 (08:01 +0000)]
More capability name typos.

18 years ago'updated CSS for the breadcrumb and calendar arrows'
urs_hunkler [Wed, 20 Sep 2006 07:40:55 +0000 (07:40 +0000)]
'updated CSS for the breadcrumb and calendar arrows'

18 years agomostly removed old isadmin() calls
skodak [Wed, 20 Sep 2006 06:59:32 +0000 (06:59 +0000)]
mostly removed old isadmin() calls

18 years agoRemoved some obsolete stuff
moodler [Wed, 20 Sep 2006 06:52:54 +0000 (06:52 +0000)]
Removed some obsolete stuff

18 years agorole_context_capabilities should handle current context too and role override simply...
skodak [Wed, 20 Sep 2006 06:24:55 +0000 (06:24 +0000)]
role_context_capabilities should handle current context too and role override simply use parent context

18 years agoadmin page cleanup -- added missing strings
vinkmar [Wed, 20 Sep 2006 04:48:39 +0000 (04:48 +0000)]
admin page cleanup -- added missing strings

18 years agoadmin page cleanup - added most missing strings
vinkmar [Wed, 20 Sep 2006 04:47:57 +0000 (04:47 +0000)]
admin page cleanup - added most missing strings

18 years agoAdded more overrides during restore process for forums from 1.6. Plus some bug fixes.
vyshane [Wed, 20 Sep 2006 02:59:43 +0000 (02:59 +0000)]
Added more overrides during restore process for forums from 1.6. Plus some bug fixes.

18 years agoAutomatic installer.php lang files by installer_builder (20060920)
moodler [Wed, 20 Sep 2006 02:59:20 +0000 (02:59 +0000)]
Automatic installer.php lang files by installer_builder (20060920)

18 years agoFixed notice
vyshane [Wed, 20 Sep 2006 02:47:57 +0000 (02:47 +0000)]
Fixed notice

18 years agoFIxed a bug where $context had not been defined in enrol_into_course
moodler [Wed, 20 Sep 2006 02:19:08 +0000 (02:19 +0000)]
FIxed a bug where $context had not been defined in enrol_into_course

18 years agoAdded unset_config as a companion to set_config
moodler [Wed, 20 Sep 2006 02:17:27 +0000 (02:17 +0000)]
Added unset_config as a companion to set_config

18 years agoMade the debugging message a bit less passive
moodler [Wed, 20 Sep 2006 01:52:49 +0000 (01:52 +0000)]
Made the debugging message a bit less passive

18 years agoAnd another typo in capability name.
tjhunt [Tue, 19 Sep 2006 22:58:12 +0000 (22:58 +0000)]
And another typo in capability name.

18 years agoAnother typo in capability name.
tjhunt [Tue, 19 Sep 2006 22:57:38 +0000 (22:57 +0000)]
Another typo in capability name.

18 years agoIn debug mode, warn people if they are asking for an unknown capability.
tjhunt [Tue, 19 Sep 2006 22:57:17 +0000 (22:57 +0000)]
In debug mode, warn people if they are asking for an unknown capability.

18 years agoTypo in capability name.
tjhunt [Tue, 19 Sep 2006 22:35:40 +0000 (22:35 +0000)]
Typo in capability name.

18 years agoAlways print the question list, so you can add questions to a quiz, even if you are...
tjhunt [Tue, 19 Sep 2006 22:35:02 +0000 (22:35 +0000)]
Always print the question list, so you can add questions to a quiz, even if you are not allowed to edit them.

18 years agoTypo in capability names.\r\rYou do not want to know how long I had to stare at the...
tjhunt [Tue, 19 Sep 2006 22:31:13 +0000 (22:31 +0000)]
Typo in capability names.\r\rYou do not want to know how long I had to stare at the code to spot that!

18 years agofixed MDL-6551
koenr [Tue, 19 Sep 2006 22:14:57 +0000 (22:14 +0000)]
fixed MDL-6551

18 years agoallowassign.php was submitting to allowoverride.php
tjhunt [Tue, 19 Sep 2006 21:53:37 +0000 (21:53 +0000)]
allowassign.php was submitting to allowoverride.php

18 years agoFix JavaScript problem reported in this thread: http://moodle.org/mod/forum/discuss...
tjhunt [Tue, 19 Sep 2006 21:48:16 +0000 (21:48 +0000)]
Fix JavaScript problem reported in this thread: http://moodle.org/mod/forum/discuss.php?d=54432. Merged from MOODLE_16_STABLE.

18 years agofix for mdl-3909
koenr [Tue, 19 Sep 2006 21:45:13 +0000 (21:45 +0000)]
fix for mdl-3909
cleaned up the file completely

18 years agometacourse role assignment fixes
skodak [Tue, 19 Sep 2006 20:39:55 +0000 (20:39 +0000)]
metacourse role assignment fixes

18 years agovarious minor Role UI fixes
skodak [Tue, 19 Sep 2006 17:34:29 +0000 (17:34 +0000)]
various minor Role UI fixes

18 years agoAdded some docs
moodler [Tue, 19 Sep 2006 16:38:53 +0000 (16:38 +0000)]
Added some docs

18 years agoDeleted the old students-based function and created the
moodler [Tue, 19 Sep 2006 16:29:43 +0000 (16:29 +0000)]
Deleted the old students-based function and created the
new-style setup_enrolments() function that uses roles
to do the tasks required when a user logs in.

Other enrolment plugins should use this as an example/guide

The sync parts of this plugin are not yet fixed.

18 years agoSlight extensions to get_my_courses() API to make it more useful in general
moodler [Tue, 19 Sep 2006 14:23:43 +0000 (14:23 +0000)]
Slight extensions to get_my_courses() API to make it more useful in general