Commit graph

3353 commits

Author SHA1 Message Date
mjollnir_
11887b6d5e more fixing on reports 2006-09-24 03:15:52 +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
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
moodler
3e1e2b6968 Putting the files back to plain JS files 2006-09-23 15:11:37 +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
748390cd30 be a bit more forgiving of lang parameter 2006-09-23 13:14:25 +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_
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
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
9991d157ea Further fixes for MDL-6601 ... that should be complete now. 2006-09-23 06:10:48 +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
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
stronk7
0700134df5 Detect Oracle Database Encoding in order to set CFG->unicodedb properly 2006-09-22 17:23:09 +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
96fc0072b4 Removed some old debugging 2006-09-22 15:54:03 +00:00
stronk7
0e1412cea5 Now cache_text->formattedtext is a longtext again.
(both PG and the UTF8 migration script were
working with it as text, so impact should be minimal)
2006-09-22 15:43:42 +00:00
moodler
e2183037b3 Fixed a typo for enrol_into_course(), thanks Ethem 2006-09-22 13:16:32 +00:00
mjollnir_
0e3404aabd fixing stats_get_course_users. my brain hurts 2006-09-22 11:34:25 +00:00
dwoolhead
12490fc2b3 Prevent 'Warning: Invalid argument supplied for foreach() in ...' for get_courses_page function when there are no courses in the required category. 2006-09-22 11:15:10 +00:00
sam_marshall
ecfdc901fc Ooops. The following-HTTP-standard absolute-path redirect thing didn't work with URLs that begin / (i.e. it couldn't redirect to /moodle/whatever although it was fine redirecting to http://thing/moodle or to plain old whatever/something.) Fixed. 2006-09-22 10:48:37 +00:00
mjollnir_
f5aa20162c added missing indexes in stats upgrade, fixed discrepency between stattype enrolment or enrolments 2006-09-22 10:43:04 +00:00
mjollnir_
1282edc826 fixing up the stats table enums 2006-09-22 10:18:33 +00:00
stronk7
d4b86c90dc Fixed bug about all chars being created with length 255. Penny found this! 2006-09-22 10:15:51 +00:00
stronk7
373dc4406b Killing some not needed references 2006-09-22 09:54:02 +00:00
moodler
cc7c0592e4 Fixes for get_users_longtimenosee 2006-09-22 09:49:26 +00:00
mjollnir_
504e6fd41f proper install.xml schema for new stats tables 2006-09-22 08:58:40 +00:00
moodler
aad2ba95d1 Upgrading table to rename the context->aggregatelevel field which was
really bugging me.   Code should be a little bit more readable now.

Apologies to those with non-core code already using this field.
2006-09-22 06:19:32 +00:00
mjollnir_
20c59467a5 schema files for stats changes (install.xml still to come). Credit: Nigel McNie <nigel@catalyst.net.nz> 2006-09-22 06:05:07 +00:00
moodler
82396e5b1f Improved error messages for role_assign to be more helpful 2006-09-22 05:23:59 +00:00
moodler
9d829c681d Removing some notices 2006-09-22 05:17:57 +00:00
moodler
6ed4afb351 Merged support for personal dictionaries in spellchecker 2006-09-22 04:38:32 +00:00
moodler
e84ea106f9 function_names() might not like the egg 2006-09-22 03:49:49 +00:00
mjollnir_
29bbc6e730 As well as a credit to Nigel for the stats schema upgrade and data migration, the previous commit here should have had a HUGE credit to Geoff Cant <geoff@catalyst.net.nz> for NINJA SQL 2006-09-22 03:15:52 +00:00
mjollnir_
e5d83d6fc1 stats rework: 1. upgrade schema and move data to new schema. (credit: Nigel McNie <nigel@catalyst.net.nz>). 2. Stats processing uses new schema. THIS NEEDS TESTING ON MYSQL. Still to do: schema files (install.xml,*.sql still to be committed), reports to use new schema. 2006-09-22 02:54:21 +00:00
moodler
2eb662d261 A real easter egg ;-) 2006-09-22 02:28:13 +00:00
moodler
35cf8b7938 Some easter eggs :-) 2006-09-22 02:11:00 +00:00
toyomoyo
5b5781f4f5 some new functions to help backuo 2006-09-22 01:46:45 +00:00
moodler
988ad08450 Use role sortorder when getting role lists 2006-09-22 01:21:01 +00:00
skodak
b5959f3071 partial rewrite of role manage script, improved notice_yesno(), other minor fixes and changes; I will work on assign and overide tomorrow ;-) 2006-09-21 22:34:45 +00:00