5109 Commits

Author SHA1 Message Date
toyomoyo
4f83ae95ca adding capabilities 2006-08-31 08:51:09 +00:00
bobopinna
2b3447c38a Added capability support 2006-08-31 08:34:13 +00:00
skodak
d78f25b8c0 fixed missing semicolon typo 2006-08-30 09:17:40 +00:00
toyomoyo
81e956b964 added some capabilities 2006-08-30 08:43:17 +00:00
toyomoyo
247cdeb68f utf8 migrate support for additional fields MDL-6339 2006-08-30 06:12:12 +00:00
toyomoyo
f9a59efa64 adding some capabilities 2006-08-29 08:43:59 +00:00
toyomoyo
8493ff6fd5 added acapability 2006-08-29 06:02:29 +00:00
toyomoyo
be07f21b61 replaced isguest with capability calls 2006-08-29 03:36:31 +00:00
toyomoyo
0bde63002a adding in capabilities 2006-08-29 03:22:05 +00:00
toyomoyo
38ac07d284 adding capability, indenting, putting in brackets etc 2006-08-29 03:20:51 +00:00
vyshane
7b12414814 Fix for bug MDL-6385 2006-08-29 02:09:31 +00:00
mark-nielsen
ab8e5428b5 Merged bug fix for MDL-6325 2006-08-28 20:02:49 +00:00
tjhunt
f0a7247d0e Fix typo. 2006-08-28 18:50:42 +00:00
stronk7
683ff5d4f3 Dropping forum.open and forum.assesspublic
(mimic from .sql files)
2006-08-28 16:20:52 +00:00
toyomoyo
1648afb278 changes to how to pull out a list of users (course/module participants) 2006-08-28 08:42:30 +00:00
vyshane
5ce6f628ba Dropping forum.open and forum.assesspublic from .sql files. Added forum
upgrade to roles code to postgres7.php.
2006-08-28 03:51:38 +00:00
skodak
f2b5d7e3b7 trusttext implementation in Forum module, fixed incorrect merging, added missing postresql upgrade code, some other minor fixes 2006-08-27 20:45:04 +00:00
skodak
7af25328c2 fixed cosmetic typo - missing semicolon before closing tag 2006-08-27 18:38:16 +00:00
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