moodle/mod/chat
David Mudrák 005b00dd9b MDL-68645 output: Do not apply filters when creating calendar events
Applying filters on an activity module description when using it as a
new calendar event's description is bad m'kay? We need to store the raw
text and apply the filters only when we actually display the text. That
way, filters (such as multi-language content) may actually fully work
and we do not initialise the theme and output machinery.

Additionally, we need to explicitly set the format of the description
text to HTML (because we have converted it to it already). Otherwise it
defaults to the current user's preferred editor format.

This is still a pragmatic hot-fix solution. The proper solution would be
to pass the raw text, format and embedded files.
2020-05-13 10:03:01 +02:00
..
backup MDL-60793 mod_chat: Renamed 'system' into 'issystem' 2017-12-18 15:23:11 +01:00
classes MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
db MDL-65809 upgrade: clean < 3.5.0 upgrade steps 2019-12-20 12:20:43 +01:00
gui_ajax MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
gui_basic MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
gui_header_js MDL-57772 chat: BEEP is back baby! 2017-11-07 11:25:02 +08:00
gui_sockets
lang/en MDL-66592 analytics: Split text and link 2019-11-07 08:25:35 +08:00
pix MDL-50175 graphics: Optimized SVGs with SVGO. 2016-02-25 11:56:42 +00:00
tests MDL-65517 block_timeline: Hide completed course modules in Timeline 2019-07-12 09:16:40 +10:00
beep.mp3 MDL-57772 chat: BEEP is back baby! 2017-11-07 11:25:02 +08:00
chat_ajax.php MDL-60793 mod_chat: Renamed 'system' into 'issystem' 2017-12-18 15:23:11 +01:00
chatd.php MDL-63422 general: review core loop / switch / case / continue 2018-10-31 00:17:59 +01:00
empty.php
index.php
lib.php MDL-68645 output: Do not apply filters when creating calendar events 2020-05-13 10:03:01 +02:00
locallib.php MDL-61484 mod_chat: Add CHAT_SESSION_GAP constant 2018-06-11 15:59:13 +08:00
mod_form.php
README.txt
renderer.php
report.php MDL-46513 mod_chat: pass has_capability result to fullname function 2018-05-28 15:11:25 +08:00
settings.php
styles.css MDL-62151 Theme boost: mod_chat styles 2018-05-03 09:34:40 +02:00
upgrade.txt MDL-59287 upgrade.txt: avoid misleading versions 2017-07-11 11:30:43 +01:00
version.php MDL-67199 versions: bump all versions and requires near release 2019-11-12 17:57:08 +01:00
view.php MDL-57394 mod_chat: Move get session messages code to new function 2018-01-30 14:21:13 +01:00

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