Commit graph

20230 commits

Author SHA1 Message Date
skodak
3f2d13ff26 fixed typos 2006-04-20 19:07:08 +00:00
moodler
fbab16a7e2 Fixed some error strings bug 2618 2006-04-20 14:04:51 +00:00
thepurpleblob
d17bee46ce Fixed typo preventing images being displayed. 2006-04-20 12:36:31 +00:00
urs_hunkler
0e2b7205f5 removed width for multichoice feedback 2006-04-20 08:37:00 +00:00
moodler
6663109659 Fix for bug 5223 - might need testing 2006-04-20 08:25:49 +00:00
moodler
08bdcd3974 Added more common mail charsets to choose from bug 5229 2006-04-20 08:21:58 +00:00
moodler
31256b56b3 Sitemailcharset should be empty string 2006-04-20 08:19:36 +00:00
moodler
02c649e69e Make email address denying work a little more rigorously. bug 5250 2006-04-20 08:17:11 +00:00
moodler
20a730762f No need for noapprovalrequired string 2006-04-20 07:55:07 +00:00
toyomoyo
0459675f96 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. 2006-04-20 07:35:36 +00:00
toyomoyo
e080039ebe just in case of there's no course 2006-04-20 07:34:06 +00:00
toyomoyo
8de65352a4 there's some changes, to accomodate 5194. More testing is needed on all versions of mysql 2006-04-20 06:57:26 +00:00
wildgirl
4c85af7b01 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
2006-04-20 06:53:07 +00:00
wildgirl
676fb87edc 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
2006-04-20 06:51:55 +00:00
toyomoyo
8c9814f9d8 added a feature that automatically adds 2 default blocks for new blog users. (block_menu and block_tags blocks) 2006-04-20 06:35:39 +00:00
moodler
ec536d7a48 Make sure the number is stored as a proper number 2006-04-20 04:07:50 +00:00
moodler
59f3b71781 New number field type 2006-04-20 04:02:30 +00:00
moodler
9b940db6d4 New strings for Number field 2006-04-20 03:28:43 +00:00
toyomoyo
56c5918727 fix for 5257 2006-04-20 02:33:04 +00:00
toyomoyo
2f5196e720 fix for 5256 2006-04-20 02:26:23 +00:00
toyomoyo
d174882071 fix for 5256 2006-04-20 02:25:09 +00:00
toyomoyo
0b11c2b70f but fix for 5256 2006-04-20 02:20:32 +00:00
toyomoyo
48e79fd146 some clean up 2006-04-20 02:14:17 +00:00
mjollnir_
60188cee2b assign admins page should respect MAX_USERS_PER_PAGE 2006-04-20 00:19:17 +00:00
martinlanghoff
f83edcb114 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.
2006-04-19 21:22:36 +00:00
skodak
ef45822122 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 ;-) 2006-04-19 20:21:42 +00:00
skodak
34ffb5cae2 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 ;-) 2006-04-19 20:10:04 +00:00
skodak
d2963541e2 Security related parameter cleanup in workshop code, please test it. No bug fixes... 2006-04-19 19:48:46 +00:00
skodak
7282d18cf0 isguest() must be checked AFTER require_login() because the user may not be logged in yet ;-) 2006-04-19 19:42:47 +00:00
urs_hunkler
d133007141 added CSS for multichoice feedback 2006-04-19 17:13:37 +00:00
moodler
d3a752872f Fix for bug 5029 from Tim Takemoto 2006-04-19 12:54:34 +00:00
moodler
7b54f5636d Fix group picture in HTML mail when no CSS is used 2006-04-19 12:47:30 +00:00
nfreear
a7c385e606 Accessibility: bug 5078, "Update calendar blocks in courses to match the changes in site page". Fix function, calendar_top_controls. 2006-04-19 09:07:30 +00:00
nfreear
e642ed1244 Accessibility: bug 5078, "Update calendar blocks in courses to match the changes in site page". 2006-04-19 08:55:20 +00:00
toyomoyo
8bcd295c3d bumping up version, chaing user->firstname, user->lastname, course->shortname to varchar(100) 2006-04-19 08:18:35 +00:00
moodler
09f00e5383 FInally fixed chat layout bug 2006-04-19 07:57:14 +00:00
moodler
733a73f0d3 Added chat formatting 2006-04-19 07:51:39 +00:00
gbateson
30b8cc87e1 fixed bug which prevented display of JCross clues on PHP 5.1.2 2006-04-19 06:20:37 +00:00
vyshane
feb00a54d0 Setting $data->listtemplateheader and $data->listtemplatefooter to '' if we
are resetting the listtemplate.
2006-04-19 04:21:23 +00:00
vyshane
8d4a31bd3c Removed javascript for resetting templates. We reload the page to reset
templates.
2006-04-19 02:54:07 +00:00
mjollnir_
fbc525bc0b Correcting code to remove warning originating from earlier commit
Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-19 02:31:32 +00:00
martinlanghoff
930413b133 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.
2006-04-19 02:20:48 +00:00
gustav_delius
d1873436d2 Fixed small typo in help file, bug 5243 2006-04-18 23:15:11 +00:00
gustav_delius
c1f52a2f81 Change of words suggested in bug 5245 2006-04-18 23:00:04 +00:00
gustav_delius
a9d80ad800 Fixed small typo in help file. 2006-04-18 22:58:00 +00:00
mjollnir_
eb55a1bfb9 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
2006-04-18 22:57:28 +00:00
mjollnir_
40377b188b 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
2006-04-18 22:55:28 +00:00
mjollnir_
d78a1cf6d8 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
2006-04-18 22:54:51 +00:00
mjollnir_
309c0d55b2 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
2006-04-18 22:54:10 +00:00
gustav_delius
f7fccc0362 Make sure category from correct course is shown. 2006-04-18 22:53:38 +00:00