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 |
|
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 |
|