mChat 2.0.0-RC6
Pre-release
Pre-release
Changelog
New features
- Implemented Extensions Team feedback
- Updated sound files, now compatible with GPLv2
- Remember color on Ctrl+Click
- Add message text when composing a PM
- Added number of active chat sessions to navbar link
- Added login notification messages
- Translated notification messages
- Added edit & delete moderator permissions
- Use localStorage, removed all cookies
- Faster animations
- New styles: Canvas, Subway
Added numerous events to allow exciting addon extensions
- 21 PHP events
- 21 HTML template events
- 11 JavaScript events
- Note for developers of mChat addons for RC5: some events are renamed in RC6:
- PHP events
dmzx.mchat.core.render_helper_add
=>dmzx.mchat.action_add_after
dmzx.mchat.core.render_helper_edit
=>dmzx.mchat.action_edit_after
dmzx.mchat.core.render_helper_delete
=>dmzx.mchat.action_delete_after
dmzx.mchat.core.render_helper_aft
=>dmzx.mchat.render_page_after
- Template events
dmzx_mchat_body_before
=>dmzx_mchat_before
dmzx_mchat_buttons_before
=>dmzx_mchat_buttons_container_before
- PHP events
Improved message pruning
- Moved message pruning to cron class
- Added "Prune messages now" button to ACP
- Allow a time period to be specified for retained number of messages when pruning
- Don't allow changing pruning settings for non founders
Improved compatibility with other extensions
- Compatibility with Posting Buttons, thanks to spello
- Use event core.submit_post_end for post notifications for compatibility with QuickReply Reloaded
- Force absolute date formatting, compatibility with Relative Dates
Improved performance
- Saving a database query each time the session is updated
- Moved session cleaning to core event
cron.task.core.tidy_sessions
, saving many unnecessary database queries
Bug Fixes
- URL-encoded brackets in ACP permission links
- Don't animate new messages after session timeout, thanks to voom
- Fixed UCP title, thanks to spello
- Don't scroll message container when new messages are added but latest message isn't visible
- Include BBCodes in message length calculation
- Include hidden self in who is chatting
- Fixed disallowing BBCode list item
- Hide chat sessions for users who are hidden temporarily
- Append session ID to post notifications
- Apply uppercase after message processing to prevent broken links
- Don't display error popup when page is unloading
- Don't display quote, like or mention buttons if user doesn't have
u_mchat_use permission
- Don't display quote or like buttons if BBCodes are not allowed
- Always full input field width on mobile devices
- Make Ctrl+Enter send message when using textarea
- Fixed overriding min post characters and max smilies
- Improved appearance of buttons in 3.2.x
is_enableable()
now checks for remnants from 3.0 MOD and denies installation