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
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
moodler
76389cec17
Fixed the upgrade from 1.6.x. The role->shortname field was not being created.
2006-09-29 06:43:42 +00:00
moodler
aae37b638c
Added progress bar to role assignments during upgrade
2006-09-29 06:41:10 +00:00
moodler
72da504606
Added a progress bar for the role assignments
2006-09-29 06:19:47 +00:00
moodler
ea35ab87d9
Header and footer should include $CFG->header and $CFG->footer, just in
...
case the chosen theme doesn't exist any more
2006-09-29 05:43:48 +00:00
moodler
459c1ff12a
Just tidying up code while reading it
2006-09-29 05:35:37 +00:00
toyomoyo
ed59cd6ea4
fix for MDL-5670
2006-09-29 02:19:27 +00:00
stronk7
f020b35705
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.
2006-09-28 23:14:52 +00:00
stronk7
599caff8c5
prevent nulls to become nulls (oracle error)
...
and defaults null to become defaults null
when temporary columns are used
2006-09-28 23:06:04 +00:00
stronk7
5adc951c4f
Don't rely on index names to decide if we have to drop one key
2006-09-28 22:05:11 +00:00
stronk7
d54f85efa6
minor adjust. keytype to drop keys is not needed anymore. now it's
...
defined in mysql generator (the only one needing it)
2006-09-28 21:47:36 +00:00
stronk7
ac5ff0e787
fixed one wrong constant
2006-09-28 20:12:00 +00:00
stronk7
9c46a7e6f9
changed mysql drop index syntax. Nothing relevant.
2006-09-28 20:11:30 +00:00
stronk7
71ea93e023
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 !
2006-09-28 20:06:08 +00:00
stronk7
53d3b80798
prevent some warnings on tables without indexes
2006-09-28 19:43:17 +00:00
stronk7
4690f076ca
Now keys and indexes are PERFECT (argh, Oracle, once more was causing problems)
2006-09-28 18:56:21 +00:00
stronk7
4df8b6cdfc
some more settings go to XMLDBGenerator (as they are default)
2006-09-28 18:39:33 +00:00
stronk7
1a275daaaf
some more settings go to XMLDBGenerator (as they are default)
2006-09-28 18:31:28 +00:00
skodak
30fce5000a
removed one more unneeded file from adodb library
2006-09-28 18:29:54 +00:00
stronk7
55c4b9435d
add_key() and drop_key() are working (with sync of undelying
...
indexes automated)
2006-09-28 17:30:14 +00:00
stronk7
fac17f427f
add_key() and drop_key() are working (with sync of undelying
...
indexes automated)
2006-09-28 17:25:00 +00:00
stronk7
0852990f9b
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)
2006-09-28 17:20:21 +00:00
stronk7
662244cb77
Deleting some parameters that aren't needed anymore. Code will
...
decide if creating underlying indexes for keys automatically now.
2006-09-28 17:02:49 +00:00
moodler
b7b0afb87f
Fixed a capability name: MDL-6727
2006-09-28 15:06:07 +00:00
jamiesensei
909ec807cb
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
2006-09-28 10:32:23 +00:00
moodler
41763b02da
One more debugging removed
2006-09-28 08:38:27 +00:00
moodler
130672189c
Removed excess debugging that is no longer very useful
2006-09-28 08:37:19 +00:00
moodler
2d14e8a8fe
Removed duplicate capability moodle/course:managequestions MDL-6610
2006-09-28 07:17:39 +00:00
moodler
77c645df28
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
2006-09-28 06:41:07 +00:00
vinkmar
3b904bc94f
calendar admin page cleaned up
2006-09-28 04:46:09 +00:00
moodler
bac2f88ae8
Added count_role_users() as a more efficient thing to do than get_role_users()
2006-09-28 04:42:49 +00:00
jamiesensei
15fdf6199e
wrapping group element in a fieldset tag
2006-09-28 04:19:56 +00:00
jamiesensei
ec929cd596
now wrapping a group element in a fieldset tag, brought id tag on checkboxes and radio boxes in line with moodle universal form structure
2006-09-28 04:18:35 +00:00
martinlanghoff
897e0712e8
Comments.
2006-09-28 00:13:07 +00:00
martinlanghoff
c0adb54de4
Allow Chinese/Japanese UTF-8 strings to be truncated at character
...
boundaries instead of word boundaries. (fix MDL-5378)
2006-09-28 00:10:23 +00:00
skodak
250934b8e0
fixed logic of moodle_install_roles() - it now calls update_capabilities() after creation of default roles, but before first role_assign(). The problem was that role_assign calls code from forum lib which already uses capabilities, this might cause even bigger problems later.
2006-09-27 22:59:37 +00:00
skodak
6727c1753f
added default settings for admin_setting_special_backupdays()
2006-09-27 22:25:15 +00:00
skodak
5d0df39db4
fixed array_shift($roles) warning during upgrade from 1.6
2006-09-27 22:16:23 +00:00
skodak
1cd3eba948
fixed validation of course category for site course MDL-6715
2006-09-27 20:43:04 +00:00
jamiesensei
49c5368707
changes to html structure for rendering of forms in line with http://moodle.org/mod/forum/discuss.php?d=54907#250816
2006-09-27 19:12:52 +00:00
skodak
7bfa3101df
add checks for stale contextid in role_assignments and overrides into load_user_capability() MDL-6708
2006-09-27 18:11:36 +00:00
skodak
a36a3a3f98
added strict context level checks to get_context_instance() MDL-6709 , the reason is to find typos and buggy code that would be otherwise unnoticed
2006-09-27 17:58:17 +00:00
skodak
3ca2dea51d
sanitise request in create_context() and show debug info when appropriate MDL-6715
2006-09-27 17:50:53 +00:00
stronk7
13e9de1c67
Fixed Bug MDL-6647 - PG version not being fetched properly.
...
(http://tracker.moodle.org/browse/MDL-6647 )
2006-09-27 17:48:45 +00:00