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

Upgrade v3.112.0 #11

Merged
merged 175 commits into from
Oct 8, 2024
Merged
Changes from 1 commit
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
933a9c1
Rename prettier config file to .cjs (#12903)
dbkr Aug 20, 2024
4064db1
[create-pull-request] automated change (#12907)
RiotRobot Aug 21, 2024
3d80eff
Add Pin/Unpin action in quick access of the message action bar (#12897)
florianduros Aug 21, 2024
a7e907e
Add thread information in pinned message list (#12902)
florianduros Aug 21, 2024
2768b9c
Set entrypoints to use ./lib rather than ./src (#12906)
richvdh Aug 21, 2024
72d5659
Update dependency @types/node to v18.19.44 (#12911)
renovate[bot] Aug 21, 2024
fdc5acd
Update dependency @types/react-transition-group to v4.4.11 (#12912)
renovate[bot] Aug 21, 2024
70665d3
RTE drafts (#12674)
langleyd Aug 22, 2024
5e56ce7
Update dependency husky to v9 (#12914)
renovate[bot] Aug 22, 2024
9671545
Update dependency eslint-plugin-unicorn to v55 (#12913)
renovate[bot] Aug 22, 2024
35fb068
Update dependency axe-core to v4.10.0 (#12916)
renovate[bot] Aug 22, 2024
670ed81
Update dependency @sentry/browser to v8.26.0 (#12915)
renovate[bot] Aug 22, 2024
135d94c
Update playwright monorepo to v1.46.1 (#12918)
renovate[bot] Aug 23, 2024
0848237
Update dependency @types/sanitize-html to v2.13.0 (#12921)
renovate[bot] Aug 23, 2024
69da175
Update babel monorepo (#12920)
renovate[bot] Aug 23, 2024
5a9d7ba
Remove unused CryptoCallbacks implementations (#12919)
richvdh Aug 23, 2024
8381e13
Update stylelint (#12922)
renovate[bot] Aug 23, 2024
1b70b22
Update typescript-eslint monorepo to v7.18.0 (#12924)
renovate[bot] Aug 23, 2024
e599428
Ignore desktop for minimum browser support. (#12928)
florianduros Aug 27, 2024
f0a75d8
Add a config option to control the default widget container height (#…
dbkr Aug 27, 2024
30f84cd
Update playwright image (#12930)
florianduros Aug 27, 2024
e66807e
Merge branch 'master' into develop
RiotRobot Aug 27, 2024
5b91dd8
Reset matrix-js-sdk back to develop branch
RiotRobot Aug 27, 2024
8421022
Rename all the slow reporter stuff to cjs (#12933)
dbkr Aug 27, 2024
71c31bb
[create-pull-request] automated change (#12926)
RiotRobot Aug 28, 2024
43941ef
Install deja-vu font in docker image (#12932)
MidhunSureshR Aug 28, 2024
ea3c5cf
Fix pin/unpin slowness and non refresh from the message action bar (#…
florianduros Aug 28, 2024
c6922c9
Fix reply message truncation on 2 lines (#12929)
florianduros Aug 28, 2024
6fb8f6e
Update all non-major dependencies (#12909)
renovate[bot] Aug 28, 2024
8b2ded8
[create-pull-request] automated change (#12935)
RiotRobot Aug 29, 2024
d16ab09
Display pinned messages on a banner at the top of a room (#12917)
florianduros Aug 29, 2024
2a450c0
Add `allowImportingTsExtensions` to tsconfig (#12939)
florianduros Aug 30, 2024
19f8b44
Implement download_file in widget driver (#12931)
weeman1337 Aug 30, 2024
13ec19c
Sort the pinning message list in the same order than the banner (#12937)
florianduros Aug 30, 2024
3d41f5b
[create-pull-request] automated change (#12938)
RiotRobot Aug 31, 2024
acc7342
[create-pull-request] automated change (#12942)
RiotRobot Sep 2, 2024
ae15bbe
Allow user to set timezone (#12775)
Timshel Sep 2, 2024
1ac533e
Don't emit decrypted event for the banner (#12944)
florianduros Sep 2, 2024
41686bb
Always display last pinned message on the banner (#12945)
florianduros Sep 2, 2024
f033b64
Display the indicator even with one message in pinned message banner …
florianduros Sep 2, 2024
579cb6b
Update to 2.37.9 (#12943)
langleyd Sep 2, 2024
5ff3fd6
[create-pull-request] automated change (#12949)
RiotRobot Sep 3, 2024
6bfdb3e
Fix read receipt animation (#12923)
dbkr Sep 3, 2024
9c233ef
Upgrade dependency to [email protected]
RiotRobot Sep 3, 2024
8f22eb6
v3.109.0-rc.0
RiotRobot Sep 3, 2024
4769985
Update dependency @types/node to v18.19.47 (#12954)
renovate[bot] Sep 3, 2024
892b297
Update babel monorepo (#12955)
renovate[bot] Sep 3, 2024
df82c8a
Update dependency @sentry/browser to v8.27.0 (#12956)
renovate[bot] Sep 3, 2024
33404e4
Update stylelint (#12958)
renovate[bot] Sep 3, 2024
dbc8c9f
Update peter-evans/create-pull-request action to v7 (#12960)
renovate[bot] Sep 3, 2024
9d8c5b6
Update dependency @testing-library/jest-dom to v6.5.0 (#12957)
renovate[bot] Sep 3, 2024
60fe70b
Add a prefix to file, poll, image, video and audio in the pinned mess…
florianduros Sep 4, 2024
ab1e28b
Compute with of content of pinned event tile (#12951)
florianduros Sep 4, 2024
1e3320d
Pinned message list: prevent sender name to overflow pinned event til…
florianduros Sep 4, 2024
cdffbdb
Add error handling for room publish toggle (#12941)
sahil9001 Sep 5, 2024
6490742
Log phases in the verification process (#12963)
richvdh Sep 5, 2024
2639923
Update browserslist (#12953)
renovate[bot] Sep 5, 2024
5bfbca9
Migrate all pinning checks and actions into `PinningUtils` (#12964)
florianduros Sep 5, 2024
bce710e
Upgrade `@matrix-org/analytics-events` to `0.25.0`
florianduros Sep 5, 2024
08d1b6c
Add analytics event for pinned messages
florianduros Sep 5, 2024
33791ca
Merge pull request #12965 from matrix-org/florianduros/pinned-message…
dbkr Sep 5, 2024
eb14223
[create-pull-request] automated change
dbkr Sep 6, 2024
78059e1
Merge pull request #1 from element-hq/actions/playwright-image-updates
RiotRobot Sep 6, 2024
774222f
Update codeowners to element-hq teams
dbkr Sep 6, 2024
f8da257
Update repos for changelog fetching
dbkr Sep 6, 2024
9601be5
Update tests
dbkr Sep 6, 2024
35f96b4
Update GH org in the sonar config file
dbkr Sep 6, 2024
deeeffa
Update project key too
dbkr Sep 6, 2024
92b3eb5
[create-pull-request] automated change
dbkr Sep 7, 2024
caa6f26
Merge pull request #14 from element-hq/actions/playwright-image-updates
RiotRobot Sep 7, 2024
9fb871c
poke the CI
dbkr Sep 7, 2024
272fd75
remove meangingless change
dbkr Sep 7, 2024
0acc7dd
[create-pull-request] automated change
dbkr Sep 9, 2024
58331fb
Merge pull request #15 from element-hq/actions/localazy-download
RiotRobot Sep 9, 2024
d4771dd
Merge pull request #3 from element-hq/dbkr/codeowners
dbkr Sep 9, 2024
3a42d2a
Merge branch 'develop' into dbkr/update_org_sonar
dbkr Sep 9, 2024
c26ce7a
Merge branch 'develop' into dbkr/changelog_repos
dbkr Sep 9, 2024
6dd67b3
Merge pull request #11 from element-hq/dbkr/update_org_sonar
dbkr Sep 9, 2024
e8c0b65
Merge branch 'develop' into dbkr/changelog_repos
dbkr Sep 9, 2024
461da98
Merge pull request #10 from element-hq/dbkr/changelog_repos
dbkr Sep 9, 2024
4382c67
Change org to element-hq (#7)
dbkr Sep 9, 2024
491f0cd
Change license (#13)
langleyd Sep 9, 2024
24fe2f2
[create-pull-request] automated change (#18)
RiotRobot Sep 10, 2024
51495e7
Remove pinned message list screenshot which are flacky (#17)
florianduros Sep 10, 2024
ccb1a61
[create-pull-request] automated change (#24)
RiotRobot Sep 11, 2024
07125f5
Remove release announcement of new header (#23)
florianduros Sep 11, 2024
03004a5
Change settings to true by default (#25)
florianduros Sep 11, 2024
d337fba
Add labels file (#21)
dbkr Sep 11, 2024
433c14e
Log clearer errors when picklekey goes missing (#27)
richvdh Sep 11, 2024
75918f5
Reduce pinned message banner size (#28)
florianduros Sep 11, 2024
a701e3a
Add config option to force verification (#29)
dbkr Sep 11, 2024
85b4f17
[create-pull-request] automated change (#33)
RiotRobot Sep 12, 2024
f317763
Reverse pinned message list (#19)
florianduros Sep 12, 2024
eae9d9e
Add timezone to user profile (#20)
Half-Shot Sep 12, 2024
0e8cd5b
[create-pull-request] automated change (#38)
RiotRobot Sep 13, 2024
5740bdb
[create-pull-request] automated change (#39)
RiotRobot Sep 13, 2024
6b384fe
Fix huge usage bandwidth and performance issue of pinned message bann…
florianduros Sep 13, 2024
a6e98b0
Use `strong` over `b` for improved a11y semantics
t3chguy Sep 13, 2024
a6dec86
Add mobile registration and dispatch event for mobile postmessage dance
langleyd Sep 13, 2024
0244aae
use window.dispatchEvent
langleyd Sep 13, 2024
b505828
update test to work with newer Rust crypto (#32)
uhoreg Sep 13, 2024
8044ce4
Fix tests
t3chguy Sep 13, 2024
be59791
Add support for `org.matrix.cross_signing_reset` UIA stage flow (#34)
t3chguy Sep 13, 2024
9426fec
Fix timeout type (#40)
dbkr Sep 13, 2024
a89f61a
Add error text and title with server name
langleyd Sep 13, 2024
0716434
Allow hs_url as param on mobile_register
langleyd Sep 13, 2024
62d66f9
Remove accidental paste
langleyd Sep 13, 2024
3d89fc3
Merge branch 'develop' of https://github.com/element-hq/matrix-react-…
langleyd Sep 16, 2024
20a4f0a
Enforce config setting
langleyd Sep 16, 2024
74885c9
Merge pull request #42 from element-hq/langleyd/mobile_registeration
dbkr Sep 16, 2024
5985277
Unlabs feature pinning (#22)
florianduros Sep 16, 2024
c24661f
[create-pull-request] automated change (#45)
RiotRobot Sep 17, 2024
1058af6
Playwright test for E2E messages from deleted devices (#47)
richvdh Sep 17, 2024
13e67ae
Add Release announcement for the pinning message list (#46)
florianduros Sep 18, 2024
7feb5a0
Merge branch 'develop' into t3chguy/wat/230.1
t3chguy Sep 18, 2024
49d84a6
Merge remote-tracking branch 'origin/develop' into staging
dbkr Sep 18, 2024
6eb332f
Upgrade dependency to [email protected]
RiotRobot Sep 18, 2024
0bbed85
Pass bot token through explicitly (#56)
dbkr Sep 18, 2024
d04d611
v3.110.0-rc.0
RiotRobot Sep 18, 2024
154bf33
Manually clear orphaned recaptcha challenge overlay in android webvie…
langleyd Sep 18, 2024
1e76313
Playwright: factor out some common code (#49)
richvdh Sep 19, 2024
3dd223c
Also add NPM_TOKEN (#57)
dbkr Sep 19, 2024
0cc0ebe
Replace old reference of `matrix-org/matrix-react-sdk` by `element-hq…
florianduros Sep 19, 2024
4776f87
Ignore chat effect when older than 48h (#48)
florianduros Sep 19, 2024
73843e5
v3.110.0-rc.1
RiotRobot Sep 19, 2024
490746e
Update to use non deprecated methods to derive key from passphrase (#55)
florianduros Sep 19, 2024
fe65702
Update to use non deprecated methods to decode recovery key (#54)
florianduros Sep 19, 2024
cf8fe20
Update dependency express to v4.20.0 [SECURITY] (#26)
renovate[bot] Sep 19, 2024
5058d66
Update Sibz/github-status-action digest to faaa4d9 (#63)
renovate[bot] Sep 19, 2024
ed7e02a
Update dependency stylelint-scss to v6.6.0 (#70)
renovate[bot] Sep 19, 2024
d4c942d
Update playwright monorepo to v1.47.1 (#73)
renovate[bot] Sep 19, 2024
b055908
Update dependency css-tree to v3 (#74)
renovate[bot] Sep 19, 2024
4be5338
Update dependency @sentry/browser to v8.30.0 (#69)
renovate[bot] Sep 19, 2024
1f55710
Mobile registration optimizations and tests (#62)
langleyd Sep 20, 2024
a248788
Update peter-evans/create-pull-request digest to 5e91468 (#64)
renovate[bot] Sep 20, 2024
d56b9ed
Update dependency eslint to v8.57.1 (#68)
renovate[bot] Sep 23, 2024
9aa09d4
Maybe fix flakey AddRemoveThreepid test (#81)
dbkr Sep 23, 2024
47a9377
Update dependency @types/react to v17.0.82 (#66)
renovate[bot] Sep 23, 2024
ef1d4f6
Grant Element Call widget capabilities for "raise hand" feature (#82)
AndrewFerr Sep 23, 2024
a1bdcee
Update dependency @types/node to v18.19.50 (#65)
renovate[bot] Sep 23, 2024
3620c5a
Merge branch 'develop' into t3chguy/wat/230.1
t3chguy Sep 24, 2024
3c267f9
Update snapshots
t3chguy Sep 24, 2024
1d5d0cc
Upgrade dependency to [email protected]
RiotRobot Sep 24, 2024
df9d813
v3.110.0
RiotRobot Sep 24, 2024
2e895da
Crypto: fix display of device key (#86)
richvdh Sep 24, 2024
ad94c39
Fix accessible label on left panel spotlight trigger (#87)
t3chguy Sep 25, 2024
dd7479a
Merge branch 'develop' of github.com:element-hq/matrix-react-sdk into…
t3chguy Sep 25, 2024
9e4348e
Update test assertions
t3chguy Sep 25, 2024
e6404da
Update test assertions
t3chguy Sep 25, 2024
3f67819
Merge pull request #41 from element-hq/t3chguy/wat/230.1
t3chguy Sep 26, 2024
34d1875
Open room settings on room header avatar click (#88)
t3chguy Sep 26, 2024
81192f6
Update dependency typescript to v5.6.2 (#71)
renovate[bot] Sep 26, 2024
ef9e310
Pop right panel timeline when unmaximising widget to avoid double tim…
t3chguy Sep 27, 2024
8962e8c
Improve contrast for timestamps, date separators & spotlight trigger …
t3chguy Sep 27, 2024
be2c1fc
Add labs option to exclude unverified devices (#92)
richvdh Sep 30, 2024
f28f1d9
Improve error display for messages sent from insecure devices (#93)
richvdh Sep 30, 2024
4f39164
Ensure timeline search results are visible even in video rooms (#96)
t3chguy Sep 30, 2024
bd793a0
Allow joining calls and video rooms without enabling the labs flags (…
robintown Sep 30, 2024
0b3b499
Fix label sync (#101)
dbkr Sep 30, 2024
fe402e2
Fix flaky mobile registration tests (#102)
t3chguy Sep 30, 2024
81bb56a
Simplify Jest runs in CI to share failures with merge queue (#103)
t3chguy Sep 30, 2024
33c900e
Remove right panel toggling behaviour on room header buttons (#100)
t3chguy Sep 30, 2024
36fae00
Change device isolation mode to set `errorOnVerifiedUserProblems` to …
richvdh Sep 30, 2024
39a0f6e
Remove ts-ignores where no longer necessary (#89)
t3chguy Oct 1, 2024
d30645f
Allow joining calls and video rooms without enabling the labs flags (…
robintown Sep 30, 2024
059db4d
Merge pull request #106 from element-hq/backport-95-to-staging
dbkr Oct 1, 2024
cd850f5
v3.111.0
RiotRobot Oct 1, 2024
f33e802
Fix untranslated keys being rendered in `/help` dialog (#90)
t3chguy Oct 1, 2024
dd405ea
Merge remote-tracking branch 'origin/develop' into staging
RiotRobot Oct 1, 2024
08b3912
Upgrade dependency to [email protected]
RiotRobot Oct 1, 2024
b32de09
v3.112.0-rc.0
RiotRobot Oct 1, 2024
e4ed182
Upgrade dependency to [email protected]
RiotRobot Oct 8, 2024
9338853
v3.112.0
RiotRobot Oct 8, 2024
ebd1e11
Merge tag 'v3.112.0' into upgrade-v3.112.0
MarcWadai Oct 8, 2024
7cf9e10
Fix merge conflict v3.112.0
MarcWadai Oct 8, 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
Fix merge conflict v3.112.0
MarcWadai committed Oct 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 7cf9e10e21d20abe2f43cfebf4d0694a7151f881
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -84,12 +84,8 @@
"@babel/runtime": "^7.12.5",
"@matrix-org/analytics-events": "^0.25.0",
"@matrix-org/emojibase-bindings": "^1.1.2",
<<<<<<< HEAD
"@matrix-org/matrix-wysiwyg": "2.37.8",
"@matrix-org/olm": "3.2.15",
=======
"@matrix-org/matrix-wysiwyg": "2.37.9",
>>>>>>> v3.112.0
"@matrix-org/olm": "3.2.15",
"@matrix-org/react-sdk-module-api": "^2.4.0",
"@matrix-org/spec": "^1.7.0",
"@sentry/browser": "^8.0.0",
19 changes: 3 additions & 16 deletions src/MatrixClientPeg.ts
Original file line number Diff line number Diff line change
@@ -32,12 +32,8 @@ import Modal from "./Modal";
import MatrixClientBackedSettingsHandler from "./settings/handlers/MatrixClientBackedSettingsHandler";
import * as StorageManager from "./utils/StorageManager";
import IdentityAuthClient from "./IdentityAuthClient";
<<<<<<< HEAD
import { crossSigningCallbacks, tryToUnlockSecretStorageWithDehydrationKey } from "./SecurityManager";
import { ModuleRunner } from "./modules/ModuleRunner";
=======
import { crossSigningCallbacks } from "./SecurityManager";
>>>>>>> v3.112.0
import { SlidingSyncManager } from "./SlidingSyncManager";
import CryptoStoreTooNewDialog from "./components/views/dialogs/CryptoStoreTooNewDialog";
import { _t, UserFriendlyError } from "./languageHandler";
@@ -48,11 +44,8 @@ import PlatformPeg from "./PlatformPeg";
import { formatList } from "./utils/FormattingUtils";
import SdkConfig from "./SdkConfig";
import { Features } from "./settings/Settings";
<<<<<<< HEAD
import { PhasedRolloutFeature } from "./utils/PhasedRolloutFeature";
=======
import { setDeviceIsolationMode } from "./settings/controllers/DeviceIsolationModeController.ts";
>>>>>>> v3.112.0

export interface IMatrixClientCreds {
homeserverUrl: string;
@@ -378,8 +371,10 @@ class MatrixClientPegClass implements IMatrixClientPeg {
storagePassword: rustCryptoStorePassword,
});

<<<<<<< HEAD
StorageManager.setCryptoInitialised(true);

setDeviceIsolationMode(this.matrixClient, SettingsStore.getValue("feature_exclude_insecure_devices"));

// TODO: device dehydration and whathaveyou
return;
}
@@ -404,14 +399,6 @@ class MatrixClientPegClass implements IMatrixClientPeg {
// that the olm library was missing. It's not fatal.
logger.warn("Unable to initialise e2e", e);
}
=======
StorageManager.setCryptoInitialised(true);

setDeviceIsolationMode(this.matrixClient, SettingsStore.getValue("feature_exclude_insecure_devices"));

// TODO: device dehydration and whathaveyou
return;
>>>>>>> v3.112.0
}

/**
8 changes: 0 additions & 8 deletions src/SecurityManager.ts
Original file line number Diff line number Diff line change
@@ -6,14 +6,9 @@ SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
Please see LICENSE files in the repository root for full details.
*/

<<<<<<< HEAD
import { Crypto, ICryptoCallbacks, MatrixClient, encodeBase64, SecretStorage } from "matrix-js-sdk/src/matrix";
import { deriveKey } from "matrix-js-sdk/src/crypto/key_passphrase";
import { decodeRecoveryKey } from "matrix-js-sdk/src/crypto/recoverykey";
=======
import { ICryptoCallbacks, SecretStorage } from "matrix-js-sdk/src/matrix";
import { deriveRecoveryKeyFromPassphrase, decodeRecoveryKey } from "matrix-js-sdk/src/crypto-api";
>>>>>>> v3.112.0
import { logger } from "matrix-js-sdk/src/logger";

import type CreateSecretStorageDialog from "./async-components/views/dialogs/security/CreateSecretStorageDialog";
@@ -36,16 +31,13 @@ let secretStorageKeys: Record<string, Uint8Array> = {};
let secretStorageKeyInfo: Record<string, SecretStorage.SecretStorageKeyDescription> = {};
let secretStorageBeingAccessed = false;

<<<<<<< HEAD
let nonInteractive = false;

let dehydrationCache: {
key?: Uint8Array;
keyInfo?: SecretStorage.SecretStorageKeyDescription;
} = {};

=======
>>>>>>> v3.112.0
/**
* This can be used by other components to check if secret storage access is in
* progress, so that we can e.g. avoid intermittently showing toasts during
8 changes: 2 additions & 6 deletions src/components/structures/auth/CompleteSecurity.tsx
Original file line number Diff line number Diff line change
@@ -88,15 +88,11 @@ export default class CompleteSecurity extends React.Component<IProps, IState> {
const forceVerification = SdkConfig.get("force_verification") ?? false;

let skipButton;
<<<<<<< HEAD
if (phase === Phase.Intro || phase === Phase.ConfirmReset) {

if (!forceVerification && (phase === Phase.Intro || phase === Phase.ConfirmReset)) {
// :Tchap: cross-signing-ui - Condition to skip Phase.ConfirmSkip and its "Are you sure" modal after login for csss
const tchapOnSkipClick = phase === Phase.Intro ? this.props.onFinished : this.onSkipClick;
// end :Tchap:

=======
if (!forceVerification && (phase === Phase.Intro || phase === Phase.ConfirmReset)) {
>>>>>>> v3.112.0
skipButton = (
<AccessibleButton
// :tchap: cross-signing-ui - remove onClick={this.onSkipClick}
22 changes: 2 additions & 20 deletions src/components/structures/auth/Registration.tsx
Original file line number Diff line number Diff line change
@@ -607,9 +607,8 @@ export default class Registration extends React.Component<IProps, IState> {
);
} else if (this.state.matrixClient && this.state.flows.length) {
let ssoSection: JSX.Element | undefined;
<<<<<<< HEAD
// :TCHAP: sso-agentconnect-flow
// if (this.state.ssoFlow) {
// if (!this.props.mobileRegister && this.state.ssoFlow) {
// let continueWithSection;
// const providers = this.state.ssoFlow.identity_providers || [];
// // when there is only a single (or 0) providers we show a wide button with `Continue with X` text
@@ -621,20 +620,6 @@ export default class Registration extends React.Component<IProps, IState> {
// </h2>
// );
// }
=======
if (!this.props.mobileRegister && this.state.ssoFlow) {
let continueWithSection;
const providers = this.state.ssoFlow.identity_providers || [];
// when there is only a single (or 0) providers we show a wide button with `Continue with X` text
if (providers.length > 1) {
// i18n: ssoButtons is a placeholder to help translators understand context
continueWithSection = (
<h2 className="mx_AuthBody_centered">
{_t("auth|continue_with_sso", { ssoButtons: "" }).trim()}
</h2>
);
}
>>>>>>> v3.112.0

// // i18n: ssoButtons & usernamePassword are placeholders to help translators understand context
// ssoSection = (
@@ -655,18 +640,15 @@ export default class Registration extends React.Component<IProps, IState> {
// </h2>
// </React.Fragment>
// );
if (this.state.ssoFlow && TchapUIFeature.isSSOFlowActive()) {
if (!this.props.mobileRegister && this.state.ssoFlow && TchapUIFeature.isSSOFlowActive()) {
ssoSection = <>
<ProconnectButton/>
<p style={{textAlign: "center", fontWeight: "bold"}}>{_t("auth|sso|or")}</p>
</>
}
<<<<<<< HEAD
// }
// end :TCHAP:

=======
>>>>>>> v3.112.0
return (
<React.Fragment>
{ssoSection}
3 changes: 0 additions & 3 deletions src/components/views/auth/PassphraseField.tsx
Original file line number Diff line number Diff line change
@@ -15,11 +15,8 @@ import withValidation, { IFieldState, IValidationResult } from "../elements/Vali
import { _t, _td, TranslationKey } from "../../../languageHandler";
import Field, { IInputProps } from "../elements/Field";
import { MatrixClientPeg } from "../../../MatrixClientPeg";
<<<<<<< HEAD
import TchapStrongPassword from "../../../../../../src/tchap/util/TchapStrongPassword";
=======
import { Alignment } from "../elements/Tooltip";
>>>>>>> v3.112.0

interface IProps extends Omit<IInputProps, "onValidate" | "element"> {
autoFocus?: boolean;
8 changes: 0 additions & 8 deletions src/components/views/auth/RegistrationForm.tsx
Original file line number Diff line number Diff line change
@@ -595,7 +595,6 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
return (
<div>
<form onSubmit={this.onSubmit}>
<<<<<<< HEAD
{ /* :TCHAP: registration-for-mainlining - remove username field, the server will generate it from email.
<div className="mx_AuthBody_fieldRow">
{ this.renderUsername() }
@@ -607,14 +606,7 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
{ this.renderEmail() }
{ this.renderPhoneNumber() }
</div>
=======
<div className="mx_AuthBody_fieldRow">{this.renderUsername()}</div>
{passwordFields}
>>>>>>> v3.112.0
<div className="mx_AuthBody_fieldRow">
{ this.renderPassword() }
{ this.renderPasswordConfirm() }
</div>
{ /* end :TCHAP: */}
{ /** :TCHAP: registration-for-mainlining - remove helper text, adds confusion since email=username in tchap. // emailHelperText */ }
{registerButton}
3 changes: 0 additions & 3 deletions src/components/views/context_menus/MessageContextMenu.tsx
Original file line number Diff line number Diff line change
@@ -51,13 +51,10 @@ import { getForwardableEvent } from "../../../events/forward/getForwardableEvent
import { getShareableLocationEvent } from "../../../events/location/getShareableLocationEvent";
import { ShowThreadPayload } from "../../../dispatcher/payloads/ShowThreadPayload";
import { CardContext } from "../right_panel/context";
<<<<<<< HEAD
//:tchap: remove-thread-buttons - add feature flags
import TchapUIFeature from "../../../../../../src/tchap/util/TchapUIFeature";
=======
import PinningUtils from "../../../utils/PinningUtils";
import PosthogTrackers from "../../../PosthogTrackers.ts";
>>>>>>> v3.112.0

interface IReplyInThreadButton {
mxEvent: MatrixEvent;
3 changes: 0 additions & 3 deletions src/components/views/messages/MessageActionBar.tsx
Original file line number Diff line number Diff line change
@@ -58,12 +58,9 @@ import { ShowThreadPayload } from "../../../dispatcher/payloads/ShowThreadPayloa
import { GetRelationsForEvent, IEventTileType } from "../rooms/EventTile";
import { VoiceBroadcastInfoEventType } from "../../../voice-broadcast/types";
import { ButtonEvent } from "../elements/AccessibleButton";
<<<<<<< HEAD
import TchapUIFeature from "../../../../../../src/tchap/util/TchapUIFeature"; // :TCHAP: remove-thread-buttons
=======
import PinningUtils from "../../../utils/PinningUtils";
import PosthogTrackers from "../../../PosthogTrackers.ts";
>>>>>>> v3.112.0

interface IOptionsButtonProps {
mxEvent: MatrixEvent;
3 changes: 0 additions & 3 deletions src/components/views/right_panel/LegacyRoomHeaderButtons.tsx
Original file line number Diff line number Diff line change
@@ -30,11 +30,8 @@ import { SummarizedNotificationState } from "../../../stores/notifications/Summa
import PosthogTrackers from "../../../PosthogTrackers";
import { ButtonEvent } from "../elements/AccessibleButton";
import { doesRoomOrThreadHaveUnreadMessages } from "../../../Unread";
<<<<<<< HEAD
import TchapUIFeature from "../../../../../../src/tchap/util/TchapUIFeature"; // :TCHAP: remove-thread-buttons
=======
import { usePinnedEvents, useReadPinnedEvents } from "../../../hooks/usePinnedEvents";
>>>>>>> v3.112.0

const ROOM_INFO_PHASES = [
RightPanelPhases.RoomSummary,
35 changes: 1 addition & 34 deletions src/components/views/rooms/RoomHeader.tsx
Original file line number Diff line number Diff line change
@@ -262,18 +262,6 @@ export default function RoomHeader({
onClick={() => RightPanelStore.instance.showOrHidePhase(RightPanelPhases.RoomSummary)}
className="mx_RoomHeader_infoWrapper"
>
<<<<<<< HEAD
<button
aria-label={_t("right_panel|room_summary_card|title")}
tabIndex={0}
onClick={() => {
if (isReleaseAnnouncementOpen) {
ReleaseAnnouncementStore.instance.nextReleaseAnnouncement();
}
RightPanelStore.instance.showOrHidePanel(RightPanelPhases.RoomSummary);
}}
className="mx_RoomHeader_infoWrapper"
>
{/* :TCHAP: customize-room-header-bar - RoomAvatar -> DecoratedRoomAvatar
<WithPresenceIndicator room={room} size="8px">
<RoomAvatar room={room} size="40px" oobData={oobData} />
@@ -284,8 +272,6 @@ export default function RoomHeader({
{/* :tchap: customize-room-header-bar - Add external caption when room is open to external */}
<TchapExternalRoomHeader room={room}></TchapExternalRoomHeader>
{/* :tchap: end */}
=======
>>>>>>> v3.112.0
<Box flex="1" className="mx_RoomHeader_info">
<BodyText
as="div"
@@ -298,12 +284,8 @@ export default function RoomHeader({
>
<span className="mx_RoomHeader_truncated mx_lineClamp">{roomName}</span>

<<<<<<< HEAD
{/* :tchap: customize-room-header-bar - remove public forum icon
{!isDirectMessage && roomState.getJoinRule() === JoinRule.Public && (
=======
{!isDirectMessage && joinRule === JoinRule.Public && (
>>>>>>> v3.112.0
{!isDirectMessage && joinRule === JoinRule.Publicc && (
<Tooltip label={_t("common|public_room")} placement="right">
<PublicIcon
width="16px"
@@ -313,13 +295,9 @@ export default function RoomHeader({
/>
</Tooltip>
)}
<<<<<<< HEAD
*/}

{/* :tchap: customize-room-header-bar - do not show e2eStatus
=======

>>>>>>> v3.112.0
{isDirectMessage && e2eStatus === E2EStatus.Verified && (
<Tooltip label={_t("common|verified")} placement="right">
<VerifiedIcon
@@ -330,13 +308,9 @@ export default function RoomHeader({
/>
</Tooltip>
)}
<<<<<<< HEAD
*/}

{/* :tchap: customize-room-header-bar - do not show E2EStatus.Warning
=======

>>>>>>> v3.112.0
{isDirectMessage && e2eStatus === E2EStatus.Warning && (
<Tooltip label={_t("room|header_untrusted_label")} placement="right">
<ErrorIcon
@@ -347,17 +321,10 @@ export default function RoomHeader({
/>
</Tooltip>
)}
<<<<<<< HEAD
*/}
</BodyText>
</Box>
</button>
</ReleaseAnnouncement>
=======
</BodyText>
</Box>
</button>
>>>>>>> v3.112.0
<Flex align="center" gap="var(--cpd-space-2x)">
{additionalButtons?.map((props) => {
const label = props.label();
11 changes: 0 additions & 11 deletions test/MatrixClientPeg-test.ts
Original file line number Diff line number Diff line change
@@ -8,26 +8,15 @@ Please see LICENSE files in the repository root for full details.

import { logger } from "matrix-js-sdk/src/logger";
import fetchMockJest from "fetch-mock-jest";
<<<<<<< HEAD
import EventEmitter from "events";
import {
ProvideCryptoSetupExtensions,
SecretStorageKeyDescription,
} from "@matrix-org/react-sdk-module-api/lib/lifecycles/CryptoSetupExtensions";
=======
>>>>>>> v3.112.0

import { advanceDateAndTime, stubClient } from "./test-utils";
import { IMatrixClientPeg, MatrixClientPeg as peg } from "../src/MatrixClientPeg";
import SettingsStore from "../src/settings/SettingsStore";
import Modal from "../src/Modal";
import PlatformPeg from "../src/PlatformPeg";
import { SettingLevel } from "../src/settings/SettingLevel";
<<<<<<< HEAD
import { Features } from "../src/settings/Settings";
import { ModuleRunner } from "../src/modules/ModuleRunner";
=======
>>>>>>> v3.112.0

jest.useFakeTimers();