Commit graph

3652 commits

Author SHA1 Message Date
cap2501
77e65ff786 removed some debugging output accidently left in. 2006-10-08 20:23:30 +00:00
cap2501
e028ed34da created blocks_execute_repositioning_atomic as an extension of blocks_execute_repositioning, the original did adjust the column that the block was coming from but it did not insert it properly into the target column (adjusting the weights of the other blocks). This is currently only really nessicary for the ajax formats. 2006-10-08 20:21:15 +00:00
skodak
78d4711ebb fixed data/index.php when no databases available, initialized array in get_all_instances_in_course() from datalib.php; merged from MOODLE_16_STABLE 2006-10-08 19:45:29 +00:00
skodak
17e5635c36 fixed 'capabilitities' typos and removed forgotten debug_print_backtrace() commited with MDL-6728 2006-10-08 11:00:49 +00:00
skodak
ab61d01b06 Typo in lib/accesslib.php MDL-6728, found by Nicolas Martignoni. 2006-10-08 10:52:54 +00:00
stronk7
5fbab6173a Now Oracle uses the new find_sequence_name() function to find the
correct sequence name for each table on insert.

Also, introduced initial hooks to support Oracle LOBs in insert_record()
2006-10-08 09:58:11 +00:00
stronk7
c5ac44c69e Added find_sequence_name() to be used by insert_record() to get the correct sequence 2006-10-08 09:38:09 +00:00
stronk7
abbd460ff9 Adding getSequenceFromDB() for Oracle in order to detect the correct
sequence name in the insert_record() function.
2006-10-08 09:36:33 +00:00
skodak
4db69ffb82 Scalable Vector Graphics (SVG) files in Moodle are not correctly displayed in many Browsers MDL-6878, patch submitted by Geoffrey Rowland, thanks! 2006-10-08 08:13:41 +00:00
skodak
57f1b91497 fixed some incorrect strtolower() calls that were breaking non ascii languages MDL-6135 2006-10-07 20:47:54 +00:00
gustav_delius
6a8b20b790 Don't strip slashes from data send to htmlarea, after all it is not being stripped from data going to the normal textarea either. 2006-10-07 17:20:35 +00:00
stronk7
dd00dbd799 Allow load average to be displayed in servers using the comma as
decimal separator.
2006-10-07 10:33:58 +00:00
tjhunt
13835c77b6 MDL-6731 Can't save manual comment on a quiz question. I had missed one instance of the comment -> manualcomment column rename. 2006-10-06 17:22:08 +00:00
tjhunt
b20ea66988 Hopefully improve performance on site with lots of question categories Merged from MOODLE_16_STABLE. 2006-10-06 16:48:54 +00:00
vyshane
64e5a68d91 Some fixes for MDL-6674. This should fix moving activities (resources).
Thanks to Dan Poltawski for suggestions.
2006-10-06 07:56:37 +00:00
moodler
83ea392ee1 Drop the user_xxx tables after Roles install 2006-10-06 06:47:12 +00:00
moodler
e27a943788 Disable the exercise module as it's not maintained or upgraded for roles 2006-10-06 06:15:57 +00:00
toyomoyo
1b19e8107e fix for MDL-6859, MDL-6860 2006-10-06 06:04:32 +00:00
moodler
46f8bacfc8 Fixed some unencoded & in urls 2006-10-06 05:44:05 +00:00
gustav_delius
6bff0453f5 Incomplete user record (the one where the username is still 'changeme') should not be included in user listing. See bug 4570 2006-10-05 22:21:09 +00:00
stronk7
10f36d68e8 Avoid some notices. Part of MDL-6854 2006-10-05 19:29:39 +00:00
vyshane
35b974dae6 Some small formatting changes.
Added some missing semi-colons in js code.
2006-10-05 08:47:13 +00:00
moodler
881a77bfcf Fix to ignore hidden courses when using switchrole in a course MDL-6841 2006-10-05 08:41:06 +00:00
moodler
04338f9ea1 Removed user_students, user_teachers, user_coursecreators and user_admins
as they are now irrelevant   MDL-6830
2006-10-05 07:05:06 +00:00
toyomoyo
cfa7cdb958 droppinf utf8 support for user_* tables 2006-10-05 06:05:02 +00:00
skodak
f47f4659de fixed nocache option in format_text() 2006-10-04 21:22:57 +00:00
moodler
acc26e71bd Reverted my changes to ddlib 2006-10-04 15:35:27 +00:00
moodler
a9b1f143d2 Undoing my hacks to try and keep this code clean as possible. 2006-10-04 15:30:54 +00:00
moodler
4e423cbf5d Bye-bye to old database upgrade files and hellow to upgrade.php!
First order of business:  drop all the extraneous user_xxx tables.
2006-10-04 09:47:05 +00:00
moodler
eb437bd351 Some changes to ddllib.php to make some functions a bit easier to call.
May not be final ... see MDL-6817 for details.
2006-10-04 09:44:38 +00:00
moodler
7b37cb9a01 Added new function
function user_has_role_assignment($userid, $roleid, $contextid=0)
2006-10-04 07:07:57 +00:00
moodler
c9f8e57f4a FIxed category editing button 2006-10-04 04:45:58 +00:00
toyomoyo
9b5d7a463e fixing typo 2006-10-04 02:43:29 +00:00
toyomoyo
7f8691201c fixed a bug where block instances aren't deleted properly 2006-10-04 02:43:11 +00:00
stronk7
2ddec1f4ac Changed PG rename_index() to use the old ALTER TABLE ... RENAME TO syntax
(pretty strange syntax, but seems to work)
2006-10-03 15:00:55 +00:00
toyomoyo
5e67946d6c adding support for 1.6->1.7 backups 2006-10-03 08:54:46 +00:00
moodler
8ea7e7b0f7 Merged endless loop fix from stable 2006-10-03 01:46:16 +00:00
skodak
5fe9a11d96 more diagnostics in has_capability() - number instead of context object detected and debug message displayed 2006-10-02 22:10:36 +00:00
skodak
a44de9c12f fixed print_texarea() capability requirement 2006-10-02 19:47:11 +00:00
stronk7
ae5a83e6fd rename_field() under mssql completed 2006-10-02 17:42:14 +00:00
stronk7
c562997ff8 rename_field() under oracle completed 2006-10-02 17:06:37 +00:00
stronk7
86bb076fc4 rename_field() under postgresql completed. 2006-10-02 17:02:35 +00:00
stronk7
dc7c388280 MySQL doesn't have check constraints. We use enums instead. 2006-10-02 17:02:07 +00:00
stronk7
f14080b0ad Prevent "id" fields to be renamed in generators 2006-10-02 16:47:02 +00:00
stronk7
6fdea1a0bd In my previous commit, "I" was "It" :-D
Plus one typo fixed.
2006-10-02 16:46:12 +00:00
stronk7
af72e37237 Prevent "id" fields to be renamed. I can cause lots of problems. 2006-10-02 16:37:41 +00:00
stronk7
0e204a1012 Some adjustments to be able to get names without prefix 2006-10-02 16:28:51 +00:00
stronk7
6c02f04b5a rename_table() under postgresql completed 2006-10-02 16:27:18 +00:00
stronk7
bb7e5c472c rename_table() under oracle completed 2006-10-02 16:19:48 +00:00
stronk7
2f21754261 With the emotion, I forgot to delete some debug lines... :-P 2006-10-02 15:57:59 +00:00