]> git.mjollnir.org Git - moodle.git/log
moodle.git
19 years agofixed short tag
skodak [Sun, 23 Apr 2006 11:32:25 +0000 (11:32 +0000)]
fixed short tag

19 years agoBeautify a bit the footer, taking out that horrible standard 100px space! ;-)
stronk7 [Sun, 23 Apr 2006 10:58:00 +0000 (10:58 +0000)]
Beautify a bit the footer, taking out that horrible standard 100px space! ;-)

19 years agoSome indexes were added in 15_STABLE. So, don't show an error message again if indexe...
ethem [Sun, 23 Apr 2006 10:15:01 +0000 (10:15 +0000)]
Some indexes were added in 15_STABLE. So, don't show an error message again if indexes are already exist.

19 years agoNow the resize script hasn't anymore harcoded widths.
stronk7 [Sun, 23 Apr 2006 09:59:04 +0000 (09:59 +0000)]
Now the resize script hasn't anymore harcoded widths.

19 years agoremoved invalid css property
urs_hunkler [Sun, 23 Apr 2006 07:14:45 +0000 (07:14 +0000)]
removed invalid css property

19 years agoDOn't show some notces on new install
moodler [Sun, 23 Apr 2006 04:45:20 +0000 (04:45 +0000)]
DOn't show some notces on new install

19 years agoTOC needs _parent because it's rendered in the iframe.
stronk7 [Sun, 23 Apr 2006 02:21:00 +0000 (02:21 +0000)]
TOC needs _parent because it's rendered in the iframe.

19 years agoNow double-headers are out 100%
stronk7 [Sun, 23 Apr 2006 01:57:02 +0000 (01:57 +0000)]
Now double-headers are out 100%
Some incorrect targets are out.
Scorm API (dummy) is working fine.

TODO: Move css styles to standard.

19 years agoMoving script to a proper place (for XHTML validation)
stronk7 [Sat, 22 Apr 2006 22:52:34 +0000 (22:52 +0000)]
Moving script to a proper place (for XHTML validation)
(although the page still continues with some errors)

19 years agoAvoid some warnings...
stronk7 [Sat, 22 Apr 2006 22:51:15 +0000 (22:51 +0000)]
Avoid some warnings...

19 years agofixed typo, undefined $ents
skodak [Sat, 22 Apr 2006 17:33:22 +0000 (17:33 +0000)]
fixed typo, undefined $ents

19 years agotypo - fixed undefined $courseid
skodak [Sat, 22 Apr 2006 17:29:46 +0000 (17:29 +0000)]
typo - fixed undefined $courseid

19 years agofixed undefined $timenow
skodak [Sat, 22 Apr 2006 17:28:18 +0000 (17:28 +0000)]
fixed undefined $timenow

19 years agofixed undefined $course
skodak [Sat, 22 Apr 2006 17:25:37 +0000 (17:25 +0000)]
fixed undefined $course

19 years agoadded FIX ME notice for inclusion of format.php
skodak [Sat, 22 Apr 2006 17:21:21 +0000 (17:21 +0000)]
added FIX ME notice for inclusion of format.php

19 years agofixed typo in ismember() - nasty one!
skodak [Sat, 22 Apr 2006 16:45:12 +0000 (16:45 +0000)]
fixed typo in ismember() - nasty one!
and some warnings get_directory_size()

19 years agofixed typo and s()
skodak [Sat, 22 Apr 2006 16:36:35 +0000 (16:36 +0000)]
fixed typo and s()

19 years agofixed missing xxx_param() and broken path
skodak [Sat, 22 Apr 2006 16:35:32 +0000 (16:35 +0000)]
fixed missing xxx_param() and broken path

19 years agoadded FIX ME notice into grade_get_users_by_group(), I did not fix it because I do...
skodak [Sat, 22 Apr 2006 16:12:58 +0000 (16:12 +0000)]
added FIX ME notice into grade_get_users_by_group(), I did not fix it because I do not know what this function should return

19 years agofixed undefined $error in error message
skodak [Sat, 22 Apr 2006 16:02:49 +0000 (16:02 +0000)]
fixed undefined $error in error message

19 years agofixed auth_user_exists(), now works the same as the one in ldap plugin
skodak [Sat, 22 Apr 2006 16:01:02 +0000 (16:01 +0000)]
fixed auth_user_exists(), now works the same as the one in ldap plugin

19 years agoFIX ME notice for $cas_validate that should be IMHO global, but it works anyway
skodak [Sat, 22 Apr 2006 15:55:20 +0000 (15:55 +0000)]
FIX ME notice for $cas_validate that should be IMHO global, but it works anyway

19 years agofixed undefined pg encoding in warning and undefined main teacher lang when no teache...
skodak [Sat, 22 Apr 2006 15:51:00 +0000 (15:51 +0000)]
fixed undefined pg encoding in warning and undefined main teacher lang when no teacher in course

19 years agotypo in switch
skodak [Sat, 22 Apr 2006 13:38:24 +0000 (13:38 +0000)]
typo in switch

19 years agoSpurious database prefixes in front of index names removed. Bug #5282
thepurpleblob [Fri, 21 Apr 2006 13:27:08 +0000 (13:27 +0000)]
Spurious database prefixes in front of index names removed. Bug #5282

19 years agoFix for Bug #5281, "Validation: '&' in course (topics) format, 'Jump to' drop...
nfreear [Fri, 21 Apr 2006 13:08:03 +0000 (13:08 +0000)]
Fix for Bug #5281, "Validation: '&' in course (topics) format, 'Jump to' drop-down".

19 years agoNoted that xml format can now handle images.
thepurpleblob [Fri, 21 Apr 2006 12:56:51 +0000 (12:56 +0000)]
Noted that xml format can now handle images.

19 years agoMoodle xml format can now export and import the actual image files, encoding
thepurpleblob [Fri, 21 Apr 2006 12:35:57 +0000 (12:35 +0000)]
Moodle xml format can now export and import the actual image files, encoding
in 'base64' format.

19 years agofix for 5205
toyomoyo [Fri, 21 Apr 2006 07:55:57 +0000 (07:55 +0000)]
fix for 5205

19 years agooops
toyomoyo [Fri, 21 Apr 2006 07:52:30 +0000 (07:52 +0000)]
oops

19 years agofix for bug 5205
toyomoyo [Fri, 21 Apr 2006 07:47:14 +0000 (07:47 +0000)]
fix for bug 5205

19 years agoFixed Bug #5012 - assignment type uploadsingle does not log view actions
moodler [Fri, 21 Apr 2006 07:01:01 +0000 (07:01 +0000)]
Fixed Bug #5012 - assignment type uploadsingle does not log view actions

19 years agoUse delete_question() to delete question, bug 5275
gustav_delius [Fri, 21 Apr 2006 06:50:51 +0000 (06:50 +0000)]
Use delete_question() to delete question, bug 5275

19 years agoanother try
toyomoyo [Fri, 21 Apr 2006 05:43:17 +0000 (05:43 +0000)]
another try

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