]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoMnet: The tokenizer extension is now optional. MDL-8136
donal72 [Tue, 16 Jan 2007 22:53:11 +0000 (22:53 +0000)]
Mnet:  The tokenizer extension is now optional.  MDL-8136

18 years agoMnet: Bugfix: Faulty logic - if the user has no local courses, we didn't bother...
donal72 [Tue, 16 Jan 2007 22:52:24 +0000 (22:52 +0000)]
Mnet:  Bugfix:  Faulty logic - if the user has no local courses, we didn't bother to check for remote courses.

18 years agoFixing bug where quizzes from 1.4 will lose their answers when upgraded to later...
mchurch [Tue, 16 Jan 2007 22:02:07 +0000 (22:02 +0000)]
Fixing bug where quizzes from 1.4 will lose their answers when upgraded to later versions.
Fixes MDL-8207.

18 years agomissed defaults_reprocessing to data_preprocessing
tjhunt [Tue, 16 Jan 2007 18:01:02 +0000 (18:01 +0000)]
missed defaults_reprocessing to data_preprocessing

18 years agoFix multiple-choice multiple-answer grading code. Merged from MOODLE_17_STABLE.
tjhunt [Tue, 16 Jan 2007 17:51:05 +0000 (17:51 +0000)]
Fix multiple-choice multiple-answer grading code. Merged from MOODLE_17_STABLE.

18 years agoFixed typo causing mysql fail on install without prefix. MDL-8203
stronk7 [Tue, 16 Jan 2007 17:41:58 +0000 (17:41 +0000)]
Fixed typo causing mysql fail on install without prefix. MDL-8203

18 years agochanged name of moodleform_mod method 'defaults_preprocessing' to 'data_preprocessing...
jamiesensei [Tue, 16 Jan 2007 15:36:33 +0000 (15:36 +0000)]
changed name of moodleform_mod method 'defaults_preprocessing' to 'data_preprocessing' in line with change of set_defaults name to set_data.

18 years agomodified dirname call to scorm_dirname that works also with URLs
bobopinna [Tue, 16 Jan 2007 14:08:22 +0000 (14:08 +0000)]
modified dirname call to scorm_dirname that works also with URLs

18 years agoadded scorm 2004 sequencing/navigation support
bobopinna [Tue, 16 Jan 2007 14:05:52 +0000 (14:05 +0000)]
added scorm 2004 sequencing/navigation support

18 years agonew sequencing engine
bobopinna [Tue, 16 Jan 2007 14:03:15 +0000 (14:03 +0000)]
new sequencing engine

18 years agofixed some typos. removed all tabs
bobopinna [Tue, 16 Jan 2007 14:01:41 +0000 (14:01 +0000)]
fixed some typos. removed all tabs

18 years agoFixes bug MDL-8045, "Some strings are missing on the grouping interface".
nfreear [Tue, 16 Jan 2007 13:29:44 +0000 (13:29 +0000)]
Fixes bug MDL-8045, "Some strings are missing on the grouping interface".

18 years agomoved in locallib.php as a function
bobopinna [Tue, 16 Jan 2007 13:23:07 +0000 (13:23 +0000)]
moved in locallib.php as a function

18 years agoMoved validation.php in locallib.php as a function. Now is called by lib.php add...
bobopinna [Tue, 16 Jan 2007 13:21:19 +0000 (13:21 +0000)]
Moved validation.php in locallib.php as a function. Now is called by lib.php add/updateinstance()

18 years agoThe new edit page using QuickForm lib
bobopinna [Tue, 16 Jan 2007 13:18:41 +0000 (13:18 +0000)]
The new edit page using QuickForm lib

18 years agosubstitute by the new mod_form.php
bobopinna [Tue, 16 Jan 2007 13:16:34 +0000 (13:16 +0000)]
substitute by the new mod_form.php

18 years agoMDL-8100, defaultgrade not imported.\rQuestion obect initialisation and value import...
thepurpleblob [Tue, 16 Jan 2007 12:12:26 +0000 (12:12 +0000)]
MDL-8100, defaultgrade not imported.\rQuestion obect initialisation and value import wrong way round - whoops!

18 years agoMDL-8130 Number of improvements to check name length and improve HTML Entity handling...
thepurpleblob [Tue, 16 Jan 2007 11:23:32 +0000 (11:23 +0000)]
MDL-8130 Number of improvements to check name length and improve HTML Entity handling. Thanks to Paul Ortman.

18 years agosome minor user edit fixes MDL-8096
skodak [Tue, 16 Jan 2007 09:56:15 +0000 (09:56 +0000)]
some minor user edit fixes MDL-8096

18 years agoMDL-8110 use standard _FILE_ for includes instead of path starting with dot
skodak [Tue, 16 Jan 2007 08:56:36 +0000 (08:56 +0000)]
MDL-8110 use standard _FILE_ for includes instead of path starting with dot

18 years agoauth/db/auth.php - fewer queries against the ext db
martinlanghoff [Tue, 16 Jan 2007 05:24:20 +0000 (05:24 +0000)]
auth/db/auth.php - fewer queries against the ext db

Previously sync script would query the ext db once for each field that
might be wanted (repeated for each user).  Changed to query once for each
user.

Originally by Peter Bulmer <peter.bulmer@catalyst.net.net>
Somewhat adapted by Martin Langhoff ;-)

18 years agoMNET: MyCourses block enriched with links to remote Moodles when roaming
donal72 [Tue, 16 Jan 2007 05:00:18 +0000 (05:00 +0000)]
MNET:  MyCourses block enriched with links to remote Moodles when roaming

18 years agomnet: restore support - XML parser knows about MNET_EXTERNALUSERS, restore_check...
martinlanghoff [Tue, 16 Jan 2007 03:28:57 +0000 (03:28 +0000)]
mnet: restore support - XML parser knows about MNET_EXTERNALUSERS, restore_check.html warns

This may need to be reworked to move the warning to an earlier stage. In the
meantime, we have

 - at INFO parsing time we read MNET_EXTERNALUSERS into the backup info obj
 - at restore_check time, we warn the user that external users are in the
   package. If the situation looks dodgy, we say so. But don't block the
   user, as it may be a valid situation.

18 years agoAutomatic installer.php lang files by installer_builder (20070116)
moodler [Tue, 16 Jan 2007 03:13:08 +0000 (03:13 +0000)]
Automatic installer.php lang files by installer_builder (20070116)

18 years agomnet: backup_general_info() now indicates whether it includes MNET_REMOTEUSERS
martinlanghoff [Tue, 16 Jan 2007 02:52:51 +0000 (02:52 +0000)]
mnet: backup_general_info() now indicates whether it includes MNET_REMOTEUSERS

18 years agoMerged from 1.7.
vyshane [Tue, 16 Jan 2007 02:44:13 +0000 (02:44 +0000)]
Merged from 1.7.

18 years agomnet: backup_user_info() is faster, and it store mnethosturl for foreign users
martinlanghoff [Tue, 16 Jan 2007 02:27:36 +0000 (02:27 +0000)]
mnet: backup_user_info() is faster, and it store mnethosturl for foreign users

Several changes to backup_user_info() rolled up here

 - The main JOIN happens in SQL instead of PHP
 - We now also join with mnet_host to get the wwwroot
 - As part of the join, all the variables appear in $user -- $user_data is gone
 - If the mnethostid is non-local we include MNETHOSTURL for that user

With this, backup_user_info() should be significantly faster for large
sets of users, though I haven't benchmarked it.

18 years agoXHTML Strrrickt: fixed a problem with a UL and LI tag mix up during restores.
martinlanghoff [Tue, 16 Jan 2007 01:06:11 +0000 (01:06 +0000)]
XHTML Strrrickt: fixed a problem with a UL and LI tag mix up during restores.

18 years agomnet: restore_create_users() is now mnet-aware
martinlanghoff [Tue, 16 Jan 2007 00:56:15 +0000 (00:56 +0000)]
mnet: restore_create_users() is now mnet-aware

It will now default to $CFG->mnet_localhost_id and can
handle backup files containing an mnethosturl user property
which will be mapped to mnethostid.

Additional checks are needed to avoid restoring files
with mnethosturls we cannot handle.

18 years agoMnet: Show that a key has expired.
donal72 [Mon, 15 Jan 2007 22:00:28 +0000 (22:00 +0000)]
Mnet:  Show that a key has expired.

18 years agoxhtml fixing in logs and reports, code cleanup MDL-8187
skodak [Mon, 15 Jan 2007 21:28:25 +0000 (21:28 +0000)]
xhtml fixing in logs and reports, code cleanup MDL-8187

18 years agoenrol/database: fix fields not read from external database MDL-7712
martinlanghoff [Mon, 15 Jan 2007 19:57:12 +0000 (19:57 +0000)]
enrol/database: fix fields not read from external database MDL-7712

18 years agoauth/db: fix fields not read from external database MDL-7712
martinlanghoff [Mon, 15 Jan 2007 19:53:26 +0000 (19:53 +0000)]
auth/db: fix fields not read from external database MDL-7712

18 years agoprint_footer('none') during install and upgrade to hide home link and xhtml strict...
skodak [Mon, 15 Jan 2007 19:16:29 +0000 (19:16 +0000)]
print_footer('none') during install and upgrade to hide home link and xhtml strict fixes

18 years agoMDL-8185: Added an extra \n to use_html_editor to make it happy in wiki editing ...
sam_marshall [Mon, 15 Jan 2007 17:45:47 +0000 (17:45 +0000)]
MDL-8185: Added an extra \n to use_html_editor to make it happy in wiki editing (doesn't do any harm elsewhere)

18 years agoMDL-8185: Changed wiki html tag balancer to leave CDATA sections alone
sam_marshall [Mon, 15 Jan 2007 17:42:06 +0000 (17:42 +0000)]
MDL-8185: Changed wiki html tag balancer to leave CDATA sections alone

18 years agoThe script used to fwrite \?\> instead of ?>. Fixes MDL-8129.
mudrd8mz [Mon, 15 Jan 2007 11:40:26 +0000 (11:40 +0000)]
The script used to fwrite \?\> instead of ?>. Fixes MDL-8129.

This was introduced in 1.80 by moodler. Don't know why but it caused an PHP critical
syntax error.

18 years agoThe maximum length of the missing strings to display can be set now. Fixes MDL-8184.
mudrd8mz [Mon, 15 Jan 2007 11:18:26 +0000 (11:18 +0000)]
The maximum length of the missing strings to display can be set now. Fixes MDL-8184.

Because the tags <pre>...</pre> are used when displaying original English
version of missing texts, the screen may get very wide. This patch displays
only first 60 characters followed by '...'. This produces better output.

18 years agoremoved print_object that got left in here
jamiesensei [Mon, 15 Jan 2007 10:39:43 +0000 (10:39 +0000)]
removed print_object that got left in here

18 years agoMNet: Display expiry date of local certificate
donal72 [Mon, 15 Jan 2007 09:14:41 +0000 (09:14 +0000)]
MNet:  Display expiry date of local certificate

18 years agoMnet: Key rotation: A more robust changeover for fresh keys
donal72 [Mon, 15 Jan 2007 09:03:39 +0000 (09:03 +0000)]
Mnet:  Key rotation:  A more robust changeover for fresh keys

18 years agoMnet: Stylefix: Array was returned with unusual numeric index
donal72 [Mon, 15 Jan 2007 09:00:39 +0000 (09:00 +0000)]
Mnet:  Stylefix:  Array was returned with unusual numeric index

18 years agoMnet: Refactor: Split up mnet_server_fault function so we have option to send non...
donal72 [Mon, 15 Jan 2007 08:40:24 +0000 (08:40 +0000)]
Mnet:  Refactor:  Split up mnet_server_fault function so we have option to send non-lang-file errors

18 years agoMnet: Bugfix: Prevent infinite loop when 2 community hubs peer for the first time
donal72 [Mon, 15 Jan 2007 08:31:58 +0000 (08:31 +0000)]
Mnet:  Bugfix:  Prevent infinite loop when 2 community hubs peer for the first time

18 years agoMnet: Bugfix: Prevent a second record to be created for an existing host if the...
donal72 [Mon, 15 Jan 2007 08:26:56 +0000 (08:26 +0000)]
Mnet:  Bugfix:  Prevent a second record to be created for an existing host if the user entered http://example.com/ as the wwwroot

18 years agoMnet: Drop deprecated interface to mnet_get_public_key function
donal72 [Mon, 15 Jan 2007 08:20:10 +0000 (08:20 +0000)]
Mnet:  Drop deprecated interface to mnet_get_public_key function

18 years agoFixes for MDL-7861.
vyshane [Mon, 15 Jan 2007 08:15:04 +0000 (08:15 +0000)]
Fixes for MDL-7861.

18 years agoFixed text box display width.
vyshane [Mon, 15 Jan 2007 08:02:10 +0000 (08:02 +0000)]
Fixed text box display width.

18 years agoFixes for MDL-7861.
vyshane [Mon, 15 Jan 2007 07:59:28 +0000 (07:59 +0000)]
Fixes for MDL-7861.

18 years agoFixes for MDL-7861.
vyshane [Mon, 15 Jan 2007 07:29:25 +0000 (07:29 +0000)]
Fixes for MDL-7861.

18 years agoFixed up alignment of buttons on course page
moodler [Mon, 15 Jan 2007 03:39:48 +0000 (03:39 +0000)]
Fixed up alignment of buttons on course page

18 years agorcache: cleanup, upgrade path, config options (MDL-8163)
martinlanghoff [Sun, 14 Jan 2007 23:02:13 +0000 (23:02 +0000)]
rcache: cleanup, upgrade path, config options   (MDL-8163)

record cache and caching schemes get a little cleanup, faster
if()s and a nice set of config options. Users who've been using
the internal cache get a nice upgrade too.

18 years agoAvoiding some itarations. MDL-7902. Thanks Samuli!
stronk7 [Sun, 14 Jan 2007 12:11:33 +0000 (12:11 +0000)]
Avoiding some itarations. MDL-7902. Thanks Samuli!

Merged from MOODLE_17_STABLE

18 years agoNow the list of downloadable langs (when no fopen is available) doesn't break XML...
stronk7 [Sat, 13 Jan 2007 20:17:20 +0000 (20:17 +0000)]
Now the list of downloadable langs (when no fopen is available) doesn't break XML. Related to MDL-7861

18 years agoNow all the filters global config pages are valid XML. Related to MDL-7861
stronk7 [Sat, 13 Jan 2007 20:15:09 +0000 (20:15 +0000)]
Now all the filters global config pages are valid XML. Related to MDL-7861

18 years agoNow all the blocks global config pages are valid XML. Related to MDL-7861
stronk7 [Sat, 13 Jan 2007 20:14:40 +0000 (20:14 +0000)]
Now all the blocks global config pages are valid XML. Related to MDL-7861

18 years agoNow all the modules global config pages are valid XML. Related to MDL-7861
stronk7 [Sat, 13 Jan 2007 20:13:58 +0000 (20:13 +0000)]
Now all the modules global config pages are valid XML. Related to MDL-7861

18 years agoAdded some styles to display phpinfo properly.
stronk7 [Sat, 13 Jan 2007 20:12:32 +0000 (20:12 +0000)]
Added some styles to display phpinfo properly.

18 years agoNow frame-less phpinfo page is valid XML. Part of MDL-7861
stronk7 [Sat, 13 Jan 2007 20:11:31 +0000 (20:11 +0000)]
Now frame-less phpinfo page is valid XML. Part of MDL-7861

18 years agoNow help information is back again (typo in js) and, under MySQL, the script is
stronk7 [Sat, 13 Jan 2007 20:06:17 +0000 (20:06 +0000)]
Now help information is back again (typo in js) and, under MySQL, the script is
able to change DB encoding if empty.

18 years agofixed typo in SQL query when starting a new HotPot attempt
gbateson [Sat, 13 Jan 2007 11:46:33 +0000 (11:46 +0000)]
fixed typo in SQL query when starting a new HotPot attempt

18 years agoMoving set_dbfamily() from dmllib.php to setuplib.php as it's
stronk7 [Sat, 13 Jan 2007 10:44:58 +0000 (10:44 +0000)]
Moving set_dbfamily() from dmllib.php to setuplib.php as it's
needed in early stages and we don't want the installer to
depend of dmllib.

18 years agoAutomatic installer.php lang files by installer_builder (20070113)
moodler [Sat, 13 Jan 2007 10:25:45 +0000 (10:25 +0000)]
Automatic installer.php lang files by installer_builder (20070113)

18 years agomore work on the calculated and datasetdependent qtype
jamiesensei [Sat, 13 Jan 2007 08:59:00 +0000 (08:59 +0000)]
more work on the calculated and datasetdependent qtype

18 years agoAdded dmllib.php because we need set_dbfamily in the environment stuff
moodler [Sat, 13 Jan 2007 07:06:46 +0000 (07:06 +0000)]
Added dmllib.php because we need set_dbfamily in the environment stuff

18 years agoTidying up tab coloring
moodler [Sat, 13 Jan 2007 06:00:13 +0000 (06:00 +0000)]
Tidying up tab coloring

18 years agoPOssible slight improvement to looks in standardwhite
moodler [Sat, 13 Jan 2007 05:56:45 +0000 (05:56 +0000)]
POssible slight improvement to looks in standardwhite

18 years agoAdmin registration page -> XHTML Strict
moodler [Sat, 13 Jan 2007 05:38:37 +0000 (05:38 +0000)]
Admin registration page -> XHTML Strict

18 years agoChange to a table per category.
ikawhero [Sat, 13 Jan 2007 05:32:15 +0000 (05:32 +0000)]
Change to a table per category.

18 years agoMoved color CSS to the right file
moodler [Sat, 13 Jan 2007 04:56:19 +0000 (04:56 +0000)]
Moved color CSS to the right file

18 years agoMore fixes for the help on required fields
moodler [Sat, 13 Jan 2007 04:54:44 +0000 (04:54 +0000)]
More fixes for the help on required fields

18 years agoClean up notice boxes
moodler [Sat, 13 Jan 2007 04:25:02 +0000 (04:25 +0000)]
Clean up notice boxes

18 years agoTidying up form appearance
moodler [Sat, 13 Jan 2007 04:24:15 +0000 (04:24 +0000)]
Tidying up form appearance

1) Changed required/advanced images to something language neutral (asterisks)
2) Moved them to pixpath so people can override them easily
3) Hide the images completely using CSS (keep them only for accessibility)
   so that all the labels have a consistent alignment.
4) Use CSS to color the labels instead.

18 years agoRemoved rogue print_object -- how did it get there? MDL-8170
moodler [Sat, 13 Jan 2007 03:28:25 +0000 (03:28 +0000)]
Removed rogue print_object   -- how did it get there?   MDL-8170

18 years agoremoved db specific conditional clauses from SQL to get grades (see Moodle tracker...
gbateson [Sat, 13 Jan 2007 02:39:04 +0000 (02:39 +0000)]
removed db specific conditional clauses from SQL to get grades (see Moodle tracker - mdl-8169)

18 years agoNow environment stuff uses $CFG->dbfamily
stronk7 [Sat, 13 Jan 2007 01:20:10 +0000 (01:20 +0000)]
Now environment stuff uses $CFG->dbfamily

18 years agoSome more uses of $CFG->dbfamily. MDL-7061
stronk7 [Sat, 13 Jan 2007 00:52:59 +0000 (00:52 +0000)]
Some more uses of $CFG->dbfamily. MDL-7061

18 years agoSome more uses of $CFG->dbfamily. MDL-7061
stronk7 [Sat, 13 Jan 2007 00:32:19 +0000 (00:32 +0000)]
Some more uses of $CFG->dbfamily. MDL-7061

18 years agoSome more uses of $CFG->dbfamily. MDL-7061
stronk7 [Sat, 13 Jan 2007 00:09:02 +0000 (00:09 +0000)]
Some more uses of $CFG->dbfamily. MDL-7061

18 years agoNeed to return the value too, to use it sometimes.
stronk7 [Sat, 13 Jan 2007 00:07:40 +0000 (00:07 +0000)]
Need to return the value too, to use it sometimes.

18 years agoNow set_dbfamily() will work properly when invoked from install.
stronk7 [Fri, 12 Jan 2007 23:52:23 +0000 (23:52 +0000)]
Now set_dbfamily() will work properly when invoked from install.

18 years agoIntroducing CFG->dbfamily and create a setter function for it
stronk7 [Fri, 12 Jan 2007 23:44:00 +0000 (23:44 +0000)]
Introducing CFG->dbfamily and create a setter function for it
(to be able to use families at install). MDL-7061

18 years agoIntroducing CFG->dbfamily and deleting check_db_compat(). MDL-7061
stronk7 [Fri, 12 Jan 2007 19:42:42 +0000 (19:42 +0000)]
Introducing CFG->dbfamily and deleting check_db_compat(). MDL-7061

18 years agoMDL-8166 some forgotten set_defaults converted to set_data
skodak [Fri, 12 Jan 2007 19:01:31 +0000 (19:01 +0000)]
MDL-8166 some forgotten set_defaults converted to set_data

18 years agoempty array as default value for a multiselect config variable.
stronk7 [Fri, 12 Jan 2007 18:53:09 +0000 (18:53 +0000)]
empty array as default value for a multiselect config variable.

18 years agoMDL-8166 rename in/out methods in formslib - HQ consensus
skodak [Fri, 12 Jan 2007 18:52:09 +0000 (18:52 +0000)]
MDL-8166 rename in/out methods in formslib - HQ consensus

18 years agoLooking for empty default values in output_html() for multiselect settings.
stronk7 [Fri, 12 Jan 2007 18:51:36 +0000 (18:51 +0000)]
Looking for empty default values in output_html() for multiselect settings.
Must be empty arrays.

18 years agoFix notices from admin_setting_configmultiselect when no options are selected.
tjhunt [Fri, 12 Jan 2007 18:30:27 +0000 (18:30 +0000)]
Fix notices from admin_setting_configmultiselect when no options are selected.

18 years agoMDL-8165 - Admin setting to control which roles are synced to metacourses
tjhunt [Fri, 12 Jan 2007 18:03:36 +0000 (18:03 +0000)]
MDL-8165 - Admin setting to control which roles are synced to metacourses

18 years agoAutomatic installer.php lang files by installer_builder (20070113)
moodler [Fri, 12 Jan 2007 18:01:33 +0000 (18:01 +0000)]
Automatic installer.php lang files by installer_builder (20070113)

18 years agoMDL-8149 Added code to narrow down possibilities for get_my_courses, which reduces...
sam_marshall [Fri, 12 Jan 2007 17:05:32 +0000 (17:05 +0000)]
MDL-8149 Added code to narrow down possibilities for get_my_courses, which reduces number of db queries required for profile page when site has many courses.

18 years agoAnother minor change to profile string
ikawhero [Fri, 12 Jan 2007 12:58:46 +0000 (12:58 +0000)]
Another minor change to profile string

18 years agoTidying up the interface.
ikawhero [Fri, 12 Jan 2007 12:58:15 +0000 (12:58 +0000)]
Tidying up the interface.
Fixed default data bug in menu type.

18 years agoSome changes to GROUP BY clause to be cross-db (all non aggregate fields
stronk7 [Fri, 12 Jan 2007 12:57:50 +0000 (12:57 +0000)]
Some changes to GROUP BY clause to be cross-db (all non aggregate fields
in SELECT must be in GROUP BY). Review the logic! MDL-8160

18 years agoMDL-7442 Changed search order for help files to be more consistent with language...
dwoolhead [Fri, 12 Jan 2007 12:29:42 +0000 (12:29 +0000)]
MDL-7442 Changed search order for help files to be more consistent with language files (backwards compatible)

18 years agoMDL-7496 - for numerical and short answer questions, the student was being told they...
tjhunt [Fri, 12 Jan 2007 12:20:21 +0000 (12:20 +0000)]
MDL-7496 - for numerical and short answer questions, the student was being told they were 'incorrect' before they had even had a chance to enter an answer!

18 years agoThe second paremeter has been removed from the required_param($reference) call for...
csantossaenz [Fri, 12 Jan 2007 12:17:34 +0000 (12:17 +0000)]
The second paremeter has been removed from the required_param($reference) call for allow URL

18 years agoAnother profile string
ikawhero [Fri, 12 Jan 2007 12:16:47 +0000 (12:16 +0000)]
Another profile string

18 years agoFixing the table - accessibility and strrrrrrict
ikawhero [Fri, 12 Jan 2007 12:15:53 +0000 (12:15 +0000)]
Fixing the table - accessibility and strrrrrrict

18 years agoMDL-7013 advanced buttons inplemented in resource settings
skodak [Fri, 12 Jan 2007 11:43:25 +0000 (11:43 +0000)]
MDL-7013 advanced buttons inplemented in resource settings