Michael Telatynski
c839123b83
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/cr/72
...
# Conflicts:
# src/components/views/rooms/RoomHeader.tsx
# test/components/views/rooms/__snapshots__/RoomHeader-test.tsx.snap
2023-09-19 10:36:29 +01:00
Andy Balaam
dce42d32e7
Merge pull request #11495 from matrix-org/germain-gg/fix-right-panel-member
...
Move ViewUser action callback to RoomView
2023-09-15 11:37:26 +01:00
Michael Telatynski
e301fe474b
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/cr/72
...
# Conflicts:
# test/components/views/rooms/__snapshots__/RoomHeader-test.tsx.snap
2023-09-14 11:33:22 +01:00
RMidhunSuresh
919580fd10
Rename setPhase to showOrHidePanel
2023-09-12 20:48:29 +05:30
Michael Telatynski
89fa7b4b39
Iterate
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-12 15:36:22 +01:00
Charly Nguyen
5cf2e1514b
Use knock rooms sync to reflect the knock state ( #11596 )
...
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2023-09-11 16:33:40 +00:00
Michael Telatynski
569832bc24
Handle ManagedHybrid widgets in useRoomCall
and mark them in the widget state event
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-11 11:39:30 +01:00
Michael Telatynski
85be845f16
Migrate more strings to translation keys ( #11532 )
2023-09-05 17:52:06 +01:00
Michael Telatynski
6b3243b27b
Migrate more strings to translation keys ( #11498 )
2023-08-31 11:22:10 +01:00
Šimon Brandner
af268b4a03
Support for embedded E2EE ( #11492 )
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-30 17:30:29 +00:00
Michael Telatynski
99e80dd296
Consume more imports from matrix-js-sdk/src/matrix ( #11449 )
2023-08-23 09:04:25 +00:00
Michael Telatynski
aa6e3654b8
Create more common_*
common strings ( #11439 )
2023-08-23 10:25:33 +01:00
Michael Telatynski
c40141cc4f
Align common_*
strings with Element X project in Localazy ( #11434 )
2023-08-22 18:47:33 +01:00
Michael Telatynski
ac70f7ac9b
Fix instances of double translation and guard translation calls using typescript ( #11443 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-08-22 16:32:05 +01:00
Richard van der Hoff
4a5b686aaa
Update MatrixChat-test to restoreAllMocks
after each test ( #11424 )
...
* Update MatrixChat to `restoreAllMocks` after each test
This helps keep tests independent.
* more MatrixChat fixes
2023-08-17 19:06:45 +00:00
Michael Telatynski
ad73b0c16e
Switch to importing most things from the main matrix-js-sdk export ( #11406 )
...
* Switch to importing most things from the main matrix-js-sdk export
* fix imports
* Iterate
* Fix tests
2023-08-15 15:00:17 +00:00
Michael Telatynski
27d79458da
Remove dead & duplicated code ( #11405 )
...
* Remove dead code
* Make dead code happier
* DRY pickle additional data calculation
* Iterate
2023-08-15 08:43:15 +00:00
Michael Telatynski
d2c6577024
Switch to importing more things from the main js-sdk export ( #11394 )
2023-08-14 08:58:55 +00:00
Michael Telatynski
ef385e6028
Switch to importing more things from the main js-sdk export ( #11377 )
2023-08-10 08:01:14 +00:00
Michael Telatynski
a1328d8ef7
Switch to importing more things from the main js-sdk export ( #11376 )
2023-08-09 15:10:54 +00:00
Michael Telatynski
c3574c2050
Switch to importing client from main js-sdk export ( #11370 )
2023-08-09 07:18:41 +00:00
Michael Telatynski
033c600fa2
Switch to importing @types/{event,partials} from main js-sdk export ( #11369 )
2023-08-08 10:12:12 +00:00
Michael Telatynski
368b6b9355
Switch to importing models/{event-timeline{,set},user,device,event-status} from main js-sdk export ( #11368 )
2023-08-08 07:16:04 +00:00
Michael Telatynski
24703eea8f
Switch to importing models/event from main js-sdk export ( #11363 )
2023-08-07 08:24:58 +00:00
Germain
aab0c9a9e1
Remove feature_right_panel_default_open ( #11359 )
...
* Remove feature_right_panel_default_open
* i18n
2023-08-07 08:14:49 +00:00
Charly Nguyen
5152aad059
Allow knocking rooms ( #11353 )
...
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2023-08-07 06:27:09 +00:00
Michael Telatynski
e6af09e424
Switch to importing models/room-state & models/room-member from main js-sdk export ( #11362 )
...
* Switch to importing TypedEventEmitter from main js-sdk export
* Switch to importing js-sdk/matrix in cypress
* Remove duplicated imports
* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess
* Add lint rule
* Switch to importing models/Room from main js-sdk export
* Switch to importing models/room-state & models/room-member from main js-sdk export
* Fix cypress-axe import
* Fix more imports
* Fix cypress-axe import
* Fix bad merge
2023-08-04 11:22:08 +00:00
Michael Telatynski
e67ca33c4a
Switch to importing models/Room from main js-sdk export ( #11361 )
...
* Switch to importing TypedEventEmitter from main js-sdk export
* Switch to importing js-sdk/matrix in cypress
* Remove duplicated imports
* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess
* Add lint rule
* Switch to importing models/Room from main js-sdk export
* Fix cypress-axe import
* Fix more imports
* Fix cypress-axe import
* Fix duplicated lint rule
2023-08-04 07:36:16 +00:00
Michael Telatynski
47877ba2da
Switch to importing matrix-js-sdk from its main export ( #11360 )
...
* Switch to importing TypedEventEmitter from main js-sdk export
* Switch to importing js-sdk/matrix in cypress
* Remove duplicated imports
* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess
* Add lint rule
* Fix cypress-axe import
* Fix cypress-axe import
2023-08-03 12:56:30 +00:00
Michael Telatynski
44f51fd1cb
Clear requiresClient and show pop-out if widget-api fails to ready ( #11321 )
...
* Clear requiresClient and show pop-out if widget-api fails to ready
* Upgrade matrix-widget-api
2023-08-03 10:14:15 +00:00
Michael Telatynski
8166306e0f
Fix clicking on home all rooms space notification not working ( #11337 )
...
* Fix clicking on home all rooms space notification not working
* Add test
2023-08-02 09:55:49 +00:00
Michael Telatynski
e6bf67ae8b
Fix joining a suggested room switching space away ( #11347 )
2023-08-01 19:22:15 +00:00
Michael Weimann
e33a7e41a4
Handle own profile 404 ( #11319 )
2023-07-26 09:54:45 +00:00
Michael Telatynski
c57a4cb090
Fix peeked rooms showing up in historical ( #11316 )
2023-07-25 12:58:29 +00:00
Kerry
0b0d77cbcc
OIDC: Persist details in session storage, create store ( #11302 )
...
* utils to persist clientId and issuer after oidc authentication
* add dep oidc-client-ts
* persist issuer and clientId after successful oidc auth
* add OidcClientStore
* comments and tidy
* format
2023-07-20 21:30:19 +00:00
Michael Telatynski
a1ca79c6c7
Retry joins on 524 (Cloudflare timeout) also ( #11296 )
2023-07-19 10:49:52 +00:00
Šimon Brandner
cb03aac4cf
Switch to the new session
API for screen-sharing ( #11266 )
...
See https://github.com/electron/electron/pull/30702 - this has the benefit of the js-sdk and LiveKit not having to add custom logic for Electron
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-14 20:51:24 +00:00
Timo
58710d129d
Autoapprove Element Call oidc requests ( #11209 )
...
* autoapprove Element Call oidc requests
Signed-off-by: Timo K <toger5@hotmail.de>
* update comment
Signed-off-by: Timo K <toger5@hotmail.de>
* add tests for oidc element-call
Signed-off-by: Timo K <toger5@hotmail.de>
* fix ES lint
Signed-off-by: Timo K <toger5@hotmail.de>
---------
Signed-off-by: Timo K <toger5@hotmail.de>
2023-07-10 15:06:58 +00:00
Michael Telatynski
cfd48b36aa
Enable strictPropertyInitialization ( #11203 )
2023-07-07 14:46:12 +01:00
Michael Telatynski
285847560b
Conform more of the codebase to strict typing ( #11195 )
2023-07-07 09:02:13 +01:00
Michael Telatynski
95283d21bb
Conform more of the codebase to strict types ( #11162 )
2023-06-29 12:17:05 +01:00
Richard van der Hoff
0a3a111327
Use new CryptoEvent.VerificationRequestReceived
event ( #11141 )
...
https://github.com/matrix-org/matrix-js-sdk/pull/3514 deprecates
`CryptoEvent.VerificationRequest` in favour of
`CryptoEvent.VerificationRequestReceived`. Use the new event.
2023-06-28 10:11:18 +00:00
Michael Telatynski
d404e0656a
Conform more of the codebase to strictNullChecks ( #11135 )
2023-06-28 11:02:15 +01:00
Michael Telatynski
e1cad41bc3
Conform more of the codebase to strictNullChecks ( #11134 )
2023-06-27 17:39:56 +01:00
Richard van der Hoff
8570f16e31
Fix access to deprecated methods in SetupEncryptionStore
( #11107 )
...
* Fix access to deprecated methods in `SetupEncryptionStore`
* Updte tests
* more tests
2023-06-19 22:20:14 +00:00
Germain
aca6a66f6a
Remove new room breadcrumbs ( #11104 )
...
* Deprecate new room breadcrumbs
* i18n
2023-06-19 08:18:46 +00:00
Richard van der Hoff
06fa49a9da
Use new accessors for VerificationRequest
( #11092 )
...
* Switch verification request accessors to go via CryptoApi
part of https://github.com/vector-im/crypto-internal/issues/97
* Update references to `requestVerification`
https://github.com/vector-im/crypto-internal/issues/98
2023-06-16 10:27:56 +00:00
Michael Telatynski
dd46db4817
Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* ( #10988 )
2023-06-15 15:11:49 +01:00
Richard van der Hoff
b9b93264b6
Remove references to VerificationRequest
( #11050 )
...
* Update references to `VerificationRequestEvent`
* Update references to `Phase`
* update references to legacy `PHASE_*` constants
* Replace `request.canAccept` with `canAcceptVerificationRequest`
* Replace `VerificationRequest` with the interface throughout
* Minor strict type fixes
* Add a couple of tests
2023-06-14 14:35:32 +00:00
Richard van der Hoff
2801afe570
Inline VerificationRequest.{invalid,ready,started,done,cancelled}
( #11013 )
...
* Inline `VerificationRequest.{invalid,ready,started,done,cancelled}`
These methods are all just shortcuts for checks on `phase`, so let's get rid of
them
* update test
* Add some more tests
* even more coverage
* fix tests
2023-06-06 08:27:53 +00:00