]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agofixed warning in hotpot lib when running cron from commandline
skodak [Sun, 24 Sep 2006 07:38:15 +0000 (07:38 +0000)]
fixed warning in hotpot lib when running cron from commandline

18 years agoadded trustbitmask column to user table
skodak [Sun, 24 Sep 2006 07:32:49 +0000 (07:32 +0000)]
added trustbitmask column to user table

18 years agofixes to activity stats processing for dailies
mjollnir_ [Sun, 24 Sep 2006 07:15:22 +0000 (07:15 +0000)]
fixes to activity stats processing for dailies

18 years agomore work on stats reports ...
mjollnir_ [Sun, 24 Sep 2006 07:13:33 +0000 (07:13 +0000)]
more work on stats reports ...

18 years agoMake sure buttons don't wrap
moodler [Sun, 24 Sep 2006 06:54:52 +0000 (06:54 +0000)]
Make sure buttons don't wrap

18 years agoRemoved the "then" string, no need for it
moodler [Sun, 24 Sep 2006 06:47:53 +0000 (06:47 +0000)]
Removed the "then" string, no need for it

18 years agoFixed notice() so that you can pass a course if you want
moodler [Sun, 24 Sep 2006 06:21:15 +0000 (06:21 +0000)]
Fixed notice() so that you can pass a course if you want

18 years agoRemoved some possible notices
moodler [Sun, 24 Sep 2006 06:06:24 +0000 (06:06 +0000)]
Removed some possible notices

18 years agoBetter errors
moodler [Sun, 24 Sep 2006 05:53:45 +0000 (05:53 +0000)]
Better errors

18 years agoTidied up error reporting in course overview
moodler [Sun, 24 Sep 2006 04:29:12 +0000 (04:29 +0000)]
Tidied up error reporting in course overview

18 years agomore fixing on reports
mjollnir_ [Sun, 24 Sep 2006 03:15:52 +0000 (03:15 +0000)]
more fixing on reports

18 years agoTypo
stronk7 [Sun, 24 Sep 2006 00:13:22 +0000 (00:13 +0000)]
Typo

18 years agoChange slighty the tests...
stronk7 [Sun, 24 Sep 2006 00:11:53 +0000 (00:11 +0000)]
Change slighty the tests...

18 years agoNow Oracle supports the first part of alter table alter column statements
stronk7 [Sun, 24 Sep 2006 00:02:34 +0000 (00:02 +0000)]
Now Oracle supports the first part of alter table alter column statements

18 years agoInserted two more test
stronk7 [Sun, 24 Sep 2006 00:01:02 +0000 (00:01 +0000)]
Inserted two more test

18 years agoaccidently left in debugging stuff in stats reports
mjollnir_ [Sat, 23 Sep 2006 21:43:11 +0000 (21:43 +0000)]
accidently left in debugging stuff in stats reports

18 years agoadding some more tests
stronk7 [Sat, 23 Sep 2006 21:30:36 +0000 (21:30 +0000)]
adding some more tests

18 years agoadding support for some more options
stronk7 [Sat, 23 Sep 2006 21:29:31 +0000 (21:29 +0000)]
adding support for some more options

18 years agomark rename table as not implemented
stronk7 [Sat, 23 Sep 2006 21:28:16 +0000 (21:28 +0000)]
mark rename table as not implemented

18 years agoadding support for alter columns
stronk7 [Sat, 23 Sep 2006 21:24:51 +0000 (21:24 +0000)]
adding support for alter columns
(not finished yet)

18 years agomysql alter table alter column is "modify column"
stronk7 [Sat, 23 Sep 2006 21:23:05 +0000 (21:23 +0000)]
mysql alter table alter column is "modify column"

18 years agomssql doesn't support default clause in alter table alter column
stronk7 [Sat, 23 Sep 2006 21:22:02 +0000 (21:22 +0000)]
mssql doesn't support default clause in alter table alter column

18 years agoFix for MDL-6628: the lesson object was not being cloned correctly.
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.

18 years agoMoved endofbranch redirect up to avoid double printing of messages.
mark-nielsen [Sat, 23 Sep 2006 19:32:25 +0000 (19:32 +0000)]
Moved endofbranch redirect up to avoid double printing of messages.

18 years agoFixed alignment issue in IE
mark-nielsen [Sat, 23 Sep 2006 18:51:49 +0000 (18:51 +0000)]
Fixed alignment issue in IE

18 years agoFixed branch table buttons to work with JavaScript turned off. This fix lead to...
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.

18 years agoPutting the files back to plain JS files
moodler [Sat, 23 Sep 2006 15:11:37 +0000 (15:11 +0000)]
Putting the files back to plain JS files

18 years agoUse AJAX for weekly formats too. HOWEVER, there are some remaining
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

18 years agoJust tidying up the code
moodler [Sat, 23 Sep 2006 14:34:59 +0000 (14:34 +0000)]
Just tidying up the code

18 years agoFurther centralising of course AJAX and cleanup of code formatting, names etc
moodler [Sat, 23 Sep 2006 14:03:48 +0000 (14:03 +0000)]
Further centralising of course AJAX and cleanup of code formatting, names etc

18 years agoNow using the generic course/rest.php instead of the local commands.php
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

18 years agoMoved the REST interface for course modification from
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

18 years agobe a bit more forgiving of lang parameter
moodler [Sat, 23 Sep 2006 13:14:25 +0000 (13:14 +0000)]
be a bit more forgiving of lang parameter

18 years agoStrip all tags from role names before use
moodler [Sat, 23 Sep 2006 12:57:48 +0000 (12:57 +0000)]
Strip all tags from role names before use

18 years agorole sortorder column now has unique index; new function get_all_roles() that returns...
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

18 years agoWhen getting lists of roles, put role names through format_string
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)

18 years agofixes to the stats processing. Credit: Geoff Cant <geoff@catalyst.net.nz> (sql ninja)
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)

18 years agofixing reports
mjollnir_ [Sat, 23 Sep 2006 12:10:42 +0000 (12:10 +0000)]
fixing reports

18 years agomore work on stats - reports this time
mjollnir_ [Sat, 23 Sep 2006 12:08:46 +0000 (12:08 +0000)]
more work on stats - reports this time

18 years agotowards unique role sortorder - fixes for create_role() and new delete_role()
skodak [Sat, 23 Sep 2006 10:43:24 +0000 (10:43 +0000)]
towards unique role sortorder - fixes for create_role() and new delete_role()

18 years agofollow correct naming convention when fetching legacy teacher role
mjollnir_ [Sat, 23 Sep 2006 09:47:11 +0000 (09:47 +0000)]
follow correct naming convention when fetching legacy teacher role

18 years agodebugging and error reporting level fixes and improvements MDL-6671
skodak [Sat, 23 Sep 2006 09:38:39 +0000 (09:38 +0000)]
debugging and error reporting level fixes and improvements MDL-6671

18 years agoMoving a bunch of database module fields to NULLable
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)

18 years agofixing typo in stats upgrade I just made
mjollnir_ [Sat, 23 Sep 2006 09:02:37 +0000 (09:02 +0000)]
fixing typo in stats upgrade I just made

18 years agolots of fixes to stats, more to come
mjollnir_ [Sat, 23 Sep 2006 08:52:12 +0000 (08:52 +0000)]
lots of fixes to stats, more to come

18 years agoRewrote much of this to add
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.

18 years agoFurther fixes for MDL-6601 ... that should be complete now.
moodler [Sat, 23 Sep 2006 06:10:48 +0000 (06:10 +0000)]
Further fixes for MDL-6601 ... that should be complete now.

18 years agoAutomatic installer.php lang files by installer_builder (20060923)
moodler [Sat, 23 Sep 2006 02:43:18 +0000 (02:43 +0000)]
Automatic installer.php lang files by installer_builder (20060923)

18 years agoFixed a label
mark-nielsen [Sat, 23 Sep 2006 01:01:14 +0000 (01:01 +0000)]
Fixed a label

18 years agofixed error in fetch_context_capabilities() when no local capabilities defined in...
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

18 years agorole ui minor cleanup
skodak [Fri, 22 Sep 2006 21:17:43 +0000 (21:17 +0000)]
role ui minor cleanup

18 years agorole assign and override code fixes + other minor changes
skodak [Fri, 22 Sep 2006 20:09:47 +0000 (20:09 +0000)]
role assign and override code fixes + other minor changes

18 years agoNow using ADOdb standard transactions. Some day, we should switch to
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

18 years agoPartially reversed patch for http://tracker.moodle.org/browse/MDL-5136, caching of...
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.

18 years agoFirst pass at a fix for MDL-6601 (delete contexts when deleting course)
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)

18 years agoFixing MDL-6636, reference to file that is now gone (site.html)
moodler [Fri, 22 Sep 2006 17:27:19 +0000 (17:27 +0000)]
Fixing MDL-6636, reference to file that is now gone (site.html)

18 years agoDetect Oracle Database Encoding in order to set CFG->unicodedb properly
stronk7 [Fri, 22 Sep 2006 17:23:09 +0000 (17:23 +0000)]
Detect Oracle Database Encoding in order to set CFG->unicodedb properly

18 years agoReplacing some old strings I should not have deleted MDL-6645
moodler [Fri, 22 Sep 2006 17:12:09 +0000 (17:12 +0000)]
Replacing some old strings I should not have deleted  MDL-6645

18 years agoSome cleanup for cron.
ethem [Fri, 22 Sep 2006 16:19:53 +0000 (16:19 +0000)]
Some cleanup for cron.

18 years agoFixes to user new Roles
moodler [Fri, 22 Sep 2006 16:19:24 +0000 (16:19 +0000)]
Fixes to user new Roles

18 years agoMinor fix to be able to drop tables without prefix properly (adodb_log)
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)

18 years agoSOme changes for Roles
moodler [Fri, 22 Sep 2006 16:11:52 +0000 (16:11 +0000)]
SOme changes for Roles

18 years agoRemoved some old debugging
moodler [Fri, 22 Sep 2006 15:54:03 +0000 (15:54 +0000)]
Removed some old debugging

18 years agomini-bump
stronk7 [Fri, 22 Sep 2006 15:46:40 +0000 (15:46 +0000)]
mini-bump

18 years agoNow cache_text->formattedtext is a longtext again.
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)

18 years agoisguest() to has_capability('moodle/legacy:guest', get_context_instance(CONTEXT_SYSTE...
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)

18 years ago'merged from 1.6 - reduced the distance above the footer from 100px to 40px'
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'

18 years agoFixes bug MDL-6548 "blog_menu block should use lists"
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 &/&amp; validation error in rss_client footer.

18 years agoSome cleanup.
ethem [Fri, 22 Sep 2006 14:04:11 +0000 (14:04 +0000)]
Some cleanup.

18 years agoLast commit for enrol_student().
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'))

18 years ago+ Changed deprecated enrol_student() function to enrol_into_course().
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.

18 years agoMerged fixes from 1.6
moodler [Fri, 22 Sep 2006 13:27:56 +0000 (13:27 +0000)]
Merged fixes from 1.6

18 years agoFixed a typo for enrol_into_course(), thanks Ethem
moodler [Fri, 22 Sep 2006 13:16:32 +0000 (13:16 +0000)]
Fixed a typo for enrol_into_course(), thanks Ethem

18 years agoNo need get_student_courses() and get_teacher_courses() anymore.
ethem [Fri, 22 Sep 2006 13:11:49 +0000 (13:11 +0000)]
No need get_student_courses() and get_teacher_courses() anymore.

18 years agoChanged deprecated enrol_student() function to enrol_into_course().
ethem [Fri, 22 Sep 2006 12:18:58 +0000 (12:18 +0000)]
Changed deprecated enrol_student() function to enrol_into_course().

18 years agofixing stats_get_course_users. my brain hurts
mjollnir_ [Fri, 22 Sep 2006 11:34:25 +0000 (11:34 +0000)]
fixing stats_get_course_users. my brain hurts

18 years agoPrevent 'Warning: Invalid argument supplied for foreach() in ...' for get_courses_pag...
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.

18 years agoset config statsupgraded during install so we don't try upgrade later
mjollnir_ [Fri, 22 Sep 2006 11:09:15 +0000 (11:09 +0000)]
set config statsupgraded during install so we don't try upgrade later

18 years agoOoops. The following-HTTP-standard absolute-path redirect thing didn't work with...
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.

18 years agoadded missing indexes in stats upgrade, fixed discrepency between stattype enrolment...
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

18 years agofixing up the stats table enums
mjollnir_ [Fri, 22 Sep 2006 10:18:33 +0000 (10:18 +0000)]
fixing up the stats table enums

18 years agoFixed bug about all chars being created with length 255. Penny found this!
stronk7 [Fri, 22 Sep 2006 10:15:51 +0000 (10:15 +0000)]
Fixed bug about all chars being created with length 255. Penny found this!

18 years agomoved call to upgrade stats until after all the roles stuff has been set up
mjollnir_ [Fri, 22 Sep 2006 10:00:34 +0000 (10:00 +0000)]
moved call to upgrade stats until after all the roles stuff has been set up

18 years agoFIxed up longtimenosee processing in cron
moodler [Fri, 22 Sep 2006 09:54:43 +0000 (09:54 +0000)]
FIxed up longtimenosee processing in cron

18 years agoKilling some not needed references
stronk7 [Fri, 22 Sep 2006 09:54:02 +0000 (09:54 +0000)]
Killing some not needed references

18 years agoFixes for get_users_longtimenosee
moodler [Fri, 22 Sep 2006 09:49:26 +0000 (09:49 +0000)]
Fixes for get_users_longtimenosee

18 years agoSuggested changes from MDL-6654
vyshane [Fri, 22 Sep 2006 09:23:50 +0000 (09:23 +0000)]
Suggested changes from MDL-6654

18 years agoAdded comment regarding $isteacher being deprecated in print_recent_activity()
vyshane [Fri, 22 Sep 2006 09:11:46 +0000 (09:11 +0000)]
Added comment regarding $isteacher being deprecated in print_recent_activity()

18 years agoproper install.xml schema for new stats tables
mjollnir_ [Fri, 22 Sep 2006 08:58:40 +0000 (08:58 +0000)]
proper install.xml schema for new stats tables

18 years agobackup changes for roles
toyomoyo [Fri, 22 Sep 2006 08:56:25 +0000 (08:56 +0000)]
backup changes for roles

18 years ago'added 16px height to the commands to correct the wrapping issue in the sideblock...
urs_hunkler [Fri, 22 Sep 2006 07:51:23 +0000 (07:51 +0000)]
'added 16px height to the commands to correct the wrapping issue in the sideblock header'

18 years agoFix for MDL-6654
vyshane [Fri, 22 Sep 2006 07:08:43 +0000 (07:08 +0000)]
Fix for MDL-6654

18 years agoReplaced isteacher & co. Fixed some issues.
vyshane [Fri, 22 Sep 2006 06:29:40 +0000 (06:29 +0000)]
Replaced isteacher & co. Fixed some issues.

18 years agonew tags for new functions
moodler [Fri, 22 Sep 2006 06:27:51 +0000 (06:27 +0000)]
new tags for new functions

18 years agorenamed field in context table
moodler [Fri, 22 Sep 2006 06:21:48 +0000 (06:21 +0000)]
renamed field in context table

18 years agoUpgrading table to rename the context->aggregatelevel field which was
moodler [Fri, 22 Sep 2006 06:19:32 +0000 (06:19 +0000)]
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.

18 years agoDOn't terminate upgrade if stats didn't work
moodler [Fri, 22 Sep 2006 06:10:42 +0000 (06:10 +0000)]
DOn't terminate upgrade if stats didn't work

18 years agoschema files for stats changes (install.xml still to come). Credit: Nigel McNie ...
mjollnir_ [Fri, 22 Sep 2006 06:05:07 +0000 (06:05 +0000)]
schema files for stats changes (install.xml still to come). Credit: Nigel McNie <nigel@catalyst.net.nz>

18 years agoImproved error messages for role_assign to be more helpful
moodler [Fri, 22 Sep 2006 05:23:59 +0000 (05:23 +0000)]
Improved error messages for role_assign to be more helpful

18 years agoRemoving some notices
moodler [Fri, 22 Sep 2006 05:17:57 +0000 (05:17 +0000)]
Removing some notices