3.12.0-rc.0


2021-02-21 · 5 · 17 · 69 · 22 · 29 ‍‍

New features

  • Button to unset Slackbridge's importIds (#20549)

  • Cloud Workspace bridge (#20838)

    Adds the new CloudWorkspace functionality.

    It allows apps to request the access token for the workspace it's installed on, so it can perform actions with other Rocket.Chat services, such as the Omni Gateway.

    RocketChat/Rocket.Chat.Apps-engine#382

  • Header with Breadcrumbs (#20609)

    image

  • Statistics about language usage (#20832)

    track what languages get picked the most as preferred ui language.

  • useUserData Hook (#20584)

Improvements

  • Add symbol to indicate apps' required settings in the UI (#20447)

    • Apps are able to define required settings. These settings should not be left blank by the user and an error will be thrown and shown in the interface if an user attempts to save changes in the app details page leaving any required fields blank;
      prt_screen_required_app_settings_warning

    • A sign (*) is added to the label of app settings' fields that are required so as to highlight the fields which must not be left blank.
      prt_screen_required_app_settings

  • Add visual validation on users admin forms (#20308)

  • Added auto-focus for better user-experience. (#19954 by @Darshilp326)

  • Added disable button check for send invite button (#20337 by @yash-rajpal)

    Added Disable check for send invite button. If the text field is empty button would be disabled, and after any valid email is filled, button would get enabled

  • Added key prop, removing unwanted warnings (#20473 by @yash-rajpal)

    Removes warnings listed on the issue

  • Added Markdown links to custom status. (#20470 by @yash-rajpal)

    Added markdown links to user's custom status.

  • Adds tooltip for sidebar header icons (#19934 by @RonLek)

    Previously the header icons in the sidebar didn't show a tooltip when hovered over. This PR fixes that.

    Screenshot from 2020-12-22 15-17-41

  • Better Presentation of Blockquotes (#20750 by @aditya-mitra)

    Changed the values of margin-top and margin-bottom for first and last childs in blockquotes to increase readability.

    Before

    before

    Now

    now

  • Change header based on room type (#20612)

    It brings more flexibility, allowing us to use different hooks and different components for each header

  • Check Livechat message length through REST API endpoint (#20366 by @yash-rajpal)

    Added checks for message length for livechat message api, it shouldn't exceed specified character limit.

  • Customize announcement (#20793 by @im-adithya)

    Included new variables in customizable ones

  • Make message field required in Omnichannel Triggers form (#20827)

  • New chat started system message for Omnichannel conversations (#20814)

  • Replace react-window for react-virtuoso package (#20392)

    Remove:

    • react-window

    • react-window-infinite-loader

    • simplebar-react

    Include:

    • react-virtuoso

    • rc-scrollbars

  • Rewrite Call as React component (#19778)

  • Selector for default custom oauth key field (#20573 by @paulobernardoaf)

  • Update rc-scrollbars (#20733)

Bug fixes

    • Cancel button on Room Notification don't close contextualBar (#20237)
  • Add debouncing to add users search field. (#20297 by @Darshilp326)

    BEFORE

    https://user-images.githubusercontent.com/55157259/105350722-98a3c080-5c11-11eb-82f3-d9a62a4fa50b.mp4

    AFTER

    https://user-images.githubusercontent.com/55157259/105350757-a2c5bf00-5c11-11eb-91db-25c0b9e01a28.mp4

  • Add tooltips to Thread header buttons (#20456 by @aKn1ghtOut)

    Added tooltips to "Expand" and "Follow Message"/"Unfollow Message" in ThreadView for coherency.

  • Added Bio Structure for UserCard, rendering Skeleton View on loading Instead of [Object][Object] (#20305 by @yash-rajpal)

    Added Bio Structure for rendering Skeleton View on loading UserCard.

  • Added check for view admin permission page (#20403 by @yash-rajpal)

    Admin Permission page was visible to all, if you add admin/permissions after the base url. This should not be visible to all user, only people with certain permissions should be able to see this page.
    I am also able to see permissions page for open workspace of Rocket chat.
    image

  • Adding the accidentally deleted tag template, used by other templates (#20772 by @yash-rajpal)

    Adding back accidentally deleted tag Template.

  • Admin cannot clear user details like bio or nickname (#20785 by @yash-rajpal)

    When the API users.update is called to update user data, it passes data to saveUser function. Here before saving data like bio or nickname we are checking if they are available or not. If data is available then we are saving it, but we are not doing anything when data isn't available.

    So unsetting data if data isn't available to save. Will also fix bio and other fields. :)

  • Announcement with multiple lines fixed. (#20381 by @yash-rajpal)

    Announcements with multiple lines used to break UI for announcements bar. Fixed it by replacing all break lines in announcement with empty space (" ") . The announcement modal would work as usual and show all break lines.

  • Atlassian Crowd login with 2FA enabled (#20834)

  • Attachment download from title fixed (#20585 by @yash-rajpal)

    Added target = '_self' to attachment link, this seems to fix the problem, without this attribute, error page is displayed.

  • Blank Personal Access Token Bug (#20193 by @RonLek)

    Adds error when personal access token is blank thereby disallowing the creation of one.

    https://user-images.githubusercontent.com/28918901/104483631-5adde100-55ee-11eb-9938-64146bce127e.mp4

  • CAS login failing due to TOTP requirement (#20840)

  • Changed password input field for password access in edit room info. (#20356 by @Darshilp326)

    Password field would be secured with asterisks in edit room info

    https://user-images.githubusercontent.com/55157259/105641758-cad04f00-5eab-11eb-90de-0c91263edd55.mp4

    .

  • Channel mentions showing user subscribed channels twice (#20484 by @Darshilp326)

    Channel mention shows user subscribed channels twice.

    https://user-images.githubusercontent.com/55157259/106183033-b353d780-61c5-11eb-8aab-1dbb62b02ff8.mp4

  • CORS config not accepting multiple origins (#20696)

    always include only one value in access-control-allow-origin

  • Custom OAuth provider creation from env vars (#20014 by @pierreozoux)

  • Default Attachments - Remove Extra Margin in Field Attachments (#20618 by @aditya-mitra)

    A large amount of unnecessary margin which existed in the Field Attachments inside the DefaultAttachments has been fixed.

    Earlier

    earlier

    Now

    now

  • Default Attachments - Show Full Attachment.Text with Markdown (#20606 by @aditya-mitra)

    Removed truncating of text in Attachment.Text.
    Added Attachment.Text to be parsed to markdown by default.

    Earlier

    earlier

    Now

    now

  • Don't ask again not rendering (#20745)

  • E2E issues (#20704)

  • ESLint Warning - react-hooks/exhaustive-deps (#20586 by @aditya-mitra)

    Added the required dep (label) in useMemo to fix eslint warning react-hooks/exhaustive-deps.

  • Event emitter warning (#20663)

  • External systems not being able to change Omnichannel Inquiry priorities (#20740)

    Due to a wrong property name, external applications were not able to change the priority of Omnichannel Inquires.

  • Feedback on bulk invite (#20339 by @aKn1ghtOut)

    Resolved structure where no response was being received. Changed from callback to async/await.
    Added error in case of empty submission, or if no valid emails were found.

    https://user-images.githubusercontent.com/38764067/105613964-dfe5a900-5deb-11eb-80f2-21fc8dee57c0.mp4

  • Filters are not being applied correctly in Omnichannel Current Chats list (#20320)

    Before

    image

    After

    image

    image

    image

  • Fix Empty highlighted words field (#20329 by @yash-rajpal)

    Able to Empty the highlighted text field in preferences

  • Gif images aspect ratio on preview (#20654)

  • height prop on departments agents table (#20833)

    image

  • Hide system messages not working on second save (#20679)

  • Icon for OTR messages (#20713)

  • Incorrect display of "Reply in Direct Message" in MessageAction (#17968 by @abrom)

    [FIX] Incorrect display of "Reply in Direct Message" in MessageAction

  • Increasing unread counter twice for new threads in DMs or with mentions (#20666)

    • Unread messages count won't be incremented when the message sent is on a thread (thread count is treated different)
  • Links not opening in new tabs (#20651)

  • List of Omnichannel triggers is not listing data (#20624)

    Before

    image

    After

    image

  • Livechat bridge permission checkers (#20653)

    Update to latest patch version of the Apps-Engine with a fix for the Livechat bridge, as seen in RocketChat/Rocket.Chat.Apps-engine#379

  • Mark messages inside a thread as unread (#20726 by @im-adithya)

    Added threads to mark unread action button.

  • Message payload from __my_messages__ stream (#20801)

  • Missing height on departments agents table (#20739)

    image

  • Missing setting to control when to send the ReplyTo field in email notifications (#20744)

    • Add a new setting ("Add Reply-To header") in the Email settings' page to control when the Reply-To header is used in e-mail notifications;

    • The new setting is turned off (false value) by default.

  • New Integration page was not being displayed (#20670 by @yash-rajpal)

  • Notification worker stopping on error (#20605)

  • OAuth Login not working on Firefox (#20722)

  • Omnichannel agents are unable to access the chat queue on the sidebar (#20830)

  • Omnichannel Routing System not assigning chats to Bot agents (#20662)

    The Omnichannel Routing System is no longer assigning chats to bot agents when the bot agent is the default agent of the inquiry.

  • OTR issue (#20592)

    Since the users are not being stored at the user collection anymore (thats a good thing actually), there is no such record to to fetch and show the username.

  • Quoted messages from message links when user has no permission (#20815)

  • Regenerate token modal on top of 2FA modal (#20798)

  • Regular status mutating custom status (#20613)

  • Remove duplicate getCommonRoomEvents() event binding for pinnedMessages (#20179 by @aKn1ghtOut)

    The getCommonRoomEvents() returned functions were bound to the pinnedMessages template twice. This was causing some bugs, as detailed in the Issue mentioned below.

  • Remove duplicate getCommonRoomEvents() event binding for starredMessages (#20185 by @aKn1ghtOut)

    The getCommonRoomEvents() returned functions were bound to the starredMessages template twice. This was causing some bugs, as detailed in the Issue mentioned below.
    I removed the top events call that only bound the getCommonRoomEvents(). Therefore, only one call for the same is left, which is at the end of the file. Having the events bound just once removes the bugs mentioned.

  • Remove warning problems from console (#20800)

  • Removed tooltip in kebab menu options. (#20498 by @Darshilp326)

    Removed tooltip as it was not needed.

    https://user-images.githubusercontent.com/55157259/106246146-a53ca000-6233-11eb-9874-cbd1b4331bc0.mp4

  • Retry icon comes out of the div (#20390 by @im-adithya)

    Changed the height of the div container.

  • Room owner not being able to override global retention policy (#20727)

    use correct permissions to check if room owner can override global retention policy

  • Room Scroll to Bottom (#20649)

  • Room's last message's update date format on IE (#20680)

    The proposed change fixes a bug when updates the cached records on Internet Explorer and it breaks the sidebar as shown on the screenshot below:

    image

  • Save user password and email from My Account (#20737)

  • Selected hide system messages would now be viewed in vertical bar. (#20358 by @Darshilp326)

    All selected hide system messages are now in vertical Bar.

    https://user-images.githubusercontent.com/55157259/105642624-d5411780-5eb0-11eb-8848-93e4b02629cb.mp4

  • Selected messages don't get unselected (#20408 by @im-adithya)

    https://user-images.githubusercontent.com/64399555/105844776-c157fb80-5fff-11eb-90cc-94e9f69649b6.mp4

  • Sending user to home after logging in from resume token query param (#20720)

    Do not redirect to /home anymore after logging in with resumeToken.

  • Server-side marked parsing (#20665)

  • Several Slack Importer issues (#20216)

    • Fix: Slack Importer crashes when importing a large users.json file

    • Fix: Slack importer crashes when messages have invalid mentions

    • Skip listing all users on the preparation screen when the user count is too large.

    • Split avatar download into a separate process.

    • Update room's last message when the import is complete.

    • Prevent invalid or duplicated channel names

    • Improve message error handling.

    • Reduce max allowed BSON size to avoid possible issues in some servers.

    • Improve handling of very large channel files.

  • star icon was visible after unstarring a message (#19645 by @bhavayAnand9)

  • Threads Issues (#20725)

  • Typo in Message Character Limit (#20426 by @aditya-mitra)

    Changed the spelling of Characther to Character

  • Unset tshow on deleted messages (#20444 by @aKn1ghtOut)

    When setting 'Message_ShowDeletedStatus' is set to true, deleting a message with tshow: true causes a bug on the frontend. This issue should, however, never be logically possible as a 'removed' message should not have tshow anyway. Hence, this PR unsets that when the message is set to "Message Removed".

  • Update NPS banner when changing score (#20611)

  • User statuses in admin user info panel (#20341 by @RonLek)

    Modifies user statuses in admin info panel based on their actual status instead of their statusConnection. This enables correct and consistent change in user statuses.
    Also, bot users having status as online were classified as offline, with this change they are now correctly classified based on their corresponding statuses.

    https://user-images.githubusercontent.com/28918901/105624438-b8bcc500-5e47-11eb-8d1e-3a4180da1304.mp4

  • Users autocomplete showing duplicated results (#20481 by @Darshilp326)

    Added new query for outside room users so that room members are not shown twice.

    https://user-images.githubusercontent.com/55157259/106174582-33c10b00-61bb-11eb-9716-377ef7bba34e.mp4

Minor changes
  • Added toast message after deleting file. (#20661 by @Darshilp326)

    https://user-images.githubusercontent.com/55157259/107410849-d1a9c380-6b33-11eb-8d10-3d225dc7a9db.mp4

  • Bump Livechat Widget (#20843)

    Update Livechat version to 1.8.0 .

  • Chore: Change error message when marking empty chat as unread (#20250)

  • Chore: Disable Sessions Aggregates tests locally (#20607)

    Disable Session aggregates tests in local environments
    For context, refer to: #20161

  • Chore: Improve performance of messages’ watcher (#20519)

  • Chore: Push correct Docker tag of service images (#20706)

  • Chore: Remove node-sprite-generator dependency (#20545)

  • Chore: Try building micro services early on CI (#20046)

  • Chore: update RC with the latest fuselage-polyfills (#20709)

  • Exclude user's own password from /me endpoint (#20735)

  • Improve: Add more API tests (#20738)

    Add end-to-end tests for untested endpoints.

  • Language update from LingoHub on 2021-02-15Z (#20757)

  • Merge master into develop & Set version to 3.12.0-develop (#20533)

  • Mixed client and server code on Storybook (#20799)

    For Storybook to work, we've mocked all modules under **/server/, thus making them suitable to hold all code that refers Node.js modules. This implies some duplication, between client/ and server/ modules, mediated by modules under libs/.

  • Regression: Discussions inside direct messages not rendering (#20652)

  • Regression: Fix loadHistory method being called multiple times (#20826)

  • Regression: Fix notification worker not firing (#20829)

  • Regression: Header Styles (#20616)

  • Remove uiKitText reference (#20625)

  • Rewrite: CreateChannel modal component (#20617)

    image

  • RoomFiles hook (#20550)

  • Wrong method used while starring (#20508 by @im-adithya)

    Changed the method from pinMessage to starMessage

‍‍ Contributors

‍‍ Core Team