]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agocorrect icon path to use $CFG->pixpath.
tjhunt [Fri, 19 Jan 2007 09:59:13 +0000 (09:59 +0000)]
correct icon path to use $CFG->pixpath.

18 years agoMDL-8223 - added detection of wrong course id
skodak [Fri, 19 Jan 2007 09:54:25 +0000 (09:54 +0000)]
MDL-8223 - added detection of wrong course id

18 years agoMDL-8223
skodak [Fri, 19 Jan 2007 09:44:26 +0000 (09:44 +0000)]
MDL-8223
require_login issues:
* does not accept $course object as parameter - see require_course_obejct()
* always uses global $course even when courseid empty
* overrides global $course - problem it contains something else than $course object

require_course_login issues:
* does not accept courseid as parameter
* does not pass $cm to require_login when forced login to site - not a major issue because there are extra visibility checks in modules - we can remove them now ;-)

18 years agomnet: introducing print_remote_host()... and use it in print_my_courses() - add a...
martinlanghoff [Fri, 19 Jan 2007 09:37:28 +0000 (09:37 +0000)]
mnet: introducing print_remote_host()... and use it in print_my_courses() - add a space

18 years agomnet: introducing print_remote_host()... and use it in print_my_courses()
martinlanghoff [Fri, 19 Jan 2007 09:36:40 +0000 (09:36 +0000)]
mnet: introducing print_remote_host()... and use it in print_my_courses()

18 years agomnet: introducing print_remote_course() and use it in print_my_moodle()
martinlanghoff [Fri, 19 Jan 2007 09:23:47 +0000 (09:23 +0000)]
mnet: introducing print_remote_course() and use it in print_my_moodle()

mbwa-ha-ha-ha! All your remote courses belong to us.

18 years agoAdded loading in progress image feedback.
vyshane [Fri, 19 Jan 2007 09:23:22 +0000 (09:23 +0000)]
Added loading in progress image feedback.

18 years agoLoader image
vyshane [Fri, 19 Jan 2007 09:22:33 +0000 (09:22 +0000)]
Loader image

18 years agomnet: introducing get_my_remotecourses() and get_my_remotehosts() -- use them too
martinlanghoff [Fri, 19 Jan 2007 08:57:13 +0000 (08:57 +0000)]
mnet: introducing get_my_remotecourses() and get_my_remotehosts() -- use them too

18 years agomnet: it is $USER->mnet_foreign_host_array instead of $SESSION->mnet_foreign_host_arr...
martinlanghoff [Fri, 19 Jan 2007 08:36:02 +0000 (08:36 +0000)]
mnet: it is $USER->mnet_foreign_host_array instead of $SESSION->mnet_foreign_host_array. $SESSION is fraught with peril as it persists acros logins/logouts

18 years agomnet: this stuff is only for logged in users!
martinlanghoff [Fri, 19 Jan 2007 08:14:18 +0000 (08:14 +0000)]
mnet: this stuff is only for logged in users!

18 years agomigrated wiki form to formslib
jamiesensei [Fri, 19 Jan 2007 08:10:01 +0000 (08:10 +0000)]
migrated wiki form to formslib

18 years agoset default for this element to return a '0' if unchecked and '1' if checked.
jamiesensei [Fri, 19 Jan 2007 08:08:50 +0000 (08:08 +0000)]
set default for this element to return a '0' if unchecked and '1' if checked.

18 years agomnet: fix logic and html layout in block_course_list
martinlanghoff [Fri, 19 Jan 2007 07:54:41 +0000 (07:54 +0000)]
mnet: fix logic and html layout in block_course_list

18 years agomnet: check that sesskey please!
martinlanghoff [Fri, 19 Jan 2007 07:22:57 +0000 (07:22 +0000)]
mnet: check that sesskey please!

18 years agoanswer '0' is a valid answer for a numeric question.
jamiesensei [Fri, 19 Jan 2007 07:21:51 +0000 (07:21 +0000)]
answer '0' is a valid answer for a numeric question.

18 years agooops. fix to last commit about empty answers logic was wrong
jamiesensei [Fri, 19 Jan 2007 07:20:43 +0000 (07:20 +0000)]
oops. fix to last commit about empty answers logic was wrong

18 years agofix for erroneous empty answer detection when answer is '0' which is a valid answer...
jamiesensei [Fri, 19 Jan 2007 07:18:26 +0000 (07:18 +0000)]
fix for erroneous empty answer detection when answer is '0' which is a valid answer for numeric qs.

18 years agomnet: pix for mnethost is now the tiny moodle icon ;-)
martinlanghoff [Fri, 19 Jan 2007 07:15:12 +0000 (07:15 +0000)]
mnet: pix for mnethost is now the tiny moodle icon ;-)

18 years agomnet: hide direct link to logs for now...
martinlanghoff [Fri, 19 Jan 2007 07:01:51 +0000 (07:01 +0000)]
mnet: hide direct link to logs for now...

18 years agomnet: finish up UI for enrolment handling and hardcoded strings
martinlanghoff [Fri, 19 Jan 2007 06:51:24 +0000 (06:51 +0000)]
mnet: finish up UI for enrolment handling and hardcoded strings

18 years agomnet: fix warning -- variable typo
martinlanghoff [Fri, 19 Jan 2007 05:24:47 +0000 (05:24 +0000)]
mnet: fix warning -- variable typo

18 years agomnet: fixup remote enrolment handling pages - WIP part 2
martinlanghoff [Fri, 19 Jan 2007 05:18:30 +0000 (05:18 +0000)]
mnet: fixup remote enrolment handling pages - WIP part 2

18 years agoStyles for group management interface
vyshane [Fri, 19 Jan 2007 05:08:56 +0000 (05:08 +0000)]
Styles for group management interface

18 years agoAdded ajax for groups management interface.
vyshane [Fri, 19 Jan 2007 04:57:46 +0000 (04:57 +0000)]
Added ajax for groups management interface.

18 years agoenrol/mnet: list_remote_servers() should only list servers we use enrolment for
martinlanghoff [Fri, 19 Jan 2007 04:26:09 +0000 (04:26 +0000)]
enrol/mnet: list_remote_servers() should only list servers we use enrolment for

18 years agoAutomatic installer.php lang files by installer_builder (20070119)
moodler [Fri, 19 Jan 2007 03:16:14 +0000 (03:16 +0000)]
Automatic installer.php lang files by installer_builder (20070119)

18 years agomnet: better enrollable courses listing
martinlanghoff [Fri, 19 Jan 2007 02:51:18 +0000 (02:51 +0000)]
mnet: better enrollable courses listing

18 years agoenrol/mnet: fixes around fetch_remote_courses() and available_courses
martinlanghoff [Fri, 19 Jan 2007 02:43:11 +0000 (02:43 +0000)]
enrol/mnet: fixes around fetch_remote_courses() and available_courses

 - ensure addslashes() affects data that goes to the database, not HTML
 - ensure we return defaultrolename from avaiable_courses
 - clear some leftover debug statements

18 years agoMnet: More enrolment data in the back channel - stash in mnet_enrol_assignments...
donal72 [Fri, 19 Jan 2007 00:23:55 +0000 (00:23 +0000)]
Mnet:  More enrolment data in the back channel - stash in mnet_enrol_assignments table

18 years agomnet: environment now recommends tokenizer
martinlanghoff [Thu, 18 Jan 2007 23:01:38 +0000 (23:01 +0000)]
mnet: environment now recommends tokenizer

18 years agoFixed an error in $score initialization
bobopinna [Thu, 18 Jan 2007 20:33:59 +0000 (20:33 +0000)]
Fixed an error in $score initialization

18 years agoMDL-8205 - Layout of quiz editing screen not right
tjhunt [Thu, 18 Jan 2007 17:38:51 +0000 (17:38 +0000)]
MDL-8205 - Layout of quiz editing screen not right

18 years agoAdded code to allow the remote package update with a php later version than 4.2
csantossaenz [Thu, 18 Jan 2007 15:54:56 +0000 (15:54 +0000)]
Added code to allow the remote package update with a php later version than 4.2

18 years agoFix broken JS.
tjhunt [Thu, 18 Jan 2007 12:55:46 +0000 (12:55 +0000)]
Fix broken JS.

18 years agoFixed lang string 'erroreditgroup' as per Mitsuhiro [18/Jan/07], MDL-8048
nfreear [Thu, 18 Jan 2007 12:35:28 +0000 (12:35 +0000)]
Fixed lang string 'erroreditgroup' as per Mitsuhiro [18/Jan/07], MDL-8048

18 years agoAdded some lables and formatting to fix MDL-8176 Accessibility
moodler [Thu, 18 Jan 2007 12:06:36 +0000 (12:06 +0000)]
Added some lables and formatting to fix MDL-8176   Accessibility

18 years agoAdded the field external to the mdl_scorm table
csantossaenz [Thu, 18 Jan 2007 12:05:14 +0000 (12:05 +0000)]
Added the field external to the mdl_scorm table

18 years agoAdded some strings related to the update of the external packages timing
csantossaenz [Thu, 18 Jan 2007 11:58:08 +0000 (11:58 +0000)]
Added some strings related to the update of the external packages timing

18 years agosome more small changes to datasetdependent and calculated question type forms
jamiesensei [Thu, 18 Jan 2007 11:21:10 +0000 (11:21 +0000)]
some more small changes to datasetdependent and calculated question type forms

18 years agomigrated 'missingtype' questoin creation forms to use formslib
jamiesensei [Thu, 18 Jan 2007 10:22:56 +0000 (10:22 +0000)]
migrated 'missingtype' questoin creation forms to use formslib

18 years agoFix for MDL-8175 (void summary)
moodler [Thu, 18 Jan 2007 09:52:04 +0000 (09:52 +0000)]
Fix for MDL-8175  (void summary)

18 years agoAdded label to language menu for accessibility MDL-8174
moodler [Thu, 18 Jan 2007 09:45:02 +0000 (09:45 +0000)]
Added label to language menu for accessibility   MDL-8174

18 years agoAdded label to language menu for accessibility MDL-8174
moodler [Thu, 18 Jan 2007 09:42:29 +0000 (09:42 +0000)]
Added label to language menu for accessibility    MDL-8174

18 years agomnet: fixup remote enrolment handling pages - WIP
martinlanghoff [Thu, 18 Jan 2007 04:48:35 +0000 (04:48 +0000)]
mnet: fixup remote enrolment handling pages - WIP

18 years agomnet: clear out debug msg
martinlanghoff [Thu, 18 Jan 2007 04:39:41 +0000 (04:39 +0000)]
mnet: clear out debug msg

18 years agomnet: check for the _right_ varname before warning about mnet being off
martinlanghoff [Thu, 18 Jan 2007 03:16:55 +0000 (03:16 +0000)]
mnet: check for the _right_ varname before warning about mnet being off

18 years agoenrol/mnet: list_remote_servers() must always return an array
martinlanghoff [Thu, 18 Jan 2007 03:16:09 +0000 (03:16 +0000)]
enrol/mnet: list_remote_servers() must always return an array

18 years agomnet: try to stop trailing slashes in urls from getting through, better error msg...
martinlanghoff [Thu, 18 Jan 2007 02:56:06 +0000 (02:56 +0000)]
mnet: try to stop trailing slashes in urls from getting through, better error msg if we dont like the SSL cert

18 years agomnet: clean_param() fixed a leftover debugging statement - x2
martinlanghoff [Thu, 18 Jan 2007 02:31:42 +0000 (02:31 +0000)]
mnet: clean_param() fixed a leftover debugging statement - x2

18 years agomnet: clean_param() fixed a leftover debugging statement
martinlanghoff [Thu, 18 Jan 2007 02:22:35 +0000 (02:22 +0000)]
mnet: clean_param() fixed a leftover debugging statement

18 years agomnet: moving remote enrolment config to admin/mnet
martinlanghoff [Wed, 17 Jan 2007 23:49:04 +0000 (23:49 +0000)]
mnet: moving remote enrolment config to admin/mnet

18 years agoenrol/mnet: fix a warning, do not list the sitecourse
martinlanghoff [Wed, 17 Jan 2007 23:12:15 +0000 (23:12 +0000)]
enrol/mnet: fix a warning, do not list the sitecourse

18 years agoMnet: enrol/mnet: Return enrol plugin type with list of enrolled users
donal72 [Wed, 17 Jan 2007 23:03:18 +0000 (23:03 +0000)]
Mnet:  enrol/mnet:  Return enrol plugin type with list of enrolled users

18 years agomnet: better descriptions and warnings in admin pages
martinlanghoff [Wed, 17 Jan 2007 22:23:56 +0000 (22:23 +0000)]
mnet: better descriptions and warnings in admin pages

18 years agoMDL-5690 text format in text type resource is now stored in reference field
skodak [Wed, 17 Jan 2007 20:41:19 +0000 (20:41 +0000)]
MDL-5690 text format in text type resource is now stored in reference field

18 years agoforce login in course calendar SC#349
skodak [Wed, 17 Jan 2007 19:53:03 +0000 (19:53 +0000)]
force login in course calendar SC#349

18 years agomore work on the datasetdependent / calculated question creation forms
jamiesensei [Wed, 17 Jan 2007 18:28:51 +0000 (18:28 +0000)]
more work on the datasetdependent / calculated question creation forms

18 years agoMinor problem with restoring numerical questions.
tjhunt [Wed, 17 Jan 2007 17:29:08 +0000 (17:29 +0000)]
Minor problem with restoring numerical questions.

18 years agoFixes Bug MDL-8200, "Group admin interface shows all groups sitewide!"
nfreear [Wed, 17 Jan 2007 16:13:21 +0000 (16:13 +0000)]
Fixes Bug MDL-8200, "Group admin interface shows all groups sitewide!"

18 years agoModified scorm module to allow remote packages updating
csantossaenz [Wed, 17 Jan 2007 15:53:06 +0000 (15:53 +0000)]
Modified scorm module to allow remote packages updating

18 years agoAdded a field to scorm table to store the ckecksum of a remote package
csantossaenz [Wed, 17 Jan 2007 15:38:40 +0000 (15:38 +0000)]
Added a field to scorm table to store the ckecksum of a remote package

18 years agoadded a field to store ckecksum of a remote package
csantossaenz [Wed, 17 Jan 2007 15:31:40 +0000 (15:31 +0000)]
added a field to store ckecksum of a remote package

18 years agoThe way mulit-response questoins show the right answer is a bit confusing.
tjhunt [Wed, 17 Jan 2007 14:54:55 +0000 (14:54 +0000)]
The way mulit-response questoins show the right answer is a bit confusing.

18 years agoPrevent unnecessary scroll to warning message during local version installation/upgra...
dwoolhead [Wed, 17 Jan 2007 14:38:56 +0000 (14:38 +0000)]
Prevent unnecessary scroll to warning message during local version installation/upgrade due to missing notification type on success

18 years agoMissing groups version message (noted during clean installation) added
dwoolhead [Wed, 17 Jan 2007 14:35:55 +0000 (14:35 +0000)]
Missing groups version message (noted during clean installation) added

18 years agoPartial fix for MDL-8048, undid bug introduced last commit.
nfreear [Wed, 17 Jan 2007 14:33:29 +0000 (14:33 +0000)]
Partial fix for MDL-8048, undid bug introduced last commit.

18 years agoMnet: In auth config, show which hosts have mnet/auth configured
donal72 [Wed, 17 Jan 2007 14:13:19 +0000 (14:13 +0000)]
Mnet:  In auth config, show which hosts have mnet/auth configured

18 years agoPartial fix for MDL-8048, groups cleanup including hiding unimplemented buttons in...
nfreear [Wed, 17 Jan 2007 13:56:09 +0000 (13:56 +0000)]
Partial fix for MDL-8048, groups cleanup including hiding unimplemented buttons in GUI, fixing error strings.

18 years agoMnet: Show non-mnet enrolments in the mnet/enrolment page
donal72 [Wed, 17 Jan 2007 12:12:11 +0000 (12:12 +0000)]
Mnet:  Show non-mnet enrolments in the mnet/enrolment page

18 years agoMatching question rigth/wrong answer indication is broken.
tjhunt [Wed, 17 Jan 2007 10:31:36 +0000 (10:31 +0000)]
Matching question rigth/wrong answer indication is broken.

18 years agoget_config(): fix a call using the oldstyle return value
martinlanghoff [Wed, 17 Jan 2007 06:13:09 +0000 (06:13 +0000)]
get_config(): fix a call using the oldstyle return value

18 years agoMnet: Minor oops - a variable in the last commit was not renamed
donal72 [Wed, 17 Jan 2007 03:56:31 +0000 (03:56 +0000)]
Mnet:  Minor oops - a variable in the last commit was not renamed

18 years agoAutomatic installer.php lang files by installer_builder (20070117)
moodler [Wed, 17 Jan 2007 03:14:37 +0000 (03:14 +0000)]
Automatic installer.php lang files by installer_builder (20070117)

18 years agomnet: restore_create_users() fixed mnethost lookup
martinlanghoff [Wed, 17 Jan 2007 01:00:08 +0000 (01:00 +0000)]
mnet: restore_create_users() fixed mnethost lookup

Credit goes to Eloy for catching my error.

18 years agoMDL-8204 several installer improvements:
skodak [Tue, 16 Jan 2007 23:42:26 +0000 (23:42 +0000)]
MDL-8204 several installer improvements:
* dirroot can not be changed now to prevent future problems - because we rely on dirname(_FILE_) in several places already
* dirroot is now used to detect repeated installs into defferent directories in the same browser sessions
* fixed previous button
* changed library inlcudes again to fit the normal coding style

18 years agoget_config() callers in new MNET code switched to expect a single value returned
martinlanghoff [Tue, 16 Jan 2007 23:27:41 +0000 (23:27 +0000)]
get_config() callers in new MNET code switched to expect a single value returned
Again, this simplifies the logic in a few places.

18 years agoget_config() callers switched to expect a single value returned
martinlanghoff [Tue, 16 Jan 2007 23:27:14 +0000 (23:27 +0000)]
get_config() callers switched to expect a single value returned

This simplifies the logic in the callers -- a good hint that
that we are doing the right thing.

18 years agoget_config(): return a single value instead of a record when called with 2 params
martinlanghoff [Tue, 16 Jan 2007 23:25:19 +0000 (23:25 +0000)]
get_config(): return a single value instead of a record when called with 2 params

get_config() was meant to return a single value when called with 2 params,
however, it never did. Change it to Do The Right Thing, and audit all callers.

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 ;-)