24586 Commits

Author SHA1 Message Date
skodak
7dc30088bc force login in course calendar SC#349 2007-01-17 19:53:03 +00:00
jamiesensei
60b5ecd3cf more work on the datasetdependent / calculated question creation forms 2007-01-17 18:28:51 +00:00
tjhunt
4f390427d5 Minor problem with restoring numerical questions. 2007-01-17 17:29:08 +00:00
nfreear
163fab1a96 Fixes Bug MDL-8200, "Group admin interface shows all groups sitewide!" 2007-01-17 16:13:21 +00:00
csantossaenz
456f5e6e43 Modified scorm module to allow remote packages updating 2007-01-17 15:53:06 +00:00
csantossaenz
75b4cb6456 Added a field to scorm table to store the ckecksum of a remote package 2007-01-17 15:38:40 +00:00
csantossaenz
aa7a17131d added a field to store ckecksum of a remote package 2007-01-17 15:31:40 +00:00
tjhunt
7ca455cd56 The way mulit-response questoins show the right answer is a bit confusing. 2007-01-17 14:54:55 +00:00
dwoolhead
f27b2c4e6d Prevent unnecessary scroll to warning message during local version installation/upgrade due to missing notification type on success 2007-01-17 14:38:56 +00:00
dwoolhead
f2aa178bac Missing groups version message (noted during clean installation) added 2007-01-17 14:35:55 +00:00
nfreear
2a724620f7 Partial fix for MDL-8048, undid bug introduced last commit. 2007-01-17 14:33:29 +00:00
donal72
1451836469 Mnet: In auth config, show which hosts have mnet/auth configured 2007-01-17 14:13:19 +00:00
nfreear
b1f627d9eb Partial fix for MDL-8048, groups cleanup including hiding unimplemented buttons in GUI, fixing error strings. 2007-01-17 13:56:09 +00:00
donal72
5291907c45 Mnet: Show non-mnet enrolments in the mnet/enrolment page 2007-01-17 12:12:11 +00:00
tjhunt
069a820a7e Matching question rigth/wrong answer indication is broken. 2007-01-17 10:31:36 +00:00
martinlanghoff
6480b0da92 get_config(): fix a call using the oldstyle return value 2007-01-17 06:13:09 +00:00
donal72
503d126273 Mnet: Minor oops - a variable in the last commit was not renamed 2007-01-17 03:56:31 +00:00
moodler
47151d683e Automatic installer.php lang files by installer_builder (20070117) 2007-01-17 03:14:37 +00:00
martinlanghoff
fdce65dd32 mnet: restore_create_users() fixed mnethost lookup
Credit goes to Eloy for catching my error.
2007-01-17 01:00:08 +00:00
skodak
d36afd6d43 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
2007-01-16 23:42:26 +00:00
martinlanghoff
c9fa3eee9b get_config() callers in new MNET code switched to expect a single value returned
Again, this simplifies the logic in a few places.
2007-01-16 23:27:41 +00:00
martinlanghoff
1fd471a1c1 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.
2007-01-16 23:27:14 +00:00
martinlanghoff
9220fba598 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.
2007-01-16 23:25:19 +00:00
donal72
0d0f67f353 Mnet: The tokenizer extension is now optional. MDL-8136 2007-01-16 22:53:11 +00:00
donal72
afbedfb8d8 Mnet: Bugfix: Faulty logic - if the user has no local courses, we didn't bother to check for remote courses. 2007-01-16 22:52:24 +00:00
mchurch
7c4b621a20 Fixing bug where quizzes from 1.4 will lose their answers when upgraded to later versions.
Fixes MDL-8207.
2007-01-16 22:02:07 +00:00
tjhunt
ab6803a97c missed defaults_reprocessing to data_preprocessing 2007-01-16 18:01:02 +00:00
tjhunt
f38ceee677 Fix multiple-choice multiple-answer grading code. Merged from MOODLE_17_STABLE. 2007-01-16 17:51:05 +00:00
stronk7
b6fd063054 Fixed typo causing mysql fail on install without prefix. MDL-8203 2007-01-16 17:41:58 +00:00
jamiesensei
a7f7e52fc5 changed name of moodleform_mod method 'defaults_preprocessing' to 'data_preprocessing' in line with change of set_defaults name to set_data. 2007-01-16 15:36:33 +00:00
bobopinna
5297c819c4 modified dirname call to scorm_dirname that works also with URLs 2007-01-16 14:08:22 +00:00
bobopinna
2347a35113 added scorm 2004 sequencing/navigation support 2007-01-16 14:05:52 +00:00
bobopinna
10fd330f38 new sequencing engine 2007-01-16 14:03:15 +00:00
bobopinna
667a21664a fixed some typos. removed all tabs 2007-01-16 14:01:41 +00:00
nfreear
0e2d02b506 Fixes bug MDL-8045, "Some strings are missing on the grouping interface". 2007-01-16 13:29:44 +00:00
bobopinna
76659ac98f moved in locallib.php as a function 2007-01-16 13:23:07 +00:00
bobopinna
76ea4fb419 Moved validation.php in locallib.php as a function. Now is called by lib.php add/updateinstance() 2007-01-16 13:21:19 +00:00
bobopinna
a4813c36c8 The new edit page using QuickForm lib 2007-01-16 13:18:41 +00:00
bobopinna
a6f505ff4a substitute by the new mod_form.php 2007-01-16 13:16:34 +00:00
thepurpleblob
5bed54e1fc MDL-8100, defaultgrade not imported. Question obect initialisation and value import wrong way round - whoops! 2007-01-16 12:12:26 +00:00
thepurpleblob
2e15284e31 MDL-8130 Number of improvements to check name length and improve HTML Entity handling. Thanks to Paul Ortman. 2007-01-16 11:23:32 +00:00
skodak
91866a2631 some minor user edit fixes MDL-8096 2007-01-16 09:56:15 +00:00
skodak
6647e04ac9 MDL-8110 use standard _FILE_ for includes instead of path starting with dot 2007-01-16 08:56:36 +00:00
martinlanghoff
0f02788f70 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 ;-)
2007-01-16 05:24:20 +00:00
donal72
4d8c087e02 MNET: MyCourses block enriched with links to remote Moodles when roaming 2007-01-16 05:00:18 +00:00
martinlanghoff
43f853c908 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.
2007-01-16 03:28:57 +00:00
moodler
5d9bc144f3 Automatic installer.php lang files by installer_builder (20070116) 2007-01-16 03:13:08 +00:00
martinlanghoff
c0543ba1f7 mnet: backup_general_info() now indicates whether it includes MNET_REMOTEUSERS 2007-01-16 02:52:51 +00:00
vyshane
818c1b0592 Merged from 1.7. 2007-01-16 02:44:13 +00:00
martinlanghoff
54359be4c9 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.
2007-01-16 02:27:36 +00:00