Michael Telatynski
5b5348ec1e
Remove abandoned MSC3886, MSC3903, MSC3906 implementations ( #28274 )
...
* Remove abandoned MSC3886, MSC3903, MSC3906 implementations
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Remove stale snapshots
* Improve coverage
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-24 12:58:39 +00:00
Florian Duros
6d0d237c79
Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `SecurityRoomSettingsTab` ( #28281 )
2024-10-24 08:34:07 +00:00
Michael Telatynski
5cad0c234f
Fix other devices not being decorated as such ( #28279 )
...
* Fix other devices not being decorated as such
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update snapshots
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-23 16:25:00 +00:00
Michael Telatynski
d4cf3881bc
Switch away from deprecated ReactDOM findDOMNode ( #28259 )
...
* Remove unused method getVisibleDecryptionFailures
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Switch away from ReactDOM findDOMNode
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-22 11:58:45 +00:00
David Baker
19ef3267c0
Refactor CreateCrossSigningDialog ( #28218 )
...
* Refactor CreateCrossSigningDialog
* Converts CreateCrossSigningDialog to a functional component
* Pulls logic out to its own class
* Updates usage of deprecated cross signing bootstrap method on client to be on the crypto object and updates test to match
Moved from https://github.com/element-hq/matrix-react-sdk/pull/131
* Add mock here too
* Use the right mock
* Remove duplicate mock
* Stray jest mock line
* Un-move mocks
* tsdoc
* Typo
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
---------
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2024-10-22 11:42:07 +00:00
Florian Duros
1ec2f9261f
Replace `IBootstrapCrossSigningOpts` by `BootstrapCrossSigningOpts` to use CryptoApi type instead of old crypto type. ( #28263 )
2024-10-22 09:18:30 +00:00
Florian Duros
4a1f86f273
Remove `MatrixClient.getDehydratedDevice` call ( #28254 )
2024-10-22 08:09:07 +00:00
Michael Telatynski
d8800ef987
Update to React 18 ( #24763 )
...
* Upgrade target to es2021
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Upgrade target to es2021
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Upgrade to es2022
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Upgrade to es2022
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix babel config
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix babel config
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix React contexts
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix React state
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update to React 18
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update to React 18
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Install @testing-library/dom
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update lockfile
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Yarn lock update
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-21 13:50:06 +00:00
Florian Duros
46d13921d0
First batch: remove deprecated calls on `MatrixClient` ( #28207 )
...
* Remove `initCrypto` mocking
* Remove `MatrixClient.downloadKeys` mocking
* Remove `MatrixClient.getStoredDevice` mocking
* Replace `MatrixClient.setGlobalBlacklistUnverifiedDevices` by `MatrixClient.CryptoApi.globalBlacklistUnverifiedDevices`
* Remove `MatrixClient.getStoredCrossSigningForUser` mocking
* Replace `MatrixClient.legacyDeviceVerification` by `MatrixClient.CryptoApi.requestDeviceVerification`
* Remove `MatrixClient.isCrossSigningReady` mock
* Replace `MatrixClient.bootstrapCrossSigning` by `MatrixClient.getCrypto.bootstrapCrossSigning`
* Replace `MatrixClient.getCryptoTrustCrossSignedDevices` by `MatrixClient.getCrypto.getTrustCrossSignedDevices`
* Replace `MatrixClient.hasSecretStorageKey` by `MatrixClient.SecretStorage.hasKey`
* Replace `MatrixClient.getDefaultSecretStorageKeyId` by `MatrixClient.SecretStorage.getDefaultKeyId`
* Remove `MatrixClient.encryptAndSendToDevices` call
2024-10-21 12:53:39 +01:00
Michael Telatynski
02e0aca98d
Deduplicate icons using Compound ( #28239 )
...
* Deduplicate icons using Compound
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update snapshots
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update e2e tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-21 10:36:31 +00:00
Florian Duros
061c8217b3
- Remove deprecated `MatrixClient.keyBackupKeyFromPassword` call. ( #28233 )
...
- The `keyBackupKeyFromPassword` call is bound to the `keyCallback` props in `RestoreKeyBackupDialog` which is not used in `CreateSecretStorageDialog`
- Remove code bound to `keyCallback` props
2024-10-21 09:59:07 +00:00
Michael Telatynski
26430a3a6a
Replace legacy Tooltips with Compound tooltips ( #28231 )
...
* Ditch legacy Tooltips in favour of Compound
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Remove dead code
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Extract markdown CodeBlock into React component
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Upgrade compound
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-18 14:57:39 +00:00
Florian Duros
fad457362d
Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `ContentMessages.ts` ( #28238 )
2024-10-18 14:44:56 +00:00
Michael Telatynski
4e93233a3d
Merge pull request #28236 from element-hq/t3chguy/sonar-happy
2024-10-18 15:55:15 +01:00
Michael Telatynski
90e8c13c0f
Deduplicate icons using Compound Design Tokens ( #28219 )
...
* Deduplicate icons using Compound Design Tokens
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-18 13:51:54 +00:00
Michael Telatynski
9d68f2c4cc
Update tests
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-18 14:34:02 +01:00
Michael Telatynski
837e27ed42
Iterate
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-18 14:34:02 +01:00
Michael Telatynski
6c6bf811a6
Migrate to stylistic
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-18 14:34:01 +01:00
David Langley
59cd5180af
Add reactions to html export ( #28210 )
...
* Absorb the matrix-react-sdk repository (#28192 )
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
Co-authored-by: Kim Brose <kim.brose@nordeck.net>
Co-authored-by: Florian Duros <florianduros@element.io>
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
Co-authored-by: dbkr <986903+dbkr@users.noreply.github.com>
Co-authored-by: ElementRobot <releases@riot.im>
Co-authored-by: dbkr <dbkr@users.noreply.github.com>
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: David Langley <davidl@element.io>
Co-authored-by: Michael Weimann <michaelw@matrix.org>
Co-authored-by: Timshel <Timshel@users.noreply.github.com>
Co-authored-by: Sahil Silare <32628578+sahil9001@users.noreply.github.com>
Co-authored-by: Will Hunt <will@half-shot.uk>
Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
Co-authored-by: Robin <robin@robin.town>
Co-authored-by: Tulir Asokan <tulir@maunium.net>
* Update dependency @sentry/browser to v8.33.0 [SECURITY] (#28194 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update babel monorepo (#28196 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update dependency @types/react to v17.0.83 (#28138 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update dependency @matrix-org/spec to v1.12.0 (#28200 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update dependency @formatjs/intl-segmenter to v11.5.9 (#28197 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Remove references to `MatrixClient.crypto` (#28204 )
* Remove `VerificationExplorer`
* Remove `remakeolm` slash command
* Remove call to `crypto.cancelAndResendAllOutgoingKeyRequests`
* Remove crypto mock in `LoginWithQR-test.tsx`
* Remove `StopGadWidgetDriver.sendToDevice`
* Remove remaining mock
* Update dependency typescript to v5.6.3 (#28198 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update dependency eslint-plugin-unicorn to v56 (#28202 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update dependency stylelint to v16.10.0 (#28201 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update browserslist (#28199 )
* Update browserslist
* Update tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* Add reactions to html export and add test
* Add reaction to snapshot test
* Update snapshot output
* Remove logging
* Add reaction to html export screenshot test.
* lint
* Update reference screenshot.
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
Co-authored-by: Kim Brose <kim.brose@nordeck.net>
Co-authored-by: Florian Duros <florianduros@element.io>
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
Co-authored-by: dbkr <986903+dbkr@users.noreply.github.com>
Co-authored-by: ElementRobot <releases@riot.im>
Co-authored-by: dbkr <dbkr@users.noreply.github.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Michael Weimann <michaelw@matrix.org>
Co-authored-by: Timshel <Timshel@users.noreply.github.com>
Co-authored-by: Sahil Silare <32628578+sahil9001@users.noreply.github.com>
Co-authored-by: Will Hunt <will@half-shot.uk>
Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
Co-authored-by: Robin <robin@robin.town>
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2024-10-18 12:56:08 +00:00
Michael Telatynski
e09e15bb52
Fix test
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-18 13:38:25 +01:00
Michael Telatynski
06d1239608
Fix develop changelog parsing ( #28232 )
...
* Fix develop changelog parsing and DRY it
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* duh
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Improve coverage
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Typeguards!
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Discard changes to test/unit-tests/components/views/dialogs/__snapshots__/ChangelogDialog-test.tsx.snap
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-18 11:20:52 +00:00
Florian Duros
1bb482f6f7
Replace `Matrix.getKeyBackupEnabled` by `MatrixClient.CryptoApi.getActiveSessionBackupVersion` ( #28225 )
...
* Migrating deprecated sync `MatrixClient.getKeyBackupEnabled` to async `MatrixClient.CryptoApi.getActiveSessionBackupVersion` in `NewRecoveryMethodDialog`.
Rewrite `NewRecoveryMethodDialog` into a functional component to make it easier to handle the new async method.
* Migrating deprecated sync `MatrixClient.getKeyBackupEnabled` to async `MatrixClient.CryptoApi.getActiveSessionBackupVersion` in `MatrixChat`.
2024-10-18 09:45:45 +00:00
David Baker
cb383efb42
Port the flaky add/remove 3pid test to playwright ( #28226 )
...
Fixes https://github.com/element-hq/element-web/issues/28160
2024-10-17 15:45:56 +00:00
renovate[bot]
9a6dac00fc
Update browserslist ( #28199 )
...
* Update browserslist
* Update tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-17 08:50:45 +01:00
Florian Duros
7236953d07
Remove references to `MatrixClient.crypto` ( #28204 )
...
* Remove `VerificationExplorer`
* Remove `remakeolm` slash command
* Remove call to `crypto.cancelAndResendAllOutgoingKeyRequests`
* Remove crypto mock in `LoginWithQR-test.tsx`
* Remove `StopGadWidgetDriver.sendToDevice`
* Remove remaining mock
2024-10-17 08:50:44 +01:00
Florian Duros
b483fdda35
Use new `CryptoEvent` import ( #128 )
...
* Use new `CryptoEvent` import
* Remove remaining old `CryptoEvent` import
* Replace `import` by `import type`
2024-10-16 12:56:10 +01:00
Florian Duros
571ada37a7
Replace `MatrixClient.isCryptoEnabled` by `MatrixClient.getCrypto` ( #140 )
...
* Replace `MatrixClient.isCryptoEnabled` by `MatrixClient.getCrypto`
* Cast `cryptoEnabled` as `boolean`
* Fix `MatrixChat-test`
(cherry picked from commit 950ab1940bfcea9443f03284f9175d319c13a44c)
2024-10-16 09:42:18 +01:00
Michael Telatynski
146968da2c
Deduplicate more icons using Compound Design Tokens ( #132 )
...
* Deduplicate more icons using Compound Design Tokens
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
(cherry picked from commit 7448bd52e2ff354917d6e5f769ca052961c13aa0)
2024-10-16 09:42:03 +01:00
Michael Telatynski
f78f6b3a9a
Iterate
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-16 09:09:41 +01:00
Michael Telatynski
68c0c4c833
Iterate
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 18:29:37 +01:00
Michael Telatynski
67659ab353
Iterate
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 16:22:11 +01:00
Michael Telatynski
f0ee7f7905
Merge matrix-react-sdk into element-web
...
Merge remote-tracking branch 'repomerge/t3chguy/repomerge' into t3chguy/repo-merge
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 15:32:09 +01:00
Michael Telatynski
b084ff2313
Prepare for repo merge
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 11:35:21 +01:00
R Midhun Suresh
786a0286cf
Upgrade compound also in element-web ( #28157 )
2024-10-14 17:11:54 +01:00
David Langley
69c28ad74f
Update license files
2024-09-06 15:44:31 +01:00
Michael Telatynski
59e526e318
Update unsupported browser react component to new designs ( #27857 )
2024-07-30 14:16:19 +01:00
David Langley
855bb568b9
rename the GH org in links within documentation
2023-12-20 12:21:26 +00:00
Michael Telatynski
7fe11a6026
Make tests happier
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-26 12:28:31 +01:00
renovate[bot]
790ff16701
Update all non-major dependencies ( #25858 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-27 11:33:18 +01:00
Šimon Brandner
93e6ee11ab
Switch to the new `session` API for screen-sharing ( #25802 )
2023-07-14 22:05:23 +02:00
Kerry
ef30662c04
store fragmentafterlogin in sesison storage for oidc login ( #25688 )
2023-07-11 02:19:15 +00:00
Michael Telatynski
f5b8bccb65
Conform more of the codebase with `noImplicitAny` and `strictNullChecks` ( #25174
...
* Conform more of the codebase with `noImplicitAny` and `strictNullChecks`
* Fix tests
* Update src/vector/app.tsx
2023-04-25 09:36:17 +01:00
Michael Telatynski
b9b0b096a4
Allow desktop app to expose recent rooms in UI integrations ( #16940 )
2023-03-22 09:22:51 +00:00
Michael Weimann
7921a6cbf8
Apply prettier formatting
2022-12-09 13:28:29 +01:00
Michael Telatynski
172f2f3993
Fix tests and convert to RTL ( #23474 )
2022-10-13 09:22:34 +01:00
Michael Telatynski
2ef6abbfb8
Move from `browser-request` to `fetch` ( #23427 )
2022-10-12 18:59:10 +01:00
Kerry
0e8e472138
Device manager - tweak string formatting of default device name ( #23457 )
...
* tweak string formatting of default device name
* cheaters path to beating quality gate
* more electronplatform test coverage
* remove test that throw errors
* cover some more window.electrons
* more coverage
* empty line
2022-10-12 15:35:52 +02:00
Michael Telatynski
d8124d37e4
Improve coverage ( #23380 )
2022-09-30 18:27:59 +01:00
Michael Telatynski
5ec96f5abe
Add test coverage ( #23341 )
2022-09-23 09:42:03 +01:00
Michael Telatynski
017dfb6606
Write additional tests ( #22802 )
...
* Write additional tests
* Make Sonar happier
2022-07-11 13:22:37 +01:00
Kerry
5ade461ea5
unit test getVectorConfig ( #22373 )
...
* test getconfig
Signed-off-by: Kerry Archibald <kerrya@element.io>
* whitespace
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-05-27 13:09:27 +00:00
Kerry
9df5bf17f4
unit test WebPlatform ( #22371 )
...
* test most version stuff
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tidy
Signed-off-by: Kerry Archibald <kerrya@element.io>
* eof
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-05-27 10:30:13 +00:00
Michael Telatynski
26fef6f294
actually run the new test and remove unrelated tweak
2021-07-16 13:45:10 +01:00
Michael Telatynski
8fdb41412f
Use URLSearchParams instead of transitive dependency `querystring`
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-12 01:45:58 +01:00
Matthew Hodgson
c8b26a1002
fix tests
2018-04-16 00:23:34 +01:00
Matthew Hodgson
8757c8cae0
move notif UTs to sdk
2018-04-12 20:24:44 +01:00
David Baker
9c7731e141
Don't include src in the test resolve root
...
As https://github.com/matrix-org/matrix-react-sdk/pull/931
2017-05-26 14:02:03 +01:00
Richard van der Hoff
121fe34180
Improve parsing of keyword notification rules
...
For notification rules, the absence of a value on a 'highlight' tweak means
that the highlight should happen; this was previously confusing us.
Use the action parser from NotificationUtils to simplify the code.
Fixes https://github.com/vector-im/vector-web/issues/1330
2016-04-14 22:45:00 +01:00
Richard van der Hoff
ff5dff45f5
Start Notifications component refactor
...
Factor some things out of the mega Notifications component, and add a dummy
unit test to show willing
2016-04-13 18:44:41 +01:00