]> git.mjollnir.org Git - moodle.git/log
moodle.git
19 years agoSome performance improvements see bug 5032
moodler [Fri, 21 Apr 2006 05:39:20 +0000 (05:39 +0000)]
Some performance improvements    see bug 5032

19 years agojust a line for testing
toyomoyo [Fri, 21 Apr 2006 05:35:46 +0000 (05:35 +0000)]
just a line for testing

19 years agofix for 5216
toyomoyo [Fri, 21 Apr 2006 05:17:08 +0000 (05:17 +0000)]
fix for 5216

19 years agoFix Bug #1604 - the error/index.php can't be translate
moodler [Fri, 21 Apr 2006 04:42:26 +0000 (04:42 +0000)]
Fix Bug #1604 - the error/index.php can't be translate

19 years agoformatting fix :-) Really I'm just testing the CVS mailing script
moodler [Fri, 21 Apr 2006 04:10:12 +0000 (04:10 +0000)]
formatting fix :-)   Really I'm just testing the CVS mailing script

19 years agoOnly force topic section in front page if ALL options are set to hide, not if we...
mjollnir_ [Fri, 21 Apr 2006 03:09:58 +0000 (03:09 +0000)]
Only force topic section in front page if ALL options are set to hide, not if we have news

19 years agonothing much here either
toyomoyo [Fri, 21 Apr 2006 02:47:01 +0000 (02:47 +0000)]
nothing much here either

19 years agonothing much here
toyomoyo [Fri, 21 Apr 2006 02:37:28 +0000 (02:37 +0000)]
nothing much here

19 years agoBug #5274 - HTML Editor Full Screen, Wrong Image location
moodler [Fri, 21 Apr 2006 02:26:29 +0000 (02:26 +0000)]
Bug #5274 - HTML Editor Full Screen, Wrong Image location

19 years agoAdded save changes button at top (Bug #1043 - submit button at top of journal report)
moodler [Fri, 21 Apr 2006 02:23:33 +0000 (02:23 +0000)]
Added save changes button at top (Bug #1043 - submit button at top of journal report)

19 years agoadded a string for no rights to delete a tag
toyomoyo [Fri, 21 Apr 2006 02:07:38 +0000 (02:07 +0000)]
added a string for no rights to delete a tag

19 years agofixed an issue where when the user has no personal tags defined, he/she sees an empty...
toyomoyo [Fri, 21 Apr 2006 02:07:10 +0000 (02:07 +0000)]
fixed an issue where when the user has no personal tags defined, he/she sees an empty line in tags page

19 years agoFix for double escapeshellarg in bug 5258 - Thanks Andy!
moodler [Fri, 21 Apr 2006 01:51:46 +0000 (01:51 +0000)]
Fix for double escapeshellarg in bug 5258  -  Thanks Andy!

19 years agoFixed code that relied on globals hack. Fixed bug 5261
gustav_delius [Thu, 20 Apr 2006 23:10:45 +0000 (23:10 +0000)]
Fixed code that relied on globals hack. Fixed bug 5261

19 years agolots of typos fixed, graph in stats, parameter cleanup etc., somebody could cleanup...
skodak [Thu, 20 Apr 2006 22:36:22 +0000 (22:36 +0000)]
lots of typos fixed, graph in stats, parameter cleanup etc., somebody could cleanup the page layout of those report/xxx/mod.php files ;-)

19 years agoweblib: validate_email() -- emails with a trailing dot in the local-part (user.@host...
martinlanghoff [Thu, 20 Apr 2006 22:32:00 +0000 (22:32 +0000)]
weblib: validate_email() -- emails with a trailing dot in the local-part (user.@host.com) are invalid

19 years agoremoved width for multichoice feedback
urs_hunkler [Thu, 20 Apr 2006 19:11:20 +0000 (19:11 +0000)]
removed width for multichoice feedback

19 years agofixed typos
skodak [Thu, 20 Apr 2006 19:07:08 +0000 (19:07 +0000)]
fixed typos

19 years agoFixed some error strings bug 2618
moodler [Thu, 20 Apr 2006 14:04:51 +0000 (14:04 +0000)]
Fixed some error strings   bug 2618

19 years agoFixed typo preventing images being displayed.
thepurpleblob [Thu, 20 Apr 2006 12:36:31 +0000 (12:36 +0000)]
Fixed typo preventing images being displayed.

19 years agoremoved width for multichoice feedback
urs_hunkler [Thu, 20 Apr 2006 08:37:00 +0000 (08:37 +0000)]
removed width for multichoice feedback

19 years agoFix for bug 5223 - might need testing
moodler [Thu, 20 Apr 2006 08:25:49 +0000 (08:25 +0000)]
Fix for bug 5223   - might need testing

19 years agoAdded more common mail charsets to choose from bug 5229
moodler [Thu, 20 Apr 2006 08:21:58 +0000 (08:21 +0000)]
Added more common mail charsets to choose from    bug 5229

19 years agoSitemailcharset should be empty string
moodler [Thu, 20 Apr 2006 08:19:36 +0000 (08:19 +0000)]
Sitemailcharset should be empty string

19 years agoMake email address denying work a little more rigorously. bug 5250
moodler [Thu, 20 Apr 2006 08:17:11 +0000 (08:17 +0000)]
Make email address denying work a little more rigorously.    bug 5250

19 years agoNo need for noapprovalrequired string
moodler [Thu, 20 Apr 2006 07:55:07 +0000 (07:55 +0000)]
No need for noapprovalrequired string

19 years agoadded a simple message to warn moodlers that if they are using contrib modules or...
toyomoyo [Thu, 20 Apr 2006 07:35:36 +0000 (07:35 +0000)]
added a simple message to warn moodlers that if they are using contrib modules or blocks with no migration sript, the data will not be converted.

19 years agojust in case of there's no course
toyomoyo [Thu, 20 Apr 2006 07:34:06 +0000 (07:34 +0000)]
just in case of there's no course

19 years agothere's some changes, to accomodate 5194. More testing is needed on all versions...
toyomoyo [Thu, 20 Apr 2006 06:57:26 +0000 (06:57 +0000)]
there's some changes, to accomodate 5194. More testing is needed on all versions of mysql

19 years agoAdded a check for is_object($item) to prevent possible warnings in preview_ims_genera...
wildgirl [Thu, 20 Apr 2006 06:53:07 +0000 (06:53 +0000)]
Added a check for is_object($item) to prevent possible warnings in preview_ims_generate_toc
Restored use of textlib in preview_ims_generate_toc

19 years agoAdded a check for isset($this->resource->reference) to prevent warnings in resource_ims
wildgirl [Thu, 20 Apr 2006 06:51:55 +0000 (06:51 +0000)]
Added a check for isset($this->resource->reference) to prevent warnings in resource_ims
Added a check for is_object($item) to prevent warnings in ims_generate_toc
Restored use of textlib in ims_generate_toc

19 years agoadded a feature that automatically adds 2 default blocks for new blog users. (block_m...
toyomoyo [Thu, 20 Apr 2006 06:35:39 +0000 (06:35 +0000)]
added a feature that automatically adds 2 default blocks for new blog users. (block_menu and block_tags blocks)

19 years agoMake sure the number is stored as a proper number
moodler [Thu, 20 Apr 2006 04:07:50 +0000 (04:07 +0000)]
Make sure the number is stored as a proper number

19 years agoNew number field type
moodler [Thu, 20 Apr 2006 04:02:30 +0000 (04:02 +0000)]
New number field type

19 years agoNew strings for Number field
moodler [Thu, 20 Apr 2006 03:28:43 +0000 (03:28 +0000)]
New strings for Number field

19 years agofix for 5257
toyomoyo [Thu, 20 Apr 2006 02:33:04 +0000 (02:33 +0000)]
fix for 5257

19 years agofix for 5256
toyomoyo [Thu, 20 Apr 2006 02:26:23 +0000 (02:26 +0000)]
fix for 5256

19 years agofix for 5256
toyomoyo [Thu, 20 Apr 2006 02:25:09 +0000 (02:25 +0000)]
fix for 5256

19 years agobut fix for 5256
toyomoyo [Thu, 20 Apr 2006 02:20:32 +0000 (02:20 +0000)]
but fix for 5256

19 years agosome clean up
toyomoyo [Thu, 20 Apr 2006 02:14:17 +0000 (02:14 +0000)]
some clean up

19 years agoassign admins page should respect MAX_USERS_PER_PAGE
mjollnir_ [Thu, 20 Apr 2006 00:19:17 +0000 (00:19 +0000)]
assign admins page should respect MAX_USERS_PER_PAGE

19 years agomod/chat - use empty value instead of erroring out if $USER->lastIP and getremoteaddr...
martinlanghoff [Wed, 19 Apr 2006 21:22:36 +0000 (21:22 +0000)]
mod/chat - use empty value instead of erroring out if $USER->lastIP and getremoteaddr() don't yield any interesting value

Sometimes we can't get any useful IP for the user -- and this may even be a
valid situation. So fudge an empty value -- the DB needs it as the IP field
is NOT NULL.

19 years agosome extra cleaning of comments and feedback before storage. normaly the text is...
skodak [Wed, 19 Apr 2006 20:21:42 +0000 (20:21 +0000)]
some extra cleaning of comments and feedback before storage. normaly the text is cleaned before display, this is just a preventive measure because I did not want to study this code all day ;-)

19 years agosome extra cleaning of comments and feedback before storage. normaly the text is...
skodak [Wed, 19 Apr 2006 20:10:04 +0000 (20:10 +0000)]
some extra cleaning of comments and feedback before storage. normaly the text is cleaned before display, this is just a preventive measure because I did not want to study this code all day ;-)

19 years agoSecurity related parameter cleanup in workshop code, please test it. No bug fixes...
skodak [Wed, 19 Apr 2006 19:48:46 +0000 (19:48 +0000)]
Security related parameter cleanup in workshop code, please test it. No bug fixes...

19 years agoisguest() must be checked AFTER require_login() because the user may not be logged...
skodak [Wed, 19 Apr 2006 19:42:47 +0000 (19:42 +0000)]
isguest() must be checked AFTER require_login() because the user may not be logged in yet ;-)

19 years agoadded CSS for multichoice feedback
urs_hunkler [Wed, 19 Apr 2006 17:13:37 +0000 (17:13 +0000)]
added CSS for multichoice feedback

19 years agoFix for bug 5029 from Tim Takemoto
moodler [Wed, 19 Apr 2006 12:54:34 +0000 (12:54 +0000)]
Fix for bug 5029 from Tim Takemoto

19 years agoFix group picture in HTML mail when no CSS is used
moodler [Wed, 19 Apr 2006 12:47:30 +0000 (12:47 +0000)]
Fix group picture in HTML mail when no CSS is used

19 years agoAccessibility: bug 5078, "Update calendar blocks in courses to match the changes...
nfreear [Wed, 19 Apr 2006 09:07:30 +0000 (09:07 +0000)]
Accessibility: bug 5078, "Update calendar blocks in courses to match the changes in site page". Fix function, calendar_top_controls.

19 years agoAccessibility: bug 5078, "Update calendar blocks in courses to match the changes...
nfreear [Wed, 19 Apr 2006 08:55:20 +0000 (08:55 +0000)]
Accessibility: bug 5078, "Update calendar blocks in courses to match the changes in site page".

19 years agobumping up version, chaing user->firstname, user->lastname, course->shortname to...
toyomoyo [Wed, 19 Apr 2006 08:18:35 +0000 (08:18 +0000)]
bumping up version, chaing user->firstname, user->lastname, course->shortname to varchar(100)

19 years agoFInally fixed chat layout bug
moodler [Wed, 19 Apr 2006 07:57:14 +0000 (07:57 +0000)]
FInally fixed chat layout bug

19 years agoAdded chat formatting
moodler [Wed, 19 Apr 2006 07:51:39 +0000 (07:51 +0000)]
Added chat formatting

19 years agofixed bug which prevented display of JCross clues on PHP 5.1.2
gbateson [Wed, 19 Apr 2006 06:20:37 +0000 (06:20 +0000)]
fixed bug which prevented display of JCross clues on PHP 5.1.2

19 years agoSetting $data->listtemplateheader and $data->listtemplatefooter to '' if we
vyshane [Wed, 19 Apr 2006 04:21:23 +0000 (04:21 +0000)]
Setting $data->listtemplateheader and $data->listtemplatefooter to '' if we
are resetting the listtemplate.

19 years agoRemoved javascript for resetting templates. We reload the page to reset
vyshane [Wed, 19 Apr 2006 02:54:07 +0000 (02:54 +0000)]
Removed javascript for resetting templates. We reload the page to reset
templates.

19 years agoCorrecting code to remove warning originating from earlier commit
mjollnir_ [Wed, 19 Apr 2006 02:31:32 +0000 (02:31 +0000)]
Correcting code to remove warning originating from earlier commit
Peter Bulmer peterbulmer@catalyst.net.nz

19 years agomod/chat: Normal method - introducing "Stream" updates.
martinlanghoff [Wed, 19 Apr 2006 02:20:48 +0000 (02:20 +0000)]
mod/chat: Normal method - introducing "Stream" updates.

This is an alternative version of jsupdate.php that acts
as a long-running daemon. It will feed/stall/feed JS updates
to the client. From the module configuration select "Stream"
updates.

The client connection is not forever though. Once we reach
CHAT_MAX_CLIENT_UPDATES (currently 1000), it will force
the client to re-fetch it.

This buys us all the benefits that chatd has, minus the setup,
as we are using apache to do the daemon handling.

Chat still defaults to the normal update method, which is now
optimised to take advantage of keepalives -- so this change is
safe. The instructions in the config page also indicate that this
mode may not be well supported everywhere. It hasn't been
tested on IIS for starters.

In terms of relative cost -- if each hit on jsupdate.php incurs
on ~20 db queries and delivers one update to the client, each hit
on jsupdate takes ~20 queries, and then roughly 2~3 queries to
serve each of the next 1000 updates. On busy sites, the difference
is huge.

There is still room for enhancements in both keepalive and stream
update methods. I am pretty sure we can trim DB queries more.

19 years agoFixed small typo in help file, bug 5243
gustav_delius [Tue, 18 Apr 2006 23:15:11 +0000 (23:15 +0000)]
Fixed small typo in help file, bug 5243

19 years agoChange of words suggested in bug 5245
gustav_delius [Tue, 18 Apr 2006 23:00:04 +0000 (23:00 +0000)]
Change of words suggested in bug 5245

19 years agoFixed small typo in help file.
gustav_delius [Tue, 18 Apr 2006 22:58:00 +0000 (22:58 +0000)]
Fixed small typo in help file.

19 years agoAvoiding warning in last commit:
mjollnir_ [Tue, 18 Apr 2006 22:57:28 +0000 (22:57 +0000)]
Avoiding warning in last commit:
mod/quiz/index changes to only display quiz grades when teacher allows
Changes to index.php to only allow student to view overall quiz scores when
teacher has not set options forbidding this, and it can't give away what
scores were for attempts where results should still be hidden.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz

19 years agomod/quiz/index changes to only display quiz grades when teacher allows
mjollnir_ [Tue, 18 Apr 2006 22:55:28 +0000 (22:55 +0000)]
mod/quiz/index changes to only display quiz grades when teacher allows
Changes to index.php to only allow student to view overall quiz scores when
teacher has not set options forbidding this, and it can't give away what
scores were for attempts where results should still be hidden.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz

19 years agomod/quiz/locallib bugfix get_qn_options now uses more sensible defaults.
mjollnir_ [Tue, 18 Apr 2006 22:54:51 +0000 (22:54 +0000)]
mod/quiz/locallib bugfix get_qn_options now uses more sensible defaults.
Previously get_question_options used options for
after-attempt-while-quiz-open, when called while a attempt was still in
progress.  Changed it to use options for immediately-after-attempt instead.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz

19 years agomod/quiz/view changes to only display attempt grades when teacher allows.
mjollnir_ [Tue, 18 Apr 2006 22:54:10 +0000 (22:54 +0000)]
mod/quiz/view changes to only display attempt grades when teacher allows.
Changed view.php to only display grades when the teacher has not set
options forbidding it.  Further, where there is some attempts that are
allowed to be displayed, and others not, highligting of the highest score,
and printing of the overall grade allocation has been disabled to ensure
the hidden grade is not revealed.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz

19 years agoMake sure category from correct course is shown.
gustav_delius [Tue, 18 Apr 2006 22:53:38 +0000 (22:53 +0000)]
Make sure category from correct course is shown.

19 years agomod/quiz/review only display grade summary if student allowed to see scores
mjollnir_ [Tue, 18 Apr 2006 22:50:04 +0000 (22:50 +0000)]
mod/quiz/review only display grade summary if student allowed to see scores
Change to review.php so that the student will only see the grade summary
if they are allowed to view their scores - as determined by quiz options
set by the teacher.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz

19 years agomod/quiz/review quiz options loaded once per pageload, not once per qn.
mjollnir_ [Tue, 18 Apr 2006 22:47:56 +0000 (22:47 +0000)]
mod/quiz/review quiz options loaded once per pageload, not once per qn.
Moved loading of quiz review options from loop iterating over each qn to be
displayed, to the top of the pageload.  Should give efficency gains
on quizes with long pages, as well as making the options available
earlier in the process.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz

19 years agomod/chat - cope with missing $USER->lastIP
martinlanghoff [Tue, 18 Apr 2006 22:40:56 +0000 (22:40 +0000)]
mod/chat - cope with missing $USER->lastIP

$USER->lastIP is sometimes not set properly during login, fetch it if we can
or error out clearly -- we won't be able to login the user to the chat if
we don't have an IP address to match him/her against.

19 years agoDon't forget the prefix_ for table names
gustav_delius [Tue, 18 Apr 2006 21:49:14 +0000 (21:49 +0000)]
Don't forget the prefix_ for table names

19 years agoadmin/cron.php - fix typo
martinlanghoff [Tue, 18 Apr 2006 21:22:04 +0000 (21:22 +0000)]
admin/cron.php - fix typo

Nothing like being pedantic on a tuesday afternoon...

19 years agoIMS CP styling
urs_hunkler [Tue, 18 Apr 2006 19:59:04 +0000 (19:59 +0000)]
IMS CP styling

19 years agoUpdated IMS CP help file (bug 4628)
wildgirl [Tue, 18 Apr 2006 18:17:36 +0000 (18:17 +0000)]
Updated IMS CP help file (bug 4628)

19 years agoUpdated IMS CP help file (bug 4628) and added repository help file
wildgirl [Tue, 18 Apr 2006 18:15:32 +0000 (18:15 +0000)]
Updated IMS CP help file (bug 4628) and added repository help file

19 years agoAdded IMS CP strings
wildgirl [Tue, 18 Apr 2006 18:09:11 +0000 (18:09 +0000)]
Added IMS CP strings

19 years agoresource.class.php changes:
wildgirl [Tue, 18 Apr 2006 18:04:30 +0000 (18:04 +0000)]
resource.class.php changes:
1. Added logic to process repository paths. A repository path is marked with a # as the first character of the reference field.
2. Added a new error code for repository items not being deployed / bad reference.

ims.html change:
Added a button to link to the repository browser.

New files:
finder.php \96 browser for the repository
preview.php \96 cut down display routine from resource.class.php, forces sidemenu etc.
repository_deploy.php \96 deploy for repository items (same results as deploy.php)
repository_config.php (repository disabled by default)
resize.js - for iframe resizing
dummyapi.js - dummy SCORM API

(Tom's work, with help from Andy)

19 years agoParamater cleaning for category name too restrictive for non-ascii
thepurpleblob [Tue, 18 Apr 2006 14:20:02 +0000 (14:20 +0000)]
Paramater cleaning for category name too restrictive for non-ascii
language encodings. Bug #5224

19 years agocorrected handling of tables within JCloze text (a lot of vertical space was being...
gbateson [Tue, 18 Apr 2006 12:20:18 +0000 (12:20 +0000)]
corrected handling of tables within JCloze text (a lot of vertical space was being added)

19 years agoClean up code (Bugs 5027, 5161), 'weekscss' course format.
nfreear [Tue, 18 Apr 2006 11:02:21 +0000 (11:02 +0000)]
Clean up code (Bugs 5027, 5161), 'weekscss' course format.

19 years agoFix, Bug 5161 "Course format weekscss looks unfinished". Added ommitted 'hidden'...
nfreear [Tue, 18 Apr 2006 11:00:25 +0000 (11:00 +0000)]
Fix, Bug 5161 "Course format weekscss looks unfinished". Added ommitted 'hidden' style, background-color.

19 years agoFixed bug #5230 and the hardcoded admin folder
moodler [Tue, 18 Apr 2006 09:46:35 +0000 (09:46 +0000)]
Fixed bug #5230 and the hardcoded admin folder

19 years agoFIx for slashes problem in bug 5222 (and some others)
moodler [Tue, 18 Apr 2006 09:16:22 +0000 (09:16 +0000)]
FIx for slashes problem in bug 5222 (and some others)

19 years agotypo
toyomoyo [Tue, 18 Apr 2006 09:08:53 +0000 (09:08 +0000)]
typo

19 years agofix for 5204
toyomoyo [Tue, 18 Apr 2006 09:05:07 +0000 (09:05 +0000)]
fix for 5204

19 years agoA little HTML hint since styles are not working here for me somehow
moodler [Tue, 18 Apr 2006 07:28:44 +0000 (07:28 +0000)]
A little HTML hint since styles are not working here for me somehow

19 years agoBetter style for picture next to chat text
moodler [Tue, 18 Apr 2006 07:27:11 +0000 (07:27 +0000)]
Better style for picture next to chat text

19 years agofix for 5207
toyomoyo [Tue, 18 Apr 2006 07:22:18 +0000 (07:22 +0000)]
fix for 5207

19 years agoMore efficient chat listings (less database calling)
moodler [Tue, 18 Apr 2006 07:14:21 +0000 (07:14 +0000)]
More efficient chat listings (less database calling)

19 years agofix for 5210
toyomoyo [Tue, 18 Apr 2006 07:12:39 +0000 (07:12 +0000)]
fix for 5210

19 years agofix for 5209
toyomoyo [Tue, 18 Apr 2006 06:43:29 +0000 (06:43 +0000)]
fix for 5209

19 years agoblock unicode migration bugs
toyomoyo [Tue, 18 Apr 2006 06:17:30 +0000 (06:17 +0000)]
block unicode migration bugs

19 years ago"Reset template" button now only resets the template textarea with the default
vyshane [Tue, 18 Apr 2006 06:11:38 +0000 (06:11 +0000)]
"Reset template" button now only resets the template textarea with the default
template. User needs to hit "Save template" to save the changes.

19 years agoadded a comment
toyomoyo [Tue, 18 Apr 2006 03:45:23 +0000 (03:45 +0000)]
added a comment

19 years agothe table_column function ate my auto_increments
toyomoyo [Tue, 18 Apr 2006 03:30:57 +0000 (03:30 +0000)]
the table_column function ate my auto_increments

19 years agoPutting back in the fix for authorize enrol plugin not originally having correct...
mjollnir_ [Tue, 18 Apr 2006 02:50:46 +0000 (02:50 +0000)]
Putting back in the fix for authorize enrol plugin not originally having correct pg version number and table sync with mysql tables and version number

19 years agobug #5234, so I took out has_config, this block has no config globals right?
toyomoyo [Tue, 18 Apr 2006 02:37:44 +0000 (02:37 +0000)]
bug #5234, so I took out has_config, this block has no config globals right?

19 years agovarious small changes
toyomoyo [Tue, 18 Apr 2006 01:59:13 +0000 (01:59 +0000)]
various small changes

19 years agoblog access rights fix, forgot to check in last week
toyomoyo [Tue, 18 Apr 2006 01:30:00 +0000 (01:30 +0000)]
blog access rights fix, forgot to check in last week

19 years agofixed bug #5225, fix provided by hachiman
skodak [Mon, 17 Apr 2006 21:26:05 +0000 (21:26 +0000)]
fixed bug #5225, fix provided by hachiman