]>
git.mjollnir.org Git - moodle.git/log
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.
vinkmar [Sat, 19 Aug 2006 05:32:56 +0000 (05:32 +0000)]
Small bug fix. Caused problems when moving or deleting blocks.
moodler [Sat, 19 Aug 2006 02:58:07 +0000 (02:58 +0000)]
Just minor doc tweaks
moodler [Sat, 19 Aug 2006 02:46:46 +0000 (02:46 +0000)]
Just tidying up things a bit as I look it over
moodler [Sat, 19 Aug 2006 02:45:53 +0000 (02:45 +0000)]
Automatic installer.php lang files by installer_builder (
20060819 )
vinkmar [Sat, 19 Aug 2006 02:26:01 +0000 (02:26 +0000)]
solving the issue with an undefined sesskey (happens when there is no user logged in)
vinkmar [Sat, 19 Aug 2006 02:21:44 +0000 (02:21 +0000)]
preventing notifications by using isset() unsparingly (i.e. small bug fixes)
vinkmar [Sat, 19 Aug 2006 01:40:54 +0000 (01:40 +0000)]
Modifications made for PHP4 compatibility.
vinkmar [Sat, 19 Aug 2006 01:38:57 +0000 (01:38 +0000)]
Fixed error that caused self_test failure during initial install; made changes for PHP4 compatibility (no use of instanceof, no use of private/protected/public)
vinkmar [Sat, 19 Aug 2006 01:37:38 +0000 (01:37 +0000)]
Fixing errors in admin page cleanup; working towards compatibility with PHP4 (use of interfaces, private/protected/public, instanceof all removed).
stronk7 [Sat, 19 Aug 2006 00:58:30 +0000 (00:58 +0000)]
Thought this was commited. Solve one bug in trigger generation
stronk7 [Fri, 18 Aug 2006 22:56:08 +0000 (22:56 +0000)]
Splitting datalib.php in three libraries:
- ddllib.php: Where all the DDL (install/upgrade) functions will be.
- dmllib.php: Where all the DML (select...) functions will be.
- datalib.php: Legacy lib. Its contents should go to other libraries soon.
For more info see: http://docs.moodle.org/en/XMLDB_Roadmap (point 1)
tjhunt [Fri, 18 Aug 2006 22:34:54 +0000 (22:34 +0000)]
Bug #6293 - Cannot regrade a question when a teacher has added a comment with a ' - Merged from MOODLE_16_STABLE.\r \r Stupid, wreched, datalib.\r \r Why can't datalib take care of addslashes, so the whole of the rest of the code can forget about it? That is how a database abstraction layer should work.\r \r I know, it is pointless to moan about it, but it has just cost me 3 hours, so I feel I have earned the right to moan.
tjhunt [Fri, 18 Aug 2006 22:26:04 +0000 (22:26 +0000)]
Code cleanup. Merged from MOODLE_16_STABLE.
vinkmar [Fri, 18 Aug 2006 22:02:09 +0000 (22:02 +0000)]
added blank footer (to eliminate the notice when $footer is non-existant)
vinkmar [Fri, 18 Aug 2006 22:00:37 +0000 (22:00 +0000)]
Blocks fixed in admin pagelib, and (hopefully) many notices pointed out in the general forum board no longer show up.
tjhunt [Fri, 18 Aug 2006 21:23:15 +0000 (21:23 +0000)]
Fix some Eclipse code warnings. Merged from MOODLE_16_STABLE.
vinkmar [Fri, 18 Aug 2006 19:27:02 +0000 (19:27 +0000)]
trying to prevent an undefined index error
ethem [Fri, 18 Aug 2006 17:10:30 +0000 (17:10 +0000)]
Colorize all orders.
ethem [Fri, 18 Aug 2006 16:01:47 +0000 (16:01 +0000)]
Colorize refunds and show refunded total.
Red: Refunded/Pending Settlement
Green: Refunded/Settled
Black: Cancelled
ethem [Fri, 18 Aug 2006 14:54:08 +0000 (14:54 +0000)]
Display capture/void/delete instead of 'Yes'; Merged from 16stable.
tjhunt [Fri, 18 Aug 2006 11:28:30 +0000 (11:28 +0000)]
New function record_exists_select with unit tests for all the record_exists_* functions.
tjhunt [Fri, 18 Aug 2006 10:29:34 +0000 (10:29 +0000)]
Bug #3481 - wildcard problem in cloze question. Thanks to Joseph Rezeau. Merged from MOODLE_16_STABLE, not a straight merge becuase of other 1.7 changes.
moodler [Fri, 18 Aug 2006 09:54:09 +0000 (09:54 +0000)]
Make sure .htaccess is created in dataroot, just in case
vinkmar [Fri, 18 Aug 2006 08:40:58 +0000 (08:40 +0000)]
more bugs! incompatibility with php 5.1.2 (presumably earlier versions as well) fixed
vinkmar [Fri, 18 Aug 2006 08:25:02 +0000 (08:25 +0000)]
admin page cleanup blocks (new ones!)
vinkmar [Fri, 18 Aug 2006 08:24:07 +0000 (08:24 +0000)]
adding admin page cleanup blocks (new ones!)
vinkmar [Fri, 18 Aug 2006 08:16:32 +0000 (08:16 +0000)]
admin page cleanup (bug fixes :) )
tjhunt [Fri, 18 Aug 2006 08:14:47 +0000 (08:14 +0000)]
Added todo.
toyomoyo [Fri, 18 Aug 2006 08:01:16 +0000 (08:01 +0000)]
adding functions and interface for access control - role assignment and role overrides
vinkmar [Fri, 18 Aug 2006 07:52:56 +0000 (07:52 +0000)]
Reverting changes to file from admin page cleanup... whoops! Accidentally broke the install.
vinkmar [Fri, 18 Aug 2006 07:29:19 +0000 (07:29 +0000)]
admin page cleanup (google soc 2006)... updated field name for category editing function so that it doesn't conflict with 'edit' when used for blocks
vinkmar [Fri, 18 Aug 2006 07:27:05 +0000 (07:27 +0000)]
admin page cleanup (google soc 2006)... updated to use new pagelib
vinkmar [Fri, 18 Aug 2006 07:26:25 +0000 (07:26 +0000)]
updated for admin page cleanup
vinkmar [Fri, 18 Aug 2006 07:25:17 +0000 (07:25 +0000)]
Admin page cleanup (Google soc 2006)
vinkmar [Fri, 18 Aug 2006 07:23:02 +0000 (07:23 +0000)]
Admin page cleanup (google soc 2006)
vyshane [Fri, 18 Aug 2006 07:08:14 +0000 (07:08 +0000)]
Updated upgrade to roles system
vyshane [Fri, 18 Aug 2006 04:17:31 +0000 (04:17 +0000)]
Forum upgrade to roles in progress (commented out).
skodak [Fri, 18 Aug 2006 00:01:37 +0000 (00:01 +0000)]
still more upgrade logging fixes
skodak [Thu, 17 Aug 2006 23:50:18 +0000 (23:50 +0000)]
major upgrade logging speed improvement - write buffer implemented
skodak [Thu, 17 Aug 2006 22:49:21 +0000 (22:49 +0000)]
fixed missing '}'
skodak [Thu, 17 Aug 2006 22:37:34 +0000 (22:37 +0000)]
upgrade logging cleanup, fixes - more improvements ahead
skodak [Thu, 17 Aug 2006 21:34:39 +0000 (21:34 +0000)]
Bug #6276 - Multiple questions not showing up from scale page; merged from MOODLE_16_STABLE
stronk7 [Thu, 17 Aug 2006 19:40:49 +0000 (19:40 +0000)]
Oracle automatically builds UIXs for UKs
stronk7 [Thu, 17 Aug 2006 19:20:45 +0000 (19:20 +0000)]
Now all the XMLDBxxx->geSQL functions return an array of statements to be
executed (easily to handle them in the installation/upgrade process
individually. Also, it's possible to specify one statement end.
stronk7 [Thu, 17 Aug 2006 19:16:07 +0000 (19:16 +0000)]
adding role_allow_assign , role_allow_override table and dropping role_deny_grant
NOTE: Need to confirm that both these fields:
role_allow_assign->allowassign and
role_allow_override->allowoverride
are pointing to role->id (this is the assumption I've done, so I've
created them as FKs)
tjhunt [Thu, 17 Aug 2006 17:38:31 +0000 (17:38 +0000)]
Bug #6277 - Missed function renaming in question/format/multianswer. Merged from MOODLE_16_STABLE.
tjhunt [Thu, 17 Aug 2006 17:30:56 +0000 (17:30 +0000)]
Tweak to unbreak unit tests.
stronk7 [Thu, 17 Aug 2006 16:59:39 +0000 (16:59 +0000)]
Now admin includes all the required ddllib stuff
stronk7 [Thu, 17 Aug 2006 16:59:14 +0000 (16:59 +0000)]
Now ddllib includes all the required xmldb stuff
stronk7 [Thu, 17 Aug 2006 16:40:46 +0000 (16:40 +0000)]
Added JS template field for JavaScript if needed.
tjhunt [Thu, 17 Aug 2006 16:28:29 +0000 (16:28 +0000)]
Fix bug in new function get_field_select(), and this time add a unittest to see if the new function works!
ethem [Thu, 17 Aug 2006 15:43:54 +0000 (15:43 +0000)]
enrol_authorize.courseid must be passed to authorize_get_status_action() function to allow a user has_capacity; Joined 2 tables to get courseid field. Merged from 16stable.
tomflannaghan [Thu, 17 Aug 2006 13:19:28 +0000 (13:19 +0000)]
Slashes added for database entry.
tomflannaghan [Thu, 17 Aug 2006 13:18:02 +0000 (13:18 +0000)]
*** empty log message ***
tomflannaghan [Thu, 17 Aug 2006 09:27:51 +0000 (09:27 +0000)]
Javascript added
tomflannaghan [Thu, 17 Aug 2006 09:26:31 +0000 (09:26 +0000)]
jstemplate
tomflannaghan [Thu, 17 Aug 2006 09:26:06 +0000 (09:26 +0000)]
Extra tab for 'jstemplate'
moodler [Thu, 17 Aug 2006 09:02:56 +0000 (09:02 +0000)]
Added JS template field for JavaScript if needed
toyomoyo [Thu, 17 Aug 2006 08:58:51 +0000 (08:58 +0000)]
adding role_allow_assign , role_allow_override table and dropping role_deny_grant
vyshane [Thu, 17 Aug 2006 03:52:05 +0000 (03:52 +0000)]
Fixed warning
moodler [Thu, 17 Aug 2006 02:52:18 +0000 (02:52 +0000)]
Automatic installer.php lang files by installer_builder (
20060817 )
stronk7 [Thu, 17 Aug 2006 00:31:23 +0000 (00:31 +0000)]
UNIQUE KEY is UNIQUE
stronk7 [Thu, 17 Aug 2006 00:16:34 +0000 (00:16 +0000)]
Now we are able to generate all the module SQL (any RDBMS) with one
simple function call (final inserts are missing yet)
stronk7 [Wed, 16 Aug 2006 23:45:18 +0000 (23:45 +0000)]
Bah, Oracle requires the default clause BEFORE the not null clause.
stronk7 [Wed, 16 Aug 2006 23:17:28 +0000 (23:17 +0000)]
Minor adjustments to some comments.
stronk7 [Wed, 16 Aug 2006 23:01:46 +0000 (23:01 +0000)]
Fixing some potential problems with prefixes and object names.
stronk7 [Wed, 16 Aug 2006 22:58:51 +0000 (22:58 +0000)]
Initial commit of oci8po generator
stronk7 [Wed, 16 Aug 2006 22:23:39 +0000 (22:23 +0000)]
Line feed added + small bug
stronk7 [Wed, 16 Aug 2006 21:46:08 +0000 (21:46 +0000)]
Initial version of the mssql generator
stronk7 [Wed, 16 Aug 2006 18:41:47 +0000 (18:41 +0000)]
Initial version of the postgres7 generator
stronk7 [Wed, 16 Aug 2006 18:37:33 +0000 (18:37 +0000)]
Added one more configuration parameter to disable inline SQL to be added in enum column lines
stronk7 [Wed, 16 Aug 2006 17:53:24 +0000 (17:53 +0000)]
Proper parent init and comment close
stronk7 [Wed, 16 Aug 2006 17:51:49 +0000 (17:51 +0000)]
Minor change to do proper create table close
stronk7 [Wed, 16 Aug 2006 17:43:55 +0000 (17:43 +0000)]
Partial rework of the mysql generator. Working now.
stronk7 [Wed, 16 Aug 2006 17:34:46 +0000 (17:34 +0000)]
Changed one default
stronk7 [Wed, 16 Aug 2006 17:28:41 +0000 (17:28 +0000)]
Initial commit of the base generator class.
tjhunt [Wed, 16 Aug 2006 16:54:20 +0000 (16:54 +0000)]
Save two queries if we are not going to output anything.
tjhunt [Wed, 16 Aug 2006 16:17:18 +0000 (16:17 +0000)]
Bug #6267 - questionlib.php delete_question infinite loop with rantom questions. Thanks to mbockol at carleton dot edu. Merged from MOODLE_16_STABLE.
stronk7 [Wed, 16 Aug 2006 16:06:37 +0000 (16:06 +0000)]
permission has to be signed integer in mysql. Mimic from sql files
mchampan [Wed, 16 Aug 2006 13:34:07 +0000 (13:34 +0000)]
Add/delete/update cron functions added.
IndexDBControl class added to abstract some index functionality out.
mchampan [Wed, 16 Aug 2006 13:31:55 +0000 (13:31 +0000)]
Date field added to documents.
toyomoyo [Wed, 16 Aug 2006 09:11:43 +0000 (09:11 +0000)]
some more UI change
vyshane [Wed, 16 Aug 2006 08:54:07 +0000 (08:54 +0000)]
Updated to use new Roles System. Plus some fixes.
tjhunt [Wed, 16 Aug 2006 08:46:10 +0000 (08:46 +0000)]
Remove horrific code duplication in mod/quiz/lib.php.
toyomoyo [Wed, 16 Aug 2006 07:57:51 +0000 (07:57 +0000)]
bumpoing up version, permission has to be signed integer in mysql!!! added new capabilities in access.php
vyshane [Wed, 16 Aug 2006 03:24:43 +0000 (03:24 +0000)]
Fixing notices
moodler [Wed, 16 Aug 2006 02:50:27 +0000 (02:50 +0000)]
Automatic installer.php lang files by installer_builder (
20060816 )
vyshane [Wed, 16 Aug 2006 02:33:43 +0000 (02:33 +0000)]
Fixed forum_print_post. Thanks Yu :)
tjhunt [Tue, 15 Aug 2006 21:25:38 +0000 (21:25 +0000)]
Refactor how question types register themselves with the question bank. This change makes it easier for 3rd party question types to control their destiny, but is also backwards compatible, in that old 3rd party plugins will still work.\r \r See http://moodle.org/mod/forum/discuss.php?d=51796 for more details.
tjhunt [Tue, 15 Aug 2006 20:44:21 +0000 (20:44 +0000)]
Corrected include.
tjhunt [Tue, 15 Aug 2006 20:43:09 +0000 (20:43 +0000)]
Correct comment.