]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoadded "hotpotopens" and "hotpotcloses" for calendar events
gbateson [Sun, 1 Oct 2006 06:35:54 +0000 (06:35 +0000)]
added "hotpotopens" and "hotpotcloses" for calendar events

18 years agoImprovements to the user listing, security and appearance
moodler [Sun, 1 Oct 2006 06:18:18 +0000 (06:18 +0000)]
Improvements to the user listing, security and appearance

18 years agoTrivial spelling fix up
moodler [Sun, 1 Oct 2006 05:49:41 +0000 (05:49 +0000)]
Trivial spelling fix up

18 years agoNew implementation of loginas see MDL-6626
moodler [Sun, 1 Oct 2006 05:46:55 +0000 (05:46 +0000)]
New implementation of loginas    see MDL-6626

18 years agoFixed a bug where load_user_capability() was not checking in the
moodler [Sun, 1 Oct 2006 05:27:36 +0000 (05:27 +0000)]
Fixed a bug where load_user_capability() was not checking in the
specified context when it was provided (only in the parents)

18 years agoSome tidying and also a check to make sure that the user was a
moodler [Sun, 1 Oct 2006 05:26:38 +0000 (05:26 +0000)]
Some tidying and also a check to make sure that the user was a
participant in this particular course

18 years agoFIxed a typo mod->id --> mod->cm
moodler [Sun, 1 Oct 2006 04:56:43 +0000 (04:56 +0000)]
FIxed a typo  mod->id --> mod->cm

18 years agoNow Oracle supports table renaming (both sequence and triggers
stronk7 [Sat, 30 Sep 2006 23:48:34 +0000 (23:48 +0000)]
Now Oracle supports table renaming (both sequence and triggers
are kept on sync with the new table name)

18 years agoDrop one more table if present
stronk7 [Sat, 30 Sep 2006 23:09:41 +0000 (23:09 +0000)]
Drop one more table if present

18 years agoChange slighty the style of RenameKey and RenameIndex functions.
stronk7 [Sat, 30 Sep 2006 22:59:10 +0000 (22:59 +0000)]
Change slighty the style of RenameKey and RenameIndex functions.

18 years agoInitial commit of rename_table(). Not ended!
stronk7 [Sat, 30 Sep 2006 22:40:15 +0000 (22:40 +0000)]
Initial commit of rename_table(). Not ended!

18 years agofixed Fatal error: Call to undefined function: print_recent_activity() when adding...
skodak [Sat, 30 Sep 2006 21:02:09 +0000 (21:02 +0000)]
fixed Fatal error: Call to undefined function: print_recent_activity() when adding Recent Activity as a sticky block MDL-6437 and  blocks block database MDL-5931

18 years agofixed missing required_login($courseid) that needs to be done to set up proper global...
skodak [Sat, 30 Sep 2006 20:46:31 +0000 (20:46 +0000)]
fixed missing required_login($courseid) that needs to be done to set up proper global $COURSE; MDL-6697   course/mod.php does not show the right navigation

18 years agoMDL-6673 duplicate capabilities in list
skodak [Sat, 30 Sep 2006 20:11:44 +0000 (20:11 +0000)]
MDL-6673   duplicate capabilities in list

18 years agoNO CODE CHANGES. Just added PHPdoc comments at the top of lesson files.
mark-nielsen [Sat, 30 Sep 2006 19:49:40 +0000 (19:49 +0000)]
NO CODE CHANGES.  Just added PHPdoc comments at the top of lesson files.

18 years agoMDL-6696 Default country doesn't display on dropdown menu
skodak [Sat, 30 Sep 2006 19:46:10 +0000 (19:46 +0000)]
MDL-6696   Default country doesn't display on dropdown menu

18 years agoAdded one more test to check the EXPERIMENTAL rename_key() function
stronk7 [Sat, 30 Sep 2006 19:45:51 +0000 (19:45 +0000)]
Added one more test to check the EXPERIMENTAL rename_key() function

18 years agoAdded rename_key()
stronk7 [Sat, 30 Sep 2006 19:44:49 +0000 (19:44 +0000)]
Added rename_key()
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!

18 years agoAdding support to rename_key()
stronk7 [Sat, 30 Sep 2006 19:44:16 +0000 (19:44 +0000)]
Adding support to rename_key()
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!

18 years agoImplemented rename_key()
stronk7 [Sat, 30 Sep 2006 19:43:16 +0000 (19:43 +0000)]
Implemented rename_key()
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!

18 years agoBug Fix: The dependency drop-down was displaying incorrectly. Fixed up code to use...
mark-nielsen [Sat, 30 Sep 2006 19:24:22 +0000 (19:24 +0000)]
Bug Fix: The dependency drop-down was displaying incorrectly.  Fixed up code to use API to gather Lessons correctly.

18 years agoBugFix for MDL-6730: now blank lessons redirect to edit.php where the user is prompte...
mark-nielsen [Sat, 30 Sep 2006 19:00:07 +0000 (19:00 +0000)]
BugFix for MDL-6730: now blank lessons redirect to edit.php where the user is prompted by a menu of options.

18 years agoAdded rename_index()
stronk7 [Sat, 30 Sep 2006 18:24:14 +0000 (18:24 +0000)]
Added rename_index()
Adding support for index renaming. Note that MySQL doesn't support this
but this shouldn't be important at all, mainly because, under xmldb,
accesses to index-names are always done with find_index_name() and
never explicity.
Anyway, this function could be useful in the future to normalize index
names in some Health center or another similar place.

18 years agoAdding support for index renaming. Note that MySQL doesn't support this
stronk7 [Sat, 30 Sep 2006 18:23:00 +0000 (18:23 +0000)]
Adding support for index renaming. Note that MySQL doesn't support this
but this shouldn't be important at all, mainly because, under xmldb,
accesses to index-names are always done with find_index_name() and
never explicity.
Anyway, this function could be useful in the future to normalize index
names in some Health center or another similar place.

18 years agoFixed PHP 4 compatibility re MDL-6753
danstowell [Sat, 30 Sep 2006 17:46:15 +0000 (17:46 +0000)]
Fixed PHP 4 compatibility re MDL-6753

18 years agoAdded 3 more tests to check change_field_enum()
stronk7 [Sat, 30 Sep 2006 17:06:59 +0000 (17:06 +0000)]
Added 3 more tests to check change_field_enum()

18 years agoAdded new function change_field_enum()
stronk7 [Sat, 30 Sep 2006 17:06:20 +0000 (17:06 +0000)]
Added new function change_field_enum()

18 years agoAdded support to change_field_enum() across all RDBMS
stronk7 [Sat, 30 Sep 2006 17:03:17 +0000 (17:03 +0000)]
Added support to change_field_enum() across all RDBMS

18 years agoMerging fixes from MOODLE_16_STABLE
julmis [Sat, 30 Sep 2006 16:07:43 +0000 (16:07 +0000)]
Merging fixes from MOODLE_16_STABLE

18 years agoUsing the new table_exists() to initialize tests properly.
stronk7 [Sat, 30 Sep 2006 15:51:41 +0000 (15:51 +0000)]
Using the new table_exists() to initialize tests properly.

18 years agoApplying the field_exists() check to add and drop fields.
stronk7 [Sat, 30 Sep 2006 15:48:23 +0000 (15:48 +0000)]
Applying the field_exists() check to add and drop fields.

18 years agonew advanced upload assignmet type - replaces old upload type, existing data and...
skodak [Sat, 30 Sep 2006 15:41:20 +0000 (15:41 +0000)]
new advanced upload assignmet type - replaces old upload type, existing data and settings not fully compatible

18 years agoNew function field_exists() to detect if one field exists
stronk7 [Sat, 30 Sep 2006 15:35:32 +0000 (15:35 +0000)]
New function field_exists() to detect if one field exists

18 years agoAdd some checks to detect if one table exists before creating or
stronk7 [Sat, 30 Sep 2006 15:19:56 +0000 (15:19 +0000)]
Add some checks to detect if one table exists before creating or
dropping it. Part of MDL-6614

18 years agoAdding some debugging() for some controlled actions.
stronk7 [Sat, 30 Sep 2006 15:15:34 +0000 (15:15 +0000)]
Adding some debugging() for some controlled actions.

18 years agoMoving some uses of find_index_name() to index_exists()
stronk7 [Sat, 30 Sep 2006 15:00:46 +0000 (15:00 +0000)]
Moving some uses of find_index_name() to index_exists()

18 years agoFixed typo
stronk7 [Sat, 30 Sep 2006 14:59:03 +0000 (14:59 +0000)]
Fixed typo

18 years agoPrevent tables without prefix to be duplicated at install time. MDL-6614
stronk7 [Sat, 30 Sep 2006 14:36:52 +0000 (14:36 +0000)]
Prevent tables without prefix to be duplicated at install time. MDL-6614

18 years agoFixed up Preset name
moodler [Sat, 30 Sep 2006 14:13:22 +0000 (14:13 +0000)]
Fixed up Preset name

18 years agoDon't show progress bar when there's nothing worth showing
moodler [Sat, 30 Sep 2006 13:52:15 +0000 (13:52 +0000)]
Don't show progress bar when there's nothing worth showing

18 years agoInside ddllib, for consistency we call parameters table, field...
stronk7 [Sat, 30 Sep 2006 13:04:17 +0000 (13:04 +0000)]
Inside ddllib, for consistency we call parameters table, field...
(without the xmldb_ prefix)

18 years agoAdded index_exists(). One wrapper over find_index_name()
stronk7 [Sat, 30 Sep 2006 12:56:39 +0000 (12:56 +0000)]
Added index_exists(). One wrapper over find_index_name()

18 years agoOne more use of getTableName() added.
stronk7 [Sat, 30 Sep 2006 12:34:17 +0000 (12:34 +0000)]
One more use of getTableName() added.

18 years agoExtendig use of new getTableName() over all generators
stronk7 [Sat, 30 Sep 2006 12:13:07 +0000 (12:13 +0000)]
Extendig use of new getTableName() over all generators

18 years agoNew getTableName() function to get normalised table names everywhere
stronk7 [Sat, 30 Sep 2006 12:03:19 +0000 (12:03 +0000)]
New getTableName() function to get normalised table names everywhere

18 years agoAdded new function table_exists() to be used later...
stronk7 [Sat, 30 Sep 2006 12:01:33 +0000 (12:01 +0000)]
Added new function table_exists() to be used later...

18 years agoAh! forgot to interchange keys and values!
stronk7 [Sat, 30 Sep 2006 11:09:44 +0000 (11:09 +0000)]
Ah! forgot to interchange keys and values!

18 years agoExecute the index_get_name() silently to avoid a lot of
stronk7 [Sat, 30 Sep 2006 10:54:37 +0000 (10:54 +0000)]
Execute the index_get_name() silently to avoid a lot of
output in the install/upgrade process. Original db->debug
is re-set to their original status once executed.

18 years agoIFxed some notices when the block was used on sticky blocks page. MDL-6620
moodler [Sat, 30 Sep 2006 08:22:17 +0000 (08:22 +0000)]
IFxed some notices when the block was used on sticky blocks page. MDL-6620

18 years agoEnablig PHP generation of code for change_field_type()
stronk7 [Fri, 29 Sep 2006 23:12:40 +0000 (23:12 +0000)]
Enablig PHP generation of code for change_field_type()

18 years agoAdded to more tests to check float <---> char conversion
stronk7 [Fri, 29 Sep 2006 23:10:31 +0000 (23:10 +0000)]
Added to more tests to check float <---> char conversion

18 years agotowards new upload assignment - expect brand-new version tomorrow :-)
skodak [Fri, 29 Sep 2006 21:45:04 +0000 (21:45 +0000)]
towards new upload assignment - expect brand-new version tomorrow :-)

18 years agofixed parameter cleanup SC#318; merged from MOODLE_16_STABLE
skodak [Fri, 29 Sep 2006 20:54:15 +0000 (20:54 +0000)]
fixed parameter cleanup SC#318; merged from MOODLE_16_STABLE

18 years agoNow basic types of conversion (int2char, char2int, number2char, char2number)
stronk7 [Fri, 29 Sep 2006 17:49:04 +0000 (17:49 +0000)]
Now basic types of conversion (int2char, char2int, number2char, char2number)
are working properly under all RDBMS.

18 years agoChange one test a bit...
stronk7 [Fri, 29 Sep 2006 17:29:08 +0000 (17:29 +0000)]
Change one test a bit...

18 years agoFixed wrong context bug
vyshane [Fri, 29 Sep 2006 08:58:02 +0000 (08:58 +0000)]
Fixed wrong context bug

18 years agoFixed missing separator (MDL-3975).
vyshane [Fri, 29 Sep 2006 07:28:11 +0000 (07:28 +0000)]
Fixed missing separator (MDL-3975).

18 years agoMoved to scorm_1x.js.php
bobopinna [Fri, 29 Sep 2006 06:45:25 +0000 (06:45 +0000)]
Moved to scorm_1x.js.php

18 years agoNo more used
bobopinna [Fri, 29 Sep 2006 06:43:58 +0000 (06:43 +0000)]
No more used

18 years agoFixed the upgrade from 1.6.x. The role->shortname field was not being created.
moodler [Fri, 29 Sep 2006 06:43:42 +0000 (06:43 +0000)]
Fixed the upgrade from 1.6.x.   The role->shortname field was not being created.

18 years agoNew icon to support toc bug fix
bobopinna [Fri, 29 Sep 2006 06:43:36 +0000 (06:43 +0000)]
New icon to support toc bug fix

18 years agoAdded progress bar to role assignments during upgrade
moodler [Fri, 29 Sep 2006 06:41:10 +0000 (06:41 +0000)]
Added progress bar to role assignments during upgrade

18 years agoChanges no datadir error message from bad manifest to bad package
bobopinna [Fri, 29 Sep 2006 06:29:10 +0000 (06:29 +0000)]
Changes no datadir error message from bad manifest to bad package

18 years agoFixed completed status for launched Asset
bobopinna [Fri, 29 Sep 2006 06:27:47 +0000 (06:27 +0000)]
Fixed completed status for launched Asset

18 years agoAdded _ to version data element
bobopinna [Fri, 29 Sep 2006 06:26:36 +0000 (06:26 +0000)]
Added _ to version data element

18 years agoFixed a bug in toc display
bobopinna [Fri, 29 Sep 2006 06:25:56 +0000 (06:25 +0000)]
Fixed a bug in toc display

18 years agoAdded some strings
bobopinna [Fri, 29 Sep 2006 06:20:53 +0000 (06:20 +0000)]
Added some strings

18 years agoAdded a progress bar for the role assignments
moodler [Fri, 29 Sep 2006 06:19:47 +0000 (06:19 +0000)]
Added a progress bar for the role assignments

18 years agoAdd MS-SQL to installer :-)
moodler [Fri, 29 Sep 2006 06:11:47 +0000 (06:11 +0000)]
Add MS-SQL to installer :-)

18 years agofixing a redundant order by clause
toyomoyo [Fri, 29 Sep 2006 05:46:02 +0000 (05:46 +0000)]
fixing a redundant order by clause

18 years agocommentary text renamed to general feedback
toyomoyo [Fri, 29 Sep 2006 05:45:24 +0000 (05:45 +0000)]
commentary text renamed to general feedback

18 years agoHeader and footer should include $CFG->header and $CFG->footer, just in
moodler [Fri, 29 Sep 2006 05:43:48 +0000 (05:43 +0000)]
Header and footer should include $CFG->header and $CFG->footer, just in
case the chosen theme doesn't exist any more

18 years agoJust tidying up code while reading it
moodler [Fri, 29 Sep 2006 05:35:37 +0000 (05:35 +0000)]
Just tidying up code while reading it

18 years agoadded a new temp config variable to help track maint mode before and after migration...
toyomoyo [Fri, 29 Sep 2006 03:10:38 +0000 (03:10 +0000)]
added a new temp config variable to help track maint mode before and after migration MDL-6182, not fixing in stable yet due to the lack of support of unset_config function.

18 years agoSlight change to Copyright notice to link to our License page, not Gnu site
moodler [Fri, 29 Sep 2006 02:39:39 +0000 (02:39 +0000)]
Slight change to Copyright notice to link to our License page, not Gnu site

18 years agofix for MDL-5670
toyomoyo [Fri, 29 Sep 2006 02:19:27 +0000 (02:19 +0000)]
fix for MDL-5670

18 years agoMoving some tests up and down and introducing some more
stronk7 [Thu, 28 Sep 2006 23:16:29 +0000 (23:16 +0000)]
Moving some tests up and down and introducing some more
tests about changing column types. Not working yet unded mssql

18 years agoMoving some change_field_XXX() functions and introducing
stronk7 [Thu, 28 Sep 2006 23:14:52 +0000 (23:14 +0000)]
Moving some change_field_XXX() functions and introducing
change_field_type(). Seems to work everywere but under
mssql (due to some problems with default constraints).
Will see it tomorrow.

18 years agoprevent nulls to become nulls (oracle error)
stronk7 [Thu, 28 Sep 2006 23:06:04 +0000 (23:06 +0000)]
prevent nulls to become nulls (oracle error)
and defaults null to become defaults null
when temporary columns are used

18 years agoAdding two more tests (create and drop foreign keys)
stronk7 [Thu, 28 Sep 2006 22:11:06 +0000 (22:11 +0000)]
Adding two more tests (create and drop foreign keys)

18 years agoDon't rely on index names to decide if we have to drop one key
stronk7 [Thu, 28 Sep 2006 22:05:11 +0000 (22:05 +0000)]
Don't rely on index names to decide if we have to drop one key

18 years agominor adjust. keytype to drop keys is not needed anymore. now it's
stronk7 [Thu, 28 Sep 2006 21:47:36 +0000 (21:47 +0000)]
minor adjust. keytype to drop keys is not needed anymore. now it's
defined in mysql generator (the only one needing it)

18 years agoone more
koenr [Thu, 28 Sep 2006 21:32:20 +0000 (21:32 +0000)]
one more

18 years agofew typos. Thanks a lot for spotting Mits!
koenr [Thu, 28 Sep 2006 21:31:34 +0000 (21:31 +0000)]
few typos. Thanks a lot for spotting Mits!

18 years agofixed MDL-3484
koenr [Thu, 28 Sep 2006 20:58:55 +0000 (20:58 +0000)]
fixed MDL-3484

18 years agofixed one wrong constant
stronk7 [Thu, 28 Sep 2006 20:12:00 +0000 (20:12 +0000)]
fixed one wrong constant

18 years agochanged mysql drop index syntax. Nothing relevant.
stronk7 [Thu, 28 Sep 2006 20:11:30 +0000 (20:11 +0000)]
changed mysql drop index syntax. Nothing relevant.

18 years agoArgh! More than 3 hours searching for this error! I was calling one
stronk7 [Thu, 28 Sep 2006 20:06:08 +0000 (20:06 +0000)]
Argh! More than 3 hours searching for this error! I was calling one
constructor with wrong number of parameters and PHP said nothing at
all (with DEVELOPER level of debugging). Horrible OOP !

18 years agoprevent some warnings on tables without indexes
stronk7 [Thu, 28 Sep 2006 19:43:17 +0000 (19:43 +0000)]
prevent some warnings on tables without indexes

18 years agoNow keys and indexes are PERFECT (argh, Oracle, once more was causing problems)
stronk7 [Thu, 28 Sep 2006 18:56:21 +0000 (18:56 +0000)]
Now keys and indexes are PERFECT (argh, Oracle, once more was causing problems)

18 years agosome more settings go to XMLDBGenerator (as they are default)
stronk7 [Thu, 28 Sep 2006 18:39:33 +0000 (18:39 +0000)]
some more settings go to XMLDBGenerator (as they are default)

18 years agosome more settings go to XMLDBGenerator (as they are default)
stronk7 [Thu, 28 Sep 2006 18:31:28 +0000 (18:31 +0000)]
some more settings go to XMLDBGenerator (as they are default)

18 years agoremoved one more unneeded file from adodb library
skodak [Thu, 28 Sep 2006 18:29:54 +0000 (18:29 +0000)]
removed one more unneeded file from adodb library

18 years agoFixed addmin setting colors.
mits [Thu, 28 Sep 2006 17:48:12 +0000 (17:48 +0000)]
Fixed addmin setting colors.

18 years agoAdding some more tests about adding and dropping keys
stronk7 [Thu, 28 Sep 2006 17:35:52 +0000 (17:35 +0000)]
Adding some more tests about adding and dropping keys

18 years agoadd_key() and drop_key() are working (with sync of undelying
stronk7 [Thu, 28 Sep 2006 17:30:14 +0000 (17:30 +0000)]
add_key() and drop_key() are working (with sync of undelying
indexes automated)

18 years agoadd_key() and drop_key() are working (with sync of undelying
stronk7 [Thu, 28 Sep 2006 17:25:00 +0000 (17:25 +0000)]
add_key() and drop_key() are working (with sync of undelying
indexes automated)

18 years agoDeleting some parameters that aren't needed anymore. Code will
stronk7 [Thu, 28 Sep 2006 17:20:21 +0000 (17:20 +0000)]
Deleting some parameters that aren't needed anymore. Code will
decide if creating underlying indexes for keys automatically now.

Also, add_key() and drop_key() are working (with sync of undelying
indexes automated)

18 years agoDeleting some parameters that aren't needed anymore. Code will
stronk7 [Thu, 28 Sep 2006 17:02:49 +0000 (17:02 +0000)]
Deleting some parameters that aren't needed anymore. Code will
decide if creating underlying indexes for keys automatically now.

18 years agoAdded PHP 5.0.x restriction to Moodle 1.7. MDL-5653
stronk7 [Thu, 28 Sep 2006 16:46:52 +0000 (16:46 +0000)]
Added PHP 5.0.x restriction to Moodle 1.7. MDL-5653