]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoMySQL doesn't like any name on its primary keys (neither "primary")
stronk7 [Sun, 20 Aug 2006 18:03:55 +0000 (18:03 +0000)]
MySQL doesn't like any name on its primary keys (neither "primary")

18 years agoAlthough difficult, now all the key/index/sequence/trigger names
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

18 years agoAdded the install_from_xmldb_file() function that
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.

18 years agoBug #6303 - True / False applies penalty factor wrongly. Merged from MOODLE_16_STABLE.
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.

18 years agoFix Eclipse warnings.
tjhunt [Sun, 20 Aug 2006 15:30:31 +0000 (15:30 +0000)]
Fix Eclipse warnings.

18 years agoCore tables XMLDB installation is now working. Disabled by default
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

18 years agoFirst commit for the progressive adoption of ADODB's SelectLimit() function
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).

18 years agoMore PHP4 compatibility issues fixed.
vinkmar [Sun, 20 Aug 2006 03:56:25 +0000 (03:56 +0000)]
More PHP4 compatibility issues fixed.

18 years agofixed short php tag and end tag in comment
skodak [Sat, 19 Aug 2006 11:15:59 +0000 (11:15 +0000)]
fixed short php tag and end tag in comment

18 years agoFixing some strings
moodler [Sat, 19 Aug 2006 08:21:05 +0000 (08:21 +0000)]
Fixing some strings

18 years agoFixed up get_user_roles to remove notices
moodler [Sat, 19 Aug 2006 08:12:45 +0000 (08:12 +0000)]
Fixed up get_user_roles to remove notices

18 years agoRenamed unit tests to match Eloy's work.
tjhunt [Sat, 19 Aug 2006 07:47:41 +0000 (07:47 +0000)]
Renamed unit tests to match Eloy's work.

18 years agoAdded paramtypes (mandatory) to all text field objects.
vinkmar [Sat, 19 Aug 2006 05:34:25 +0000 (05:34 +0000)]
Added paramtypes (mandatory) to all text field objects.

18 years agoSmall bug fix. Caused problems when moving or deleting blocks.
vinkmar [Sat, 19 Aug 2006 05:32:56 +0000 (05:32 +0000)]
Small bug fix. Caused problems when moving or deleting blocks.

18 years agoJust minor doc tweaks
moodler [Sat, 19 Aug 2006 02:58:07 +0000 (02:58 +0000)]
Just minor doc tweaks

18 years agoJust tidying up things a bit as I look it over
moodler [Sat, 19 Aug 2006 02:46:46 +0000 (02:46 +0000)]
Just tidying up things a bit as I look it over

18 years agoAutomatic installer.php lang files by installer_builder (20060819)
moodler [Sat, 19 Aug 2006 02:45:53 +0000 (02:45 +0000)]
Automatic installer.php lang files by installer_builder (20060819)

18 years agosolving the issue with an undefined sesskey (happens when there is no user logged in)
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)

18 years agopreventing notifications by using isset() unsparingly (i.e. small bug fixes)
vinkmar [Sat, 19 Aug 2006 02:21:44 +0000 (02:21 +0000)]
preventing notifications by using isset() unsparingly (i.e. small bug fixes)

18 years agoModifications made for PHP4 compatibility.
vinkmar [Sat, 19 Aug 2006 01:40:54 +0000 (01:40 +0000)]
Modifications made for PHP4 compatibility.

18 years agoFixed error that caused self_test failure during initial install; made changes for...
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)

18 years agoFixing errors in admin page cleanup; working towards compatibility with PHP4 (use...
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).

18 years agoThought this was commited. Solve one bug in trigger generation
stronk7 [Sat, 19 Aug 2006 00:58:30 +0000 (00:58 +0000)]
Thought this was commited. Solve one bug in trigger generation

18 years agoSplitting datalib.php in three libraries:
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)

18 years agoBug #6293 - Cannot regrade a question when a teacher has added a comment with a ...
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\rStupid, wreched, datalib.\r\rWhy 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\rI 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.

18 years agoCode cleanup. Merged from MOODLE_16_STABLE.
tjhunt [Fri, 18 Aug 2006 22:26:04 +0000 (22:26 +0000)]
Code cleanup. Merged from MOODLE_16_STABLE.

18 years agoadded blank footer (to eliminate the notice when $footer is non-existant)
vinkmar [Fri, 18 Aug 2006 22:02:09 +0000 (22:02 +0000)]
added blank footer (to eliminate the notice when $footer is non-existant)

18 years agoBlocks fixed in admin pagelib, and (hopefully) many notices pointed out in the genera...
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.

18 years agoFix some Eclipse code warnings. Merged from MOODLE_16_STABLE.
tjhunt [Fri, 18 Aug 2006 21:23:15 +0000 (21:23 +0000)]
Fix some Eclipse code warnings. Merged from MOODLE_16_STABLE.

18 years agotrying to prevent an undefined index error
vinkmar [Fri, 18 Aug 2006 19:27:02 +0000 (19:27 +0000)]
trying to prevent an undefined index error

18 years agoColorize all orders.
ethem [Fri, 18 Aug 2006 17:10:30 +0000 (17:10 +0000)]
Colorize all orders.

18 years agoColorize refunds and show refunded total.
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

18 years agoDisplay capture/void/delete instead of 'Yes'; Merged from 16stable.
ethem [Fri, 18 Aug 2006 14:54:08 +0000 (14:54 +0000)]
Display capture/void/delete instead of 'Yes'; Merged from 16stable.

18 years agoNew function record_exists_select with unit tests for all the record_exists_* functions.
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.

18 years agoBug #3481 - wildcard problem in cloze question. Thanks to Joseph Rezeau. Merged from...
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.

18 years agoMake sure .htaccess is created in dataroot, just in case
moodler [Fri, 18 Aug 2006 09:54:09 +0000 (09:54 +0000)]
Make sure .htaccess is created in dataroot, just in case

18 years agomore bugs! incompatibility with php 5.1.2 (presumably earlier versions as well) fixed
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

18 years agoadmin page cleanup blocks (new ones!)
vinkmar [Fri, 18 Aug 2006 08:25:02 +0000 (08:25 +0000)]
admin page cleanup blocks (new ones!)

18 years agoadding 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!)

18 years agoadmin page cleanup (bug fixes :) )
vinkmar [Fri, 18 Aug 2006 08:16:32 +0000 (08:16 +0000)]
admin page cleanup (bug fixes :) )

18 years agoAdded todo.
tjhunt [Fri, 18 Aug 2006 08:14:47 +0000 (08:14 +0000)]
Added todo.

18 years agoadding functions and interface for access control - role assignment and role overrides
toyomoyo [Fri, 18 Aug 2006 08:01:16 +0000 (08:01 +0000)]
adding functions and interface for access control - role assignment and role overrides

18 years agoReverting changes to file from admin page cleanup... whoops! Accidentally broke the...
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.

18 years agoadmin page cleanup (google soc 2006)... updated field name for category editing funct...
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

18 years agoadmin page cleanup (google soc 2006)... updated to use new pagelib
vinkmar [Fri, 18 Aug 2006 07:27:05 +0000 (07:27 +0000)]
admin page cleanup (google soc 2006)... updated to use new pagelib

18 years agoupdated for admin page cleanup
vinkmar [Fri, 18 Aug 2006 07:26:25 +0000 (07:26 +0000)]
updated for admin page cleanup

18 years agoAdmin page cleanup (Google soc 2006)
vinkmar [Fri, 18 Aug 2006 07:25:17 +0000 (07:25 +0000)]
Admin page cleanup (Google soc 2006)

18 years agoAdmin page cleanup (google soc 2006)
vinkmar [Fri, 18 Aug 2006 07:23:02 +0000 (07:23 +0000)]
Admin page cleanup (google soc 2006)

18 years agoUpdated upgrade to roles system
vyshane [Fri, 18 Aug 2006 07:08:14 +0000 (07:08 +0000)]
Updated upgrade to roles system

18 years agoForum upgrade to roles in progress (commented out).
vyshane [Fri, 18 Aug 2006 04:17:31 +0000 (04:17 +0000)]
Forum upgrade to roles in progress (commented out).

18 years agostill more upgrade logging fixes
skodak [Fri, 18 Aug 2006 00:01:37 +0000 (00:01 +0000)]
still more upgrade logging fixes

18 years agomajor upgrade logging speed improvement - write buffer implemented
skodak [Thu, 17 Aug 2006 23:50:18 +0000 (23:50 +0000)]
major upgrade logging speed improvement - write buffer implemented

18 years agofixed missing '}'
skodak [Thu, 17 Aug 2006 22:49:21 +0000 (22:49 +0000)]
fixed missing '}'

18 years agoupgrade logging cleanup, fixes - more improvements ahead
skodak [Thu, 17 Aug 2006 22:37:34 +0000 (22:37 +0000)]
upgrade logging cleanup, fixes  - more improvements ahead

18 years agoBug #6276 - Multiple questions not showing up from scale page; merged from MOODLE_16_...
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

18 years agoOracle automatically builds UIXs for UKs
stronk7 [Thu, 17 Aug 2006 19:40:49 +0000 (19:40 +0000)]
Oracle automatically builds UIXs for UKs

18 years agoNow all the XMLDBxxx->geSQL functions return an array of statements to be
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.

18 years agoadding role_allow_assign , role_allow_override table and dropping role_deny_grant
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)

18 years agoBug #6277 - Missed function renaming in question/format/multianswer. Merged from...
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.

18 years agoTweak to unbreak unit tests.
tjhunt [Thu, 17 Aug 2006 17:30:56 +0000 (17:30 +0000)]
Tweak to unbreak unit tests.

18 years agoNow admin includes all the required ddllib stuff
stronk7 [Thu, 17 Aug 2006 16:59:39 +0000 (16:59 +0000)]
Now admin includes all the required ddllib stuff

18 years agoNow ddllib includes all the required xmldb stuff
stronk7 [Thu, 17 Aug 2006 16:59:14 +0000 (16:59 +0000)]
Now ddllib includes all the required xmldb stuff

18 years agoAdded JS template field for JavaScript if needed.
stronk7 [Thu, 17 Aug 2006 16:40:46 +0000 (16:40 +0000)]
Added JS template field for JavaScript if needed.

18 years agoFix bug in new function get_field_select(), and this time add a unittest to see if...
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!

18 years agoenrol_authorize.courseid must be passed to authorize_get_status_action() function...
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.

18 years agoSlashes added for database entry.
tomflannaghan [Thu, 17 Aug 2006 13:19:28 +0000 (13:19 +0000)]
Slashes added for database entry.

18 years ago*** empty log message ***
tomflannaghan [Thu, 17 Aug 2006 13:18:02 +0000 (13:18 +0000)]
*** empty log message ***

18 years agoJavascript added
tomflannaghan [Thu, 17 Aug 2006 09:27:51 +0000 (09:27 +0000)]
Javascript added

18 years agojstemplate
tomflannaghan [Thu, 17 Aug 2006 09:26:31 +0000 (09:26 +0000)]
jstemplate

18 years agoExtra tab for 'jstemplate'
tomflannaghan [Thu, 17 Aug 2006 09:26:06 +0000 (09:26 +0000)]
Extra tab for 'jstemplate'

18 years agoAdded JS template field for JavaScript if needed
moodler [Thu, 17 Aug 2006 09:02:56 +0000 (09:02 +0000)]
Added JS template field for JavaScript if needed

18 years agoadding role_allow_assign , role_allow_override table and dropping role_deny_grant
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

18 years agoFixed warning
vyshane [Thu, 17 Aug 2006 03:52:05 +0000 (03:52 +0000)]
Fixed warning

18 years agoAutomatic installer.php lang files by installer_builder (20060817)
moodler [Thu, 17 Aug 2006 02:52:18 +0000 (02:52 +0000)]
Automatic installer.php lang files by installer_builder (20060817)

18 years agoUNIQUE KEY is UNIQUE
stronk7 [Thu, 17 Aug 2006 00:31:23 +0000 (00:31 +0000)]
UNIQUE KEY is UNIQUE

18 years agoNow we are able to generate all the module SQL (any RDBMS) with one
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)

18 years agoBah, Oracle requires the default clause BEFORE the not null clause.
stronk7 [Wed, 16 Aug 2006 23:45:18 +0000 (23:45 +0000)]
Bah, Oracle requires the default clause BEFORE the not null clause.

18 years agoMinor adjustments to some comments.
stronk7 [Wed, 16 Aug 2006 23:17:28 +0000 (23:17 +0000)]
Minor adjustments to some comments.

18 years agoFixing some potential problems with prefixes and object names.
stronk7 [Wed, 16 Aug 2006 23:01:46 +0000 (23:01 +0000)]
Fixing some potential problems with prefixes and object names.

18 years agoInitial commit of oci8po generator
stronk7 [Wed, 16 Aug 2006 22:58:51 +0000 (22:58 +0000)]
Initial commit of oci8po generator

18 years agoLine feed added + small bug
stronk7 [Wed, 16 Aug 2006 22:23:39 +0000 (22:23 +0000)]
Line feed added + small bug

18 years agoInitial version of the mssql generator
stronk7 [Wed, 16 Aug 2006 21:46:08 +0000 (21:46 +0000)]
Initial version of the mssql generator

18 years agoInitial version of the postgres7 generator
stronk7 [Wed, 16 Aug 2006 18:41:47 +0000 (18:41 +0000)]
Initial version of the postgres7 generator

18 years agoAdded one more configuration parameter to disable inline SQL to be added in enum...
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

18 years agoProper parent init and comment close
stronk7 [Wed, 16 Aug 2006 17:53:24 +0000 (17:53 +0000)]
Proper parent init and comment close

18 years agoMinor change to do proper create table close
stronk7 [Wed, 16 Aug 2006 17:51:49 +0000 (17:51 +0000)]
Minor change to do proper create table close

18 years agoPartial rework of the mysql generator. Working now.
stronk7 [Wed, 16 Aug 2006 17:43:55 +0000 (17:43 +0000)]
Partial rework of the mysql generator. Working now.

18 years agoChanged one default
stronk7 [Wed, 16 Aug 2006 17:34:46 +0000 (17:34 +0000)]
Changed one default

18 years agoInitial commit of the base generator class.
stronk7 [Wed, 16 Aug 2006 17:28:41 +0000 (17:28 +0000)]
Initial commit of the base generator class.

18 years agoSave two queries if we are not going to output anything.
tjhunt [Wed, 16 Aug 2006 16:54:20 +0000 (16:54 +0000)]
Save two queries if we are not going to output anything.

18 years agoBug #6267 - questionlib.php delete_question infinite loop with rantom questions....
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.

18 years agopermission has to be signed integer in mysql. Mimic from sql files
stronk7 [Wed, 16 Aug 2006 16:06:37 +0000 (16:06 +0000)]
permission has to be signed integer in mysql. Mimic from sql files

18 years agoAdd/delete/update cron functions added.
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.

18 years agoDate field added to documents.
mchampan [Wed, 16 Aug 2006 13:31:55 +0000 (13:31 +0000)]
Date field added to documents.

18 years agosome more UI change
toyomoyo [Wed, 16 Aug 2006 09:11:43 +0000 (09:11 +0000)]
some more UI change

18 years agoUpdated to use new Roles System. Plus some fixes.
vyshane [Wed, 16 Aug 2006 08:54:07 +0000 (08:54 +0000)]
Updated to use new Roles System. Plus some fixes.

18 years agoRemove horrific code duplication in mod/quiz/lib.php.
tjhunt [Wed, 16 Aug 2006 08:46:10 +0000 (08:46 +0000)]
Remove horrific code duplication in mod/quiz/lib.php.

18 years agobumpoing up version, permission has to be signed integer in mysql!!! added new capabi...
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

18 years agoFixing notices
vyshane [Wed, 16 Aug 2006 03:24:43 +0000 (03:24 +0000)]
Fixing notices

18 years agoAutomatic installer.php lang files by installer_builder (20060816)
moodler [Wed, 16 Aug 2006 02:50:27 +0000 (02:50 +0000)]
Automatic installer.php lang files by installer_builder (20060816)