Bump version to 4.3.0-rc.0

pull/24047/head 4.3.0-rc.0
Guilherme Gazzo 3 years ago
parent 84da0abb28
commit 874907059b
  1. 2
      .docker/Dockerfile.rhel
  2. 613
      .github/history.json
  3. 2
      .snapcraft/resources/prepareRocketChat
  4. 2
      .snapcraft/snap/snapcraft.yaml
  5. 374
      HISTORY.md
  6. 2
      app/utils/rocketchat.info
  7. 2
      package-lock.json
  8. 2
      package.json

@ -1,6 +1,6 @@
FROM registry.access.redhat.com/ubi8/nodejs-12
ENV RC_VERSION 4.3.0-develop
ENV RC_VERSION 4.3.0-rc.0
MAINTAINER buildmaster@rocket.chat

@ -67861,6 +67861,619 @@
"5.0"
],
"pull_requests": []
},
"4.3.0-rc.0": {
"node_version": "12.22.1",
"npm_version": "6.14.1",
"apps_engine_version": "1.29.0-alpha.0.5711",
"mongo_versions": [
"3.6",
"4.0",
"4.2",
"4.4",
"5.0"
],
"pull_requests": [
{
"pr": "24008",
"title": "Regression: Fix omnichannel empty source usage",
"userLogin": "ggazzo",
"contributors": [
"ggazzo"
]
},
{
"pr": "23924",
"title": "[IMPROVE] Webdav methods sanitization",
"userLogin": "dougfabris",
"description": "The improvement modify `server_url` and `user_id` params into `serverURL` and `userId` more suitable to our camelCase pattern. Also converts the webdav methods into .ts helping us to prevent issues in the next modal rewrites efforts.",
"contributors": [
"dougfabris"
]
},
{
"pr": "23875",
"title": "Chore: update docker image base to latest node 12 patch",
"userLogin": "debdutdeb",
"contributors": [
"debdutdeb",
"sampaiodiego",
"web-flow"
]
},
{
"pr": "24007",
"title": "[IMPROVE] Replace SortListItem and CreateListItem with ListItem",
"userLogin": "juliajforesti",
"contributors": [
"juliajforesti",
"ggazzo"
]
},
{
"pr": "23912",
"title": "[NEW] Show Omnichannel room icon based on source definition",
"userLogin": "AllanPazRibeiro",
"milestone": "4.3.0",
"contributors": [
"AllanPazRibeiro",
"ggazzo",
"d-gubert",
"web-flow"
]
},
{
"pr": "23925",
"title": "[NEW][APPS] Add new email event for apps",
"userLogin": "d-gubert",
"description": "Introduces a new event called before an email is sent by the Mailer. Apps can intercept and modify the email that will be sent, or even prevent it from being sent altogether. For more details, check https://github.com/RocketChat/Rocket.Chat.Apps-engine/pull/461/files#diff-301e8a58164edbf315da2a43c4923f153dbc909573de1e60aa9f730f7488ac82",
"milestone": "4.3.0",
"contributors": [
"d-gubert"
]
},
{
"pr": "19640",
"title": "[FIX] Changes on department agents should mark form as dirty",
"userLogin": "rafaelblink",
"milestone": "4.3.0",
"contributors": [
"rafaelblink",
"web-flow",
"gabriellsh",
"renatobecker",
"dougfabris"
]
},
{
"pr": "23904",
"title": "[FIX] Jitsi call already ended",
"userLogin": "Aman-Maheshwari",
"description": "- Fix Jitsi timeout update -- which caused the \"Jitsi call already ended\" error when trying to join a call some time after its creation;",
"contributors": [
"Aman-Maheshwari",
"yash-rajpal"
]
},
{
"pr": "23939",
"title": "[NEW][EE] Introduce fallback department support",
"userLogin": "KevLehman",
"milestone": "4.3.0",
"contributors": [
"KevLehman"
]
},
{
"pr": "23959",
"title": "[FIX] teams.leave client usage",
"userLogin": "dougfabris",
"milestone": "4.3.0",
"contributors": [
"dougfabris"
]
},
{
"pr": "23679",
"title": "[NEW][APPS] Allow Rocket.Chat Apps to register custom action buttons",
"userLogin": "d-gubert",
"description": "Add an action button manager that allows apps to register custom action buttons that trigger interaction callbacks in them",
"milestone": "4.3.0",
"contributors": [
"d-gubert",
"web-flow"
]
},
{
"pr": "23843",
"title": "[NEW][APPS] Allow apps to open contextual bar",
"userLogin": "thassiov",
"description": "Opens a contextual bar using app ui interactions (`CONTEXTUAL_BAR_OPEN`)\r\n\r\nhttps://user-images.githubusercontent.com/733282/146704076-d2d115f2-6ca6-4ed0-b450-81be580889a4.mp4",
"milestone": "4.3.0",
"contributors": [
"thassiov"
]
},
{
"pr": "23786",
"title": "Chore: Enable prefer-optional-chain ESLint rule for TypeScript files",
"userLogin": "tassoevan",
"description": "> Code is bad. It rots. It requires periodic maintenance. It has bugs that need to be found. New features mean old code has to be adapted.\r\n> The more code you have, the more places there are for bugs to hide. The longer checkouts or compiles take. The longer it takes a new employee to make sense of your system. If you have to refactor there's more stuff to move around.\r\n> Furthermore, more code often means less flexibility and functionality. This is counter-intuitive, but a lot of times a simple, elegant solution is faster and more general than the plodding mess of code produced by a programmer of lesser talent.\r\n> Code is produced by engineers. To make more code requires more engineers. Engineers have n^2 communication costs, and all that code they add to the system, while expanding its capability, also increases a whole basket of costs.\r\n> You should do whatever possible to increase the productivity of individual programmers in terms of the expressive power of the code they write. Less code to do the same thing (and possibly better). Less programmers to hire. Less organizational communication costs.\r\n\r\n— <cite>[Rich Skrenta][1]</cite>\r\n\r\nMixing two problem domains in code is prone to errors. In this small example\r\n\r\n```ts\r\ndeclare const y: { z: unknown } | undefined;\r\n\r\nconst x = y && y.z;\r\n```\r\n\r\nwe're (1) checking the nullity of `y` and (2) attributing `y.z` to `x`, where (2) is _clearly_ the main problem we're solving with code. The optional chaining is a good technique to handle nullity as a mere implementation detail:\r\n\r\n```ts\r\ndeclare const y: { z: unknown } | undefined;\r\n\r\nconst x = y?.z;\r\n```\r\n\r\nAttributing `y.z` to `x` is more easily readable than the nullity check of `y`.\r\n\r\nThis PR aims to add `@typescript-eslint/prefer-optional-chain` rule to ESlint configuration at warning level.",
"contributors": [
"tassoevan",
"sampaiodiego",
"web-flow"
]
},
{
"pr": "23996",
"title": "Chore: Remove the `mobile-download-file` permission",
"userLogin": "matheusbsilva137",
"description": "- Remove the `mobile-download-file` permission and its descriptions.",
"contributors": [
"matheusbsilva137"
]
},
{
"pr": "23823",
"title": "[FIX] LDAP Sync doing nothing when set to only import new users.",
"userLogin": "pierre-lehnen-rc",
"milestone": "4.3.0",
"contributors": [
"pierre-lehnen-rc"
]
},
{
"pr": "23816",
"title": "Chore: Centralize email validation functionality",
"userLogin": "KevLehman",
"description": "- Create lib for validating emails\r\n- Modify places that validate emails to use the new central function",
"contributors": [
"KevLehman"
]
},
{
"pr": "23972",
"title": "[NEW][APPS] getUserUnreadMessageCount Bridge",
"userLogin": "ggazzo",
"contributors": [
"ggazzo",
"d-gubert"
]
},
{
"pr": "23993",
"title": "Chore: Deleted LivechatPageVisited",
"userLogin": "ostjen",
"contributors": [
"ostjen"
]
},
{
"pr": "23987",
"title": "[FIX] Broken links present in some languages",
"userLogin": "aswinidev",
"contributors": [
"aswinidev"
]
},
{
"pr": "23846",
"title": "Chore: added last login to users.list",
"userLogin": "ostjen",
"contributors": [
"ostjen"
]
},
{
"pr": "23574",
"title": "[FIX] Email notifications settings not being honored on new DMs",
"userLogin": "ostjen",
"contributors": [
"ostjen",
"web-flow",
"sampaiodiego"
]
},
{
"pr": "23805",
"title": "[FIX] Headers already sent error when user data download is disabled",
"userLogin": "sampaiodiego",
"description": "When using the export message tool when trying to download the file using the link sent via email if the feature \"Export User Data\" is disabled an error was being thrown causing the request to halt.\r\n\r\nThis is the error shown in the logs:\r\n```\r\n=== UnHandledPromiseRejection ===\r\nError [ERR_HTTP_HEADERS_SENT] [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client\r\n at ServerResponse.setHeader (_http_outgoing.js:530:11)\r\n at ServerResponse.res.setHeader (/app/bundle/programs/server/npm/node_modules/meteor/simple_json-routes/node_modules/connect/lib/patch.js:134:22)\r\n at app/user-data-download/server/exportDownload.js:14:7\r\n at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40 {\r\n code: 'ERR_HTTP_HEADERS_SENT'\r\n}\r\n---------------------------------\r\nErrors like this can cause oplog processing errors.\r\nSetting EXIT_UNHANDLEDPROMISEREJECTION will cause the process to exit allowing your service to automatically restart the process\r\nFuture node.js versions will automatically exit the process\r\n=================================\r\n```",
"contributors": [
"sampaiodiego"
]
},
{
"pr": "23991",
"title": "i18n: Language update from LingoHub 🤖 on 2021-12-20Z",
"userLogin": "lingohub[bot]",
"contributors": [
null
]
},
{
"pr": "23901",
"title": "[FIX] broken `Word Placement Anywhere` and `Run on edits` toggles in integration page",
"userLogin": "aswinidev",
"milestone": "4.3.0",
"contributors": [
"aswinidev"
]
},
{
"pr": "23973",
"title": "[FIX] OTR not working",
"userLogin": "gabriellsh",
"description": "A rule on the user notification streamer was changed recently, and the check for writing on the streamer was wrong. Changed it to allow all logged users.",
"milestone": "4.3.0",
"contributors": [
"gabriellsh"
]
},
{
"pr": "23833",
"title": "[FIX] Add missing .png to clipboard uploaded file name",
"userLogin": "dougfabris",
"milestone": "4.3.0",
"contributors": [
"dougfabris",
"gabriellsh"
]
},
{
"pr": "23974",
"title": "Chore: Use only LivechatTriggerRaw model",
"userLogin": "sampaiodiego",
"contributors": [
"sampaiodiego"
]
},
{
"pr": "23948",
"title": "[FIX] Missing edit icon in sequential thread messages",
"userLogin": "dougfabris",
"description": "### before\r\n![image](https://user-images.githubusercontent.com/27704687/146083450-ca6d7197-dc55-4058-8212-943b42c82473.png)\r\n\r\n### after\r\n![image](https://user-images.githubusercontent.com/27704687/146083055-36c9731a-33c6-483a-93a5-1355d8689e3a.png)",
"milestone": "4.3.0",
"contributors": [
"dougfabris"
]
},
{
"pr": "23910",
"title": "[FIX] Removing Edit message from messageBox on room changed",
"userLogin": "yash-rajpal",
"description": "Removing edit message from messageBox and local storage on messageBox destroyed.",
"milestone": "4.3.0",
"contributors": [
"yash-rajpal"
]
},
{
"pr": "23945",
"title": "[IMPROVE] Allow e-mail channel to be used without default department.",
"userLogin": "cauefcr",
"description": "Due to a missing condition in the e-mail input processing, Rocket.Chat was unable to receive e-mails from e-mail channels that did not have a default department.",
"contributors": [
"cauefcr",
"murtaza98",
"web-flow"
]
},
{
"pr": "23466",
"title": "Bump mailparser from 3.2.0 to 3.4.0",
"userLogin": "dependabot[bot]",
"contributors": [
"dependabot[bot]",
"web-flow"
]
},
{
"pr": "23853",
"title": "Bump thehanimo/pr-title-checker from 1.2 to 1.3.4",
"userLogin": "dependabot[bot]",
"contributors": [
"dependabot[bot]",
"web-flow",
"sampaiodiego"
]
},
{
"pr": "23882",
"title": "[FIX] Custom emoji route in admin",
"userLogin": "sidmohanty11",
"description": "https://user-images.githubusercontent.com/73601258/144975689-912cfd73-da16-433c-899a-4d4ffac8e146.mp4",
"milestone": "4.3.0",
"contributors": [
"sidmohanty11",
"dougfabris"
]
},
{
"pr": "23888",
"title": "[FIX] Popover position for arabic languages",
"userLogin": "yash-rajpal",
"milestone": "4.3.0",
"contributors": [
"yash-rajpal"
]
},
{
"pr": "23347",
"title": "[FIX] creating room with federated member",
"userLogin": "qwertiko",
"milestone": "4.2.2",
"contributors": [
"qwertiko",
"web-flow"
]
},
{
"pr": "23930",
"title": "i18n: Language update from LingoHub 🤖 on 2021-12-13Z",
"userLogin": "lingohub[bot]",
"contributors": [
null
]
},
{
"pr": "21025",
"title": "[NEW][APPS] Possibility to set room closer via Apps LivechatBridge.closeRoom",
"userLogin": "cuonghuunguyen",
"description": "Add an optional param named `closer` into `LivechatBridge.closeRoom` so that it will be possible to close the room and send a close room message with the correct room closer.\r\nIf the param is not passed, use the room visitor as the room closer.",
"contributors": [
null,
"d-gubert"
]
},
{
"pr": "23860",
"title": "[FIX] Custom status doesn't update properly",
"userLogin": "dougfabris",
"contributors": [
"dougfabris",
"gabriellsh"
]
},
{
"pr": "23921",
"title": "Bump cookie-parser from 1.4.5 to 1.4.6 in /ee/server/services",
"userLogin": "dependabot[bot]",
"contributors": [
"dependabot[bot]",
"web-flow"
]
},
{
"pr": "23914",
"title": "Chore: Fix hasRole warning",
"userLogin": "sampaiodiego",
"contributors": [
"sampaiodiego"
]
},
{
"pr": "23922",
"title": "Chore: Update pino deps",
"userLogin": "sampaiodiego",
"contributors": [
"sampaiodiego"
]
},
{
"pr": "23689",
"title": "Bump path-parse from 1.0.6 to 1.0.7",
"userLogin": "dependabot[bot]",
"contributors": [
"dependabot[bot]",
"web-flow"
]
},
{
"pr": "23526",
"title": "Bump @rocket.chat/string-helpers from 0.29.0 to 0.30.1 in /ee/server/services",
"userLogin": "dependabot[bot]",
"contributors": [
"dependabot[bot]",
"web-flow"
]
},
{
"pr": "23289",
"title": "Bump pm2 from 5.1.1 to 5.1.2 in /ee/server/services",
"userLogin": "dependabot[bot]",
"contributors": [
"dependabot[bot]",
"web-flow"
]
},
{
"pr": "23913",
"title": "Chore: Update Livechat",
"userLogin": "MartinSchoeler",
"milestone": "4.2.1",
"contributors": [
"MartinSchoeler"
]
},
{
"pr": "23908",
"title": "[FIX] Translations for App Select Settings not working",
"userLogin": "murtaza98",
"description": "Derived from PR https://github.com/RocketChat/Rocket.Chat/pull/19238",
"contributors": [
"murtaza98"
]
},
{
"pr": "23848",
"title": "[FIX] DMs being created with username instead of user's name",
"userLogin": "gabriellsh",
"milestone": "4.3.0",
"contributors": [
"gabriellsh"
]
},
{
"pr": "23879",
"title": "[IMPROVE] Update \"Message Erasure Type\" setting's description",
"userLogin": "matheusbsilva137",
"description": "- Improves the \"Message Erasure Type\" setting's description by providing more details regarding the expected behavior of each option (\"Keep Messages and User Name\", \"Delete All Messages\" and \"Remove link between user and messages\");\r\n- Remove outdated translations (for this setting's description).",
"contributors": [
"matheusbsilva137"
]
},
{
"pr": "23796",
"title": "[FIX] Segmentation fault on CentOS 7 due to outdated `sharp`",
"userLogin": "tassoevan",
"description": "Upgrades `sharp` to avoid a segmentation fault on CentOS 7 during startup related to `sharp.node` being loaded via `process.dlopen()`.\r\n\r\nSuggested as a fix for versions `4.0.x` and `4.1.x`.",
"milestone": "4.2.1",
"contributors": [
"tassoevan"
]
},
{
"pr": "23819",
"title": "[IMPROVE] Omnichannel Visitor Endpoints error handling",
"userLogin": "KevLehman",
"contributors": [
"KevLehman",
"web-flow"
]
},
{
"pr": "23857",
"title": "[FIX] teams.removeMembers client usage",
"userLogin": "dougfabris",
"milestone": "4.2.1",
"contributors": [
"ggazzo",
"dougfabris"
]
},
{
"pr": "23862",
"title": "Regression: Toolbox render item",
"userLogin": "dougfabris",
"contributors": [
"dougfabris"
]
},
{
"pr": "23558",
"title": "[FIX] Fix no message size limit for method sendMessageLivechat",
"userLogin": "cuonghuunguyen",
"contributors": [
null
]
},
{
"pr": "23791",
"title": "[FIX] Modal keeps state if reset too fast.",
"userLogin": "gabriellsh",
"description": "~Queued updates so the Modal has a chance to close.~\r\nUsed a random key to ensure modal doesn't keep it's state.",
"milestone": "4.3.0",
"contributors": [
"gabriellsh"
]
},
{
"pr": "23877",
"title": "Regression: Missing padding in popover with custom template",
"userLogin": "dougfabris",
"description": "![Screen Shot 2021-12-06 at 14 16 40](https://user-images.githubusercontent.com/27704687/144891474-a5bf982e-56af-46df-b472-adf9d999ce02.png)",
"contributors": [
"dougfabris"
]
},
{
"pr": "23873",
"title": "i18n: Language update from LingoHub 🤖 on 2021-12-06Z",
"userLogin": "lingohub[bot]",
"contributors": [
null,
"sampaiodiego"
]
},
{
"pr": "23861",
"title": "[FIX] Wrong button for non trial apps",
"userLogin": "rique223",
"description": "This PR solves a bug on the marketplace that was happening with WhatsApp where it was displaying a trial button even though it didn't have a free trial period. The new verification I've added checks if the app is subscription-based and then checks if it has 0 trial days in all of its tiers. If it does, it shows a subscribe button. If it doesn't, it displays a trial button. Also, I've exposed the itsEnterpriseOnly flag as an extra measure in the case of apps like Facebook Messenger that are enterprise-only and consequently should show the subscribe button. \r\nBefore:\r\n![image](https://user-images.githubusercontent.com/43561537/144687716-baef06ce-7a80-42fc-8393-b0283c0f349a.png) \r\nAfter:\r\n![image](https://user-images.githubusercontent.com/43561537/144687924-1a3eb3a7-783f-4450-abd2-1efa0de64658.png)",
"milestone": "4.2.1",
"contributors": [
"rique223"
]
},
{
"pr": "23859",
"title": "[FIX] Error when creating an inactive user in admin panel",
"userLogin": "matheusbsilva137",
"description": "- Fix `usersInRole` array used to send email to activate a user.",
"milestone": "4.2.1",
"contributors": [
"matheusbsilva137"
]
},
{
"pr": "23822",
"title": "Chore: Create script to add new migrations",
"userLogin": "KevLehman",
"description": "- Create NPM script to add new migrations\r\n- TODO: Infer next migration number from file list",
"contributors": [
"KevLehman"
]
},
{
"pr": "23215",
"title": "[FIX] Add CSP to authorize auto-close of CAS login window",
"userLogin": "goyome",
"description": "Add the hash of the JS inside the page that won't close ( window.close(); )",
"milestone": "4.1.0",
"contributors": [
"goyome",
"pierre-lehnen-rc",
"web-flow"
]
},
{
"pr": "23831",
"title": "[FIX] Missing custom user status ellipsis",
"userLogin": "dougfabris",
"description": "### before\r\n![image](https://user-images.githubusercontent.com/27704687/144270229-baca14f5-e168-42b7-86d1-e7217be561a9.png)\r\n\r\n### after\r\n![image](https://user-images.githubusercontent.com/27704687/144274255-39216e69-8283-45c5-8a77-b835d284f655.png)",
"contributors": [
"dougfabris"
]
},
{
"pr": "23839",
"title": "Chore: Change Menu props to accept next fuselage version",
"userLogin": "ggazzo",
"contributors": [
"ggazzo"
]
},
{
"pr": "23756",
"title": "Chore: Replace new typography",
"userLogin": "juliajforesti",
"contributors": [
"juliajforesti",
"ggazzo"
]
},
{
"pr": "23827",
"title": "Merge master into develop & Set version to 4.3.0-develop",
"userLogin": "sampaiodiego",
"contributors": [
"sampaiodiego",
"web-flow"
]
}
]
}
}
}

@ -1,6 +1,6 @@
#!/bin/bash
curl -SLf "https://releases.rocket.chat/4.3.0-develop/download/" -o rocket.chat.tgz
curl -SLf "https://releases.rocket.chat/4.3.0-rc.0/download/" -o rocket.chat.tgz
tar xf rocket.chat.tgz --strip 1

@ -7,7 +7,7 @@
# 5. `snapcraft snap`
name: rocketchat-server
version: 4.3.0-develop
version: 4.3.0-rc.0
summary: Rocket.Chat server
description: Have your own Slack like online chat, built with Meteor. https://rocket.chat/
confinement: strict

@ -1,4 +1,299 @@
# 4.3.0 (Under Release Candidate Process)
## 4.3.0-rc.0
`2021-12-22 · 7 🎉 · 5 🚀 · 26 🐛 · 26 🔍 · 27 👩💻👨💻`
### 🎉 New features
- **APPS:** Add new email event for apps ([#23925](https://github.com/RocketChat/Rocket.Chat/pull/23925))
Introduces a new event called before an email is sent by the Mailer. Apps can intercept and modify the email that will be sent, or even prevent it from being sent altogether. For more details, check https://github.com/RocketChat/Rocket.Chat.Apps-engine/pull/461/files#diff-301e8a58164edbf315da2a43c4923f153dbc909573de1e60aa9f730f7488ac82
- **APPS:** Allow apps to open contextual bar ([#23843](https://github.com/RocketChat/Rocket.Chat/pull/23843))
Opens a contextual bar using app ui interactions (`CONTEXTUAL_BAR_OPEN`)
https://user-images.githubusercontent.com/733282/146704076-d2d115f2-6ca6-4ed0-b450-81be580889a4.mp4
- **APPS:** Allow Rocket.Chat Apps to register custom action buttons ([#23679](https://github.com/RocketChat/Rocket.Chat/pull/23679))
Add an action button manager that allows apps to register custom action buttons that trigger interaction callbacks in them
- **APPS:** getUserUnreadMessageCount Bridge ([#23972](https://github.com/RocketChat/Rocket.Chat/pull/23972))
- **APPS:** Possibility to set room closer via Apps LivechatBridge.closeRoom ([#21025](https://github.com/RocketChat/Rocket.Chat/pull/21025))
Add an optional param named `closer` into `LivechatBridge.closeRoom` so that it will be possible to close the room and send a close room message with the correct room closer.
If the param is not passed, use the room visitor as the room closer.
- **EE:** Introduce fallback department support ([#23939](https://github.com/RocketChat/Rocket.Chat/pull/23939))
- Show Omnichannel room icon based on source definition ([#23912](https://github.com/RocketChat/Rocket.Chat/pull/23912))
### 🚀 Improvements
- Allow e-mail channel to be used without default department. ([#23945](https://github.com/RocketChat/Rocket.Chat/pull/23945))
Due to a missing condition in the e-mail input processing, Rocket.Chat was unable to receive e-mails from e-mail channels that did not have a default department.
- Omnichannel Visitor Endpoints error handling ([#23819](https://github.com/RocketChat/Rocket.Chat/pull/23819))
- Replace SortListItem and CreateListItem with ListItem ([#24007](https://github.com/RocketChat/Rocket.Chat/pull/24007))
- Update "Message Erasure Type" setting's description ([#23879](https://github.com/RocketChat/Rocket.Chat/pull/23879))
- Improves the "Message Erasure Type" setting's description by providing more details regarding the expected behavior of each option ("Keep Messages and User Name", "Delete All Messages" and "Remove link between user and messages");
- Remove outdated translations (for this setting's description).
- Webdav methods sanitization ([#23924](https://github.com/RocketChat/Rocket.Chat/pull/23924))
The improvement modify `server_url` and `user_id` params into `serverURL` and `userId` more suitable to our camelCase pattern. Also converts the webdav methods into .ts helping us to prevent issues in the next modal rewrites efforts.
### 🐛 Bug fixes
- Add CSP to authorize auto-close of CAS login window ([#23215](https://github.com/RocketChat/Rocket.Chat/pull/23215) by [@goyome](https://github.com/goyome))
Add the hash of the JS inside the page that won't close ( window.close(); )
- Add missing .png to clipboard uploaded file name ([#23833](https://github.com/RocketChat/Rocket.Chat/pull/23833))
- broken `Word Placement Anywhere` and `Run on edits` toggles in integration page ([#23901](https://github.com/RocketChat/Rocket.Chat/pull/23901) by [@aswinidev](https://github.com/aswinidev))
- Broken links present in some languages ([#23987](https://github.com/RocketChat/Rocket.Chat/pull/23987) by [@aswinidev](https://github.com/aswinidev))
- Changes on department agents should mark form as dirty ([#19640](https://github.com/RocketChat/Rocket.Chat/pull/19640) by [@rafaelblink](https://github.com/rafaelblink))
- creating room with federated member ([#23347](https://github.com/RocketChat/Rocket.Chat/pull/23347) by [@qwertiko](https://github.com/qwertiko))
- Custom emoji route in admin ([#23882](https://github.com/RocketChat/Rocket.Chat/pull/23882) by [@sidmohanty11](https://github.com/sidmohanty11))
https://user-images.githubusercontent.com/73601258/144975689-912cfd73-da16-433c-899a-4d4ffac8e146.mp4
- Custom status doesn't update properly ([#23860](https://github.com/RocketChat/Rocket.Chat/pull/23860))
- DMs being created with username instead of user's name ([#23848](https://github.com/RocketChat/Rocket.Chat/pull/23848))
- Email notifications settings not being honored on new DMs ([#23574](https://github.com/RocketChat/Rocket.Chat/pull/23574))
- Error when creating an inactive user in admin panel ([#23859](https://github.com/RocketChat/Rocket.Chat/pull/23859))
- Fix `usersInRole` array used to send email to activate a user.
- Fix no message size limit for method sendMessageLivechat ([#23558](https://github.com/RocketChat/Rocket.Chat/pull/23558))
- Headers already sent error when user data download is disabled ([#23805](https://github.com/RocketChat/Rocket.Chat/pull/23805))
When using the export message tool when trying to download the file using the link sent via email if the feature "Export User Data" is disabled an error was being thrown causing the request to halt.
This is the error shown in the logs:
```
=== UnHandledPromiseRejection ===
Error [ERR_HTTP_HEADERS_SENT] [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at ServerResponse.setHeader (_http_outgoing.js:530:11)
at ServerResponse.res.setHeader (/app/bundle/programs/server/npm/node_modules/meteor/simple_json-routes/node_modules/connect/lib/patch.js:134:22)
at app/user-data-download/server/exportDownload.js:14:7
at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40 {
code: 'ERR_HTTP_HEADERS_SENT'
}
---------------------------------
Errors like this can cause oplog processing errors.
Setting EXIT_UNHANDLEDPROMISEREJECTION will cause the process to exit allowing your service to automatically restart the process
Future node.js versions will automatically exit the process
=================================
```
- Jitsi call already ended ([#23904](https://github.com/RocketChat/Rocket.Chat/pull/23904) by [@Aman-Maheshwari](https://github.com/Aman-Maheshwari) & [@yash-rajpal](https://github.com/yash-rajpal))
- Fix Jitsi timeout update -- which caused the "Jitsi call already ended" error when trying to join a call some time after its creation;
- LDAP Sync doing nothing when set to only import new users. ([#23823](https://github.com/RocketChat/Rocket.Chat/pull/23823))
- Missing custom user status ellipsis ([#23831](https://github.com/RocketChat/Rocket.Chat/pull/23831))
### before
![image](https://user-images.githubusercontent.com/27704687/144270229-baca14f5-e168-42b7-86d1-e7217be561a9.png)
### after
![image](https://user-images.githubusercontent.com/27704687/144274255-39216e69-8283-45c5-8a77-b835d284f655.png)
- Missing edit icon in sequential thread messages ([#23948](https://github.com/RocketChat/Rocket.Chat/pull/23948))
### before
![image](https://user-images.githubusercontent.com/27704687/146083450-ca6d7197-dc55-4058-8212-943b42c82473.png)
### after
![image](https://user-images.githubusercontent.com/27704687/146083055-36c9731a-33c6-483a-93a5-1355d8689e3a.png)
- Modal keeps state if reset too fast. ([#23791](https://github.com/RocketChat/Rocket.Chat/pull/23791))
~Queued updates so the Modal has a chance to close.~
Used a random key to ensure modal doesn't keep it's state.
- OTR not working ([#23973](https://github.com/RocketChat/Rocket.Chat/pull/23973))
A rule on the user notification streamer was changed recently, and the check for writing on the streamer was wrong. Changed it to allow all logged users.
- Popover position for arabic languages ([#23888](https://github.com/RocketChat/Rocket.Chat/pull/23888) by [@yash-rajpal](https://github.com/yash-rajpal))
- Removing Edit message from messageBox on room changed ([#23910](https://github.com/RocketChat/Rocket.Chat/pull/23910) by [@yash-rajpal](https://github.com/yash-rajpal))
Removing edit message from messageBox and local storage on messageBox destroyed.
- Segmentation fault on CentOS 7 due to outdated `sharp` ([#23796](https://github.com/RocketChat/Rocket.Chat/pull/23796))
Upgrades `sharp` to avoid a segmentation fault on CentOS 7 during startup related to `sharp.node` being loaded via `process.dlopen()`.
Suggested as a fix for versions `4.0.x` and `4.1.x`.
- teams.leave client usage ([#23959](https://github.com/RocketChat/Rocket.Chat/pull/23959))
- teams.removeMembers client usage ([#23857](https://github.com/RocketChat/Rocket.Chat/pull/23857))
- Translations for App Select Settings not working ([#23908](https://github.com/RocketChat/Rocket.Chat/pull/23908))
Derived from PR https://github.com/RocketChat/Rocket.Chat/pull/19238
- Wrong button for non trial apps ([#23861](https://github.com/RocketChat/Rocket.Chat/pull/23861))
This PR solves a bug on the marketplace that was happening with WhatsApp where it was displaying a trial button even though it didn't have a free trial period. The new verification I've added checks if the app is subscription-based and then checks if it has 0 trial days in all of its tiers. If it does, it shows a subscribe button. If it doesn't, it displays a trial button. Also, I've exposed the itsEnterpriseOnly flag as an extra measure in the case of apps like Facebook Messenger that are enterprise-only and consequently should show the subscribe button.
Before:
![image](https://user-images.githubusercontent.com/43561537/144687716-baef06ce-7a80-42fc-8393-b0283c0f349a.png)
After:
![image](https://user-images.githubusercontent.com/43561537/144687924-1a3eb3a7-783f-4450-abd2-1efa0de64658.png)
<details>
<summary>🔍 Minor changes</summary>
- Bump @rocket.chat/string-helpers from 0.29.0 to 0.30.1 in /ee/server/services ([#23526](https://github.com/RocketChat/Rocket.Chat/pull/23526) by [@dependabot[bot]](https://github.com/dependabot[bot]))
- Bump cookie-parser from 1.4.5 to 1.4.6 in /ee/server/services ([#23921](https://github.com/RocketChat/Rocket.Chat/pull/23921) by [@dependabot[bot]](https://github.com/dependabot[bot]))
- Bump mailparser from 3.2.0 to 3.4.0 ([#23466](https://github.com/RocketChat/Rocket.Chat/pull/23466) by [@dependabot[bot]](https://github.com/dependabot[bot]))
- Bump path-parse from 1.0.6 to 1.0.7 ([#23689](https://github.com/RocketChat/Rocket.Chat/pull/23689) by [@dependabot[bot]](https://github.com/dependabot[bot]))
- Bump pm2 from 5.1.1 to 5.1.2 in /ee/server/services ([#23289](https://github.com/RocketChat/Rocket.Chat/pull/23289) by [@dependabot[bot]](https://github.com/dependabot[bot]))
- Bump thehanimo/pr-title-checker from 1.2 to 1.3.4 ([#23853](https://github.com/RocketChat/Rocket.Chat/pull/23853) by [@dependabot[bot]](https://github.com/dependabot[bot]))
- Chore: added last login to users.list ([#23846](https://github.com/RocketChat/Rocket.Chat/pull/23846))
- Chore: Centralize email validation functionality ([#23816](https://github.com/RocketChat/Rocket.Chat/pull/23816))
- Create lib for validating emails
- Modify places that validate emails to use the new central function
- Chore: Change Menu props to accept next fuselage version ([#23839](https://github.com/RocketChat/Rocket.Chat/pull/23839))
- Chore: Create script to add new migrations ([#23822](https://github.com/RocketChat/Rocket.Chat/pull/23822))
- Create NPM script to add new migrations
- TODO: Infer next migration number from file list
- Chore: Deleted LivechatPageVisited ([#23993](https://github.com/RocketChat/Rocket.Chat/pull/23993))
- Chore: Enable prefer-optional-chain ESLint rule for TypeScript files ([#23786](https://github.com/RocketChat/Rocket.Chat/pull/23786))
> Code is bad. It rots. It requires periodic maintenance. It has bugs that need to be found. New features mean old code has to be adapted.
> The more code you have, the more places there are for bugs to hide. The longer checkouts or compiles take. The longer it takes a new employee to make sense of your system. If you have to refactor there's more stuff to move around.
> Furthermore, more code often means less flexibility and functionality. This is counter-intuitive, but a lot of times a simple, elegant solution is faster and more general than the plodding mess of code produced by a programmer of lesser talent.
> Code is produced by engineers. To make more code requires more engineers. Engineers have n^2 communication costs, and all that code they add to the system, while expanding its capability, also increases a whole basket of costs.
> You should do whatever possible to increase the productivity of individual programmers in terms of the expressive power of the code they write. Less code to do the same thing (and possibly better). Less programmers to hire. Less organizational communication costs.
<cite>[Rich Skrenta][1]</cite>
Mixing two problem domains in code is prone to errors. In this small example
```ts
declare const y: { z: unknown } | undefined;
const x = y && y.z;
```
we're (1) checking the nullity of `y` and (2) attributing `y.z` to `x`, where (2) is _clearly_ the main problem we're solving with code. The optional chaining is a good technique to handle nullity as a mere implementation detail:
```ts
declare const y: { z: unknown } | undefined;
const x = y?.z;
```
Attributing `y.z` to `x` is more easily readable than the nullity check of `y`.
This PR aims to add `@typescript-eslint/prefer-optional-chain` rule to ESlint configuration at warning level.
- Chore: Fix hasRole warning ([#23914](https://github.com/RocketChat/Rocket.Chat/pull/23914))
- Chore: Remove the `mobile-download-file` permission ([#23996](https://github.com/RocketChat/Rocket.Chat/pull/23996))
- Remove the `mobile-download-file` permission and its descriptions.
- Chore: Replace new typography ([#23756](https://github.com/RocketChat/Rocket.Chat/pull/23756))
- Chore: update docker image base to latest node 12 patch ([#23875](https://github.com/RocketChat/Rocket.Chat/pull/23875))
- Chore: Update Livechat ([#23913](https://github.com/RocketChat/Rocket.Chat/pull/23913))
- Chore: Update pino deps ([#23922](https://github.com/RocketChat/Rocket.Chat/pull/23922))
- Chore: Use only LivechatTriggerRaw model ([#23974](https://github.com/RocketChat/Rocket.Chat/pull/23974))
- i18n: Language update from LingoHub 🤖 on 2021-12-06Z ([#23873](https://github.com/RocketChat/Rocket.Chat/pull/23873))
- i18n: Language update from LingoHub 🤖 on 2021-12-13Z ([#23930](https://github.com/RocketChat/Rocket.Chat/pull/23930))
- i18n: Language update from LingoHub 🤖 on 2021-12-20Z ([#23991](https://github.com/RocketChat/Rocket.Chat/pull/23991))
- Merge master into develop & Set version to 4.3.0-develop ([#23827](https://github.com/RocketChat/Rocket.Chat/pull/23827))
- Regression: Fix omnichannel empty source usage ([#24008](https://github.com/RocketChat/Rocket.Chat/pull/24008))
- Regression: Missing padding in popover with custom template ([#23877](https://github.com/RocketChat/Rocket.Chat/pull/23877))
![Screen Shot 2021-12-06 at 14 16 40](https://user-images.githubusercontent.com/27704687/144891474-a5bf982e-56af-46df-b472-adf9d999ce02.png)
- Regression: Toolbox render item ([#23862](https://github.com/RocketChat/Rocket.Chat/pull/23862))
</details>
### 👩💻👨💻 Contributors 😍
- [@Aman-Maheshwari](https://github.com/Aman-Maheshwari)
- [@aswinidev](https://github.com/aswinidev)
- [@dependabot[bot]](https://github.com/dependabot[bot])
- [@goyome](https://github.com/goyome)
- [@qwertiko](https://github.com/qwertiko)
- [@rafaelblink](https://github.com/rafaelblink)
- [@sidmohanty11](https://github.com/sidmohanty11)
- [@yash-rajpal](https://github.com/yash-rajpal)
### 👩💻👨💻 Core Team 🤓
- [@AllanPazRibeiro](https://github.com/AllanPazRibeiro)
- [@KevLehman](https://github.com/KevLehman)
- [@MartinSchoeler](https://github.com/MartinSchoeler)
- [@cauefcr](https://github.com/cauefcr)
- [@d-gubert](https://github.com/d-gubert)
- [@debdutdeb](https://github.com/debdutdeb)
- [@dougfabris](https://github.com/dougfabris)
- [@gabriellsh](https://github.com/gabriellsh)
- [@ggazzo](https://github.com/ggazzo)
- [@juliajforesti](https://github.com/juliajforesti)
- [@matheusbsilva137](https://github.com/matheusbsilva137)
- [@murtaza98](https://github.com/murtaza98)
- [@ostjen](https://github.com/ostjen)
- [@pierre-lehnen-rc](https://github.com/pierre-lehnen-rc)
- [@renatobecker](https://github.com/renatobecker)
- [@rique223](https://github.com/rique223)
- [@sampaiodiego](https://github.com/sampaiodiego)
- [@tassoevan](https://github.com/tassoevan)
- [@thassiov](https://github.com/thassiov)
# 4.2.0
`2021-11-30 · 9 🎉 · 7 🚀 · 26 🐛 · 27 🔍 · 24 👩💻👨💻`
@ -363,7 +658,7 @@
### 🚀 Improvements
- Add markdown to custom fields in user Info ([#20947](https://github.com/RocketChat/Rocket.Chat/pull/20947))
- Add markdown to custom fields in user Info ([#20947](https://github.com/RocketChat/Rocket.Chat/pull/20947) by [@yash-rajpal](https://github.com/yash-rajpal))
Added markdown to custom fields to render links
@ -591,6 +886,7 @@
- [@cuonghuunguyen](https://github.com/cuonghuunguyen)
- [@dependabot[bot]](https://github.com/dependabot[bot])
- [@wolbernd](https://github.com/wolbernd)
- [@yash-rajpal](https://github.com/yash-rajpal)
### 👩💻👨💻 Core Team 🤓
@ -610,7 +906,6 @@
- [@tassoevan](https://github.com/tassoevan)
- [@thassiov](https://github.com/thassiov)
- [@tiagoevanp](https://github.com/tiagoevanp)
- [@yash-rajpal](https://github.com/yash-rajpal)
# 4.0.5
`2021-10-25 · 1 🐛 · 1 🔍 · 2 👩💻👨💻`
@ -2808,15 +3103,15 @@
- **ENTERPRISE:** Omnichannel Monitors can't forward chats to departments that they are not supervising ([#22142](https://github.com/RocketChat/Rocket.Chat/pull/22142))
- Adding Custom Fields to show on user info check ([#20955](https://github.com/RocketChat/Rocket.Chat/pull/20955))
- Adding Custom Fields to show on user info check ([#20955](https://github.com/RocketChat/Rocket.Chat/pull/20955) by [@yash-rajpal](https://github.com/yash-rajpal))
The setting custom fields to show under user info was not being used when rendering fields in user info. This pr adds those checks and only renders the fields mentioned under in admin -> accounts -> Custom Fields to Show in User Info.
- Adding permission 'add-team-channel' for Team Channels Contextual bar ([#21591](https://github.com/RocketChat/Rocket.Chat/pull/21591))
- Adding permission 'add-team-channel' for Team Channels Contextual bar ([#21591](https://github.com/RocketChat/Rocket.Chat/pull/21591) by [@yash-rajpal](https://github.com/yash-rajpal))
Added 'add-team-channel' permission to the 2 buttons in team channels contextual bar, for adding channels to teams.
- Adding retentionEnabledDefault check before showing warning message ([#20692](https://github.com/RocketChat/Rocket.Chat/pull/20692))
- Adding retentionEnabledDefault check before showing warning message ([#20692](https://github.com/RocketChat/Rocket.Chat/pull/20692) by [@yash-rajpal](https://github.com/yash-rajpal))
Added check for retentionEnabledDefault before showing prune warning message.
@ -3078,7 +3373,7 @@
}
```
- Visibility of burger menu on certain width ([#20736](https://github.com/RocketChat/Rocket.Chat/pull/20736))
- Visibility of burger menu on certain width ([#20736](https://github.com/RocketChat/Rocket.Chat/pull/20736) by [@yash-rajpal](https://github.com/yash-rajpal))
Burger was not visible on a certain width, specifically between 600 to 780. if width is more than 780px sidebar is shown, if less than 600 then burger icon was shown. But it wasn't shown between 600px to 780 px.
It was because for showing burger icon we were only checking for `isMobile` which is lenght only less than 600. So i added one more check for condition if length is less than 780 px.
@ -3261,6 +3556,7 @@
- [@siva2204](https://github.com/siva2204)
- [@sumukhah](https://github.com/sumukhah)
- [@umakantv](https://github.com/umakantv)
- [@yash-rajpal](https://github.com/yash-rajpal)
### 👩💻👨💻 Core Team 🤓
@ -3281,7 +3577,6 @@
- [@tassoevan](https://github.com/tassoevan)
- [@thassiov](https://github.com/thassiov)
- [@tiagoevanp](https://github.com/tiagoevanp)
- [@yash-rajpal](https://github.com/yash-rajpal)
# 3.14.5
`2021-06-06 · 1 🚀 · 1 🐛 · 1 👩💻👨💻`
@ -3631,7 +3926,7 @@
![image](https://user-images.githubusercontent.com/17487063/113359447-2d1b5500-931e-11eb-81fa-86f60fcee3a9.png)
- Checking 'start-discussion' Permission for MessageBox Actions ([#21564](https://github.com/RocketChat/Rocket.Chat/pull/21564))
- Checking 'start-discussion' Permission for MessageBox Actions ([#21564](https://github.com/RocketChat/Rocket.Chat/pull/21564) by [@yash-rajpal](https://github.com/yash-rajpal))
Permissions 'start-discussion-other-user' and 'start-discussion' are checked everywhere before letting anyone start any discussions, this permission check was missing for message box actions, so added it.
@ -3895,6 +4190,7 @@
- [@sauravjoshi23](https://github.com/sauravjoshi23)
- [@sumukhah](https://github.com/sumukhah)
- [@wolbernd](https://github.com/wolbernd)
- [@yash-rajpal](https://github.com/yash-rajpal)
### 👩💻👨💻 Core Team 🤓
@ -3915,7 +4211,6 @@
- [@tassoevan](https://github.com/tassoevan)
- [@thassiov](https://github.com/thassiov)
- [@tiagoevanp](https://github.com/tiagoevanp)
- [@yash-rajpal](https://github.com/yash-rajpal)
# 3.13.5
`2021-05-27 · 1 🐛 · 1 👩💻👨💻`
@ -4238,7 +4533,7 @@
- Add missing `unreads` field to `users.info` REST endpoint ([#20905](https://github.com/RocketChat/Rocket.Chat/pull/20905))
- Added hideUnreadStatus check before showing unread messages on roomList ([#20867](https://github.com/RocketChat/Rocket.Chat/pull/20867))
- Added hideUnreadStatus check before showing unread messages on roomList ([#20867](https://github.com/RocketChat/Rocket.Chat/pull/20867) by [@yash-rajpal](https://github.com/yash-rajpal))
Added hide unread counter check, if the show unread messages is turned off, now unread messages badge won't be shown to user.
@ -4361,7 +4656,7 @@
- Replace wrong field description on Room Information panel ([#21395](https://github.com/RocketChat/Rocket.Chat/pull/21395) by [@rafaelblink](https://github.com/rafaelblink))
- Reply count of message is decreased after a message from thread is deleted ([#19977](https://github.com/RocketChat/Rocket.Chat/pull/19977))
- Reply count of message is decreased after a message from thread is deleted ([#19977](https://github.com/RocketChat/Rocket.Chat/pull/19977) by [@yash-rajpal](https://github.com/yash-rajpal))
The reply count now is decreased if a message from a thread is deleted.
@ -4578,7 +4873,7 @@
- Regression: When only 'teams' type is provided, show only rooms with teamMain on `rooms.adminRooms` endpoint ([#21322](https://github.com/RocketChat/Rocket.Chat/pull/21322))
- Release 3.13.0 ([#21437](https://github.com/RocketChat/Rocket.Chat/pull/21437) by [@PriyaBihani](https://github.com/PriyaBihani) & [@cuonghuunguyen](https://github.com/cuonghuunguyen) & [@fcecagno](https://github.com/fcecagno) & [@lucassartor](https://github.com/lucassartor) & [@shrinish123](https://github.com/shrinish123))
- Release 3.13.0 ([#21437](https://github.com/RocketChat/Rocket.Chat/pull/21437) by [@PriyaBihani](https://github.com/PriyaBihani) & [@cuonghuunguyen](https://github.com/cuonghuunguyen) & [@fcecagno](https://github.com/fcecagno) & [@lucassartor](https://github.com/lucassartor) & [@shrinish123](https://github.com/shrinish123) & [@yash-rajpal](https://github.com/yash-rajpal))
- Update Apps-Engine version ([#21398](https://github.com/RocketChat/Rocket.Chat/pull/21398))
@ -4606,6 +4901,7 @@
- [@shrinish123](https://github.com/shrinish123)
- [@sumukhah](https://github.com/sumukhah)
- [@vova-zush](https://github.com/vova-zush)
- [@yash-rajpal](https://github.com/yash-rajpal)
### 👩💻👨💻 Core Team 🤓
@ -4626,7 +4922,6 @@
- [@sampaiodiego](https://github.com/sampaiodiego)
- [@tassoevan](https://github.com/tassoevan)
- [@tiagoevanp](https://github.com/tiagoevanp)
- [@yash-rajpal](https://github.com/yash-rajpal)
# 3.12.7
`2021-05-27 · 1 🐛 · 1 👩💻👨💻`
@ -4702,7 +4997,7 @@
### 🚀 Improvements
- Close Call contextual bar after starting jitsi call. ([#21004](https://github.com/RocketChat/Rocket.Chat/pull/21004))
- Close Call contextual bar after starting jitsi call. ([#21004](https://github.com/RocketChat/Rocket.Chat/pull/21004) by [@yash-rajpal](https://github.com/yash-rajpal))
After jitsi call is started, if the call is started in a new window then we should close contextual tab bar.
So, when 'YES' is pressed on modal, we call handleClose function if openNewWindow is true, as call doesn't starts on tab bar, it starts on new window.
@ -4712,16 +5007,19 @@
- Missing spaces on attachment ([#21020](https://github.com/RocketChat/Rocket.Chat/pull/21020))
- Stopping Jitsi reload ([#20973](https://github.com/RocketChat/Rocket.Chat/pull/20973))
- Stopping Jitsi reload ([#20973](https://github.com/RocketChat/Rocket.Chat/pull/20973) by [@yash-rajpal](https://github.com/yash-rajpal))
The Function where Jitsi call is started gets called many times due to `room.usernames` dep of useMemo, this dep triggers reloading of this function many times.
So removing this dep from useMemo dependencies
### 👩💻👨💻 Contributors 😍
- [@yash-rajpal](https://github.com/yash-rajpal)
### 👩💻👨💻 Core Team 🤓
- [@dougfabris](https://github.com/dougfabris)
- [@tassoevan](https://github.com/tassoevan)
- [@yash-rajpal](https://github.com/yash-rajpal)
# 3.12.0
`2021-02-28 · 5 🎉 · 17 🚀 · 74 🐛 · 30 🔍 · 29 👩💻👨💻`
@ -4770,15 +5068,15 @@
- Added auto-focus for better user-experience. ([#19954](https://github.com/RocketChat/Rocket.Chat/pull/19954) by [@Darshilp326](https://github.com/Darshilp326))
- Added disable button check for send invite button ([#20337](https://github.com/RocketChat/Rocket.Chat/pull/20337))
- Added disable button check for send invite button ([#20337](https://github.com/RocketChat/Rocket.Chat/pull/20337) by [@yash-rajpal](https://github.com/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](https://github.com/RocketChat/Rocket.Chat/pull/20473))
- Added key prop, removing unwanted warnings ([#20473](https://github.com/RocketChat/Rocket.Chat/pull/20473) by [@yash-rajpal](https://github.com/yash-rajpal))
Removes warnings listed on the issue
- Added Markdown links to custom status. ([#20470](https://github.com/RocketChat/Rocket.Chat/pull/20470))
- Added Markdown links to custom status. ([#20470](https://github.com/RocketChat/Rocket.Chat/pull/20470) by [@yash-rajpal](https://github.com/yash-rajpal))
Added markdown links to user's custom status.
@ -4804,7 +5102,7 @@
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](https://github.com/RocketChat/Rocket.Chat/pull/20366))
- Check Livechat message length through REST API endpoint ([#20366](https://github.com/RocketChat/Rocket.Chat/pull/20366) by [@yash-rajpal](https://github.com/yash-rajpal))
Added checks for message length for livechat message api, it shouldn't exceed specified character limit.
@ -4853,21 +5151,21 @@
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](https://github.com/RocketChat/Rocket.Chat/pull/20305))
- Added Bio Structure for UserCard, rendering Skeleton View on loading Instead of [Object][Object] ([#20305](https://github.com/RocketChat/Rocket.Chat/pull/20305) by [@yash-rajpal](https://github.com/yash-rajpal))
Added Bio Structure for rendering Skeleton View on loading UserCard.
- Added check for view admin permission page ([#20403](https://github.com/RocketChat/Rocket.Chat/pull/20403))
- Added check for view admin permission page ([#20403](https://github.com/RocketChat/Rocket.Chat/pull/20403) by [@yash-rajpal](https://github.com/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](https://user-images.githubusercontent.com/58601732/105829728-bfd00880-5fea-11eb-9121-6c53a752f140.png)
- Adding the accidentally deleted tag template, used by other templates ([#20772](https://github.com/RocketChat/Rocket.Chat/pull/20772))
- Adding the accidentally deleted tag template, used by other templates ([#20772](https://github.com/RocketChat/Rocket.Chat/pull/20772) by [@yash-rajpal](https://github.com/yash-rajpal))
Adding back accidentally deleted tag Template.
- Admin cannot clear user details like bio or nickname ([#20785](https://github.com/RocketChat/Rocket.Chat/pull/20785))
- Admin cannot clear user details like bio or nickname ([#20785](https://github.com/RocketChat/Rocket.Chat/pull/20785) by [@yash-rajpal](https://github.com/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.
@ -4875,13 +5173,13 @@
- Admin Panel pages not visible in Safari ([#20912](https://github.com/RocketChat/Rocket.Chat/pull/20912))
- Announcement with multiple lines fixed. ([#20381](https://github.com/RocketChat/Rocket.Chat/pull/20381))
- Announcement with multiple lines fixed. ([#20381](https://github.com/RocketChat/Rocket.Chat/pull/20381) by [@yash-rajpal](https://github.com/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](https://github.com/RocketChat/Rocket.Chat/pull/20834))
- Attachment download from title fixed ([#20585](https://github.com/RocketChat/Rocket.Chat/pull/20585))
- Attachment download from title fixed ([#20585](https://github.com/RocketChat/Rocket.Chat/pull/20585) by [@yash-rajpal](https://github.com/yash-rajpal))
Added target = '_self' to attachment link, this seems to fix the problem, without this attribute, error page is displayed.
@ -4972,7 +5270,7 @@
![image](https://user-images.githubusercontent.com/2493803/106494751-90f9dc80-6499-11eb-901b-5e4dbdc678ba.png)
- Fix Empty highlighted words field ([#20329](https://github.com/RocketChat/Rocket.Chat/pull/20329))
- Fix Empty highlighted words field ([#20329](https://github.com/RocketChat/Rocket.Chat/pull/20329) by [@yash-rajpal](https://github.com/yash-rajpal))
Able to Empty the highlighted text field in preferences
@ -5028,7 +5326,7 @@
- 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](https://github.com/RocketChat/Rocket.Chat/pull/20670))
- New Integration page was not being displayed ([#20670](https://github.com/RocketChat/Rocket.Chat/pull/20670) by [@yash-rajpal](https://github.com/yash-rajpal))
- Notification worker stopping on error ([#20605](https://github.com/RocketChat/Rocket.Chat/pull/20605))
@ -5242,6 +5540,7 @@
- [@paulobernardoaf](https://github.com/paulobernardoaf)
- [@pierreozoux](https://github.com/pierreozoux)
- [@rafaelblink](https://github.com/rafaelblink)
- [@yash-rajpal](https://github.com/yash-rajpal)
### 👩💻👨💻 Core Team 🤓
@ -5260,7 +5559,6 @@
- [@sampaiodiego](https://github.com/sampaiodiego)
- [@tassoevan](https://github.com/tassoevan)
- [@tiagoevanp](https://github.com/tiagoevanp)
- [@yash-rajpal](https://github.com/yash-rajpal)
# 3.11.5
`2021-04-20 · 1 🐛 · 1 👩💻👨💻`
@ -5323,7 +5621,7 @@
### 🐛 Bug fixes
- Attachment download from title fixed ([#20585](https://github.com/RocketChat/Rocket.Chat/pull/20585))
- Attachment download from title fixed ([#20585](https://github.com/RocketChat/Rocket.Chat/pull/20585) by [@yash-rajpal](https://github.com/yash-rajpal))
Added target = '_self' to attachment link, this seems to fix the problem, without this attribute, error page is displayed.
@ -5342,6 +5640,7 @@
### 👩💻👨💻 Contributors 😍
- [@lolimay](https://github.com/lolimay)
- [@yash-rajpal](https://github.com/yash-rajpal)
### 👩💻👨💻 Core Team 🤓
@ -5349,7 +5648,6 @@
- [@renatobecker](https://github.com/renatobecker)
- [@sampaiodiego](https://github.com/sampaiodiego)
- [@tiagoevanp](https://github.com/tiagoevanp)
- [@yash-rajpal](https://github.com/yash-rajpal)
# 3.11.0
`2021-01-31 · 8 🎉 · 9 🚀 · 52 🐛 · 44 🔍 · 32 👩💻👨💻`
@ -5455,7 +5753,7 @@
Made user avatar change buttons to be descriptive of what they do.
- Tooltip added for Kebab menu on chat header ([#20116](https://github.com/RocketChat/Rocket.Chat/pull/20116))
- Tooltip added for Kebab menu on chat header ([#20116](https://github.com/RocketChat/Rocket.Chat/pull/20116) by [@yash-rajpal](https://github.com/yash-rajpal))
Added the missing Tooltip for kebab menu on chat header.
![tooltip after](https://user-images.githubusercontent.com/58601732/104031406-b07f4b80-51f2-11eb-87a4-1e8da78a254f.gif)
@ -5477,12 +5775,12 @@
Users can be removed from channels without any error message.
- Added context check for closing active tabbar for member-list ([#20228](https://github.com/RocketChat/Rocket.Chat/pull/20228))
- Added context check for closing active tabbar for member-list ([#20228](https://github.com/RocketChat/Rocket.Chat/pull/20228) by [@yash-rajpal](https://github.com/yash-rajpal))
When we click on a username and then click on see user's full profile, a tab gets active and shows us the user's profile, the problem occurs when the tab is still active and we try to see another user's profile. In this case, tabbar gets closed.
To resolve this, added context check for closing action of active tabbar.
- Added Margin between status bullet and status label ([#20199](https://github.com/RocketChat/Rocket.Chat/pull/20199))
- Added Margin between status bullet and status label ([#20199](https://github.com/RocketChat/Rocket.Chat/pull/20199) by [@yash-rajpal](https://github.com/yash-rajpal))
Added Margins between status bullet and status label
@ -5547,7 +5845,7 @@
After changes made on https://github.com/RocketChat/Rocket.Chat/pull/19931, the `Livechat.RegisterGuest` method started removing properties from the visitor inappropriately. The properties that did not receive value were removed from the object.
Those changes were made to support the new Contact Form, but now the form has its own method to deal with Contact data so those changes are no longer necessary.
- Markdown added for Header Room topic ([#20021](https://github.com/RocketChat/Rocket.Chat/pull/20021))
- Markdown added for Header Room topic ([#20021](https://github.com/RocketChat/Rocket.Chat/pull/20021) by [@yash-rajpal](https://github.com/yash-rajpal))
With the new 3.10.0 version update the Links in topic section below room name were not working, for more info refer issue #20018
@ -5627,7 +5925,7 @@
![image](https://user-images.githubusercontent.com/27704687/106056093-0a29b600-60cd-11eb-8038-eabbc0d8fb03.png)
- Status circle in profile section ([#20016](https://github.com/RocketChat/Rocket.Chat/pull/20016))
- Status circle in profile section ([#20016](https://github.com/RocketChat/Rocket.Chat/pull/20016) by [@yash-rajpal](https://github.com/yash-rajpal))
The Status Circle in status message text input is now centered vertically.
@ -5831,6 +6129,7 @@
- [@sushant52](https://github.com/sushant52)
- [@tlskinneriv](https://github.com/tlskinneriv)
- [@wggdeveloper](https://github.com/wggdeveloper)
- [@yash-rajpal](https://github.com/yash-rajpal)
- [@zdumitru](https://github.com/zdumitru)
### 👩💻👨💻 Core Team 🤓
@ -5848,7 +6147,6 @@
- [@tassoevan](https://github.com/tassoevan)
- [@thassiov](https://github.com/thassiov)
- [@tiagoevanp](https://github.com/tiagoevanp)
- [@yash-rajpal](https://github.com/yash-rajpal)
# 3.10.5
`2021-01-27 · 1 🐛 · 1 👩💻👨💻`
@ -6689,7 +6987,7 @@
- [@sampaiodiego](https://github.com/sampaiodiego)
# 3.8.0
`2020-11-14 · 14 🎉 · 4 🚀 · 40 🐛 · 54 🔍 · 30 👩💻👨💻`
`2020-11-13 · 14 🎉 · 4 🚀 · 40 🐛 · 54 🔍 · 30 👩💻👨💻`
### Engine versions
- Node: `12.18.4`

@ -1,3 +1,3 @@
{
"version": "4.3.0-develop"
"version": "4.3.0-rc.0"
}

2
package-lock.json generated

@ -1,6 +1,6 @@
{
"name": "Rocket.Chat",
"version": "4.3.0-develop",
"version": "4.3.0-rc.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

@ -1,7 +1,7 @@
{
"name": "Rocket.Chat",
"description": "The Ultimate Open Source WebChat Platform",
"version": "4.3.0-develop",
"version": "4.3.0-rc.0",
"author": {
"name": "Rocket.Chat",
"url": "https://rocket.chat/"

Loading…
Cancel
Save