koenr
4d6cb85c3b
updating index files MDL-3484
2006-08-27 08:20:34 +00:00
skodak
168fa2c1d1
reverting isguest() changes
2006-08-27 08:10:03 +00:00
koenr
7d06e3b3be
updating index files MDL-3484
2006-08-27 08:09:03 +00:00
koenr
702a3aafa7
typo
2006-08-27 08:01:24 +00:00
koenr
0bb3edbcff
updating index files MDL-3484
2006-08-27 08:00:42 +00:00
koenr
b85953c847
updating index files MDL-3484
2006-08-27 07:31:10 +00:00
koenr
936678268c
updating index files MDL-3484
2006-08-27 07:13:40 +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
18d8a6a741
isguest() compatible with roles
2006-08-26 18:42:56 +00:00
skodak
907cf31821
trusttext cleaning in glossary upgrade - definitions and comments
2006-08-26 18:08:18 +00:00
skodak
daed1a2f37
minor trusttext fix
2006-08-26 17:39:31 +00:00
skodak
b8dc934baa
fixed table already exists problem during install and upgrade in Opera
2006-08-26 17:20:52 +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
moodler
8618b509fd
Automatic installer.php lang files by installer_builder (20060826)
2006-08-26 02:48:03 +00:00
stronk7
c8a418b8d6
Max for decimal type in MSSQL is 38 cc.
2006-08-26 00:50:09 +00:00
stronk7
7e8f922047
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.
2006-08-26 00:08:11 +00:00
mark-nielsen
c87a341cb9
Merged bug fix for bug MDL-6323
2006-08-25 22:53:17 +00:00
skodak
426a369bfa
fixed missing continue button during upgrade when using dbsessions
2006-08-25 20:50:44 +00:00
skodak
9425b25f46
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.
2006-08-25 20:12:12 +00:00
mark-nielsen
2fc13bc767
Merged differences from MOODLE_16_STABLE into HEAD
2006-08-25 18:33:50 +00:00
stronk7
09942a5ec2
PGs doubles are caller DOUBLE PRECISION
2006-08-25 17:11:43 +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
6ac7a65d76
Missing language string.
2006-08-25 14:29:47 +00:00
skodak
51195e6f9f
fixed missing global $CONTEXT in get_context_instance()
2006-08-25 14:15:52 +00:00
tjhunt
64d8092342
Correct typo.
2006-08-25 11:23:00 +00:00
moodler
a72784d3c6
Just a slight tidy-up
2006-08-25 08:54:22 +00:00
vyshane
1a3e93ffe6
Added has_capability checks
2006-08-25 08:51:50 +00:00
vyshane
25c38f25a1
Added has_capability check
2006-08-25 08:30:25 +00:00
vyshane
6ac96fcb3c
Added has_capability checks
2006-08-25 08:27:28 +00:00
toyomoyo
41d7209c7f
some (mainly admin realated) capabilities
2006-08-25 08:27:27 +00:00
moodler
fd57975491
Added 3d moving icon for ajax course format
2006-08-25 07:10:22 +00:00
moodler
954fdb4293
FIxed some tabs :(
...
and added a module-xxxxx CSS id to each item
2006-08-25 07:09:28 +00:00
vyshane
1be4d00d56
Previous committer missed one rename from $edit to $categoryedit. Fixed.
2006-08-25 04:06:41 +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
vyshane
7f6301c464
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.
2006-08-25 02:37:54 +00:00
stronk7
c779eb1a15
Added support for the new upgrade system for main tables.
2006-08-24 22:27:11 +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
3830553d47
Avoid reserved words in dmllib unit tests.
...
(Except that TEXT is not a reserved word after all, although some things like TINYTEXT are. Wheird!)
2006-08-24 16:56:59 +00:00
stronk7
81abf10971
MDL-5969 Let multiple choice questions have feedback that does not depend on the chosen answer
...
(mimic from old sql files)
2006-08-24 16:54:02 +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
dd4a1bca28
During the conversion datalib -> ddllib, Eloy removed my comment that made it possible to understand how to use table_colum :-( Adding it back.
2006-08-24 15:37:03 +00:00
tjhunt
3ebdddf70f
MDL-4816 Fix silly error in my commit for this bug.
2006-08-24 11:37:10 +00:00
tjhunt
b2ba9f6ef3
Fix Eclipse warnings.
2006-08-24 11:36:38 +00:00
tjhunt
2fe0d172f8
Fix PHP syntax error. I wish more developers used Eclipse.
2006-08-24 11:22:24 +00:00
tjhunt
307f045f07
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.
2006-08-24 10:22:43 +00:00
tjhunt
6e557c0806
Fixed syntax error in a PHPdoc comments.
2006-08-24 10:16:54 +00:00
tjhunt
2d30f53dcc
Fixed syntax error in a PHPdoc comment.
2006-08-24 10:12:15 +00:00