]>
git.mjollnir.org Git - moodle.git/log
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 ;-)
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
martinlanghoff [Fri, 19 Jan 2007 09:36:40 +0000 (09:36 +0000)]
mnet: introducing print_remote_host()... and use it in print_my_courses()
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.
vyshane [Fri, 19 Jan 2007 09:23:22 +0000 (09:23 +0000)]
Added loading in progress image feedback.
vyshane [Fri, 19 Jan 2007 09:22:33 +0000 (09:22 +0000)]
Loader image
martinlanghoff [Fri, 19 Jan 2007 08:57:13 +0000 (08:57 +0000)]
mnet: introducing get_my_remotecourses() and get_my_remotehosts() -- use them too
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
martinlanghoff [Fri, 19 Jan 2007 08:14:18 +0000 (08:14 +0000)]
mnet: this stuff is only for logged in users!
jamiesensei [Fri, 19 Jan 2007 08:10:01 +0000 (08:10 +0000)]
migrated wiki form to formslib
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.
martinlanghoff [Fri, 19 Jan 2007 07:54:41 +0000 (07:54 +0000)]
mnet: fix logic and html layout in block_course_list
martinlanghoff [Fri, 19 Jan 2007 07:22:57 +0000 (07:22 +0000)]
mnet: check that sesskey please!
jamiesensei [Fri, 19 Jan 2007 07:21:51 +0000 (07:21 +0000)]
answer '0' is a valid answer for a numeric question.
jamiesensei [Fri, 19 Jan 2007 07:20:43 +0000 (07:20 +0000)]
oops. fix to last commit about empty answers logic was wrong
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.
martinlanghoff [Fri, 19 Jan 2007 07:15:12 +0000 (07:15 +0000)]
mnet: pix for mnethost is now the tiny moodle icon ;-)
martinlanghoff [Fri, 19 Jan 2007 07:01:51 +0000 (07:01 +0000)]
mnet: hide direct link to logs for now...
martinlanghoff [Fri, 19 Jan 2007 06:51:24 +0000 (06:51 +0000)]
mnet: finish up UI for enrolment handling and hardcoded strings
martinlanghoff [Fri, 19 Jan 2007 05:24:47 +0000 (05:24 +0000)]
mnet: fix warning -- variable typo
martinlanghoff [Fri, 19 Jan 2007 05:18:30 +0000 (05:18 +0000)]
mnet: fixup remote enrolment handling pages - WIP part 2
vyshane [Fri, 19 Jan 2007 05:08:56 +0000 (05:08 +0000)]
Styles for group management interface
vyshane [Fri, 19 Jan 2007 04:57:46 +0000 (04:57 +0000)]
Added ajax for groups management interface.
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
moodler [Fri, 19 Jan 2007 03:16:14 +0000 (03:16 +0000)]
Automatic installer.php lang files by installer_builder (
20070119 )
martinlanghoff [Fri, 19 Jan 2007 02:51:18 +0000 (02:51 +0000)]
mnet: better enrollable courses listing
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
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
martinlanghoff [Thu, 18 Jan 2007 23:01:38 +0000 (23:01 +0000)]
mnet: environment now recommends tokenizer
bobopinna [Thu, 18 Jan 2007 20:33:59 +0000 (20:33 +0000)]
Fixed an error in $score initialization
tjhunt [Thu, 18 Jan 2007 17:38:51 +0000 (17:38 +0000)]
MDL-8205 - Layout of quiz editing screen not right
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
tjhunt [Thu, 18 Jan 2007 12:55:46 +0000 (12:55 +0000)]
Fix broken JS.
nfreear [Thu, 18 Jan 2007 12:35:28 +0000 (12:35 +0000)]
Fixed lang string 'erroreditgroup' as per Mitsuhiro [18/Jan/07], MDL-8048
moodler [Thu, 18 Jan 2007 12:06:36 +0000 (12:06 +0000)]
Added some lables and formatting to fix MDL-8176 Accessibility
csantossaenz [Thu, 18 Jan 2007 12:05:14 +0000 (12:05 +0000)]
Added the field external to the mdl_scorm table
csantossaenz [Thu, 18 Jan 2007 11:58:08 +0000 (11:58 +0000)]
Added some strings related to the update of the external packages timing
jamiesensei [Thu, 18 Jan 2007 11:21:10 +0000 (11:21 +0000)]
some more small changes to datasetdependent and calculated question type forms
jamiesensei [Thu, 18 Jan 2007 10:22:56 +0000 (10:22 +0000)]
migrated 'missingtype' questoin creation forms to use formslib
moodler [Thu, 18 Jan 2007 09:52:04 +0000 (09:52 +0000)]
Fix for MDL-8175 (void summary)
moodler [Thu, 18 Jan 2007 09:45:02 +0000 (09:45 +0000)]
Added 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
martinlanghoff [Thu, 18 Jan 2007 04:48:35 +0000 (04:48 +0000)]
mnet: fixup remote enrolment handling pages - WIP
martinlanghoff [Thu, 18 Jan 2007 04:39:41 +0000 (04:39 +0000)]
mnet: clear out debug msg
martinlanghoff [Thu, 18 Jan 2007 03:16:55 +0000 (03:16 +0000)]
mnet: check for the _right_ varname before warning about mnet being off
martinlanghoff [Thu, 18 Jan 2007 03:16:09 +0000 (03:16 +0000)]
enrol/mnet: list_remote_servers() must always return an array
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
martinlanghoff [Thu, 18 Jan 2007 02:31:42 +0000 (02:31 +0000)]
mnet: clean_param() fixed a leftover debugging statement - x2
martinlanghoff [Thu, 18 Jan 2007 02:22:35 +0000 (02:22 +0000)]
mnet: clean_param() fixed a leftover debugging statement
martinlanghoff [Wed, 17 Jan 2007 23:49:04 +0000 (23:49 +0000)]
mnet: moving remote enrolment config to admin/mnet
martinlanghoff [Wed, 17 Jan 2007 23:12:15 +0000 (23:12 +0000)]
enrol/mnet: fix a warning, do not list the sitecourse
donal72 [Wed, 17 Jan 2007 23:03:18 +0000 (23:03 +0000)]
Mnet: enrol/mnet: Return enrol plugin type with list of enrolled users
martinlanghoff [Wed, 17 Jan 2007 22:23:56 +0000 (22:23 +0000)]
mnet: better descriptions and warnings in admin pages
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
skodak [Wed, 17 Jan 2007 19:53:03 +0000 (19:53 +0000)]
force login in course calendar SC#349
jamiesensei [Wed, 17 Jan 2007 18:28:51 +0000 (18:28 +0000)]
more work on the datasetdependent / calculated question creation forms
tjhunt [Wed, 17 Jan 2007 17:29:08 +0000 (17:29 +0000)]
Minor problem with restoring numerical questions.
nfreear [Wed, 17 Jan 2007 16:13:21 +0000 (16:13 +0000)]
Fixes Bug MDL-8200, "Group admin interface shows all groups sitewide!"
csantossaenz [Wed, 17 Jan 2007 15:53:06 +0000 (15:53 +0000)]
Modified scorm module to allow remote packages updating
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
csantossaenz [Wed, 17 Jan 2007 15:31:40 +0000 (15:31 +0000)]
added a field to store ckecksum of a remote package
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.
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
dwoolhead [Wed, 17 Jan 2007 14:35:55 +0000 (14:35 +0000)]
Missing groups version message (noted during clean installation) added
nfreear [Wed, 17 Jan 2007 14:33:29 +0000 (14:33 +0000)]
Partial fix for MDL-8048, undid bug introduced last commit.
donal72 [Wed, 17 Jan 2007 14:13:19 +0000 (14:13 +0000)]
Mnet: In auth config, show which hosts have mnet/auth configured
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.
donal72 [Wed, 17 Jan 2007 12:12:11 +0000 (12:12 +0000)]
Mnet: Show non-mnet enrolments in the mnet/enrolment page
tjhunt [Wed, 17 Jan 2007 10:31:36 +0000 (10:31 +0000)]
Matching question rigth/wrong answer indication is broken.
martinlanghoff [Wed, 17 Jan 2007 06:13:09 +0000 (06:13 +0000)]
get_config(): fix a call using the oldstyle return value
donal72 [Wed, 17 Jan 2007 03:56:31 +0000 (03:56 +0000)]
Mnet: Minor oops - a variable in the last commit was not renamed
moodler [Wed, 17 Jan 2007 03:14:37 +0000 (03:14 +0000)]
Automatic installer.php lang files by installer_builder (
20070117 )
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.
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
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.
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.
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.
donal72 [Tue, 16 Jan 2007 22:53:11 +0000 (22:53 +0000)]
Mnet: The tokenizer extension is now optional. MDL-8136
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.
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.
tjhunt [Tue, 16 Jan 2007 18:01:02 +0000 (18:01 +0000)]
missed defaults_reprocessing to data_preprocessing
tjhunt [Tue, 16 Jan 2007 17:51:05 +0000 (17:51 +0000)]
Fix multiple-choice multiple-answer grading code. Merged from MOODLE_17_STABLE.
stronk7 [Tue, 16 Jan 2007 17:41:58 +0000 (17:41 +0000)]
Fixed typo causing mysql fail on install without prefix. MDL-8203
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.
bobopinna [Tue, 16 Jan 2007 14:08:22 +0000 (14:08 +0000)]
modified dirname call to scorm_dirname that works also with URLs
bobopinna [Tue, 16 Jan 2007 14:05:52 +0000 (14:05 +0000)]
added scorm 2004 sequencing/navigation support
bobopinna [Tue, 16 Jan 2007 14:03:15 +0000 (14:03 +0000)]
new sequencing engine
bobopinna [Tue, 16 Jan 2007 14:01:41 +0000 (14:01 +0000)]
fixed some typos. removed all tabs
nfreear [Tue, 16 Jan 2007 13:29:44 +0000 (13:29 +0000)]
Fixes bug MDL-8045, "Some strings are missing on the grouping interface".
bobopinna [Tue, 16 Jan 2007 13:23:07 +0000 (13:23 +0000)]
moved in locallib.php as a function
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()
bobopinna [Tue, 16 Jan 2007 13:18:41 +0000 (13:18 +0000)]
The new edit page using QuickForm lib
bobopinna [Tue, 16 Jan 2007 13:16:34 +0000 (13:16 +0000)]
substitute by the new mod_form.php
thepurpleblob [Tue, 16 Jan 2007 12:12:26 +0000 (12:12 +0000)]
MDL-8100, defaultgrade not imported.\r Question obect initialisation and value import wrong way round - whoops!
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.
skodak [Tue, 16 Jan 2007 09:56:15 +0000 (09:56 +0000)]
some minor user edit fixes MDL-8096
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
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 ;-)
donal72 [Tue, 16 Jan 2007 05:00:18 +0000 (05:00 +0000)]
MNET: MyCourses block enriched with links to remote Moodles when roaming
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.