Moodle

META: chat module improvements

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.6.2, 2.0
  • Fix Version/s: DEV backlog
  • Component/s: Chat
  • Labels:
    None
  • Difficulty:
    Moderate
  • Affected Branches:
    MOODLE_16_STABLE, MOODLE_20_STABLE

Description

1. Develope a new ajax interface
2. Apply chat_revamped patch

he chat daemon was not working; apparently chat daemon module is not being maintained as the header_js versions improve. The common codes in the three different methods (keepalive, streams, and chatd) should better be collected in shared functions, to minimize update conflicts.

I have corrected some of the errors in different chat methods, and added some new features. all three methods can now work synchronously. you can download the updated module from:
http://www.ceng.metu.edu.tr/~ahmet/Wiki/software/moodle_chat_revamped/moodle_chat_revamped

here is a summary of the new features:

        • chatinput: added multiline text (use Shift+Enter to send), html, and drawing input features.
  • chatd: works synchronously with other methods.
  • chatd: Sending small but continuous dummy data after each message (instead of sending a single big chunk of dummy data), works better for Firefox. IE doesn't need this dummy data. I haven't tested this for other browsers.
  • chatd: support for multiple sites.
  • fixed the jsupdated bug. now the messages is updated as soon as user sends a message.
  • Users can select the chat method and refresh rate.
  • users can select to show/hide pictures and enter/exit messages in chat session or in old chat reports.
  • fixed grouping bugs in chat reports. {/quote}

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

Just saw this, sorry Ahmet! We need to do something with this!

Show
Martin Dougiamas added a comment - Just saw this, sorry Ahmet! We need to do something with this!
Hide
Eloy Lafuente (stronk7) added a comment -

Uhm, great additions Ahmet!

Could we try to:

1) Separate bug fixes and new functionalities, so
2) Apply fixes (chatd, js, grouping) to 1.9 and HEAD
3) Check new functionalities and see how they can fit into HEAD

Cool!

Show
Eloy Lafuente (stronk7) added a comment - Uhm, great additions Ahmet! Could we try to: 1) Separate bug fixes and new functionalities, so 2) Apply fixes (chatd, js, grouping) to 1.9 and HEAD 3) Check new functionalities and see how they can fit into HEAD Cool!
Hide
Dongsheng Cai added a comment - - edited

Eloy, gui_header_js is too old (including this revamped module), it is hard to maintain, so I created a new GUI, please see the sub-taks MDL-14651

Show
Dongsheng Cai added a comment - - edited Eloy, gui_header_js is too old (including this revamped module), it is hard to maintain, so I created a new GUI, please see the sub-taks MDL-14651

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated: