skodak
cf8eaebb06
fixed warning in glossary recent activity from deteted entries
2006-08-26 19:38:32 +00:00
skodak
b3e570450f
removing some isteacher()s from glossary
2006-08-26 19:19:36 +00:00
skodak
907cf31821
trusttext cleaning in glossary upgrade - definitions and comments
2006-08-26 18:08:18 +00:00
skodak
7d8a3cb06a
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)
2006-08-26 13:00:07 +00:00
mark-nielsen
c87a341cb9
Merged bug fix for bug MDL-6323
2006-08-25 22:53:17 +00:00
mark-nielsen
2fc13bc767
Merged differences from MOODLE_16_STABLE into HEAD
2006-08-25 18:33:50 +00:00
stronk7
c049e98881
Indexes on text fields are not allowed
2006-08-25 17:02:49 +00:00
stronk7
a5ea2dc334
Solved one wrong field declaration in lesson_grades
2006-08-25 17:02:04 +00:00
tjhunt
cd06115fa7
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.
2006-08-25 16:03:54 +00:00
tjhunt
64d8092342
Correct typo.
2006-08-25 11:23:00 +00:00
vyshane
e1b5643ff7
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.
2006-08-25 02:41:16 +00:00
stronk7
2acf462dd9
Renamed column question_sessions->comment at Eloy's
...
request since comment is a DB reserved word.
(mimic from sql files) Thanks Tim! B-)
2006-08-24 16:57:39 +00:00
tjhunt
3e3e5a4030
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.
2006-08-24 16:44:15 +00:00
tjhunt
a18fa6d5ba
Get the contexts without referring to undefined variables.
2006-08-23 15:32:06 +00:00
tjhunt
5cae120596
Get the contexts without referring to undefined variables.
2006-08-23 15:12:52 +00:00
toyomoyo
945f88ca15
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
2006-08-23 06:36:08 +00:00
toyomoyo
b56d75dd00
fixing a typo
2006-08-23 05:52:39 +00:00
toyomoyo
ed60c54a94
fix for MDL-6326, add support for quiz_feedaback table
2006-08-23 05:39:41 +00:00
stronk7
962f8a9b4e
quiz_feedback added to XMLDB
2006-08-22 21:55:20 +00:00
stronk7
8792c16589
Small typo. ;-)
2006-08-22 21:44:07 +00:00
tjhunt
199e43d470
Fix Eclipse warnings.
2006-08-22 19:00:18 +00:00
tjhunt
212b7b8cd9
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.
2006-08-22 17:31:26 +00:00
tjhunt
1751eebc69
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.
2006-08-22 13:53:39 +00:00
tjhunt
a4a6eb8a17
Fix toyomoyo's syntax errors.
2006-08-22 13:12:24 +00:00
toyomoyo
5cf38a57cd
some quiz capabilities
2006-08-22 09:04:23 +00:00
vyshane
5cae056c45
Removed deprecated teacher forum type
2006-08-22 07:42:34 +00:00
vyshane
45c38eef4c
Removed deprecated forum type teacher.
2006-08-22 07:38:01 +00:00
vyshane
d604bdeaed
Added prevent for mod/prevent:createattachment for default students and guests
...
in teacher forums
2006-08-22 05:56:45 +00:00
vyshane
9fa3350862
Upgrade now works. Needs more testing.
2006-08-22 05:45:43 +00:00
vyshane
f13a5fa609
Removed forum->open config since roles will take over this
2006-08-22 02:43:58 +00:00
vyshane
ac195b6fa6
Need to pass the module id and not the object to add_course_module
2006-08-22 02:24:45 +00:00
vyshane
c1de8b8a80
Fixed bug - empty teacher forums (deleted) should not have a course module
...
created for them.
2006-08-21 08:45:12 +00:00
toyomoyo
3765fd5367
some capabilities for quiz and questions, need to load them in access.php
2006-08-21 08:40:06 +00:00
vyshane
f0da6b858e
Removed $forum->open, $forum->assesspublic from code. Fixed bug in upgrade
...
code, changed module config form to accomdate removal of forum.assesspublic
and forum.open.
2006-08-21 06:56:04 +00:00
tjhunt
dcc0a7e25f
Bug #6305 - Quiz settings form field order could be better. Merged from MOODLE_16_STABLE.
2006-08-20 20:11:05 +00:00
skodak
7f5495053f
fixed short php tag and end tag in comment
2006-08-19 11:15:59 +00:00
tjhunt
865b753486
Code cleanup. Merged from MOODLE_16_STABLE.
2006-08-18 22:26:04 +00:00
vyshane
e6416e3f12
Updated upgrade to roles system
2006-08-18 07:08:14 +00:00
vyshane
314af32a92
Forum upgrade to roles in progress (commented out).
2006-08-18 04:17:31 +00:00
skodak
031c8ae5a0
Bug #6276 - Multiple questions not showing up from scale page; merged from MOODLE_16_STABLE
2006-08-17 21:34:39 +00:00
stronk7
b7bc9446a9
Added JS template field for JavaScript if needed.
2006-08-17 16:40:46 +00:00
tomflannaghan
ca20f89151
Slashes added for database entry.
2006-08-17 13:19:28 +00:00
tomflannaghan
b010085239
Javascript added
2006-08-17 09:27:51 +00:00
tomflannaghan
f0a93e5d30
jstemplate
2006-08-17 09:26:31 +00:00
tomflannaghan
5a83945ec5
Extra tab for 'jstemplate'
2006-08-17 09:26:06 +00:00
moodler
8ac4971405
Added JS template field for JavaScript if needed
2006-08-17 09:02:56 +00:00
vyshane
c39f126780
Fixed warning
2006-08-17 03:52:05 +00:00
tjhunt
b169c31e39
Save two queries if we are not going to output anything.
2006-08-16 16:54:20 +00:00
toyomoyo
b3e900cee6
some more UI change
2006-08-16 09:11:43 +00:00
tjhunt
920b93d1e3
Remove horrific code duplication in mod/quiz/lib.php.
2006-08-16 08:46:10 +00:00