22158 Commits

Author SHA1 Message Date
stronk7
3fb145e061 Change slighty the tests... 2006-09-24 00:11:53 +00:00
stronk7
19c8321e07 Now Oracle supports the first part of alter table alter column statements 2006-09-24 00:02:34 +00:00
stronk7
27bb1be29d Inserted two more test 2006-09-24 00:01:02 +00:00
mjollnir_
32baf47939 accidently left in debugging stuff in stats reports 2006-09-23 21:43:11 +00:00
stronk7
05002031d5 adding some more tests 2006-09-23 21:30:36 +00:00
stronk7
1934b52236 adding support for some more options 2006-09-23 21:29:31 +00:00
stronk7
8e895ae5c7 mark rename table as not implemented 2006-09-23 21:28:16 +00:00
stronk7
0e9e0b3bb3 adding support for alter columns
(not finished yet)
2006-09-23 21:24:51 +00:00
stronk7
f8c485b071 mysql alter table alter column is "modify column" 2006-09-23 21:23:05 +00:00
stronk7
c282203d84 mssql doesn't support default clause in alter table alter column 2006-09-23 21:22:02 +00:00
mark-nielsen
31b50f6442 Fix for MDL-6628: the lesson object was not being cloned correctly. 2006-09-23 19:57:35 +00:00
mark-nielsen
6707a280a9 Moved endofbranch redirect up to avoid double printing of messages. 2006-09-23 19:32:25 +00:00
mark-nielsen
c7c404b964 Fixed alignment issue in IE 2006-09-23 18:51:49 +00:00
mark-nielsen
563106f0a8 Fixed branch table buttons to work with JavaScript turned off. This fix lead to some minor changes to the button output, but hopefully simplified things.
Also, removed .hidden-label class because it was no longer in use due to label fixes earlier.
2006-09-23 18:45:59 +00:00
moodler
3e1e2b6968 Putting the files back to plain JS files 2006-09-23 15:11:37 +00:00
moodler
3febabd888 Use AJAX for weekly formats too. HOWEVER, there are some remaining
bugs with it so for now it only works in DEBUG_DEVELOPER mode
2006-09-23 14:38:01 +00:00
moodler
354e11303e Just tidying up the code 2006-09-23 14:34:59 +00:00
moodler
9bb7417805 Further centralising of course AJAX and cleanup of code formatting, names etc 2006-09-23 14:03:48 +00:00
moodler
75dc25855c Now using the generic course/rest.php instead of the local commands.php 2006-09-23 13:24:10 +00:00
moodler
b205403813 Moved the REST interface for course modification from
course/format/topics/commands.php to a more generic place
2006-09-23 13:23:18 +00:00
moodler
748390cd30 be a bit more forgiving of lang parameter 2006-09-23 13:14:25 +00:00
moodler
350b5fb6c8 Strip all tags from role names before use 2006-09-23 12:57:48 +00:00
skodak
ece4945bd2 role sortorder column now has unique index; new function get_all_roles() that returns all roles with correct sort 2006-09-23 12:51:00 +00:00
moodler
65b0c132ed When getting lists of roles, put role names through format_string
(ie for multilang filter)
2006-09-23 12:46:53 +00:00
mjollnir_
67f3be726e fixes to the stats processing. Credit: Geoff Cant <geoff@catalyst.net.nz> (sql ninja) 2006-09-23 12:42:35 +00:00
mjollnir_
afc97d5349 fixing reports 2006-09-23 12:10:42 +00:00
mjollnir_
0dd5bf422b more work on stats - reports this time 2006-09-23 12:08:46 +00:00
skodak
8420bee94e towards unique role sortorder - fixes for create_role() and new delete_role() 2006-09-23 10:43:24 +00:00
mjollnir_
09cf1c9b55 follow correct naming convention when fetching legacy teacher role 2006-09-23 09:47:11 +00:00
skodak
7eb0b60a1f debugging and error reporting level fixes and improvements MDL-6671 2006-09-23 09:38:39 +00:00
stronk7
b8547480b7 Moving a bunch of database module fields to NULLable
(http://docs.moodle.org/en/XMLDB_Problems#NOT_NULL_fields_using_a_DEFAULT_.27.27_clause)
2006-09-23 09:37:53 +00:00
mjollnir_
88d7e6218e fixing typo in stats upgrade I just made 2006-09-23 09:02:37 +00:00
mjollnir_
0f259f63d9 lots of fixes to stats, more to come 2006-09-23 08:52:12 +00:00
moodler
c1ddecab49 Rewrote much of this to add
- more validation of incoming data
   - error logging in the PHP log

I've tested every function and it works for me without errors.
2006-09-23 07:52:09 +00:00
moodler
9991d157ea Further fixes for MDL-6601 ... that should be complete now. 2006-09-23 06:10:48 +00:00
moodler
ea9fda2f88 Automatic installer.php lang files by installer_builder (20060923) 2006-09-23 02:43:18 +00:00
mark-nielsen
9b5274b96d Fixed a label 2006-09-23 01:01:14 +00:00
skodak
16e2e2f394 fixed error in fetch_context_capabilities() when no local capabilities defined in context 2006-09-22 21:31:19 +00:00
skodak
adbffcb9fe role ui minor cleanup 2006-09-22 21:17:43 +00:00
skodak
305ef971fc role assign and override code fixes + other minor changes 2006-09-22 20:09:47 +00:00
stronk7
2a2905fb6f Now using ADOdb standard transactions. Some day, we should switch to
Smart Transactions (http://phplens.com/adodb/tutorial.smart.transactions.html)
as they autodetect errors and are nestable and easier to write
2006-09-22 20:05:44 +00:00
skodak
a17c57b5e3 Partially reversed patch for http://tracker.moodle.org/browse/MDL-5136, caching of filtered uploaded html files is disabled now MDL-5136 , Eloy is changing the column type in cache_text back to TEXT. 2006-09-22 18:08:53 +00:00
moodler
eaa79489a8 First pass at a fix for MDL-6601 (delete contexts when deleting course) 2006-09-22 17:49:45 +00:00
moodler
78850d9e7d Fixing MDL-6636, reference to file that is now gone (site.html) 2006-09-22 17:27:19 +00:00
stronk7
0700134df5 Detect Oracle Database Encoding in order to set CFG->unicodedb properly 2006-09-22 17:23:09 +00:00
moodler
721b750ff4 Replacing some old strings I should not have deleted MDL-6645 2006-09-22 17:12:09 +00:00
ethem
37f9ca4e8f Some cleanup for cron. 2006-09-22 16:19:53 +00:00
moodler
bc492d185c Fixes to user new Roles 2006-09-22 16:19:24 +00:00
stronk7
4feeadeb59 Minor fix to be able to drop tables without prefix properly (adodb_log) 2006-09-22 16:16:48 +00:00
moodler
22003adac5 SOme changes for Roles 2006-09-22 16:11:52 +00:00