Timo and GitHub
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 and GitHub
cfd48b36aa
Enable strictPropertyInitialization ( #11203 )
2023-07-07 14:46:12 +01:00
Michael Telatynski and GitHub
285847560b
Conform more of the codebase to strict typing ( #11195 )
2023-07-07 09:02:13 +01:00
Michael Telatynski and GitHub
7b3a4e556a
Conform more of the codebase to strictNullChecks ( #11100 )
2023-06-22 14:39:36 +01:00
Richard van der Hoff and GitHub
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 and GitHub
aca6a66f6a
Remove new room breadcrumbs ( #11104 )
...
* Deprecate new room breadcrumbs
* i18n
2023-06-19 08:18:46 +00:00
Michael Telatynski and GitHub
dd46db4817
Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* ( #10988 )
2023-06-15 15:11:49 +01:00
Michael Telatynski and GitHub
6b46d6e4f8
Add MatrixClientPeg::safeGet and use it in tests ( #10985 )
2023-06-05 18:12:23 +01:00
Michael Weimann and GitHub
b5727cb463
Include thread replies in message previews ( #10631 )
...
* Include thread replies to message previews
* Extend tests
* Fix type issue
* Use currentColor for thread icon
* Fix long room name overflow
* Update snapshots
* Fix preview
* Fix typing issue
* Fix type issues
* Tweak thread reply detection
* Extend tests
* Fix type issue
* Fix test
2023-06-01 07:53:48 +00:00
Michael Telatynski and GitHub
30429df948
Eliminate the use of MatrixClientPeg in utils ( #10910 )
2023-05-23 16:24:12 +01:00
a0c2676c38
Pass device id to widgets ( #10209 )
...
* Pass device id to widget
Implement the [comment in MSC 3819](https://github.com/matrix-org/matrix-spec-proposals/pull/3819#discussion_r1099833846 ) which requests passing a device id to a widget.
This is based on the previous work in the matrix-widget-api: https://github.com/matrix-org/matrix-widget-api/pull/78
Signed-off-by: Oliver Sand <oliver.sand@nordeck.net >
* Include all data that is shared in the permissions screen
* Update matrix-widget-api to version 1.4.0
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net >
* Fix type and test
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net >
---------
Signed-off-by: Oliver Sand <oliver.sand@nordeck.net >
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net >
Co-authored-by: Dominik Henneke <dominik.henneke@nordeck.net >
2023-05-23 13:35:31 +00:00
Michael Telatynski and GitHub
6a3f59cc76
Make more of the codebase conform to strict types ( #10857 )
2023-05-16 14:25:43 +01:00
Michael Telatynski and GitHub
d53949e863
Ignore edits in message previews when they concern messages other than latest ( #10868 )
2023-05-15 18:27:46 +01:00
Michael Telatynski and GitHub
9611cbf6c4
Fix people space notification badge not updating for new DM invites ( #10849 )
...
* Add regression test
* Fix people space notification state not updating for new DM invites
2023-05-12 10:49:41 +00:00
Kerry and GitHub
d103d2e3dd
set default activity ordering to natural for room list ( #10820 )
2023-05-08 20:58:53 +00:00
Michael Telatynski and GitHub
4dd214506b
Move reaction message previews out of labs ( #10601 )
...
* Update reaction message previews to match designs
* Delabs reaction message previews
* tsc strict
* Iterate
* Add test
* Iterate
2023-05-05 07:45:14 +00:00
Kerry and GitHub
44e0732144
Sort muted rooms to the bottom of their section of the room list ( #10592 )
...
* muted-to-the-bottom POC
* split muted rooms in natural algorithm
* add previous event to account data dispatch
* add muted to notification state
* sort muted rooms to the bottom
* only split muted rooms when sorting is RECENT
* remove debugs
* use RoomNotifState better
* add default notifications test util
* test getChangedOverrideRoomPushRules
* remove file
* test roomudpate in roomliststore
* unit test ImportanceAlgorithm
* strict fixes
* test recent x importance with muted rooms
* unit test NaturalAlgorithm
* test naturalalgorithm with muted rooms
* strict fixes
* comments
* add push rules test utility
* strict fixes
* more strict
* tidy comment
* document previousevent on account data dispatch event
* simplify (?) room mute rule utilities, comments
* remove debug
2023-05-05 01:53:26 +00:00
Kerry and GitHub
6c36a2400d
Unit test list ordering algorithms ( #10682 )
...
* unit test ImportanceAlgorithm
* strict fixes
* unit test NaturalAlgorithm
2023-04-25 20:59:50 +00:00
Michael Telatynski and GitHub
55d3548330
Conform more of the codebase to strictNullChecks ( #10518
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Fix tests
2023-04-06 11:10:14 +01:00
Michael Weimann and GitHub
df89d2ce28
Check profiles before starting a DM ( #10472 )
2023-04-05 13:13:51 +02:00
Michael Telatynski and GitHub
bc60a9b594
Conform more of the codebase to strictNullChecks ( #10504
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
2023-04-04 11:41:46 +01:00
RiotRobot
0475e7107f
Merge branch 'master' into develop
2023-03-28 14:30:52 +01:00
Michael Weimann and RiotRobot
c30b2637c5
Changes for v3.69.0
2023-03-28 11:23:16 +01:00
Michael Weimann and GitHub
aec454dd6f
Add UserProfilesStore, LruCache and cache for user permalink profiles ( #10425 )
2023-03-27 10:07:43 +02:00
Dominik Henneke and GitHub
ef68650594
Implement MSC3973: Search users in the user directory with the Widget API ( #10269 )
...
* Add an action to search for users in the user directory according to MSC3973
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net >
* Fix linter errors
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net >
* Update the matrix-widget-api package to version 1.3.0
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net >
* Improve the test
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net >
---------
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net >
2023-03-21 11:38:41 +00:00
Michael Telatynski and GitHub
127a3b667c
Conform more of the codebase to strictNullChecks ( #10350
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Generics ftw
* Iterate
2023-03-10 14:55:06 +00:00
Andy Balaam and GitHub
b646250c90
Support dynamic room predecessors in OwnBeaconStore ( #10339 )
...
* Support dynamic room predecessors in OwnBeaconStore
* Fix type of dynamicWatcherRef
* Mock a function missing from client
2023-03-10 09:15:54 +00:00
Andy Balaam and GitHub
f90bc40cfc
Support dynamic room predecessors in StopGapWidgetDriver ( #10338 )
2023-03-09 13:02:29 +00:00
edd8865670
Support dynamic room predecessors in WidgetLayoutStore ( #10326 )
...
* Support dynamic room predecessors in WidgetLayoutStore
* Improve TS correctness in WidgetLayoutStore
* Test to cover onNotReady to quieten SonarCloud
---------
Co-authored-by: Janne Mareike Koschinski <janne@kuschku.de >
2023-03-09 10:18:23 +00:00
Andy Balaam and GitHub
acb7dd84ac
Support dynamic room predecessors in SpaceStore ( #10332 )
2023-03-09 09:31:02 +00:00
Michael Weimann and GitHub
28abae60a6
Fix breadcrumb store test ( #10330 )
2023-03-08 16:10:23 +00:00
Andy Balaam and GitHub
4ee57a36e0
Support dynamic room predecessors in BreadcrumbsStore ( #10295 )
...
* Tests for BreadcrumbsStore.meetsRoomRequirements
* Tests for appending rooms to BreadcrumbsStore
* Support dynamic room predecessors in BreadcrumbsStore
2023-03-08 15:13:32 +00:00
Andy Balaam and GitHub
b8d502be2e
Support dynamic room predecessors in RoomNotificationStateStore ( #10297 )
...
* Tests for RoomNotificationStateStore emitting events
* Support dynamic room predecessors in RoomNotificationStateStore
* Remove unused arguments from emit call.
UPDATE_STATUS_INDICATOR is used in:
* SpacePanel
* MatrixChat
* RoomHeaderButtons
but these arguments are not used in any of those places. Remove them so
when I refactor I don't have to make up values for them.
* Fix broken test (wrong expected args to emit)
UPDATE_STATUS_INDICATOR is used in:
* SpacePanel
* MatrixChat
* RoomHeaderButtons
but these arguments are not used in any of those places. Remove them so
when I refactor I don't have to make up values for them.
* Update the RoomNotificationStore whenever the predecessor labs flag changes
* Fix type errors
* Fix other tests that trigger our new watcher
2023-03-08 14:18:03 +00:00
Michael Telatynski and GitHub
4b8bada24b
Apply strictNullChecks around the codebase ( #10302
...
* Apply `strictNullChecks` around the codebase
* Iterate PR
2023-03-07 13:19:18 +00:00
Michael Weimann and GitHub
5398db21ad
Add ESLint Jest ( #10261 )
2023-03-01 16:23:35 +01:00
d9d0ab3d98
Provide a more detailed error message than "No known servers" ( #6048 )
...
* Provide a more detailed error message than "No known servers"
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Fix PR since file was refactored
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Fix formatting
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* lint
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Update src/stores/RoomViewStore.tsx
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
* Add example identifiers and a more detailed explanation
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Lint
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Lint
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Revert back to original wording (except s/alias/address)
Alias was a better name imo but Element calls them addresses now so changed to be consistent.
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Prettier
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Fix ts error
* Add snapshot test
* Check the Modal props
* Add test case to reach quality gate
---------
Signed-off-by: Aaron Raimist <aaron@raim.ist >
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
Co-authored-by: Florian Duros <florianduros@element.io >
2023-02-24 15:59:30 +00:00
7b77f76486
Widget permissions customizations using module api ( #10121 )
...
* Using module api to customize widget permissions
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net >
* Revert type export and use ComponentProps instead.
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net >
---------
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net >
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net >
2023-02-23 14:53:44 +00:00
Michael Weimann and GitHub
eb6278df1d
Do not prompt for a password when doing a „reset all“ after login ( #10208 )
2023-02-23 08:46:49 +01:00
Germain and GitHub
8c22584f64
Remove threads labs flag and the ability to disable threads ( #9878 )
2023-02-20 14:46:07 +00:00
Michael Telatynski and GitHub
4574c665ea
Conform more code to strict null checking ( #10167 )
...
* Conform more code to strict null checking
* Delint
* Iterate PR based on feedback
2023-02-16 17:21:44 +00:00
Michael Telatynski and GitHub
e8b92b308b
Conform more code to strict null checking ( #10169 )
...
* Conform more code to strict null checking
* delint
* Iterate
* delint
* Fix bad test
2023-02-16 09:38:44 +00:00
Michael Telatynski and GitHub
da7aa4055e
Conform more of the code base to strict null checking ( #10147 )
...
* Conform more of the code base to strict null checking
* More strict fixes
* More strict work
* Fix missing optional type
* Iterate
2023-02-13 17:01:43 +00:00
Michael Telatynski and GitHub
61a63e47f4
Comply with noImplicitAny ( #9940 )
...
* Stash noImplicitAny work
* Stash
* Fix imports
* Iterate
* Fix tests
* Delint
* Fix tests
2023-02-13 11:39:16 +00:00
Germain and GitHub
8fe5714673
Fix predecessor tests broken ( #10123 )
2023-02-09 12:46:17 +00:00
Andy Balaam and GitHub
c4a6cc8e65
Fix test failures: provide isIntialSyncComplete on mock client ( #10122 )
2023-02-09 11:36:02 +00:00
Andy Balaam and GitHub
add23e4d5d
Pass the dynamic predecessor feature flag when listing rooms ( #10068 )
2023-02-03 14:09:31 +00:00
Germain and GitHub
6dd578e5a7
Devtools for stuck notifications ( #10042 )
2023-02-03 11:07:24 +01:00
Andy Balaam and GitHub
b7cd28bd29
Support MSC3946 in RoomListStore ( #10054 )
2023-02-03 09:14:44 +00:00
Andy Balaam and GitHub
b416e15cbd
Tests for RoomListStore's predecessor handling ( #10046 )
2023-02-02 13:22:30 +00:00
Germain and GitHub
703587b8e9
Cleanup pre MSC3773 thread unread notif logic ( #10023 )
2023-01-31 16:59:24 +00:00