-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
[IMPROVE] General federation improvements #26150
Conversation
apps/meteor/app/federation-v2/server/infrastructure/rocket-chat/adapters/User.ts
Outdated
Show resolved
Hide resolved
apps/meteor/ee/app/federation-v2/server/infrastructure/rocket-chat/adapters/Room.ts
Outdated
Show resolved
Hide resolved
apps/meteor/ee/app/federation-v2/server/infrastructure/rocket-chat/adapters/User.ts
Outdated
Show resolved
Hide resolved
apps/meteor/app/federation-v2/server/application/sender/RoomInternalHooksValidator.ts
Outdated
Show resolved
Hide resolved
This PR currently has a merge conflict. Please resolve this and then re-add the |
I understand your point and I agree with the statistics example you gave. Indeed both flags are being used for the same purpose, but I respectfully disagree we should use the same for either "old federation" and the new version of it, since if we are using both at the same time, changes happening in one feature will affect directly the other. Another example will be, if you are using the old federation and you enable the new one, some unpredictable things could happen since you will start to use data from one federation to another. Maybe @alansikora can help us on this as well. |
It is exactly what @MarcosSpessatto said. We can't. And the old federation is going to be removed anyway, so we should not bother about it. We will ensure a full cleanup when the time to remove the old federation comes. |
Just so that PR can be merged and Diego is on PTO. Sorry Diego
…hreads * 'develop' of github.com:RocketChat/Rocket.Chat: (93 commits) Chore: Upgrade dependencies (#26694) Chore: More Omnichannel tests (#26691) Regression: Banner - Room not found - Omnichannel room (#26693) [NEW] Capability to search visitors by custom fields (#26312) Chore: Create tests for Omnichannel admin add a custom fields (#26609) [FIX] Avatars of other chats disappear when they located near chat with broken avatar (#26689) [IMPROVE] Added identification on calls to/from existing contacts (#26334) Regression: invalid statistics format (#26684) Regression: "Cache size is not a function" error when booting (#26683) [FIX] Correct IMAP configuration for email inbox (#25789) [FIX] Active users count on `@all` and `@here` (#25957) [FIX] Autotranslate method should respect setting (#26549) Chore: Remove italic/bold font-style from system messages (#26655) Chore: Convert AppSetting to tsx (#26625) Chore: Remove & Test old closeChat templates (#26631) [IMPROVE] General federation improvements (#26150) [NEW] Warn admins about running multiple instances of the monolith (#26667) Regression: Prevent message from being temp forever (#26668) Regression: Add alsoSendThreadToChannel to user settings api (#26663) [IMPROVE] Spotlight search user results (#26599) ...
Co-authored-by: Tasso Evangelista <[email protected]>
Proposed changes (including videos or screenshots)
I know this changed a lot of files, but the main goal for this PR is not to change any behavior, the goals for the PR are:
Object.assign
statements and prefer to use the classconstructor
instead;Issue(s)
Steps to test or reproduce
Further comments