]>
git.mjollnir.org Git - moodle.git/log
moodler [Sun, 24 Sep 2006 13:51:06 +0000 (13:51 +0000)]
Various new strings, mostly capability names
skodak [Sun, 24 Sep 2006 13:34:52 +0000 (13:34 +0000)]
one more sanity check for role overrides
moodler [Sun, 24 Sep 2006 13:30:43 +0000 (13:30 +0000)]
Add some more checking of input and permissions
moodler [Sun, 24 Sep 2006 13:15:13 +0000 (13:15 +0000)]
Extend the require_login in require_capability a bit
skodak [Sun, 24 Sep 2006 12:54:53 +0000 (12:54 +0000)]
user upload cap renamed to moodle/site:uploadusers
skodak [Sun, 24 Sep 2006 12:31:49 +0000 (12:31 +0000)]
uploading of users has new capability 'moodle/user:upload' now also with admin block integrated
moodler [Sun, 24 Sep 2006 12:13:58 +0000 (12:13 +0000)]
Fixed a notice
moodler [Sun, 24 Sep 2006 12:07:44 +0000 (12:07 +0000)]
Corrected accidental language-changing because of lang in POST
moodler [Sun, 24 Sep 2006 12:02:00 +0000 (12:02 +0000)]
Simplified a bit and removed a notice
skodak [Sun, 24 Sep 2006 11:58:28 +0000 (11:58 +0000)]
do not display guest when browsing users
skodak [Sun, 24 Sep 2006 11:55:11 +0000 (11:55 +0000)]
roles fixed in user browsing page; admin section now accepts array of capabilities for external and settings pages
moodler [Sun, 24 Sep 2006 11:32:11 +0000 (11:32 +0000)]
Handle site-level block names in capability settings too
moodler [Sun, 24 Sep 2006 11:11:40 +0000 (11:11 +0000)]
Function stub, as suggestion towards MDL-6678
moodler [Sun, 24 Sep 2006 10:47:27 +0000 (10:47 +0000)]
Added some strings describing risks
stronk7 [Sun, 24 Sep 2006 09:59:25 +0000 (09:59 +0000)]
Changed one LIMIT to a cross-db WHERE clause
moodler [Sun, 24 Sep 2006 09:44:51 +0000 (09:44 +0000)]
Added styles to the role editing/viewing list, as well as some links and tooltips
stronk7 [Sun, 24 Sep 2006 09:38:56 +0000 (09:38 +0000)]
Prevent Unique Keys generation. Instead use unique indexes at DB level.
With this, all we'll have are PRIMARY KEYS + INDEXES, that are pretty
well supported by ADODB MetaXXX functions.
Both Unique and Foreign Keys will be used once ADODB support them and
the relational mode was enforced.
moodler [Sun, 24 Sep 2006 09:02:30 +0000 (09:02 +0000)]
When not editing, then let's disable the radio buttons
stronk7 [Sun, 24 Sep 2006 08:26:24 +0000 (08:26 +0000)]
Given one xmldb_field, finds its name in DB
skodak [Sun, 24 Sep 2006 07:38:15 +0000 (07:38 +0000)]
fixed warning in hotpot lib when running cron from commandline
skodak [Sun, 24 Sep 2006 07:32:49 +0000 (07:32 +0000)]
added trustbitmask column to user table
mjollnir_ [Sun, 24 Sep 2006 07:15:22 +0000 (07:15 +0000)]
fixes to activity stats processing for dailies
mjollnir_ [Sun, 24 Sep 2006 07:13:33 +0000 (07:13 +0000)]
more work on stats reports ...
moodler [Sun, 24 Sep 2006 06:54:52 +0000 (06:54 +0000)]
Make sure buttons don't wrap
moodler [Sun, 24 Sep 2006 06:47:53 +0000 (06:47 +0000)]
Removed the "then" string, no need for it
moodler [Sun, 24 Sep 2006 06:21:15 +0000 (06:21 +0000)]
Fixed notice() so that you can pass a course if you want
moodler [Sun, 24 Sep 2006 06:06:24 +0000 (06:06 +0000)]
Removed some possible notices
moodler [Sun, 24 Sep 2006 05:53:45 +0000 (05:53 +0000)]
Better errors
moodler [Sun, 24 Sep 2006 04:29:12 +0000 (04:29 +0000)]
Tidied up error reporting in course overview
mjollnir_ [Sun, 24 Sep 2006 03:15:52 +0000 (03:15 +0000)]
more fixing on reports
stronk7 [Sun, 24 Sep 2006 00:13:22 +0000 (00:13 +0000)]
Typo
stronk7 [Sun, 24 Sep 2006 00:11:53 +0000 (00:11 +0000)]
Change slighty the tests...
stronk7 [Sun, 24 Sep 2006 00:02:34 +0000 (00:02 +0000)]
Now Oracle supports the first part of alter table alter column statements
stronk7 [Sun, 24 Sep 2006 00:01:02 +0000 (00:01 +0000)]
Inserted two more test
mjollnir_ [Sat, 23 Sep 2006 21:43:11 +0000 (21:43 +0000)]
accidently left in debugging stuff in stats reports
stronk7 [Sat, 23 Sep 2006 21:30:36 +0000 (21:30 +0000)]
adding some more tests
stronk7 [Sat, 23 Sep 2006 21:29:31 +0000 (21:29 +0000)]
adding support for some more options
stronk7 [Sat, 23 Sep 2006 21:28:16 +0000 (21:28 +0000)]
mark rename table as not implemented
stronk7 [Sat, 23 Sep 2006 21:24:51 +0000 (21:24 +0000)]
adding support for alter columns
(not finished yet)
stronk7 [Sat, 23 Sep 2006 21:23:05 +0000 (21:23 +0000)]
mysql alter table alter column is "modify column"
stronk7 [Sat, 23 Sep 2006 21:22:02 +0000 (21:22 +0000)]
mssql doesn't support default clause in alter table alter column
mark-nielsen [Sat, 23 Sep 2006 19:57:35 +0000 (19:57 +0000)]
Fix for MDL-6628: the lesson object was not being cloned correctly.
mark-nielsen [Sat, 23 Sep 2006 19:32:25 +0000 (19:32 +0000)]
Moved endofbranch redirect up to avoid double printing of messages.
mark-nielsen [Sat, 23 Sep 2006 18:51:49 +0000 (18:51 +0000)]
Fixed alignment issue in IE
mark-nielsen [Sat, 23 Sep 2006 18:45:59 +0000 (18:45 +0000)]
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.
moodler [Sat, 23 Sep 2006 15:11:37 +0000 (15:11 +0000)]
Putting the files back to plain JS files
moodler [Sat, 23 Sep 2006 14:38:01 +0000 (14:38 +0000)]
Use AJAX for weekly formats too. HOWEVER, there are some remaining
bugs with it so for now it only works in DEBUG_DEVELOPER mode
moodler [Sat, 23 Sep 2006 14:34:59 +0000 (14:34 +0000)]
Just tidying up the code
moodler [Sat, 23 Sep 2006 14:03:48 +0000 (14:03 +0000)]
Further centralising of course AJAX and cleanup of code formatting, names etc
moodler [Sat, 23 Sep 2006 13:24:10 +0000 (13:24 +0000)]
Now using the generic course/rest.php instead of the local commands.php
moodler [Sat, 23 Sep 2006 13:23:18 +0000 (13:23 +0000)]
Moved the REST interface for course modification from
course/format/topics/commands.php to a more generic place
moodler [Sat, 23 Sep 2006 13:14:25 +0000 (13:14 +0000)]
be a bit more forgiving of lang parameter
moodler [Sat, 23 Sep 2006 12:57:48 +0000 (12:57 +0000)]
Strip all tags from role names before use
skodak [Sat, 23 Sep 2006 12:51:00 +0000 (12:51 +0000)]
role sortorder column now has unique index; new function get_all_roles() that returns all roles with correct sort
moodler [Sat, 23 Sep 2006 12:46:53 +0000 (12:46 +0000)]
When getting lists of roles, put role names through format_string
(ie for multilang filter)
mjollnir_ [Sat, 23 Sep 2006 12:42:35 +0000 (12:42 +0000)]
fixes to the stats processing. Credit: Geoff Cant <geoff@catalyst.net.nz> (sql ninja)
mjollnir_ [Sat, 23 Sep 2006 12:10:42 +0000 (12:10 +0000)]
fixing reports
mjollnir_ [Sat, 23 Sep 2006 12:08:46 +0000 (12:08 +0000)]
more work on stats - reports this time
skodak [Sat, 23 Sep 2006 10:43:24 +0000 (10:43 +0000)]
towards unique role sortorder - fixes for create_role() and new delete_role()
mjollnir_ [Sat, 23 Sep 2006 09:47:11 +0000 (09:47 +0000)]
follow correct naming convention when fetching legacy teacher role
skodak [Sat, 23 Sep 2006 09:38:39 +0000 (09:38 +0000)]
debugging and error reporting level fixes and improvements MDL-6671
stronk7 [Sat, 23 Sep 2006 09:37:53 +0000 (09:37 +0000)]
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)
mjollnir_ [Sat, 23 Sep 2006 09:02:37 +0000 (09:02 +0000)]
fixing typo in stats upgrade I just made
mjollnir_ [Sat, 23 Sep 2006 08:52:12 +0000 (08:52 +0000)]
lots of fixes to stats, more to come
moodler [Sat, 23 Sep 2006 07:52:09 +0000 (07:52 +0000)]
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.
moodler [Sat, 23 Sep 2006 06:10:48 +0000 (06:10 +0000)]
Further fixes for MDL-6601 ... that should be complete now.
moodler [Sat, 23 Sep 2006 02:43:18 +0000 (02:43 +0000)]
Automatic installer.php lang files by installer_builder (
20060923 )
mark-nielsen [Sat, 23 Sep 2006 01:01:14 +0000 (01:01 +0000)]
Fixed a label
skodak [Fri, 22 Sep 2006 21:31:19 +0000 (21:31 +0000)]
fixed error in fetch_context_capabilities() when no local capabilities defined in context
skodak [Fri, 22 Sep 2006 21:17:43 +0000 (21:17 +0000)]
role ui minor cleanup
skodak [Fri, 22 Sep 2006 20:09:47 +0000 (20:09 +0000)]
role assign and override code fixes + other minor changes
stronk7 [Fri, 22 Sep 2006 20:05:44 +0000 (20:05 +0000)]
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
skodak [Fri, 22 Sep 2006 18:08:53 +0000 (18:08 +0000)]
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.
moodler [Fri, 22 Sep 2006 17:49:45 +0000 (17:49 +0000)]
First pass at a fix for MDL-6601 (delete contexts when deleting course)
moodler [Fri, 22 Sep 2006 17:27:19 +0000 (17:27 +0000)]
Fixing MDL-6636, reference to file that is now gone (site.html)
stronk7 [Fri, 22 Sep 2006 17:23:09 +0000 (17:23 +0000)]
Detect Oracle Database Encoding in order to set CFG->unicodedb properly
moodler [Fri, 22 Sep 2006 17:12:09 +0000 (17:12 +0000)]
Replacing some old strings I should not have deleted MDL-6645
ethem [Fri, 22 Sep 2006 16:19:53 +0000 (16:19 +0000)]
Some cleanup for cron.
moodler [Fri, 22 Sep 2006 16:19:24 +0000 (16:19 +0000)]
Fixes to user new Roles
stronk7 [Fri, 22 Sep 2006 16:16:48 +0000 (16:16 +0000)]
Minor fix to be able to drop tables without prefix properly (adodb_log)
moodler [Fri, 22 Sep 2006 16:11:52 +0000 (16:11 +0000)]
SOme changes for Roles
moodler [Fri, 22 Sep 2006 15:54:03 +0000 (15:54 +0000)]
Removed some old debugging
stronk7 [Fri, 22 Sep 2006 15:46:40 +0000 (15:46 +0000)]
mini-bump
stronk7 [Fri, 22 Sep 2006 15:43:42 +0000 (15:43 +0000)]
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)
ethem [Fri, 22 Sep 2006 15:31:04 +0000 (15:31 +0000)]
isguest() to has_capability('moodle/legacy:guest', get_context_instance(CONTEXT_SYSTEM, SITEID), $USER->id, false)
urs_hunkler [Fri, 22 Sep 2006 15:19:38 +0000 (15:19 +0000)]
'merged from 1.6 - reduced the distance above the footer from 100px to 40px'
nfreear [Fri, 22 Sep 2006 15:15:48 +0000 (15:15 +0000)]
Fixes bug MDL-6548 "blog_menu block should use lists"
- also blocks: rss_client, admin_bookmark.
- also fixed &/& validation error in rss_client footer.
ethem [Fri, 22 Sep 2006 14:04:11 +0000 (14:04 +0000)]
Some cleanup.
ethem [Fri, 22 Sep 2006 13:50:10 +0000 (13:50 +0000)]
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'))
ethem [Fri, 22 Sep 2006 13:33:37 +0000 (13:33 +0000)]
+ 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.
moodler [Fri, 22 Sep 2006 13:27:56 +0000 (13:27 +0000)]
Merged fixes from 1.6
moodler [Fri, 22 Sep 2006 13:16:32 +0000 (13:16 +0000)]
Fixed a typo for enrol_into_course(), thanks Ethem
ethem [Fri, 22 Sep 2006 13:11:49 +0000 (13:11 +0000)]
No need get_student_courses() and get_teacher_courses() anymore.
ethem [Fri, 22 Sep 2006 12:18:58 +0000 (12:18 +0000)]
Changed deprecated enrol_student() function to enrol_into_course().
mjollnir_ [Fri, 22 Sep 2006 11:34:25 +0000 (11:34 +0000)]
fixing stats_get_course_users. my brain hurts
dwoolhead [Fri, 22 Sep 2006 11:15:10 +0000 (11:15 +0000)]
Prevent 'Warning: Invalid argument supplied for foreach() in ...' for get_courses_page function when there are no courses in the required category.
mjollnir_ [Fri, 22 Sep 2006 11:09:15 +0000 (11:09 +0000)]
set config statsupgraded during install so we don't try upgrade later
sam_marshall [Fri, 22 Sep 2006 10:48:37 +0000 (10:48 +0000)]
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.
mjollnir_ [Fri, 22 Sep 2006 10:43:04 +0000 (10:43 +0000)]
added missing indexes in stats upgrade, fixed discrepency between stattype enrolment or enrolments
mjollnir_ [Fri, 22 Sep 2006 10:18:33 +0000 (10:18 +0000)]
fixing up the stats table enums