]>
git.mjollnir.org Git - moodle.git/log
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
vyshane [Tue, 22 Aug 2006 02:43:58 +0000 (02:43 +0000)]
Removed forum->open config since roles will take over this
vyshane [Tue, 22 Aug 2006 02:24:45 +0000 (02:24 +0000)]
Need to pass the module id and not the object to add_course_module
skodak [Mon, 21 Aug 2006 20:40:07 +0000 (20:40 +0000)]
fixed some notices in scheduled backup; merged from MOODLE_16_STABLE
stronk7 [Mon, 21 Aug 2006 19:10:21 +0000 (19:10 +0000)]
Solved hh (horrible-hidden) bug in backup_scheduled code.
Credits go to Thirot Jean-Luc. http://moodle.org/mod/forum/discuss.php?d=52156
Merged from MOODLE_16_STABLE
stronk7 [Mon, 21 Aug 2006 14:59:48 +0000 (14:59 +0000)]
Changed level (reserved word) to aggregatelevel.
stronk7 [Mon, 21 Aug 2006 12:28:46 +0000 (12:28 +0000)]
Reducing the list of MSSQL reserved words to the efectively
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by MSSQL)
stronk7 [Mon, 21 Aug 2006 12:04:48 +0000 (12:04 +0000)]
Reducing the list of PG reserved words to the efectively
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by PG)
vyshane [Mon, 21 Aug 2006 08:45:12 +0000 (08:45 +0000)]
Fixed bug - empty teacher forums (deleted) should not have a course module
created for them.
toyomoyo [Mon, 21 Aug 2006 08:40:06 +0000 (08:40 +0000)]
some capabilities for quiz and questions, need to load them in access.php
vyshane [Mon, 21 Aug 2006 06:56:04 +0000 (06:56 +0000)]
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.
skodak [Mon, 21 Aug 2006 06:54:00 +0000 (06:54 +0000)]
import of ADODB v4.91 and general cleanup, removed some unused files - see readme_moodle.txt; new session2 code needs a new table, I am going to use the new database functions for that later, for now we are using the old table and old database session code.
cap2501 [Mon, 21 Aug 2006 06:15:24 +0000 (06:15 +0000)]
Semi-final version
cap2501 [Mon, 21 Aug 2006 06:14:43 +0000 (06:14 +0000)]
Main JS file for topic - ajax course format (still needs a little cleaning though)
cap2501 [Mon, 21 Aug 2006 06:13:28 +0000 (06:13 +0000)]
Restful interface for AJAX course format
toyomoyo [Mon, 21 Aug 2006 05:19:16 +0000 (05:19 +0000)]
fix for bug #6307, reserved word 'level' changed to 'aggregatelevel' for Oracle. Some parts could be broken by this. please report breakage asap! Thanks
vinkmar [Mon, 21 Aug 2006 04:08:57 +0000 (04:08 +0000)]
changes made to ensure compatibility with core admin (admin/adminlib.php) where $_GET is no longer used; changed 'admin' to $CFG->admin in dir paths
vinkmar [Mon, 21 Aug 2006 04:08:00 +0000 (04:08 +0000)]
changes made to ensure compatibilty with core admin files (admin/adminlib.php), where $_GET is no longer used
vinkmar [Mon, 21 Aug 2006 04:06:58 +0000 (04:06 +0000)]
fixed tabs, fixed potential notices for undefined variables, added structure that will be used for detecting what variables to flag during installs & upgrades, removed all $_GET usage, switched 'admin' to $CFG->admin (for directory paths), and fixed blank line at end of index.php
toyomoyo [Mon, 21 Aug 2006 02:23:25 +0000 (02:23 +0000)]
fix for 6294
mchampan [Mon, 21 Aug 2006 00:50:29 +0000 (00:50 +0000)]
Comments, update logic improved, rest of module add/delete functions added.
stronk7 [Sun, 20 Aug 2006 21:56:54 +0000 (21:56 +0000)]
$statement_end for Oracle changed to "/" because standard ;
causes problems with trigger generation
tjhunt [Sun, 20 Aug 2006 20:11:05 +0000 (20:11 +0000)]
Bug #6305 - Quiz settings form field order could be better. Merged from MOODLE_16_STABLE.
stronk7 [Sun, 20 Aug 2006 18:22:48 +0000 (18:22 +0000)]
Setting some ADOdb variables properly and calling to the new
configure_dbconnection() function to set DB encoding and other
preliminar settings.
stronk7 [Sun, 20 Aug 2006 18:21:33 +0000 (18:21 +0000)]
Added the configure_dbconnection() function to be executed
after DB conection. Responsible to set a lot of things
(charsets, dbsession variables...)
stronk7 [Sun, 20 Aug 2006 18:19:50 +0000 (18:19 +0000)]
Since PostgreSQL 7.4 the precision given for float columsn is
the number of bits to use, and not the number of decimals. So,
based on the number of decimals from the XMLDB schema, we are
going to create REAL (<6 decimals) or DOUBLE PRECISION (>=6) columns.
stronk7 [Sun, 20 Aug 2006 18:03:55 +0000 (18:03 +0000)]
MySQL doesn't like any name on its primary keys (neither "primary")
stronk7 [Sun, 20 Aug 2006 18:01:50 +0000 (18:01 +0000)]
Although difficult, now all the key/index/sequence/trigger names
are quoted if they are reserved words
stronk7 [Sun, 20 Aug 2006 15:50:27 +0000 (15:50 +0000)]
Added the install_from_xmldb_file() function that
loads, transform and execute one entire XMLDB
file into the correct SQL sentences.
tjhunt [Sun, 20 Aug 2006 15:37:42 +0000 (15:37 +0000)]
Bug #6303 - True / False applies penalty factor wrongly. Merged from MOODLE_16_STABLE.
tjhunt [Sun, 20 Aug 2006 15:30:31 +0000 (15:30 +0000)]
Fix Eclipse warnings.
stronk7 [Sun, 20 Aug 2006 11:20:40 +0000 (11:20 +0000)]
Core tables XMLDB installation is now working. Disabled by default
until fully working.
$CFG->xmldb_enabled = true; will enable it for test/dev against any DB
stronk7 [Sun, 20 Aug 2006 09:37:56 +0000 (09:37 +0000)]
First commit for the progressive adoption of ADODB's SelectLimit() function
in order to support LIMIT clauses in a cross-db compatible way.
Changes don't affect old sentences at all (all them would be changed soon too).
vinkmar [Sun, 20 Aug 2006 03:56:25 +0000 (03:56 +0000)]
More PHP4 compatibility issues fixed.
skodak [Sat, 19 Aug 2006 11:15:59 +0000 (11:15 +0000)]
fixed short php tag and end tag in comment
moodler [Sat, 19 Aug 2006 08:21:05 +0000 (08:21 +0000)]
Fixing some strings
moodler [Sat, 19 Aug 2006 08:12:45 +0000 (08:12 +0000)]
Fixed up get_user_roles to remove notices
tjhunt [Sat, 19 Aug 2006 07:47:41 +0000 (07:47 +0000)]
Renamed unit tests to match Eloy's work.
vinkmar [Sat, 19 Aug 2006 05:34:25 +0000 (05:34 +0000)]
Added paramtypes (mandatory) to all text field objects.