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

feat: new E2EE composer hint #33283

Merged
merged 11 commits into from
Oct 14, 2024
Merged

feat: new E2EE composer hint #33283

merged 11 commits into from
Oct 14, 2024

Conversation

hugocostadev
Copy link
Contributor

Proposed changes (including videos or screenshots)

Problem statement

When the setting Unencrypted messages in encrypted rooms is turned off, there is a warning in the UI for the cases the user has inserted their E2EE password but doesn’t have the E2EE room key. However, when the setting is ON, there is no indicator in the UI making it clear they don’t have the room key.
As a result, the user may send unencrypted messages in an encrypted room believing it is E2EE encrypted, or may believe a bug prevents the messages from being encrypted.

Solution

Create a composer hint to make users aware they don’t have the room key.

Issue(s)

Steps to test or reproduce

Further comments

https://rocketchat.atlassian.net/browse/E2EE2-63

Copy link
Contributor

dionisio-bot bot commented Sep 13, 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 13, 2024

🦋 Changeset detected

Latest commit: 049a683

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

This PR includes changesets to release 38 packages
Name Type
@rocket.chat/meteor Minor
@rocket.chat/i18n Patch
@rocket.chat/ui-composer Minor
@rocket.chat/mock-providers Patch
@rocket.chat/ui-contexts Major
@rocket.chat/web-ui-registration Major
@rocket.chat/fuselage-ui-kit Major
@rocket.chat/ui-client Major
@rocket.chat/ui-voip Major
@rocket.chat/uikit-playground Patch
@rocket.chat/gazzodown Major
@rocket.chat/livechat Patch
@rocket.chat/ui-avatar Major
@rocket.chat/ui-video-conf Major
@rocket.chat/core-typings Minor
@rocket.chat/rest-typings Minor
@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/freeswitch Patch
@rocket.chat/model-typings 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/network-broker Patch
@rocket.chat/models 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
Contributor

github-actions bot commented Sep 13, 2024

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-10-14 22:27 UTC

Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.42%. Comparing base (dc4d248) to head (049a683).
Report is 2 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #33283      +/-   ##
===========================================
- Coverage    58.42%   58.42%   -0.01%     
===========================================
  Files         2744     2744              
  Lines        66249    66242       -7     
  Branches     14991    14987       -4     
===========================================
- Hits         38708    38703       -5     
+ Misses       24720    24719       -1     
+ Partials      2821     2820       -1     
Flag Coverage Δ
unit 74.65% <ø> (ø)

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

@hugocostadev hugocostadev marked this pull request as ready for review September 16, 2024 18:46
@hugocostadev hugocostadev requested a review from a team as a code owner September 16, 2024 18:46
@hugocostadev hugocostadev modified the milestones: 7.0, 6.14 Sep 20, 2024
.changeset/many-files-turn.md Outdated Show resolved Hide resolved
tassoevan
tassoevan previously approved these changes Sep 27, 2024
Copy link
Member

@ggazzo ggazzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you check my review? if you believe that doesnt make sense, please, just dismiss

ggazzo
ggazzo previously approved these changes Sep 27, 2024
@jessicaschelly jessicaschelly added the stat: QA assured Means it has been tested and approved by a company insider label Oct 8, 2024
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Oct 8, 2024
tassoevan
tassoevan previously approved these changes Oct 8, 2024
@tassoevan tassoevan added the stat: ready to merge PR tested and approved waiting for merge label Oct 9, 2024
@ggazzo ggazzo dismissed stale reviews from tassoevan and themself October 12, 2024 05:46

The merge-base changed after approval.

@ggazzo ggazzo force-pushed the feat/e2ee-composer-hint branch from f01f943 to a5b2299 Compare October 12, 2024 05:53
@ggazzo ggazzo merged commit 9cf0797 into develop Oct 14, 2024
48 of 50 checks passed
@ggazzo ggazzo deleted the feat/e2ee-composer-hint branch October 14, 2024 22:21
gabriellsh added a commit that referenced this pull request Oct 15, 2024
…ctor/avatar

* 'develop' of github.com:RocketChat/Rocket.Chat: (58 commits)
  refactor: unified users page header content into a single component (#33498)
  chore: store contact emails and phones on the same format as user's and visitor's (#33484)
  fix: broken jump-to-thread-message functionality using link  (#33332)
  feat: Apps-Engine method for reading and counting unread room messages for a user (#32194)
  feat: adds a new featured room action on the header for non-default category (#33562)
  chore(deps): bump actions/setup-node from 4.0.3 to 4.0.4 (#33327)
  fix: consider query strings in Twilio request validation (#33364)
  ci: add restore cache for `deploy-preview` (#33579)
  feat: add history endpoint (#33349)
  ci: cache artifacts to reduce api calls (#33567)
  feat: new E2EE composer hint (#33283)
  chore: Add `force` option to `rmSync` call (#33570)
  chore: remove nameInsensitive sorting on /v1/users.listByStatus (#33401)
  chore: Use `rmSync` instead of `rmdirSync` (#33551)
  feat: add contact channels (#33308)
  chore: split ImportDataConverter into multiple classes and add unit testing (#33394)
  test: added MockedDeviceContext to voip unit tests (#33553)
  refactor: adjusted voip endpoints error messages (#33515)
  fix: Cannot send messages after E2EE keys are refreshed (#33527)
  fix: Custom sounds not working when storage is set to filesystem (#33424)
  ...
@ggazzo ggazzo modified the milestones: 6.14, 7.0 Oct 17, 2024
This was referenced Oct 20, 2024
abhinavkrin pushed a commit that referenced this pull request Oct 25, 2024
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.

6 participants