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

chore!: Update default E2EE settings behavior #33361

Merged
merged 4 commits into from
Oct 16, 2024

Conversation

yash-rajpal
Copy link
Member

@yash-rajpal yash-rajpal commented Sep 25, 2024

Proposed changes (including videos or screenshots)

We introduced a new E2EE settings with 6.x release - E2E_Allow_Unencrypted_Messages. Earlier their default value was kept in a way to not change the default behavior.

We decided to change this default behavior in the major 7.0.0 release and now by default users shouldn't be allowed to send un-encrypted messages in encrypted rooms.

Issue(s)

Steps to test or reproduce

Further comments

E2EE2-69

Copy link
Contributor

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

🦋 Changeset detected

Latest commit: a0d56f4

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

This PR includes changesets to release 35 packages
Name Type
@rocket.chat/meteor Major
@rocket.chat/core-typings Major
@rocket.chat/rest-typings Major
@rocket.chat/uikit-playground 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/freeswitch Patch
@rocket.chat/fuselage-ui-kit Major
@rocket.chat/gazzodown Major
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Major
@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/ui-avatar Major
@rocket.chat/ui-client Major
@rocket.chat/ui-video-conf Major
@rocket.chat/ui-voip Major
@rocket.chat/web-ui-registration Major
@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 25, 2024

PR Preview Action v1.4.8
🚀 Deployed preview to https://RocketChat.github.io/Rocket.Chat/pr-preview/pr-33361/
on branch gh-pages at 2024-10-16 12:39 UTC

Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.79%. Comparing base (390df83) to head (a0d56f4).
Report is 17 commits behind head on release-7.0.0.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##           release-7.0.0   #33361      +/-   ##
=================================================
- Coverage          74.80%   74.79%   -0.02%     
=================================================
  Files                468      467       -1     
  Lines              20678    20641      -37     
  Branches            5275     5262      -13     
=================================================
- Hits               15469    15439      -30     
+ Misses              4594     4590       -4     
+ Partials             615      612       -3     
Flag Coverage Δ
unit 74.79% <ø> (-0.02%) ⬇️

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

@yash-rajpal yash-rajpal marked this pull request as ready for review September 26, 2024 16:12
@yash-rajpal yash-rajpal requested a review from a team as a code owner September 26, 2024 16:12
.changeset/serious-dryers-learn.md Outdated Show resolved Hide resolved
@ggazzo ggazzo requested review from a team as code owners September 27, 2024 18:05
@sampaiodiego sampaiodiego force-pushed the release-7.0.0 branch 2 times, most recently from d1aa5f9 to 374979f Compare October 9, 2024 17:43
@ggazzo ggazzo force-pushed the release-7.0.0 branch 6 times, most recently from 09c1b34 to 3099c34 Compare October 11, 2024 21:14
@yash-rajpal yash-rajpal changed the title chore: Update default E2EE settings behavior chore!: Update default E2EE settings behavior Oct 14, 2024
@yash-rajpal yash-rajpal force-pushed the break/update-default-e2ee-setting branch from 8f174b6 to ebe7a29 Compare October 14, 2024 07:59
@yash-rajpal yash-rajpal reopened this Oct 14, 2024
@ggazzo ggazzo requested a review from a team as a code owner October 14, 2024 14:44
@yash-rajpal yash-rajpal force-pushed the break/update-default-e2ee-setting branch from ec22306 to d9a36fa Compare October 15, 2024 13:23
@yash-rajpal yash-rajpal removed the request for review from a team October 15, 2024 13:46
hugocostadev
hugocostadev previously approved these changes Oct 16, 2024
Copy link
Contributor

@KevLehman KevLehman left a comment

Choose a reason for hiding this comment

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

Did we change the setting creation code in another PR? The this.add(... cause otherwise the code for new workspaces will retain the current behavior as migrations won't run on clean envs

apps/meteor/server/startup/migrations/v314.ts Show resolved Hide resolved
@yash-rajpal
Copy link
Member Author

Did we change the setting creation code in another PR? The this.add(... cause otherwise the code for new workspaces will retain the current behavior as migrations won't run on clean envs

Ohhh, nice catch!! I had done that, but it got lost when solving conflicts.

@yash-rajpal yash-rajpal added the stat: ready to merge PR tested and approved waiting for merge label Oct 16, 2024
@yash-rajpal yash-rajpal added this to the 7.0 milestone Oct 16, 2024
@dionisio-bot dionisio-bot bot removed the stat: ready to merge PR tested and approved waiting for merge label Oct 16, 2024
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge stat: QA assured Means it has been tested and approved by a company insider and removed stat: QA skipped labels Oct 16, 2024
@ggazzo ggazzo merged commit 3c4b812 into release-7.0.0 Oct 16, 2024
57 checks passed
@ggazzo ggazzo deleted the break/update-default-e2ee-setting branch October 16, 2024 20:09
This was referenced Oct 20, 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.

5 participants