Releases: kasimi/mChat
Releases · kasimi/mChat
mChat 2.1.4
New features & Improvements
- Compatibility with phpBB 3.3.x and jQuery 3
- Added support for Emojis in Rules and Static Message fields
- Allow adding line-breaks when editing a message
- Allow setting initial number of messages to
0
- Update username of post notification when changing post author
- Delete post notification when a post is deleted
- Adjusted avatar size & message text padding
- Updated autosize.js plugin to 4.0.2
Bug fixes
- Minor language fixes
- Removed delay & animation when adding multiple messages causing Chromium-based browsers to freeze
- Don't fetch
config_text
table values on every request - Fixed vendor-specific CSS fallback values for
justify-content
Events
- Added event
dmzx.mchat.process_message_before
- Added event
dmzx.mchat.get_messages_modify_rowset
- Added event
dmzx.mchat.assign_bbcodes_smilies_before
- Added event
dmzx.mchat.header_link_template_data
- Added event
dmzx.mchat.process_notifications_after
- Added event
dmzx.mchat.process_notifications_before
- Added
total_messages
todmzx.mchat.render_page_get_messages_before
- Deprecated event
dmzx.mchat.get_messages_modify_sql
mChat 2.1.3
New features
- Added flood messages option. This option allows the admin to set a number of messages a user can send consecutively before another user is required to post in the chat.
Bug fixes & Improvements
- Relaxed flood time limit from 1 minute to 1 hour
- Fixed wrong escaping in smiley codes
- Remove tags from hidden username string
- Enable autocomplete and spellcheck on textarea
- Removed unused parser dependency from functions service
- Fixed typo in disallowed BBCodes setting
mChat 2.1.2
Improvements
- Allow remembering font color by long pressing/clicking (for mobile users)
- Added vendor prefixes to CSS rules
- Decreased size of sound files
- Don't generate whois URL if user doesn't have permission to use it
- JavaScript: stop work more gracefully upon page unload
- Minor language improvements
- Relaxed limits of several options:
- Relaxed refresh rate limits from 5/60 to 2/3600
- Removed limit of maximum message length
- Removed limit of initial number of messages to display
Bug fixes
- Fixed Ctrl+Enter triggering submit action on buttons
- Fixed wrong
_referer
in AJAX requests if URL rewriting is disabled - Fixed submit button disappearing if no max message length is set
- Fixed footer row spacing
- Fixed link color of mentioned user names
- Removed unused
MCHAT_LIVE_UPDATES
template variable
Style changes
- Added support for we_universal style
- Adjustments for HexagonReborn, CleanSilver and Project Durango (thanks MannixMD)
Event changes
- Added event
dmzx.mchat.log_add_before
- Removed response parameter from
dmzx.mchat.action_refresh_process_log_row
mChat 2.1.1
New features
- Added support for phpBB 3.2 quotes
- Added compatibility with Authorized for urls extension by RMcGirr83 (requires at least 1.0.5)
Bug fixes
- Updated compatibility with Collapsible Categories extension (requires at least 1.0.1)
- Improved displaying long links
- Fixed scrolling glitch when using certain styles
- Fixed bottom pagination container on archive page
- Fixed path issues by sending referer in AJAX requests
- Removed UI controls for input area option
- Fixed ACP option text not wrapping
Events
- Added event
dmzx.mchat.render_page_get_messages_before
- Added
sql_where
andsql_order_by
todmzx.mchat.total_message_count_modify_sql
- Added
template_data
andjump_to_id
todmzx.mchat.render_page_pagination_before
- Added
template_data
todmzx.mchat.render_page_after
mChat 2.1.0
Support for phpBB 3.1.x has been dropped.
See here for a version compatibility matrix.
New features
- Added message reparser: all mChat messages in phpBB 3.1 and earlier format are converted to phpBB 3.2 format automatically, behind the scenes
- Moved many links (archive, rules etc) and options (toggle sound etc) to a new navbar dropdown menu to clean up the user interface
- Modernized text-area and BBCode & smilies buttons
- Added ACP option to disable logging of all mChat actions (edit, delete, prune, purge)
Front-end changes
- Moved status icons to mChat's container header
- Removed session details from user interface
- Removed input auto grow
- Removed option "Display link in the navbar" (navbar item is always displayed)
- Don't display popup when trying to send an empty message
- Don't display a zero in navbar item if no user is chatting
- Moved "who is chatting" and character count below input field
- Fixed "who is chatting" display issue on custom page
- Added some space above legend on custom and archive pages
- Fixed textarea background color in custom styles
- Display message and end chat session if board is disabled
- Don't display BBCodes and smilies panels more than once (improves compatibility with other extensions)
- Moved ACP option for sessions in navbar link to correct place
Minor improvements and bug fixes
- Check for minimum required PHP version when installing mChat
- Improved client session handling
- Improved wording of like and quote permissions
- Improved wording of global user settings explanation
- Fixed display issue of static message in IE
- Fixed checking user permissions when adding login notification
- Skip one refresh request when AJAX request failed
- Don't render BBCodes in post subjects and forum names of notification messages
- Use custom template name for form token (improves compatibility with other extensions)
- Fixed spelling in error messages
- Removed unused error messages from language files
- Removed pause on input feature
New Events
- Added PHP event
dmzx.mchat.purge_before
- Added template events
dmzx_mchat_panel_whois_after
,dmzx_mchat_static_container_before
,dmzx_mchat_static_container_after
mChat 2.0.3
Bug fixes
- Fixed error when not using relative time
- Removed character limits for rules and static message from language strings
- Don't remove line breaks in
[code]
tags - Minor code improvements
Please note that this is the last version that supports phpBB 3.1. The next mChat update will require at least phpBB 3.2.0.
mChat 2.0.2
New features
- Added option to enable checking for
u_mchat_use
permission before adding a post notification message. This is useful for bot users that are not supposed to generate "new post" messages. - Moved rules and static message texts to the
phpbb_config_text
table. This allows you to use more than 255 characters.
New events
- Added PHP event
dmzx.mchat.prune_sql_before
Bug fixes/changes
- Removed username from prune log message
- Removed broken profile URL when mentioning guest users
- Fixed who is chatting updates not working under certain conditions
- Improved wording in ACP for message sorting on archive page
- Don't send AJAX requests if page is unloading
- Use correct user IP for mChat sessions table
- Fixed removing disallowed BBCodes
- Removed duplicate root path in profile links
- Many other small code improvements
Style improvements
- Use Twig template syntax
- Hide some options in the UCP if the user doesn't have
u_mchat_use
permission - Removed space between navbar icon and text on 3.2.x installations
- Fixed HTML markup on ACP Global settings page
- Adapted ACP Submit/Reset buttons to phpBB's ACP style
Custom style adjustments
- Fall back to default icon color for Subway style if Options Panel extension isn't enabled
- Allow collapsing mChat when using the Elegance style
- Adjustments for MyInvision style (thanks to MannixMD)
- Adjustments for Hexagon style (thanks to MannixMD)
mChat 2.0.1
New features
- Added ACP option for sorting messages in the archive
- Added profile link when mentioning users
- Added option to delete user's mChat messages when user is deleted
Bug fixes/changes
- Fixed undefined error if audio file can't be loaded
- Display meaningful error when deleting/editing missing messages
- Fail gracefully if localStorage is not available
- Don't use HTML entities in mChat action URLs
- Remove copyright below input field
- Fixed resetting input field width when clicking the submit button
- Update input field width when quoting and liking messages
- Fixed wrong forum ID in notification after moving a topic
- Removed 00: if session length is shorter than one hour
- Remove leading & trailing | characters to not break allowed BBCodes
- Only add CSS for mChat container height where necessary
- Removed redundant custom page explanation in ACP
- Minor improvements for ACP language
Style improvements
- Fixed space between sound checkbox and label
- Fixed zooming on mobile devices when focusing input element
- Fixed displaying messages for Canvas style on mobile resolutions
- Removed collapse icon in PBWow3
- Fixed wrapper height for Modern-silver style
- Added white message icons for 19 dark styles
- Added template events
dmzx_mchat_messages_header_before
,dmzx_mchat_messages_header_after
,dmzx_mchat_messages_text_before
,dmzx_mchat_messages_text_after
,dmzx_mchat_messages_icons_after
mChat 2.0.0
Final release of mChat 2.0.0.
There are no changes between 2.0.0-RC7 and 2.0.0-final except for the version number.
mChat 2.0.0-RC7
Release highlights
Version
- Bumped minimum phpBB version to
3.1.8-RC1
- Fixed mChat version check
Improved ACP & pruning settings
- Added units to ACP general settings page
- Added time selector in pruning settings
- Added prune GC interval to pruning settings
Added new events
- Added events to ACP pages
- Added events to UCP preferences page
- Added events to settings class
- Added overall_header|footer template events
- Added template events for adding message icons
- Added template variables for IP and permission buttons
Changes & bug fixes
- Added headings to custom and archive pages
- Added message background color animation
- Don't display popup for unknown and timeout errors
- Fixed bugs when auto-scrolling messages
- Fixed animation duration & easing
- Limit image size to 100%
- Fixed message order in archive if not
mchat_message_top
- Take user's
mchat_posts
config into account when viewing the archive - Fixed removing all BBCodes if no BBCodes are disallowed
- Update character count when clicking on BBCodes and smilies
- Moved checkbox for disabling sound before text
- Fixed disallowed BBCodes for 3.2.x
- Fixed notifications of deleted posts
- Fixed displaying mChat at the top of the index page for Canvas style
Template fixes behind the scenes
- Use
@vendor_extname/
for all INCLUDEs - Moved CSS media rules to the end of the file
- Moved inline CSS for container height to style tag in header
- Added
data-last-responsive
attribute to navigation element for 3.1.x