]>
git.mjollnir.org Git - moodle.git/log
koenr [Sun, 27 Aug 2006 07:31:10 +0000 (07:31 +0000)]
updating index files MDL-3484
koenr [Sun, 27 Aug 2006 07:13:40 +0000 (07:13 +0000)]
updating index files MDL-3484
skodak [Sat, 26 Aug 2006 19:38:32 +0000 (19:38 +0000)]
fixed warning in glossary recent activity from deteted entries
skodak [Sat, 26 Aug 2006 19:19:36 +0000 (19:19 +0000)]
removing some isteacher()s from glossary
skodak [Sat, 26 Aug 2006 18:42:56 +0000 (18:42 +0000)]
isguest() compatible with roles
skodak [Sat, 26 Aug 2006 18:08:18 +0000 (18:08 +0000)]
trusttext cleaning in glossary upgrade - definitions and comments
skodak [Sat, 26 Aug 2006 17:39:31 +0000 (17:39 +0000)]
minor trusttext fix
skodak [Sat, 26 Aug 2006 17:20:52 +0000 (17:20 +0000)]
fixed table already exists problem during install and upgrade in Opera
skodak [Sat, 26 Aug 2006 13:00:07 +0000 (13:00 +0000)]
trusttext:
* proposed by Martin Dougiamas
* implemented by skodak
Usage:
1/ change enabletrusttext to yes in site settings (it is off by default) or set it in config.php
2/ assign moodle/site:trustcontent capability to users whose text submitted in glossary entries, comments, forum posts etc. should not be cleaned == they can use javascript or any other forbidden tags in glossary and forums...
done:
* core
* glossary (without proper upgrade)
to do:
* data cleaning in upgrades
* forum, blocks and some other places (MD decides)
moodler [Sat, 26 Aug 2006 02:48:03 +0000 (02:48 +0000)]
Automatic installer.php lang files by installer_builder (
20060826 )
stronk7 [Sat, 26 Aug 2006 00:50:09 +0000 (00:50 +0000)]
Max for decimal type in MSSQL is 38 cc.
stronk7 [Sat, 26 Aug 2006 00:08:11 +0000 (00:08 +0000)]
Adding back the first column in the recordset, that is out after GetAssoc(),
in order to:
- Don't get our first named column under some drivers.
- Be able to migrate to ADODB_FETCH_ASSOC soon.
For more info, http://docs.moodle.org/en/XMLDB_Problems,
in the ADOdb fetch mode (ASSOC, NUM and BOTH) section.
mark-nielsen [Fri, 25 Aug 2006 22:53:17 +0000 (22:53 +0000)]
Merged bug fix for bug MDL-6323
skodak [Fri, 25 Aug 2006 20:50:44 +0000 (20:50 +0000)]
fixed missing continue button during upgrade when using dbsessions
skodak [Fri, 25 Aug 2006 20:12:12 +0000 (20:12 +0000)]
Many bugs and typos fixed in capabilitties and legacy isteacher() and similar functions - not many lines changed but it was a looong coding day.
Roles and capabilities should be usable now and old unconverted code should work too :-D
Tested only in fresh installation - admin, teacher and student roles should sort of work.
mark-nielsen [Fri, 25 Aug 2006 18:33:50 +0000 (18:33 +0000)]
Merged differences from MOODLE_16_STABLE into HEAD
stronk7 [Fri, 25 Aug 2006 17:11:43 +0000 (17:11 +0000)]
PGs doubles are caller DOUBLE PRECISION
stronk7 [Fri, 25 Aug 2006 17:02:49 +0000 (17:02 +0000)]
Indexes on text fields are not allowed
stronk7 [Fri, 25 Aug 2006 17:02:04 +0000 (17:02 +0000)]
Solved one wrong field declaration in lesson_grades
tjhunt [Fri, 25 Aug 2006 16:03:54 +0000 (16:03 +0000)]
Convert mod/quiz/view.php to roles, and further tidy up the code flow in there. This touches other files because I had to change a function in locallib that had an $isteacher parameter.
I have not converted the rest of the quiz, and I don't intend to. I am hoping Moodle.com will do it.
I hope this does not introduce any bugs, but view.php is so complicate (at least it is less complicated than it was) and the quiz has so many options, that it is hard to be sure. This needs lots of testing before 1.7 is released.
tjhunt [Fri, 25 Aug 2006 14:29:47 +0000 (14:29 +0000)]
Missing language string.
skodak [Fri, 25 Aug 2006 14:15:52 +0000 (14:15 +0000)]
fixed missing global $CONTEXT in get_context_instance()
tjhunt [Fri, 25 Aug 2006 11:23:00 +0000 (11:23 +0000)]
Correct typo.
moodler [Fri, 25 Aug 2006 08:54:22 +0000 (08:54 +0000)]
Just a slight tidy-up
vyshane [Fri, 25 Aug 2006 08:51:50 +0000 (08:51 +0000)]
Added has_capability checks
vyshane [Fri, 25 Aug 2006 08:30:25 +0000 (08:30 +0000)]
Added has_capability check
vyshane [Fri, 25 Aug 2006 08:27:28 +0000 (08:27 +0000)]
Added has_capability checks
toyomoyo [Fri, 25 Aug 2006 08:27:27 +0000 (08:27 +0000)]
some (mainly admin realated) capabilities
moodler [Fri, 25 Aug 2006 07:10:22 +0000 (07:10 +0000)]
Added 3d moving icon for ajax course format
moodler [Fri, 25 Aug 2006 07:09:28 +0000 (07:09 +0000)]
FIxed some tabs :(
and added a module-xxxxx CSS id to each item
vyshane [Fri, 25 Aug 2006 04:06:41 +0000 (04:06 +0000)]
Previous committer missed one rename from $edit to $categoryedit. Fixed.
vyshane [Fri, 25 Aug 2006 02:41:16 +0000 (02:41 +0000)]
Changes to take care of forum upgrade to new roles system. Backed up forums
will also be converted to the new roles system if the backup was made
pre-roles.
vyshane [Fri, 25 Aug 2006 02:37:54 +0000 (02:37 +0000)]
We need the newly created course_module id to be passed to the restore
functions of the modules. We need this now for the forum module to convert
forums backed up in 1.6 to use roles upon restore in 1.7. However, this might
be needed for other modules as well if they need conversion to the roles
system.
stronk7 [Thu, 24 Aug 2006 22:27:11 +0000 (22:27 +0000)]
Added support for the new upgrade system for main tables.
stronk7 [Thu, 24 Aug 2006 16:57:39 +0000 (16:57 +0000)]
Renamed column question_sessions->comment at Eloy's
request since comment is a DB reserved word.
(mimic from sql files) Thanks Tim! B-)
tjhunt [Thu, 24 Aug 2006 16:56:59 +0000 (16:56 +0000)]
Avoid reserved words in dmllib unit tests.
(Except that TEXT is not a reserved word after all, although some things like TINYTEXT are. Wheird!)
stronk7 [Thu, 24 Aug 2006 16:54:02 +0000 (16:54 +0000)]
MDL-5969 Let multiple choice questions have feedback that does not depend on the chosen answer
(mimic from old sql files)
tjhunt [Thu, 24 Aug 2006 16:44:15 +0000 (16:44 +0000)]
Renamed column question_sessions->comment at Eloy's request since comment is a DB reserved word.
I have not been able to test this fully, because I cannot assign roles (e.g. Student and Teacher) in 1.7dev at the moment to test a student answering an essay question then a teacher grading it. However, I have tested as much as possible as admin and cannot get any errors.
tjhunt [Thu, 24 Aug 2006 15:37:03 +0000 (15:37 +0000)]
During the conversion datalib -> ddllib, Eloy removed my comment that made it possible to understand how to use table_colum :-( Adding it back.
tjhunt [Thu, 24 Aug 2006 11:37:10 +0000 (11:37 +0000)]
MDL-4816 Fix silly error in my commit for this bug.
tjhunt [Thu, 24 Aug 2006 11:36:38 +0000 (11:36 +0000)]
Fix Eclipse warnings.
tjhunt [Thu, 24 Aug 2006 11:22:24 +0000 (11:22 +0000)]
Fix PHP syntax error. I wish more developers used Eclipse.
tjhunt [Thu, 24 Aug 2006 10:22:43 +0000 (10:22 +0000)]
MDL-5969 Let multiple choice questions have feedback that does not depend on the chosen answer
In passing, I fixed MDL-6297 Export of multichoice questions in Moodle XML format doesn't save shuffle option too.
tjhunt [Thu, 24 Aug 2006 10:16:54 +0000 (10:16 +0000)]
Fixed syntax error in a PHPdoc comments.
tjhunt [Thu, 24 Aug 2006 10:12:15 +0000 (10:12 +0000)]
Fixed syntax error in a PHPdoc comment.
vinkmar [Thu, 24 Aug 2006 06:44:35 +0000 (06:44 +0000)]
Added support for phpMyAdmin plugin.
moodler [Thu, 24 Aug 2006 03:48:04 +0000 (03:48 +0000)]
FIxed roles button on blocks
moodler [Thu, 24 Aug 2006 03:37:41 +0000 (03:37 +0000)]
Formatting fixes
moodler [Thu, 24 Aug 2006 03:28:09 +0000 (03:28 +0000)]
FIxed some notices
moodler [Thu, 24 Aug 2006 03:20:37 +0000 (03:20 +0000)]
Ed Coyne's AJAX course format, with some cleanups done.
More cleanups to come from Ed.
This isn't actually working for me right now but he'll fix it now.
This is completely optional and won't affect any other code right now.
moodler [Thu, 24 Aug 2006 03:17:53 +0000 (03:17 +0000)]
FIxing Ed's mistaken checkin
danmarsden [Thu, 24 Aug 2006 02:08:59 +0000 (02:08 +0000)]
MDL-4493 issue with 405 pages for IIS users - must specify actual page, as the notice function does a post - you cannot use the POST Verb on a directory in IIS.
tjhunt [Wed, 23 Aug 2006 21:17:23 +0000 (21:17 +0000)]
MDL-4816 Short answer question type considers '100' and '100.' to be the same\r \r Actually, this may have affected other question types too.
tjhunt [Wed, 23 Aug 2006 21:04:04 +0000 (21:04 +0000)]
Clarified comment.
tjhunt [Wed, 23 Aug 2006 19:04:24 +0000 (19:04 +0000)]
MDL-6338 - Short answer questions with ' in the answer don't work. Merged from MOODLE_16_STABLE.\r \r Yet another unpleasant quiz bug caused by the current broken way we do things with addslashes.
tjhunt [Wed, 23 Aug 2006 18:37:38 +0000 (18:37 +0000)]
Fix getting the context. It did not work during question preview from the question bank when there was no quiz in sight.
tjhunt [Wed, 23 Aug 2006 15:32:06 +0000 (15:32 +0000)]
Get the contexts without referring to undefined variables.
stronk7 [Wed, 23 Aug 2006 15:23:53 +0000 (15:23 +0000)]
Adding one PHP close tag that has been missing (but working) since years!
tjhunt [Wed, 23 Aug 2006 15:12:52 +0000 (15:12 +0000)]
Get the contexts without referring to undefined variables.
thepurpleblob [Wed, 23 Aug 2006 14:57:40 +0000 (14:57 +0000)]
Merged from STABLE
tjhunt [Wed, 23 Aug 2006 09:23:56 +0000 (09:23 +0000)]
Improved one language string. Thank Mitshiro Yoshida.
moodler [Wed, 23 Aug 2006 08:39:15 +0000 (08:39 +0000)]
Adding a copyright notice, and mentioning MDL-3717 purely as a test of the
new CVS integration on tracker.moodle.org
toyomoyo [Wed, 23 Aug 2006 08:14:14 +0000 (08:14 +0000)]
changing default override values
toyomoyo [Wed, 23 Aug 2006 08:11:43 +0000 (08:11 +0000)]
renamed variable so that it doens't get recycled
vyshane [Wed, 23 Aug 2006 07:05:36 +0000 (07:05 +0000)]
Removed forum_get_course_forum for forum type teacher.
vyshane [Wed, 23 Aug 2006 06:56:23 +0000 (06:56 +0000)]
Fixed notice
toyomoyo [Wed, 23 Aug 2006 06:36:08 +0000 (06:36 +0000)]
various changes - loading capabilities for questions, quiz, hide tab if no assignalbe or no overridable role is found, added some functions and comments in accesslib
toyomoyo [Wed, 23 Aug 2006 05:52:39 +0000 (05:52 +0000)]
fixing a typo
toyomoyo [Wed, 23 Aug 2006 05:39:41 +0000 (05:39 +0000)]
fix for MDL-6326, add support for quiz_feedaback table
moodler [Wed, 23 Aug 2006 01:29:52 +0000 (01:29 +0000)]
Fixed context caching (wasn't using globals)
skodak [Tue, 22 Aug 2006 22:25:30 +0000 (22:25 +0000)]
debug off level is now 5 instead of 7 to prevent E_WARNING on production sites SC#294; merged from MOODLE_16_STABLE
skodak [Tue, 22 Aug 2006 22:22:34 +0000 (22:22 +0000)]
reverting wrong commit, sorry :-(
skodak [Tue, 22 Aug 2006 22:19:58 +0000 (22:19 +0000)]
debug off level is now 5 instead of 7 to prevent E_WARNING on production sites SC#294
skodak [Tue, 22 Aug 2006 22:12:17 +0000 (22:12 +0000)]
fixed trailing whitespace in last commit :-(; merged from MOODLE_16_STABLE
stronk7 [Tue, 22 Aug 2006 22:10:09 +0000 (22:10 +0000)]
Normalizing a bit all the float/double generators.
skodak [Tue, 22 Aug 2006 22:04:06 +0000 (22:04 +0000)]
Rewritten help.php by Tim Hunt with minor fixes - SC#292; merged from MOODLE_16_STABLE
stronk7 [Tue, 22 Aug 2006 21:55:20 +0000 (21:55 +0000)]
quiz_feedback added to XMLDB
stronk7 [Tue, 22 Aug 2006 21:44:07 +0000 (21:44 +0000)]
Small typo. ;-)
tjhunt [Tue, 22 Aug 2006 21:33:54 +0000 (21:33 +0000)]
SC 299. Merged from MOODLE_16_STABLE.
stronk7 [Tue, 22 Aug 2006 21:19:52 +0000 (21:19 +0000)]
Change rule to tzrule (reserved word)
stronk7 [Tue, 22 Aug 2006 20:11:33 +0000 (20:11 +0000)]
Updated using tzdata2006j
stronk7 [Tue, 22 Aug 2006 20:10:54 +0000 (20:10 +0000)]
Change rule to tzrule (reserved word)
tjhunt [Tue, 22 Aug 2006 19:26:05 +0000 (19:26 +0000)]
Fix an obvious typo in the roles and permissions code.
tjhunt [Tue, 22 Aug 2006 19:09:52 +0000 (19:09 +0000)]
Fix Eclipse warnings.
tjhunt [Tue, 22 Aug 2006 19:09:07 +0000 (19:09 +0000)]
Fix Eclipse warnings.
tjhunt [Tue, 22 Aug 2006 19:01:42 +0000 (19:01 +0000)]
Work round Eclipse warning.
tjhunt [Tue, 22 Aug 2006 19:00:18 +0000 (19:00 +0000)]
Fix Eclipse warnings.
tjhunt [Tue, 22 Aug 2006 17:31:26 +0000 (17:31 +0000)]
MDL-5270 - give students a feeback comment for their performance in the entire quiz.
Also, along the way I noticed and fixed MDL-6290 student grades not rescaled when quiz maximum grade changed.
stronk7 [Tue, 22 Aug 2006 16:39:14 +0000 (16:39 +0000)]
One trick to allow pseudo-null Oracle insertions. Let's see what happen.
tjhunt [Tue, 22 Aug 2006 16:18:11 +0000 (16:18 +0000)]
Unbreak roles and permission on Postgres yet again.
If you want a laugh, compare this fix the with the diff between revisions 1.5 and 1.6 of this file.
stronk7 [Tue, 22 Aug 2006 16:15:44 +0000 (16:15 +0000)]
Standard naming now user FOUR char for tables (to avoid
avoid some potential duplicates)
tjhunt [Tue, 22 Aug 2006 13:53:39 +0000 (13:53 +0000)]
Reverting toyomoyo's conversion of mod/quiz/view.php to roles because his changes made no sense.
Admittedly, this file is pretty incomprehensible and it is not clear at first what it is trying to do. (Even though it is more comprehensible now than it was a week ago.) I'll to a proper conversion of this file to RnP once I have checked in my other changes there - assuming I can actually get Moodle to work so I can test my changes.
tjhunt [Tue, 22 Aug 2006 13:12:24 +0000 (13:12 +0000)]
Fix toyomoyo's syntax errors.
toyomoyo [Tue, 22 Aug 2006 09:04:23 +0000 (09:04 +0000)]
some quiz capabilities
vyshane [Tue, 22 Aug 2006 07:42:34 +0000 (07:42 +0000)]
Removed deprecated teacher forum type
vyshane [Tue, 22 Aug 2006 07:38:01 +0000 (07:38 +0000)]
Removed deprecated forum type teacher.
vyshane [Tue, 22 Aug 2006 05:56:45 +0000 (05:56 +0000)]
Added prevent for mod/prevent:createattachment for default students and guests
in teacher forums
vyshane [Tue, 22 Aug 2006 05:45:43 +0000 (05:45 +0000)]
Upgrade now works. Needs more testing.
vyshane [Tue, 22 Aug 2006 05:44:32 +0000 (05:44 +0000)]
Fixes:
1) has_capability call used in fullname()
2) initialised array $options
3) $context->level has been renamed to $context->aggregatelevel
vyshane [Tue, 22 Aug 2006 05:35:52 +0000 (05:35 +0000)]
Bug fixes:
1) Replaced isteacher call in fullname ($course undefined)
2) Initialised $options array