mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 20:06:46 +02:00
![]() Previously the test was assuming that the user last ping, when accessing to a chat should match the first (enter) system message sent to the chat. And that's ok 99% of times but, if seconds advance between the creation of the chat_users record and the chat_messages one, then they don't match. So now, the assumption is not used anymore and the expectation is the timestamp of that first (enter) system message, explicitly. |
||
---|---|---|
.. | ||
backup | ||
classes | ||
db | ||
gui_ajax | ||
gui_basic | ||
gui_header_js | ||
gui_sockets | ||
lang/en | ||
pix | ||
tests | ||
beep.mp3 | ||
chat_ajax.php | ||
chatd.php | ||
empty.php | ||
index.php | ||
lib.php | ||
locallib.php | ||
mod_form.php | ||
README.txt | ||
renderer.php | ||
report.php | ||
settings.php | ||
styles.css | ||
upgrade.txt | ||
version.php | ||
view.php |
Official Chat Module for Moodle ------------------------------ The chat module now supports a backend daemon for more efficiency. It's still buggy and being worked on, but if you want to test it and help out here are some quick instructions: 1) Admin -> Config -> Modules -> Chat -> Settings 2) Set the method to "sockets" and set up the ports etc 3) Start the server like this (from the Unix command line): cd moodle/mod/chat php chatd.php --start & 4) Go to a chat room in Moodle and open it as normal. ------ KNOWN PROBLEMS - User list is not always working - Some browsers (eg Safari) cause lines to be repeated by 10 - 20 times - Occasionally "Document was empty" messages Help solving these very welcome! Martin, 31 July 2004