]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoFIxed some XHTML notices
moodler [Mon, 25 Sep 2006 09:32:25 +0000 (09:32 +0000)]
FIxed some XHTML notices

18 years ago'added float-left for form-group'
urs_hunkler [Mon, 25 Sep 2006 09:13:04 +0000 (09:13 +0000)]
'added float-left for form-group'

18 years agorestore is NOT WORKING!!! role assignment and capability overrides are not in
toyomoyo [Mon, 25 Sep 2006 09:10:19 +0000 (09:10 +0000)]
restore is NOT WORKING!!! role assignment and capability overrides are not in

18 years agoAdded form-group
moodler [Mon, 25 Sep 2006 09:06:51 +0000 (09:06 +0000)]
Added form-group

18 years agoAdded some CSS to contain the html editor
moodler [Mon, 25 Sep 2006 08:54:16 +0000 (08:54 +0000)]
Added some CSS to contain the html editor

18 years agofix for MDL-6599 - problem with hiding of resource when $CFG->preventaccesstohiddenfi...
skodak [Mon, 25 Sep 2006 08:53:10 +0000 (08:53 +0000)]
fix for MDL-6599 - problem with hiding of resource when $CFG->preventaccesstohiddenfiles enabled

18 years agoAbstracted query in a new function forum_discussions_user_has_posted_in()
vyshane [Mon, 25 Sep 2006 08:50:00 +0000 (08:50 +0000)]
Abstracted query in a new function forum_discussions_user_has_posted_in()

18 years agoFixed div around submit button
moodler [Mon, 25 Sep 2006 08:44:22 +0000 (08:44 +0000)]
Fixed div around submit button

18 years agoAdded $forums[$i]->type == 'qanda' check to make things more explicit
vyshane [Mon, 25 Sep 2006 08:41:31 +0000 (08:41 +0000)]
Added $forums[$i]->type == 'qanda' check to make things more explicit

18 years agoRemove size=X from admin settings (do it in CSS)
moodler [Mon, 25 Sep 2006 08:33:10 +0000 (08:33 +0000)]
Remove size=X from admin settings (do it in CSS)

18 years agoFix for MDL-6212. Forum searches now respect the qanda forums. In these forums, the...
vyshane [Mon, 25 Sep 2006 08:25:58 +0000 (08:25 +0000)]
Fix for MDL-6212. Forum searches now respect the qanda forums. In these forums, the user should not be able to see posts from discussions where the user has not yet posted, unless a post is the first post in the discussion (the question), or unless the user has the capabilitiy mod/forum:viewqandawithoutposting.

18 years agoRemoved a typo
moodler [Mon, 25 Sep 2006 08:22:05 +0000 (08:22 +0000)]
Removed a typo

18 years agoUpdates for better CSS hooks
moodler [Mon, 25 Sep 2006 08:20:14 +0000 (08:20 +0000)]
Updates for better CSS hooks

18 years agoTemporary fix
moodler [Mon, 25 Sep 2006 08:01:05 +0000 (08:01 +0000)]
Temporary fix

18 years agoFix the editor and the surrounding table for settings
moodler [Mon, 25 Sep 2006 07:55:10 +0000 (07:55 +0000)]
Fix the editor and the surrounding table for settings

18 years agosome fixes for the main load_user_capablitiies() function, need pair c1, c2 to impose...
toyomoyo [Mon, 25 Sep 2006 07:50:03 +0000 (07:50 +0000)]
some fixes for the main load_user_capablitiies() function, need pair c1, c2 to impose uniqueness. should use c2.id instead for override. no restriction on c2 for assignments

18 years agoFixed missing div properly this time :-)
moodler [Mon, 25 Sep 2006 07:45:02 +0000 (07:45 +0000)]
Fixed missing div properly this time :-)

18 years agoFixed miossing divs
moodler [Mon, 25 Sep 2006 07:40:50 +0000 (07:40 +0000)]
Fixed miossing divs

18 years agoMoving all the admin settings to a tableless design MDL-6678
moodler [Mon, 25 Sep 2006 07:35:43 +0000 (07:35 +0000)]
Moving all the admin settings to a tableless design  MDL-6678

Thanks Urs for the CSS help!

18 years agoFix sort on get_teacher to get the most senior teacher
moodler [Mon, 25 Sep 2006 06:15:31 +0000 (06:15 +0000)]
Fix sort on get_teacher to get the most senior teacher

18 years agoFIxed some problems when getting teacher lists for print_course
moodler [Mon, 25 Sep 2006 06:09:06 +0000 (06:09 +0000)]
FIxed some problems when getting teacher lists for print_course

18 years agoFIxes related to strange default languages
moodler [Mon, 25 Sep 2006 06:04:02 +0000 (06:04 +0000)]
FIxes related to strange default languages

18 years agoDiscussions from a forum of type 'single' should not be splittable. Merge from 1...
vyshane [Mon, 25 Sep 2006 05:12:01 +0000 (05:12 +0000)]
Discussions from a forum of type 'single' should not be splittable. Merge from 1.6 branch.

18 years agoMerged fix for MDL-6521
vyshane [Mon, 25 Sep 2006 05:00:36 +0000 (05:00 +0000)]
Merged fix for MDL-6521

18 years agobugsquish! stats aggregates and weird missing dates bug
mjollnir_ [Mon, 25 Sep 2006 04:50:17 +0000 (04:50 +0000)]
bugsquish!  stats aggregates and weird missing dates bug

18 years agoFixed - wrong constant name
vyshane [Mon, 25 Sep 2006 04:11:41 +0000 (04:11 +0000)]
Fixed - wrong constant name

18 years agoMerged fix for MDL-6363
vyshane [Mon, 25 Sep 2006 04:03:18 +0000 (04:03 +0000)]
Merged fix for MDL-6363

18 years agoFix for get_users_by_capability() so the caller can choose whether
moodler [Mon, 25 Sep 2006 03:00:50 +0000 (03:00 +0000)]
Fix for get_users_by_capability() so the caller can choose whether
they want users with doanything included or not

18 years agoError printing for cron should be done with mtrace()
vyshane [Mon, 25 Sep 2006 02:44:54 +0000 (02:44 +0000)]
Error printing for cron should be done with mtrace()

18 years agoFix in forum_make_mail_post()
vyshane [Mon, 25 Sep 2006 02:34:52 +0000 (02:34 +0000)]
Fix in forum_make_mail_post()

18 years agoFixed sql query in assignment_get_unmailed_submissions() - we can't rely on user_stud...
vyshane [Mon, 25 Sep 2006 02:04:11 +0000 (02:04 +0000)]
Fixed sql query in assignment_get_unmailed_submissions() - we can't rely on user_students anymore.

18 years agoRestoring table_column which was mistakenly deleted I think
moodler [Mon, 25 Sep 2006 01:55:06 +0000 (01:55 +0000)]
Restoring table_column which was mistakenly deleted I think

18 years agoChanged the flag to be on a given user basis (just in case it gets called
moodler [Mon, 25 Sep 2006 01:42:41 +0000 (01:42 +0000)]
Changed the flag to be on a given user basis (just in case it gets called
for a lot of users)

18 years agoTypo in capability name.
vyshane [Mon, 25 Sep 2006 01:35:49 +0000 (01:35 +0000)]
Typo in capability name.

18 years agoAdded a checking flag to check_enrolment_plugins() to make sure that it
moodler [Mon, 25 Sep 2006 01:34:21 +0000 (01:34 +0000)]
Added a checking flag to check_enrolment_plugins() to make sure that it
never repeats more than once in an invocation.  Otherwise it's sometimes
possible for role_assign() during the enrolment process to cause loops.

18 years agoQuick Fix. It should be 24!
stronk7 [Sun, 24 Sep 2006 22:15:57 +0000 (22:15 +0000)]
Quick Fix. It should be 24!

18 years agoDrop all the unique keys inside PostgreSQL DB and convert them to
stronk7 [Sun, 24 Sep 2006 22:14:23 +0000 (22:14 +0000)]
Drop all the unique keys inside PostgreSQL DB and convert them to
their equivalest unique indexes. We aren't going to allow unique
keys from 1.7 and upwards (until we decide to enforce referential
intregrity and until ADOdb support it)

18 years agofixed the dropdown menus in the detailed (user) reports (WHICH WORK!)
mjollnir_ [Sun, 24 Sep 2006 22:13:31 +0000 (22:13 +0000)]
fixed the dropdown menus in the detailed (user) reports (WHICH WORK!)

18 years agoit is now possible to hide parts of admin tree - not used yet, but it will be soon...
skodak [Sun, 24 Sep 2006 20:23:40 +0000 (20:23 +0000)]
it is now possible to hide parts of admin tree - not used yet, but it will be soon used for those hidden unsupported scripts in admin/ directory

18 years agoAdded one new function find_key_name() to retrieve the
stronk7 [Sun, 24 Sep 2006 19:39:53 +0000 (19:39 +0000)]
Added one new function find_key_name() to retrieve the
name og any key in the DB. This hasn't too much sense
for now (until we start to use referencial integrity) and
it is far from perfect, because it doesn't seach for the
key really in DB (due to the lack of support for this of ADOdb).

18 years agofixed scheduled backup time setting
skodak [Sun, 24 Sep 2006 19:37:34 +0000 (19:37 +0000)]
fixed scheduled backup time setting

18 years agofix for MDL-6680 redirect function is broken when running php as CGI, me() now used...
skodak [Sun, 24 Sep 2006 19:10:13 +0000 (19:10 +0000)]
fix for MDL-6680 redirect function is broken when running php as CGI, me() now used instead of SCRIPT_NAME + minor coding style changes

18 years agofixes for recent incorrect index updates
skodak [Sun, 24 Sep 2006 19:04:32 +0000 (19:04 +0000)]
fixes for recent incorrect index updates

18 years agoNow Oracle generator is able to change the precision and decimals of
stronk7 [Sun, 24 Sep 2006 17:39:20 +0000 (17:39 +0000)]
Now Oracle generator is able to change the precision and decimals of
one column by using one temp column. This prevents ORA-1440 errors.

18 years agoThis is a demo of the experimental formslib. It is used here to print and process...
jamiesensei [Sun, 24 Sep 2006 17:14:44 +0000 (17:14 +0000)]
This is a demo of the experimental formslib. It is used here to print and process the course settings form.

18 years agoThis is a first cut of a new formslib.php a library of classes for creating and secur...
jamiesensei [Sun, 24 Sep 2006 17:04:51 +0000 (17:04 +0000)]
This is a first cut of a new formslib.php a library of classes for creating and securely processing forms in Moodle, based on PEAR QuickForms. Only uses XHTML and CSS and no table tags.

This is NOT YET PART OF THE MOODLE API it is here for experimental purposes.

18 years agoWhen getting users by capability then exclude those with doanything at site level
moodler [Sun, 24 Sep 2006 16:14:39 +0000 (16:14 +0000)]
When getting users by capability then exclude those with doanything at site level

18 years agoMSSQL alter field is exactly the standard one but with alter_column_skip_default...
stronk7 [Sun, 24 Sep 2006 15:54:46 +0000 (15:54 +0000)]
MSSQL alter field is exactly the standard one but with alter_column_skip_default enabled

18 years agoXMLDB generators can return empty arrays if there is nothing to do.
stronk7 [Sun, 24 Sep 2006 15:34:18 +0000 (15:34 +0000)]
XMLDB generators can return empty arrays if there is nothing to do.

18 years agoMinor change to test to exclusively test the change of nullability
stronk7 [Sun, 24 Sep 2006 15:28:32 +0000 (15:28 +0000)]
Minor change to test to exclusively test the change of nullability

18 years agoMerged fix for MDL-6615.
vyshane [Sun, 24 Sep 2006 15:28:16 +0000 (15:28 +0000)]
Merged fix for MDL-6615.

18 years agoAdd skip parameters to one getFieldSQL call requiring them
stronk7 [Sun, 24 Sep 2006 15:26:49 +0000 (15:26 +0000)]
Add skip parameters to one getFieldSQL call requiring them

18 years agoFinally PostgreSQL seems to be working now.... I've tried to do
stronk7 [Sun, 24 Sep 2006 15:25:49 +0000 (15:25 +0000)]
Finally PostgreSQL seems to be working now.... I've tried to do
it as clever as possible detecting when column specs change in
order to reduce the number of temp-update-drop-rename operations

18 years agoRemoved isteacher from function print_recent_activity_note()
vyshane [Sun, 24 Sep 2006 14:35:48 +0000 (14:35 +0000)]
Removed isteacher from function print_recent_activity_note()

18 years agoMore tidy-ups
moodler [Sun, 24 Sep 2006 14:35:45 +0000 (14:35 +0000)]
More tidy-ups

18 years agoGiving the capabilities a bit more room on smaller screens
moodler [Sun, 24 Sep 2006 14:26:50 +0000 (14:26 +0000)]
Giving the capabilities a bit more room on smaller screens

18 years agoRemaining capability strings
moodler [Sun, 24 Sep 2006 14:20:44 +0000 (14:20 +0000)]
Remaining capability strings

18 years agoAdd header classes to headers
moodler [Sun, 24 Sep 2006 14:15:57 +0000 (14:15 +0000)]
Add header classes to headers

18 years agoUpdated comment
vyshane [Sun, 24 Sep 2006 14:03:34 +0000 (14:03 +0000)]
Updated comment

18 years agoChanged <module>_print_recent_activity() functions so that they don't use $isteacher...
vyshane [Sun, 24 Sep 2006 14:01:50 +0000 (14:01 +0000)]
Changed <module>_print_recent_activity() functions so that they don't use $isteacher. However, I've left the $isteacher parameter in the functions, for backward compatibility so as not to break thrid party modules. Should we remove the parameter now?

18 years agoRemoved the following module configurations (converted to use roles):
vyshane [Sun, 24 Sep 2006 13:58:54 +0000 (13:58 +0000)]
Removed the following module configurations (converted to use roles):
participants, assesspublic and ratings. Changed assessed field to only use 1 (ratings on) or 0 (off).

18 years agoBetter use of mod/quiz:view to hide quiz information (they already have the
moodler [Sun, 24 Sep 2006 13:54:22 +0000 (13:54 +0000)]
Better use of mod/quiz:view to hide quiz information (they already have the
name from the course page etc)

18 years agoVarious new strings, mostly capability names
moodler [Sun, 24 Sep 2006 13:51:06 +0000 (13:51 +0000)]
Various new strings, mostly capability names

18 years agoone more sanity check for role overrides
skodak [Sun, 24 Sep 2006 13:34:52 +0000 (13:34 +0000)]
one more sanity check for role overrides

18 years agoAdd some more checking of input and permissions
moodler [Sun, 24 Sep 2006 13:30:43 +0000 (13:30 +0000)]
Add some more checking of input and permissions

18 years agoExtend the require_login in require_capability a bit
moodler [Sun, 24 Sep 2006 13:15:13 +0000 (13:15 +0000)]
Extend the require_login in require_capability a bit

18 years agouser upload cap renamed to moodle/site:uploadusers
skodak [Sun, 24 Sep 2006 12:54:53 +0000 (12:54 +0000)]
user upload cap renamed to moodle/site:uploadusers

18 years agouploading of users has new capability 'moodle/user:upload' now also with admin block...
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

18 years agoFixed a notice
moodler [Sun, 24 Sep 2006 12:13:58 +0000 (12:13 +0000)]
Fixed a notice

18 years agoCorrected accidental language-changing because of lang in POST
moodler [Sun, 24 Sep 2006 12:07:44 +0000 (12:07 +0000)]
Corrected accidental language-changing because of lang in POST

18 years agoSimplified a bit and removed a notice
moodler [Sun, 24 Sep 2006 12:02:00 +0000 (12:02 +0000)]
Simplified a bit and removed a notice

18 years agodo not display guest when browsing users
skodak [Sun, 24 Sep 2006 11:58:28 +0000 (11:58 +0000)]
do not display guest when browsing users

18 years agoroles fixed in user browsing page; admin section now accepts array of capabilities...
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

18 years agoHandle site-level block names in capability settings too
moodler [Sun, 24 Sep 2006 11:32:11 +0000 (11:32 +0000)]
Handle site-level block names in capability settings too

18 years agoFunction stub, as suggestion towards MDL-6678
moodler [Sun, 24 Sep 2006 11:11:40 +0000 (11:11 +0000)]
Function stub, as suggestion towards MDL-6678

18 years agoAdded some strings describing risks
moodler [Sun, 24 Sep 2006 10:47:27 +0000 (10:47 +0000)]
Added some strings describing risks

18 years agoChanged one LIMIT to a cross-db WHERE clause
stronk7 [Sun, 24 Sep 2006 09:59:25 +0000 (09:59 +0000)]
Changed one LIMIT to a cross-db WHERE clause

18 years agoAdded styles to the role editing/viewing list, as well as some links and tooltips
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

18 years agoPrevent Unique Keys generation. Instead use unique indexes at DB level.
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.

18 years agoWhen not editing, then let's disable the radio buttons
moodler [Sun, 24 Sep 2006 09:02:30 +0000 (09:02 +0000)]
When not editing, then let's disable the radio buttons

18 years agoGiven one xmldb_field, finds its name in DB
stronk7 [Sun, 24 Sep 2006 08:26:24 +0000 (08:26 +0000)]
Given one xmldb_field, finds its name in DB

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