]>
git.mjollnir.org Git - moodle.git/log
vyshane [Mon, 28 Aug 2006 06:14:06 +0000 (06:14 +0000)]
Fixed notice
vinkmar [Mon, 28 Aug 2006 06:02:00 +0000 (06:02 +0000)]
Install/upgrade procedures changed to use $ADMIN instead of defaults.php and config.php.
See http://moodle.org/mod/forum/discuss.php?d=52636 for details
cap2501 [Mon, 28 Aug 2006 04:33:41 +0000 (04:33 +0000)]
Removed frame around draggable blocks and fixed 'short drag' bug.
cap2501 [Mon, 28 Aug 2006 04:30:46 +0000 (04:30 +0000)]
removed override for $USER->use_ajax
vyshane [Mon, 28 Aug 2006 03:51:38 +0000 (03:51 +0000)]
Dropping forum.open and forum.assesspublic from .sql files. Added forum
upgrade to roles code to postgres7.php.
cap2501 [Mon, 28 Aug 2006 02:49:04 +0000 (02:49 +0000)]
*** empty log message ***
moodler [Mon, 28 Aug 2006 02:10:23 +0000 (02:10 +0000)]
It's not required that all modules have the old upgrade function and
the new upgrade function.
cap2501 [Mon, 28 Aug 2006 02:08:37 +0000 (02:08 +0000)]
added description for topics - AJAX format
cap2501 [Mon, 28 Aug 2006 02:06:04 +0000 (02:06 +0000)]
added nessicary code for ajax course format
cap2501 [Mon, 28 Aug 2006 02:05:02 +0000 (02:05 +0000)]
small changes, also de-tabbed and unix fomatted
vinkmar [Mon, 28 Aug 2006 01:32:11 +0000 (01:32 +0000)]
* admin_setting defaults added
vinkmar [Mon, 28 Aug 2006 01:31:37 +0000 (01:31 +0000)]
* documentation started in adminlib.php
* default for block editing changed to "off" (bug in previous revisions)
* added defaults for all admin_setting's
cap2501 [Sun, 27 Aug 2006 23:45:36 +0000 (23:45 +0000)]
Removed evil tabs
cap2501 [Sun, 27 Aug 2006 23:28:39 +0000 (23:28 +0000)]
converted dos mode to unix mode
cap2501 [Sun, 27 Aug 2006 22:58:51 +0000 (22:58 +0000)]
Fixed to eliminate use of 'GET' and 'POST'
stronk7 [Sun, 27 Aug 2006 22:31:02 +0000 (22:31 +0000)]
Added support to SQL generation of statements
stronk7 [Sun, 27 Aug 2006 22:25:41 +0000 (22:25 +0000)]
Concat operator for mysql added
stronk7 [Sun, 27 Aug 2006 22:24:09 +0000 (22:24 +0000)]
Concat operator for mssql added
stronk7 [Sun, 27 Aug 2006 22:22:23 +0000 (22:22 +0000)]
Added support to SQL generation of statements
cap2501 [Sun, 27 Aug 2006 22:09:56 +0000 (22:09 +0000)]
Fixes needed to work from cvs
stronk7 [Sun, 27 Aug 2006 21:59:04 +0000 (21:59 +0000)]
Added support to SQL generation of install INSERTs
stronk7 [Sun, 27 Aug 2006 21:57:33 +0000 (21:57 +0000)]
Set magic_quotes_sybase for both mssql and oci8po.
Anyway, this isn't enough and if must be defined in php.ini
or .htaccess, because GPC are added BEFORE this setting
has effect so they are slashed with the default char.
stronk7 [Sun, 27 Aug 2006 21:52:22 +0000 (21:52 +0000)]
modify stripslashes_safe() to work properly under magic_quotes_sybase
(both addslashes and stripslashes do it properly based on the setting)
skodak [Sun, 27 Aug 2006 20:45:04 +0000 (20:45 +0000)]
trusttext implementation in Forum module, fixed incorrect merging, added missing postresql upgrade code, some other minor fixes
danmarsden [Sun, 27 Aug 2006 20:33:54 +0000 (20:33 +0000)]
Fix for MDL-4190 - when admin is editing profile, admin loses all subscriptions to forums.
skodak [Sun, 27 Aug 2006 18:38:16 +0000 (18:38 +0000)]
fixed cosmetic typo - missing semicolon before closing tag
skodak [Sun, 27 Aug 2006 18:33:37 +0000 (18:33 +0000)]
New handwritten XMS schema for install.xml files, generator is fixed to link it too. It is not doing all the checks as XMLDB editor from contrib, but it helps to detect basic problems in general XML editors - such as the one in Eclipse ;-) It can serve also as basic documentation of the install.xml format.
koenr [Sun, 27 Aug 2006 18:02:23 +0000 (18:02 +0000)]
typo - Thanks Mits!
stronk7 [Sun, 27 Aug 2006 09:02:41 +0000 (09:02 +0000)]
Very, very, very, very initial support of insert_record for oracle.
I shouldn't interfere with the rest at all. I needed it in CVS now.
stronk7 [Sun, 27 Aug 2006 09:00:23 +0000 (09:00 +0000)]
Initial commit supporting install/upgrade inder XMLDB.
stronk7 [Sun, 27 Aug 2006 08:58:09 +0000 (08:58 +0000)]
Just remove one condition previously checked.
stronk7 [Sun, 27 Aug 2006 08:52:51 +0000 (08:52 +0000)]
Cache names for improved speed in long iterations requesting
the same name thousands of times.
Prepare Oracle Sequnces for the insert_record function.
koenr [Sun, 27 Aug 2006 08:26:48 +0000 (08:26 +0000)]
updating index files MDL-3484
koenr [Sun, 27 Aug 2006 08:20:34 +0000 (08:20 +0000)]
updating index files MDL-3484
skodak [Sun, 27 Aug 2006 08:10:03 +0000 (08:10 +0000)]
reverting isguest() changes
koenr [Sun, 27 Aug 2006 08:09:03 +0000 (08:09 +0000)]
updating index files MDL-3484
koenr [Sun, 27 Aug 2006 08:01:24 +0000 (08:01 +0000)]
typo
koenr [Sun, 27 Aug 2006 08:00:42 +0000 (08:00 +0000)]
updating index files MDL-3484
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