]> git.mjollnir.org Git - moodle.git/log
moodle.git
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

18 years agoreverting last commit, expect new fixes soon
skodak [Thu, 28 Sep 2006 15:34:54 +0000 (15:34 +0000)]
reverting last commit, expect new fixes soon

18 years agoFixed a capability name: MDL-6727
moodler [Thu, 28 Sep 2006 15:06:07 +0000 (15:06 +0000)]
Fixed a capability name:   MDL-6727

18 years agoGuest should not see My Courses MDL-6736
moodler [Thu, 28 Sep 2006 14:48:29 +0000 (14:48 +0000)]
Guest should not see My Courses    MDL-6736

18 years agoadded PARAM types to calls using "required_param" and "optional_param" functions
gbateson [Thu, 28 Sep 2006 13:24:36 +0000 (13:24 +0000)]
added PARAM types to calls using "required_param" and "optional_param" functions

18 years agomoved styles in theme\standard\styles_form.css to theme\standard\styles_layout.css...
jamiesensei [Thu, 28 Sep 2006 10:32:23 +0000 (10:32 +0000)]
moved styles in theme\standard\styles_form.css to theme\standard\styles_layout.css and removed theme\standard\styles_form.css and all references to it. In line with discussion here : http://moodle.org/mod/forum/discuss.php?d=54907

18 years agochanges in backup/restore for roles. fixed bug related to wrong context in backuplib...
toyomoyo [Thu, 28 Sep 2006 09:15:14 +0000 (09:15 +0000)]
changes in backup/restore for roles. fixed bug related to wrong context in backuplib.php added code to handle addition of new roles in restorelib.php, added code to do role overrides in restore.php new functionalities requires proper handling

18 years agoUnenrol fixed to support other users too and better workflow
moodler [Thu, 28 Sep 2006 08:55:04 +0000 (08:55 +0000)]
Unenrol fixed to support other users too and better workflow

18 years agoOne more debugging removed
moodler [Thu, 28 Sep 2006 08:38:27 +0000 (08:38 +0000)]
One more debugging removed

18 years agoRemoved excess debugging that is no longer very useful
moodler [Thu, 28 Sep 2006 08:37:19 +0000 (08:37 +0000)]
Removed excess debugging that is no longer very useful

18 years agoMerged fix for MDL-6681
vyshane [Thu, 28 Sep 2006 08:29:17 +0000 (08:29 +0000)]
Merged fix for MDL-6681

18 years agoFixes for MDL-3975
vyshane [Thu, 28 Sep 2006 07:29:50 +0000 (07:29 +0000)]
Fixes for MDL-3975

Changes to discuss.php and post.php so that the single discussion type forums are handled more consistently.

18 years agoUpdated tags
moodler [Thu, 28 Sep 2006 07:22:36 +0000 (07:22 +0000)]
Updated tags

18 years agoRemoved duplicate capability moodle/course:managequestions MDL-6610
moodler [Thu, 28 Sep 2006 07:17:39 +0000 (07:17 +0000)]
Removed duplicate capability moodle/course:managequestions    MDL-6610

18 years agoDocumentation and strings for Default Role
moodler [Thu, 28 Sep 2006 07:07:54 +0000 (07:07 +0000)]
Documentation and strings for Default Role

18 years agoFIxed heading on assign roles in course context
moodler [Thu, 28 Sep 2006 07:00:28 +0000 (07:00 +0000)]
FIxed heading on assign roles in course context

18 years agoFixed a typo
moodler [Thu, 28 Sep 2006 06:48:50 +0000 (06:48 +0000)]
Fixed a typo

18 years agoStarted out fixing MDL-6624 and it turned into a fairly major cleanup
moodler [Thu, 28 Sep 2006 06:41:07 +0000 (06:41 +0000)]
Started out fixing MDL-6624 and it turned into a fairly major cleanup
of the participant listing.  I think it's a lot better now.

Bulk messaging fixed too, and is controlled by a new capability

      moodle/course:bulkmessaging