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

fix: Allow to use the token from room.v when requesting transcript instead of finding visitor #33211

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

KevLehman
Copy link
Contributor

Proposed changes (including videos or screenshots)

Issue(s)

https://rocketchat.atlassian.net/browse/CORE-678

Steps to test or reproduce

Further comments

This happens because of the posibility visitors have from changing their token. This causes visitors to lose access to all previous conversations and interact with any of them, even if they have the token they used at the time.
This new validation should work for those cases, allowing them to request data & transcripts for old conversations given that they know the token even if the token has changed since.

Copy link
Contributor

dionisio-bot bot commented Sep 4, 2024

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented Sep 4, 2024

🦋 Changeset detected

Latest commit: 790421a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 32 packages
Name Type
@rocket.chat/meteor Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@rocket.chat/api-client Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/gazzodown Patch
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Patch
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/models Patch
@rocket.chat/ui-avatar Patch
@rocket.chat/ui-client Patch
@rocket.chat/ui-video-conf Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/instance-status Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codecov bot commented Sep 4, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 59.32%. Comparing base (7c14fd1) to head (790421a).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop   #33211   +/-   ##
========================================
  Coverage    59.32%   59.32%           
========================================
  Files         2548     2548           
  Lines        63415    63415           
  Branches     14268    14269    +1     
========================================
  Hits         37622    37622           
  Misses       23090    23090           
  Partials      2703     2703           
Flag Coverage Δ
unit 75.10% <83.33%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@KevLehman KevLehman marked this pull request as ready for review September 5, 2024 17:03
@KevLehman KevLehman requested review from a team as code owners September 5, 2024 17:03
@MarcosSpessatto MarcosSpessatto added this to the 6.13 milestone Sep 6, 2024
@jessicaschelly jessicaschelly added the stat: QA assured Means it has been tested and approved by a company insider label Sep 9, 2024
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Sep 9, 2024
@dionisio-bot dionisio-bot bot removed the stat: ready to merge PR tested and approved waiting for merge label Sep 9, 2024
@KevLehman KevLehman added the stat: ready to merge PR tested and approved waiting for merge label Sep 9, 2024
@kodiakhq kodiakhq bot merged commit 4146c39 into develop Sep 9, 2024
51 checks passed
@kodiakhq kodiakhq bot deleted the fix/allow-old-token-for-transcript-endpoint branch September 9, 2024 21:21
@scuciatto
Copy link
Member

/patch

Copy link
Contributor

dionisio-bot bot commented Sep 10, 2024

Pull request #33242 added to Project: "undefined"

@scuciatto
Copy link
Member

/backport 6.11.3

Copy link
Contributor

dionisio-bot bot commented Sep 10, 2024

Pull request #33244 added to Project: "undefined"

gabriellsh added a commit that referenced this pull request Sep 11, 2024
…hAvatarById

* 'develop' of github.com:RocketChat/Rocket.Chat:
  fix: Infinite loading when uploading a private app (#33181)
  chore: publish preview github pages (#33248)
  chore: move playground (#33260)
  chore: E2EE setting warning update (#33224)
  fix: message parser being slow to process very long messages with too many symbols (#33227)
  chore: fix ui-playground build (#33250)
  feat: Option to disable 2FA for OAuth users (#32945)
  fix: Allow to use the token from `room.v` when requesting transcript instead of finding visitor (#33211)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants