Commit graph

23192 commits

Author SHA1 Message Date
moodler
bad59bc0ee Some tidying and also a check to make sure that the user was a
participant in this particular course
2006-10-01 05:26:38 +00:00
moodler
afe6d00384 FIxed a typo mod->id --> mod->cm 2006-10-01 04:56:43 +00:00
stronk7
20c559dd8d Now Oracle supports table renaming (both sequence and triggers
are kept on sync with the new table name)
2006-09-30 23:48:34 +00:00
stronk7
f086dd7da1 Drop one more table if present 2006-09-30 23:09:41 +00:00
stronk7
4702d62e32 Change slighty the style of RenameKey and RenameIndex functions. 2006-09-30 22:59:10 +00:00
stronk7
a59f3a34f3 Initial commit of rename_table(). Not ended! 2006-09-30 22:40:15 +00:00
skodak
8ad2207965 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 2006-09-30 21:02:09 +00:00
skodak
7208c579fd 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 2006-09-30 20:46:31 +00:00
skodak
ba8d802720 MDL-6673 duplicate capabilities in list 2006-09-30 20:11:44 +00:00
mark-nielsen
5491947aa1 NO CODE CHANGES. Just added PHPdoc comments at the top of lesson files. 2006-09-30 19:49:40 +00:00
skodak
a1069b070a MDL-6696 Default country doesn't display on dropdown menu 2006-09-30 19:46:10 +00:00
stronk7
142d7fb842 Added one more test to check the EXPERIMENTAL rename_key() function 2006-09-30 19:45:51 +00:00
stronk7
9c4ee55b6c Added rename_key()
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:44:49 +00:00
stronk7
57770f7a50 Adding support to rename_key()
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:44:16 +00:00
stronk7
e77fd021e6 Implemented rename_key()
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:43:16 +00:00
mark-nielsen
eefa69ce5c Bug Fix: The dependency drop-down was displaying incorrectly. Fixed up code to use API to gather Lessons correctly. 2006-09-30 19:24:22 +00:00
mark-nielsen
b3b4bc44ce BugFix for MDL-6730: now blank lessons redirect to edit.php where the user is prompted by a menu of options. 2006-09-30 19:00:07 +00:00
stronk7
6c89dc5514 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.
2006-09-30 18:24:14 +00:00
stronk7
1c86ef5b1c 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.
2006-09-30 18:23:00 +00:00
danstowell
15add7bd29 Fixed PHP 4 compatibility re MDL-6753 2006-09-30 17:46:15 +00:00
stronk7
aa8503fdd0 Added 3 more tests to check change_field_enum() 2006-09-30 17:06:59 +00:00
stronk7
61af97e76b Added new function change_field_enum() 2006-09-30 17:06:20 +00:00
stronk7
b899d9bf1d Added support to change_field_enum() across all RDBMS 2006-09-30 17:03:17 +00:00
julmis
9337f3e48d Merging fixes from MOODLE_16_STABLE 2006-09-30 16:07:43 +00:00
stronk7
3650ba6f58 Using the new table_exists() to initialize tests properly. 2006-09-30 15:51:41 +00:00
stronk7
3e1861cc87 Applying the field_exists() check to add and drop fields. 2006-09-30 15:48:23 +00:00
skodak
55b4d09637 new advanced upload assignmet type - replaces old upload type, existing data and settings not fully compatible 2006-09-30 15:41:20 +00:00
stronk7
342da808c5 New function field_exists() to detect if one field exists 2006-09-30 15:35:32 +00:00
stronk7
73d111a820 Add some checks to detect if one table exists before creating or
dropping it. Part of MDL-6614
2006-09-30 15:19:56 +00:00
stronk7
7471f3f0dd Adding some debugging() for some controlled actions. 2006-09-30 15:15:34 +00:00
stronk7
ed37b15464 Moving some uses of find_index_name() to index_exists() 2006-09-30 15:00:46 +00:00
stronk7
cf9a1a40f1 Fixed typo 2006-09-30 14:59:03 +00:00
stronk7
4103c3545c Prevent tables without prefix to be duplicated at install time. MDL-6614 2006-09-30 14:36:52 +00:00
moodler
2c13082db0 Fixed up Preset name 2006-09-30 14:13:22 +00:00
moodler
26ea488855 Don't show progress bar when there's nothing worth showing 2006-09-30 13:52:15 +00:00
stronk7
2719f3e2c9 Inside ddllib, for consistency we call parameters table, field...
(without the xmldb_ prefix)
2006-09-30 13:04:17 +00:00
stronk7
a504ba0213 Added index_exists(). One wrapper over find_index_name() 2006-09-30 12:56:39 +00:00
stronk7
512a237ff6 One more use of getTableName() added. 2006-09-30 12:34:17 +00:00
stronk7
9af19c728d Extendig use of new getTableName() over all generators 2006-09-30 12:13:07 +00:00
stronk7
97b9178459 New getTableName() function to get normalised table names everywhere 2006-09-30 12:03:19 +00:00
stronk7
68bc165bed Added new function table_exists() to be used later... 2006-09-30 12:01:33 +00:00
stronk7
87c6baf4a1 Ah! forgot to interchange keys and values! 2006-09-30 11:09:44 +00:00
stronk7
ef18962b00 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.
2006-09-30 10:54:37 +00:00
moodler
d4484f3209 IFxed some notices when the block was used on sticky blocks page. MDL-6620 2006-09-30 08:22:17 +00:00
stronk7
4fae686bc2 Enablig PHP generation of code for change_field_type() 2006-09-29 23:12:40 +00:00
stronk7
cec4b7c621 Added to more tests to check float <---> char conversion 2006-09-29 23:10:31 +00:00
skodak
7d47261645 towards new upload assignment - expect brand-new version tomorrow :-) 2006-09-29 21:45:04 +00:00
skodak
03bfaba1fd fixed parameter cleanup SC#318; merged from MOODLE_16_STABLE 2006-09-29 20:54:15 +00:00
stronk7
6e152cc621 Now basic types of conversion (int2char, char2int, number2char, char2number)
are working properly under all RDBMS.
2006-09-29 17:49:04 +00:00
stronk7
b0cd86786b Change one test a bit... 2006-09-29 17:29:08 +00:00