22126 Commits

Author SHA1 Message Date
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
moodler
96fc0072b4 Removed some old debugging 2006-09-22 15:54:03 +00:00
stronk7
37a7859855 mini-bump 2006-09-22 15:46:40 +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
ethem
f0f8e34c5d isguest() to has_capability('moodle/legacy:guest', get_context_instance(CONTEXT_SYSTEM, SITEID), $USER->id, false) 2006-09-22 15:31:04 +00:00
urs_hunkler
65e2d1f0df 'merged from 1.6 - reduced the distance above the footer from 100px to 40px' 2006-09-22 15:19:38 +00:00
nfreear
fd2339cfd6 Fixes bug MDL-6548 "blog_menu block should use lists"
- also blocks: rss_client, admin_bookmark.
 - also fixed &/& validation error in rss_client footer.
2006-09-22 15:15:48 +00:00
ethem
778326bef8 Some cleanup. 2006-09-22 14:04:11 +00:00
ethem
33f9bffe90 Last commit for enrol_student().
enrol_student($order->userid, $order->courseid, $timestart, $timeend, 'manual')
to
role_assign($role->id, $user->id, 0, $context->id, $timestart, $timeend, 0, 'manual'))
2006-09-22 13:50:10 +00:00
ethem
fddf3cfb56 + Changed deprecated enrol_student() function to enrol_into_course().
+ No need extra check: if (!empty($CFG->enrol_mailstudents)):  enrol_into_course calls email_welcome_message_to_user() internally.
2006-09-22 13:33:37 +00:00
moodler
d7e8ffebbf Merged fixes from 1.6 2006-09-22 13:27:56 +00:00
moodler
e2183037b3 Fixed a typo for enrol_into_course(), thanks Ethem 2006-09-22 13:16:32 +00:00
ethem
b001dec454 No need get_student_courses() and get_teacher_courses() anymore. 2006-09-22 13:11:49 +00:00
ethem
16dbf42695 Changed deprecated enrol_student() function to enrol_into_course(). 2006-09-22 12:18:58 +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
mjollnir_
b4713311d4 set config statsupgraded during install so we don't try upgrade later 2006-09-22 11:09:15 +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
mjollnir_
bd2b8ddecd moved call to upgrade stats until after all the roles stuff has been set up 2006-09-22 10:00:34 +00:00
moodler
6e208cd2fe FIxed up longtimenosee processing in cron 2006-09-22 09:54:43 +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
vyshane
938c039e52 Suggested changes from MDL-6654 2006-09-22 09:23:50 +00:00
vyshane
66b0b1042b Added comment regarding $isteacher being deprecated in print_recent_activity() 2006-09-22 09:11:46 +00:00
mjollnir_
504e6fd41f proper install.xml schema for new stats tables 2006-09-22 08:58:40 +00:00
toyomoyo
65c6fd8b2d backup changes for roles 2006-09-22 08:56:25 +00:00
urs_hunkler
9d147a038f 'added 16px height to the commands to correct the wrapping issue in the sideblock header' 2006-09-22 07:51:23 +00:00
vyshane
242a445fdf Fix for MDL-6654 2006-09-22 07:08:43 +00:00
vyshane
1febf1a77a Replaced isteacher & co. Fixed some issues. 2006-09-22 06:29:40 +00:00
moodler
a19beac32e new tags for new functions 2006-09-22 06:27:51 +00:00