]> git.mjollnir.org Git - moodle.git/log
moodle.git
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

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.