Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 7.0.0 #33679

Merged
merged 293 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
293 commits
Select commit Hold shift + click to select a range
efacfb3
chore: Recover `@rocket.chat/fuselage-ui-kit` storybook (#33531)
tassoevan Oct 11, 2024
f70954e
chore: bump minor deps (#33512)
ggazzo Oct 11, 2024
305b591
regression: fix preview (#33536)
ggazzo Oct 11, 2024
6ece177
feat: new fields contact (#33504)
tapiarafael Oct 11, 2024
bd5a5ff
fix: Custom sounds not working when storage is set to filesystem (#33…
KevLehman Oct 11, 2024
b97c106
fix: Cannot send messages after E2EE keys are refreshed (#33527)
hugocostadev Oct 11, 2024
00cdca7
refactor: adjusted voip endpoints error messages (#33515)
aleksandernsilva Oct 11, 2024
b9b1c0f
test: added MockedDeviceContext to voip unit tests (#33553)
ggazzo Oct 12, 2024
3c05136
chore: split ImportDataConverter into multiple classes and add unit t…
pierre-lehnen-rc Oct 12, 2024
8f71f78
feat: add contact channels (#33308)
tapiarafael Oct 14, 2024
e6a18c3
chore: Use `rmSync` instead of `rmdirSync` (#33551)
KevLehman Oct 14, 2024
8c8238e
chore: remove nameInsensitive sorting on /v1/users.listByStatus (#33401)
ricardogarim Oct 14, 2024
dc4d248
chore: Add `force` option to `rmSync` call (#33570)
KevLehman Oct 14, 2024
9cf0797
feat: new E2EE composer hint (#33283)
hugocostadev Oct 14, 2024
d929799
ci: cache artifacts to reduce api calls (#33567)
ggazzo Oct 14, 2024
682507c
feat: add history endpoint (#33349)
tapiarafael Oct 15, 2024
bafbedc
ci: add restore cache for `deploy-preview` (#33579)
ggazzo Oct 15, 2024
50c4441
fix: consider query strings in Twilio request validation (#33364)
julio-cfa Oct 15, 2024
eebb212
chore(deps): bump actions/setup-node from 4.0.3 to 4.0.4 (#33327)
dependabot[bot] Oct 15, 2024
08d0df2
feat: adds a new featured room action on the header for non-default c…
Dnouv Oct 15, 2024
dd923a8
feat: Apps-Engine method for reading and counting unread room message…
Dnouv Oct 15, 2024
cb49d7a
fix: broken jump-to-thread-message functionality using link (#33332)
abhinavkrin Oct 15, 2024
956bf61
chore: store contact emails and phones on the same format as user's a…
pierre-lehnen-rc Oct 15, 2024
72c6101
refactor: unified users page header content into a single component (…
aleksandernsilva Oct 15, 2024
065a742
fix: Updating path `responseBy` would create a conflict on `responseB…
KevLehman Oct 15, 2024
31eb47f
feat: New marketplace state for out of support window workspaces (#33…
MartinSchoeler Oct 15, 2024
5cc9ac5
regression: missing permission checks on voip for team collab (#33518)
aleksandernsilva Oct 15, 2024
e14fa89
fix: imported fixes (#33583)
julio-cfa Oct 15, 2024
3abc1e5
chore: replace fs+promisify with fs/promises (#33599)
pierre-lehnen-rc Oct 16, 2024
2b8ac8a
regression: voip toggle success/error toasts being displayed in quick…
aleksandernsilva Oct 16, 2024
8bbe581
chore: new stats (#33013)
hugocostadev Oct 16, 2024
f810929
fix: alter the regex in the isValidDomain function to accept hyphens …
julio-cfa Oct 16, 2024
df7f669
fix: Encrypted push notification missing message.content (#33377)
diegolmello Oct 16, 2024
a069e69
regression: prevent ui from blink login page during reconnection (#33…
ggazzo Oct 16, 2024
16f5c59
chore: bump 7.0.0
ggazzo Apr 8, 2024
552b255
fix!: api login should not suggest which credential is wrong (#32159)
ggazzo Apr 9, 2024
d9a9d0d
chore!: remove hipchat importer (#32154)
pierre-lehnen-rc Apr 11, 2024
d070f7d
chore!: Removed Mongo 4.4. support and added 7.0 (#32162)
ggazzo Apr 12, 2024
cef2fe4
chore!: Improve permissions check on channels endpoints (#32330)
matheusbsilva137 May 3, 2024
2442a5c
chore: Improve permissions check on cloud endpoints (#32331)
matheusbsilva137 May 3, 2024
0cf56e0
chore: Improve permissions check on instances endpoints (#32334)
matheusbsilva137 May 3, 2024
32b6305
chore: Improve permissions check on LDAP endpoints (#32335)
matheusbsilva137 May 3, 2024
e2040e3
chore!: Improve permissions check on mailer endpoints (#32336)
matheusbsilva137 May 3, 2024
c88ff51
chore: Improve permissions check on users endpoints (#32353)
matheusbsilva137 May 7, 2024
82c6471
chore!: Improve permissions check on groups endpoints (#32332)
matheusbsilva137 May 7, 2024
b81fe46
chore!: Improve permissions check on integrations endpoints (#32355)
matheusbsilva137 May 7, 2024
0b164cc
chore!: Improve permissions check on oauth-apps endpoints (#32338)
matheusbsilva137 May 9, 2024
3c732b5
chore!: Improve permissions check on teams endpoints (#32351)
matheusbsilva137 May 9, 2024
95460bf
chore!: Improve permissions check on im endpoints (#32333)
matheusbsilva137 May 13, 2024
923de04
chore!: Improve permissions check on permissions endpoints (#32343)
matheusbsilva137 May 13, 2024
7692e9d
chore!: Improve permissions check on settings endpoints (#32350)
matheusbsilva137 May 13, 2024
95793c9
chore!: Improve permissions check on licenses endpoints (#32354)
matheusbsilva137 May 13, 2024
6c88d0f
test: fix im.messages.others endpoint tests (#32426)
matheusbsilva137 May 14, 2024
d8e3c30
chore!: Improve permissions check on misc endpoints (#32337)
matheusbsilva137 May 14, 2024
928898c
chore!: Improve permissions check on roles endpoints (#32347)
matheusbsilva137 May 20, 2024
a5fb789
refactor!: removed listEmojiCustom method (#32542)
abhinavkrin Jun 24, 2024
c20e02d
chore!: removes view-history permission (#33042)
lucas-a-pelegrino Aug 15, 2024
8a5ac3f
chore!: Remove unused `omnichannelExternalFrameGenerateKey` (#32921)
dougfabris Aug 15, 2024
f5c25bb
chore!: remove deprecated meteor eraseRoom method (#32648)
AllanPazRibeiro Aug 17, 2024
1d487a1
chore!: removed setAsset, unsetAsset, refreshClients method (#32564)
abhinavkrin Aug 17, 2024
6830304
chore!: Remove `meteor/check` from `cloud` endpoints (#32533)
matheusbsilva137 Aug 17, 2024
4d15cb3
chore!: removed checkUsernameAvailability method (#32488)
abhinavkrin Aug 17, 2024
5eb7a9e
refactor!: removed roomNameExists method (#32484)
abhinavkrin Aug 17, 2024
73d2abb
chore!: removed reportMessage method (#32633)
abhinavkrin Aug 17, 2024
3792bdb
fix: Missing retention's `ignoreThreads` param for old channels (#33028)
dougfabris Aug 17, 2024
50943a0
chore!: Remove `meteor/check` from `chat` endpoints (#32532)
matheusbsilva137 Aug 17, 2024
8cf7a0a
chore!: Remove `meteor/check` from `banners` endpoints (#32509)
matheusbsilva137 Aug 18, 2024
363325f
chore!: Remove deprecated URL App installation (#33210)
MartinSchoeler Sep 27, 2024
7eb2905
chore!: remove deprecated livechat:loadHistory method (#33390)
abhinavkrin Oct 1, 2024
2511b8b
chore!: removed removeWebdavAccount method (#33355)
abhinavkrin Oct 1, 2024
449029c
chore!: remove livechat:addAgent and livechat:addManager method (#33372)
abhinavkrin Oct 1, 2024
fd40d84
fix: Private apps restrictions are not applied on license removal (#3…
matheusbsilva137 Oct 1, 2024
c5b0c98
feat: New Private apps limitations (#33316)
MartinSchoeler Oct 1, 2024
06e68a7
Revert "fix: Private apps restrictions are not applied on license rem…
matheusbsilva137 Oct 1, 2024
a94a608
chore!: remove deprecated livechat:searchAgent method (#33373)
abhinavkrin Oct 1, 2024
db19726
chore!: remove deprecated livechat:loginByToken method (#33391)
abhinavkrin Oct 1, 2024
08d3df6
chore!: remove livechat:getCustomFields method (#33371)
abhinavkrin Oct 1, 2024
04cee2a
fix: Upgrade option is being presented to Premium workspaces when upl…
matheusbsilva137 Oct 2, 2024
24f16be
refactor!: Room's Key ID generation (#33329)
KevLehman Oct 2, 2024
805a00d
chore!: Update private apps cap on Community Edition (#33399)
matheusbsilva137 Oct 2, 2024
a5f25e7
fix!: Private apps are always auto enabled when updated (#33417)
matheusbsilva137 Oct 3, 2024
14b64a8
chore: tag apps as migrated when downgrading to CE (#33439)
matheusbsilva137 Oct 4, 2024
d0c773c
chore!: Tag private apps as migrated (exempt from CE limitations) whe…
matheusbsilva137 Oct 7, 2024
73649db
chore!: Grandfathered private apps texts (#33468)
lucas-a-pelegrino Oct 7, 2024
cc1cb66
fix!: LDAP sync triggers multiple cron jobs in case an invalid sync i…
matheusbsilva137 Oct 9, 2024
c323351
chore!: remove deprecated livechat:saveSurveyFeedback method (#33443)
abhinavkrin Oct 9, 2024
aa6dd17
chore!: remove deprecated livechat:pageVisited method (#33427)
abhinavkrin Oct 9, 2024
c493e6a
chore!: remove deprecated method livechat:saveInfo (#33447)
abhinavkrin Oct 9, 2024
3395c82
chore!: remove deprecated endpoint pw.getPolicyReset (#33474)
abhinavkrin Oct 9, 2024
542fae0
chore!: remove deprecated method getPasswordPolicy (#33473)
abhinavkrin Oct 9, 2024
3091566
chore!: remove deprecated method deleteMessage (#33472)
abhinavkrin Oct 9, 2024
b167db0
chore!: remove deprecated endpoint channels.images (#33471)
abhinavkrin Oct 9, 2024
3f9c3f1
chore!: remove deprecated endpoints licenses.isEnterprise and license…
abhinavkrin Oct 9, 2024
92139cd
chore!: remove deprecated addOAuthApp method (#33465)
abhinavkrin Oct 9, 2024
b19ae4d
chore!: remove deprecated endpoint livechat/inquiries.queued (#33453)
abhinavkrin Oct 9, 2024
cf67f76
chore!: remove deprecated method livechat:sendOfflineMessage (#33452)
abhinavkrin Oct 9, 2024
30e698b
chore!: removed deprecated method livechat:getAgentData (#33450)
abhinavkrin Oct 9, 2024
71cb3ea
chore!: remove deprecated method livechat:webhookTest (#33449)
abhinavkrin Oct 9, 2024
be05322
chore!: remove deprecated method livechat:saveAppearance (#33448)
abhinavkrin Oct 9, 2024
fba7a3b
chore!: remove deprecated livechat:getAgentOverviewData method (#33445)
abhinavkrin Oct 9, 2024
962536f
chore!: removed deprecated methods livechat:removeAgent, livechat:rem…
abhinavkrin Oct 9, 2024
9a83426
chore!: remove deprecated livechat:setCustomField method (#33444)
abhinavkrin Oct 9, 2024
ddffa77
chore!: remove deprecated method livechat:saveIntegration (#33451)
abhinavkrin Oct 9, 2024
ea6c1ed
chore!: removed deprecated method livechat:getAnalyticsOverviewData (…
abhinavkrin Oct 9, 2024
4964863
feat!: Meteor 3.0 - Node.js 20 (#31438)
ggazzo Oct 10, 2024
016f4be
chore!: Remove unused `UI_Click_Direct_Message` setting (#33183)
dougfabris Oct 10, 2024
203328d
regression(Marketplace): Restore changes lost in rebase (#33514)
MartinSchoeler Oct 11, 2024
6b5b91f
chore!: Remove upsert users capability through the `users.update` end…
matheusbsilva137 Oct 11, 2024
5e0653a
fix!: "Forgot Password" e-mail is not translated correctly (#32212)
matheusbsilva137 Oct 11, 2024
af9fe06
chore!: remove deprecated livechat:saveTrigger and livechat:removeTri…
abhinavkrin Oct 11, 2024
8767742
chore!: remove deprecated livechat:requestTranscript and livechat:dis…
abhinavkrin Oct 11, 2024
5642031
chore!: remove deprecated method livechat:saveDepartmentAgents (#33446)
abhinavkrin Oct 11, 2024
8cfdc81
chore!: remove deprecated livechat:getNextAgent method (#33426)
abhinavkrin Oct 11, 2024
f7ff26a
chore!: remove deprecated livechat:setDepartmentForVisitor method (#3…
abhinavkrin Oct 11, 2024
fdfc2ed
chore!: remove deprecated method livechat:registerGuest (#33539)
abhinavkrin Oct 11, 2024
fa501ec
chore!: remove deprecated endpoint livechat/room.visitor (#33461)
abhinavkrin Oct 11, 2024
8865653
chore!: add conditional support to query and fields query params (#33…
ricardogarim Oct 11, 2024
d7f3592
fix!: Only room creator can set the E2EE room key for the first time …
KevLehman Oct 11, 2024
d6b8fc6
upgrade pdfworker
KevLehman Oct 11, 2024
3ea02d3
chore!: remove integration scripts' "Compatible Sandbox" (vm2)
pierre-lehnen-rc Oct 9, 2024
e934ad3
chore: adds external link icon to upgrade button in marketplace heade…
lucas-a-pelegrino Oct 14, 2024
03d1485
feat!: Allow E2EE rooms to reset its room key (#33328)
KevLehman Oct 14, 2024
e30f605
chore!: e2ee mention setting update (#33419)
hugocostadev Oct 15, 2024
9872596
chore: migration to remove redundant indexes (#30918)
sampaiodiego Oct 15, 2024
8c605ab
chore: Recover storybooks (#33565)
tassoevan Oct 15, 2024
13c906f
chore: remove unused modal from app install (#33522)
MartinSchoeler Oct 15, 2024
8598f83
regression: Aligns Learn More link to the left corner of the modal (#…
lucas-a-pelegrino Oct 15, 2024
e1c4767
chore: bump minor deps (#33581)
ggazzo Oct 15, 2024
5acb59b
feat!: renamed voip-related settings (#33434)
aleksandernsilva Oct 15, 2024
dd69fc1
refactor: Drop obsolete portals module (#33580)
tassoevan Oct 15, 2024
7697002
chore: Remove unused stuff related to Storybook (#33588)
tassoevan Oct 15, 2024
fb71cc5
chore!: make tags table component stop to use fields query param (#33…
ricardogarim Oct 15, 2024
53cc111
feat!: E2EE room's `Key` icon no longer toggles encryption of room (#…
KevLehman Oct 15, 2024
0d146f7
refactor(i18n): Use i18next API to get a fixed t-function (#33586)
tassoevan Oct 16, 2024
599079d
chore!: make livechat units table component stop to use fields query …
ricardogarim Oct 16, 2024
f23df1b
chore: Replace `webpack` with `webpack-cli` in npm scripts (#33600)
tassoevan Oct 16, 2024
26604d4
chore!: make ManagersTable component stop to use fields query param (…
ricardogarim Oct 16, 2024
e40b358
chore!: removed mailer.sendMail mailer:unsubscribe methods (#33358)
abhinavkrin Oct 16, 2024
16079bc
chore: replace esl fork targeted at node14 with the regular esl packa…
pierre-lehnen-rc Oct 16, 2024
de59657
refactor(i18n): Use i18next‘s t-function (#33601)
tassoevan Oct 16, 2024
6e909e6
chore!: remove unused oauth setting (#31102)
hugocostadev Oct 16, 2024
618abb3
fix!: hide archived rooms in room.autocomplete endpoint (#31383)
heitortanoue Oct 16, 2024
1286a3a
chore!: make custom user status pages stop to use query param (#33557)
ricardogarim Oct 16, 2024
f4ea653
chore!: Remove unused dependencies (#33593)
KevLehman Oct 16, 2024
4ae1773
chore!: make integrations stop to use query param (#33558)
ricardogarim Oct 16, 2024
d986b57
chore!: make channels files list stop to use query param (#33564)
ricardogarim Oct 16, 2024
c00aec8
chore!: make useQuery hook stop to use fields query param (#33578)
ricardogarim Oct 16, 2024
d929af7
chore: Revert #31102 (#33612)
yash-rajpal Oct 16, 2024
f314767
chore!: Update default E2EE settings behavior (#33361)
yash-rajpal Oct 16, 2024
a23e699
chore!: make get directory stop to use query param (#33563)
ricardogarim Oct 16, 2024
9662e1a
regression: missing link in AppsUsageCard info (#33571)
MartinSchoeler Oct 17, 2024
7da9ec6
chore!: make custom sounds page stop to use query param (#33499)
MarcosSpessatto Oct 17, 2024
4e1f8ef
feat!: Add permissions to create rooms in teams (#31117)
matheusbsilva137 Oct 17, 2024
53b4acb
skip test
yash-rajpal Oct 17, 2024
44a86bf
fix lint: add space
yash-rajpal Oct 17, 2024
0312349
chore: bump postcss-loader (#33621)
ggazzo Oct 17, 2024
cc28ea2
refactor: Migrate modules to TypeScript (#33620)
tassoevan Oct 17, 2024
a7a7aa5
chore: catch index creation errors (#33627)
sampaiodiego Oct 17, 2024
bed0d40
test: Reset room key (#33611)
KevLehman Oct 17, 2024
d92d8f1
chore: add contact-id-verification and teams-voip modules to bundle *…
ggazzo Oct 17, 2024
4d1ac75
chore: don't set state inside useQuery AppsProvider (#33625)
MartinSchoeler Oct 17, 2024
d8f9c35
chore: make sure appStorage.update updates the correct record (#33632)
sampaiodiego Oct 17, 2024
390901e
regression: marketplace header fixes (#33626)
MartinSchoeler Oct 17, 2024
c314bb6
fix: stop app propagation during startup (#33633)
ggazzo Oct 17, 2024
f63d8e2
chore: remove query field on channels listing (#33623)
ricardogarim Oct 17, 2024
b338807
feat!: Implement Cloud communication reliability (#32856)
Gustrb Oct 17, 2024
8670b57
chore!: remove migrations from 5.x (#33619)
ggazzo Oct 17, 2024
7726d68
feat(sci): Restrict livechat visitors to their source type scope (#33…
matheusbsilva137 Oct 18, 2024
e3629e0
feat: add setting to map an ldap attribute to the user's voice extens…
pierre-lehnen-rc Oct 18, 2024
15b6f4b
regression: Disable marketplace apps on license removal or downgrade …
matheusbsilva137 Oct 18, 2024
d44f614
fix!: Login services button colors (#33333)
yash-rajpal Oct 18, 2024
d879c8b
fix: E2EE not rendering new navigation feature preview (#33631)
hugocostadev Oct 18, 2024
f835e35
chore!: remove query field on online channels listing (#33646)
ricardogarim Oct 18, 2024
509143d
feat!: shrink payload of the startImport endpoint (#33630)
pierre-lehnen-rc Oct 18, 2024
0e00975
chore: patches mongodb to make ts task less expensive (#33639)
ggazzo Oct 18, 2024
916e205
chore: bump babel (#33535)
ggazzo Oct 18, 2024
94a1119
chore: sync latest Apps-engine alpha (#33649)
d-gubert Oct 18, 2024
4aa731d
chore!: e2ee settings update and removing beta wording (#33605)
hugocostadev Oct 18, 2024
2806cb5
feat: E2EE room key reset modal (#33503)
hugocostadev Oct 18, 2024
81998f3
feat: license add-ons (external modules) (#33433)
d-gubert Oct 18, 2024
687f1ef
feat(ui-kit): added accessory to CalloutBlock (#33528)
ggazzo Oct 18, 2024
019a69a
fix: message toolbar e2ee not decrypted (#33652)
hugocostadev Oct 18, 2024
15582b1
chore!: remove query field on online groups listing (#33647)
ricardogarim Oct 18, 2024
bd64aed
chore: use a separate license module for team collab VoIP and omnicha…
pierre-lehnen-rc Oct 18, 2024
9274cf4
feat: collapse sidebar groups (#33592)
juliajforesti Oct 18, 2024
4692150
chore: move to `matrix-*` (#33525)
ggazzo Oct 18, 2024
10ee065
regression: Move WorkspaceCredentials models to CE (#33657)
yash-rajpal Oct 18, 2024
34ed9ad
feat: show Recent chats on the new sidebar (#33489)
juliajforesti Oct 18, 2024
42143e2
ci: don't run workflow when docs are updated (#33645)
debdutdeb Oct 18, 2024
e3dac4a
feat: marketplace add-on components (#33483)
tiagoevanp Oct 18, 2024
274a89b
chore!: Change default Docker flavor to Alpine (#28042)
sampaiodiego Oct 18, 2024
634a6a5
ci: cache `matrix-rust-sdk-crypto-nodejs` (#33673)
ggazzo Oct 18, 2024
f33c07e
feat!: apply restrictions to air gapped environments (#33241)
MarcosSpessatto Oct 19, 2024
f4365b7
chore!: remove query field on custom emojis listing (#33650)
ricardogarim Oct 19, 2024
429d000
feat: Trace api calls (#32779)
rodrigok Oct 19, 2024
085fa5e
chore: Update typescript to 5.6 (#33665)
KevLehman Oct 19, 2024
1421f25
chore: add extra log to `No broker set to broadcast`
ggazzo Oct 19, 2024
5f3ae1c
regression: server randomly failing on startup (#33675)
ggazzo Oct 19, 2024
6acbadc
chore: remove allowed routes for query and fields (#33622)
ricardogarim Oct 19, 2024
82d8d52
regression: fix changeset typo
ggazzo Oct 20, 2024
7957a44
ci: onlyUpdatePeerDependentsWhenOutOfRange to avoid major bumps
ggazzo Oct 20, 2024
ddc64d8
chore: remove peer dep to avoid major releases on changeset
ggazzo Oct 20, 2024
c41ab9e
Release 7.0.0-rc.0
rocketchat-github-ci Oct 20, 2024
e490f43
regression: subscriptions not being queued during reconnection (#33688)
ggazzo Oct 21, 2024
b97e13b
regression: fix update version durability (#33683)
ggazzo Oct 21, 2024
ce283bf
Release 7.0.0-rc.1
rocketchat-github-ci Oct 21, 2024
a46dbfd
regression: allow specific routes to receive query attr (#33691)
ricardogarim Oct 22, 2024
cac8e39
regression: Revert changes that restrict livechat visitors to their s…
matheusbsilva137 Oct 22, 2024
e181eb2
regression: fix Sidebar collapsers keyboard navigation (#33697)
juliajforesti Oct 23, 2024
74ebb9e
regression: room with `hideUnreadStatus` showing on unread list (#33704)
juliajforesti Oct 23, 2024
28f08fe
Release 7.0.0-rc.2
rocketchat-github-ci Oct 23, 2024
27adffc
regression: not allowed to install marketplace apps (#33695)
Gustrb Oct 23, 2024
696df97
regression: properly overwrite `Email.sendAsync`
ggazzo Oct 22, 2024
86713bb
regression: init db tracing within tracing package (#33712)
sampaiodiego Oct 23, 2024
c683a41
regression: properly overwrite `OAuth._retrievePendingCredential`
ggazzo Oct 23, 2024
0649a67
chore: npm install as rocketchat user (#33726)
ggazzo Oct 23, 2024
09bb4ca
Release 7.0.0-rc.3
rocketchat-github-ci Oct 23, 2024
dd3ee23
regression: Remove user from waiting queue when the key is set via `u…
KevLehman Oct 24, 2024
c884d3b
regression: Fix meteor dynamic storage for E2EE client (#33711)
hugocostadev Oct 24, 2024
ccaa315
regression: voip action button using default instead of secondary var…
aleksandernsilva Oct 24, 2024
349e646
regression: add tracing instrumentation on LocalBroker (#33750)
ricardogarim Oct 24, 2024
b0cc33a
chore: correct capitalization of "AI Actions" (#33781)
Dnouv Oct 25, 2024
5d236fa
fix: prevent loading page on reconnect (#33770)
ggazzo Oct 25, 2024
48a7877
regression: Marketplace page padding issue (#33784)
MartinSchoeler Oct 25, 2024
a2da346
Release 7.0.0-rc.4
rocketchat-github-ci Oct 25, 2024
8188319
chore!: Remove old retention maxAge settings (#33797)
gabriellsh Oct 28, 2024
af361a3
chore!: add indexes for servedBy (#33038)
sampaiodiego Oct 28, 2024
1bdfd20
regression: remove query field on settings public listing (#33787)
ricardogarim Oct 28, 2024
bf05700
regression: remove query field on messages listing (#33801)
ricardogarim Oct 28, 2024
d1e14a0
regression: remove query field on groups messages listing (#33802)
ricardogarim Oct 28, 2024
2bc9692
regression: remove query field on dm messages listing (#33807)
ricardogarim Oct 28, 2024
a72c3ad
regression: fix Google OAuth (#33812)
sampaiodiego Oct 28, 2024
75015bb
Release 7.0.0-rc.5
rocketchat-github-ci Oct 28, 2024
69e1bee
regression: Fix Air Gapped warning translations (#33825)
gabriellsh Oct 29, 2024
1fdf91e
regression: Fix email inboxes feature not working (#33820)
tiagoevanp Oct 29, 2024
374e1a4
regression: `Cloud_Workspace_AirGapped_Restrictions_Remaining_Days` v…
gabriellsh Oct 29, 2024
4a5ab22
regression: fix private apps upgrade buttons (#33829)
MartinSchoeler Oct 29, 2024
48493df
chore: bump fuselage and fuselage-tokens versions (#33830)
aleksandernsilva Oct 29, 2024
180a446
regression: fix wrong translations on marketplace (#33831)
MartinSchoeler Oct 29, 2024
c4b6006
regression: thread unread count (#33837)
hugocostadev Oct 30, 2024
1429d8f
regression: fix docker build for alpine + matrix (#33823)
ggazzo Oct 30, 2024
9b600e1
regression: Tracing times (#33828)
KevLehman Oct 30, 2024
0ba1b70
Release 7.0.0-rc.6
rocketchat-github-ci Oct 30, 2024
d7aa8eb
regression: Get add-on information from installed app version (#33841)
tiagoevanp Oct 31, 2024
58bb893
ci: fix image publish (#33847)
sampaiodiego Oct 31, 2024
25bfe23
regression: adapt text to match the designs (#33849)
MarcosSpessatto Oct 31, 2024
7c45f83
regression: remove allowed routes for query attr (#33850)
ricardogarim Oct 31, 2024
95139ac
regression: Minimongo queries with operator matching only first found…
gabriellsh Oct 31, 2024
953e745
ci: update dataloader
sampaiodiego Oct 31, 2024
f6df8ce
ci: fix release-changelog
sampaiodiego Oct 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore!: make get directory stop to use query param (#33563)
  • Loading branch information
ricardogarim authored and ggazzo committed Oct 17, 2024
commit a23e6998597256a3b1daac8df53387faed36590a
7 changes: 6 additions & 1 deletion apps/meteor/app/api/server/helpers/parseJsonQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ export async function parseJsonQuery(api: PartialThis): Promise<{
}

// TODO: Remove this once we have all routes migrated to the new API params
const hasSupportedRoutes = ['/api/v1/channels.files', '/api/v1/integrations.list', '/api/v1/custom-user-status.list'].includes(route);
const hasSupportedRoutes = [
'/api/v1/directory',
'/api/v1/channels.files',
'/api/v1/integrations.list',
'/api/v1/custom-user-status.list',
].includes(route);

const isUnsafeQueryParamsAllowed = process.env.ALLOW_UNSAFE_QUERY_AND_FIELDS_API_PARAMS?.toUpperCase() === 'TRUE';
const messageGenerator = ({ endpoint, version, parameter }: { endpoint: string; version: string; parameter: string }): string =>
Expand Down
12 changes: 8 additions & 4 deletions apps/meteor/app/api/server/v1/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,14 @@ API.v1.addRoute(
async get() {
const { offset, count } = await getPaginationItems(this.queryParams);
const { sort, query } = await this.parseJsonQuery();
const { text, type, workspace = 'local' } = this.queryParams;

const { text, type, workspace = 'local' } = query;
const filter = {
...(query ? { ...query } : {}),
...(text ? { text } : {}),
...(type ? { type } : {}),
...(workspace ? { workspace } : {}),
};

if (sort && Object.keys(sort).length > 1) {
return API.v1.failure('This method support only one "sort" parameter');
Expand All @@ -373,9 +379,7 @@ API.v1.addRoute(
const sortDirection = sort && Object.values(sort)[0] === 1 ? 'asc' : 'desc';

const result = await Meteor.callAsync('browseChannels', {
text,
type,
workspace,
...filter,
sortBy,
sortDirection,
offset: Math.max(0, offset),
Expand Down
10 changes: 4 additions & 6 deletions apps/meteor/client/views/directory/hooks/useDirectoryQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ export function useDirectoryQuery(
[column, direction]: [string, 'asc' | 'desc'],
type: string,
workspace = 'local',
): { offset?: number | undefined; count?: number; query: string; sort: string } {
): { sort: string; offset?: number | undefined; count?: number; query?: string; text?: string; type?: string; workspace?: string } {
return useMemo(
() => ({
query: JSON.stringify({
type,
text,
workspace,
}),
text,
type,
workspace,
sort: JSON.stringify({ [column]: direction === 'asc' ? 1 : -1 }),
...(itemsPerPage && { count: itemsPerPage }),
...(current && { offset: current }),
Expand Down
42 changes: 14 additions & 28 deletions apps/meteor/tests/end-to-end/api/miscellaneous.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,8 @@ describe('miscellaneous', () => {
.get(api('directory'))
.set(credentials)
.query({
query: JSON.stringify({
text: user.username,
type: 'users',
}),
text: user.username,
type: 'users',
})
.expect('Content-Type', 'application/json')
.expect(200)
Expand All @@ -260,10 +258,8 @@ describe('miscellaneous', () => {
.get(api('directory'))
.set(normalUserCredentials)
.query({
query: JSON.stringify({
text: user.username,
type: 'users',
}),
text: user.username,
type: 'users',
})
.expect('Content-Type', 'application/json')
.expect(200)
Expand All @@ -286,10 +282,8 @@ describe('miscellaneous', () => {
.get(api('directory'))
.set(credentials)
.query({
query: JSON.stringify({
text: testChannel.name,
type: 'channels',
}),
text: testChannel.name,
type: 'channels',
})
.expect('Content-Type', 'application/json')
.expect(200)
Expand All @@ -311,10 +305,8 @@ describe('miscellaneous', () => {
.get(api('directory'))
.set(credentials)
.query({
query: JSON.stringify({
text: testChannel.name,
type: 'channels',
}),
text: testChannel.name,
type: 'channels',
sort: JSON.stringify({
name: 1,
}),
Expand All @@ -339,10 +331,8 @@ describe('miscellaneous', () => {
.get(api('directory'))
.set(credentials)
.query({
query: JSON.stringify({
text: 'invalid channel',
type: 'invalid',
}),
text: 'invalid channel',
type: 'invalid',
})
.expect('Content-Type', 'application/json')
.expect(400)
Expand All @@ -356,10 +346,8 @@ describe('miscellaneous', () => {
.get(api('directory'))
.set(credentials)
.query({
query: JSON.stringify({
text: testChannel.name,
type: 'channels',
}),
text: testChannel.name,
type: 'channels',
sort: JSON.stringify({
name: 1,
test: 1,
Expand All @@ -378,10 +366,8 @@ describe('miscellaneous', () => {
.get(api('directory'))
.set(normalUserCredentials)
.query({
query: JSON.stringify({
text: '',
type: 'teams',
}),
text: '',
type: 'teams',
sort: JSON.stringify({
name: 1,
}),
Expand Down
23 changes: 18 additions & 5 deletions packages/rest-typings/src/v1/directory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@ const ajv = new Ajv({
coerceTypes: true,
});

type DirectoryProps = PaginatedRequest;
type DirectoryProps = PaginatedRequest<{ text?: string; type?: string; workspace?: string; query?: string }>;

const DirectorySchema = {
type: 'object',
properties: {
query: {
type: 'string',
nullable: true,
},
count: {
type: 'number',
nullable: true,
Expand All @@ -29,7 +25,24 @@ const DirectorySchema = {
type: 'string',
nullable: true,
},
text: {
type: 'string',
nullable: true,
},
type: {
type: 'string',
nullable: true,
},
workspace: {
type: 'string',
nullable: true,
},
query: {
type: 'string',
nullable: true,
},
},
required: [],
additionalProperties: false,
};

Expand Down