Commit Graph

11 Commits

Author SHA1 Message Date
skodak b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +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
stronk7 894ff63f8f Tabs are out 2005-05-16 22:22:31 +00:00
moodler b61aed4297 Fixed up some layout issues in the configuration files 2005-02-08 09:23:21 +00:00
stronk7 ebfff4e014 admin/module.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 09:48:08 +00:00
gustav_delius b4510d5333 closed some input tags 2004-09-12 22:23:51 +00:00
gustav_delius 1c61c8d6bc fixed capitalization and quoting of attribute values 2004-09-12 15:06:29 +00:00
defacer 0469cccfe2 Merging latest changes from MOODLE_14_STABLE 2004-08-26 10:44:32 +00:00
moodler d90de21cfc Fixed a typo 2004-07-30 15:48:02 +00:00
moodler 101f83b5f4 New config for socket chat 2004-07-30 15:37:26 +00:00
moodler b5012f3eb5 COnfiguration variables can now be edited via GUI 2003-08-23 14:03:14 +00:00