Commit Graph

43574 Commits

Author SHA1 Message Date
kegsay
dcf497d013
sliding-sync: spider all rooms on the user's account for search (#9514)
* sliding-sync: spider all rooms on the user's account for search

On startup, slowly accumulate room metadata for all rooms on the
user's account. This is so we can populate the local search cache
with enough data for it to function, obviating the need to have
separate code paths for sliding sync searches.

This will allow spotlight search to work with slow/no network
connectivity, though clicking on the room will still require a
round trip.

This is an explicit request from @ara4n to improve the snapiness
of room searches, despite the unbounded bandwidth costs requesting
all N rooms on the user's account.

* Comments and tweak defaults

* Review comments; remove SS search code

* bugfix: use setListRanges once the list has been set up

If we don't, then we send needless extra data and can cause
bugs because setList will wipe the index->room_id map, which
trips up SlidingRoomListStore.
2022-11-01 10:27:03 +00:00
RiotRobot
253129e6f2 Reset matrix-js-sdk back to develop branch 2022-11-01 09:33:51 +00:00
RiotRobot
480662f661 Merge branch 'master' into develop
# Conflicts:
#	package.json
#	yarn.lock
2022-11-01 09:33:12 +00:00
RiotRobot
dda9b5aa15 v3.59.1 2022-11-01 09:32:03 +00:00
RiotRobot
fb9e479267 Prepare changelog for v3.59.1 2022-11-01 09:32:02 +00:00
RiotRobot
347c7c5ba9 Upgrade matrix-js-sdk to 21.0.1 2022-11-01 09:27:31 +00:00
Michael Telatynski
fed759ec0e
Allow the docker tag for the sliding sync proxy to be specified in env (#9496) 2022-10-31 18:11:38 +00:00
Michael Weimann
66c20a0798
Display voice broadcast total length (#9517) 2022-10-31 17:35:02 +00:00
Germain
9b644844da
Fix NotificationBadge unsent color (#9522) 2022-10-31 09:45:02 +00:00
Janne Mareike Koschinski
d92fdc1f5b
Loading threads with server-side assistance (#9356)
* Fix bug with message context menu
* fix bug where ThreadSummary failed if no last reply is available
* Fix relations direction API
* Use same API for threads as for any other timeline
* Determine if event belongs to thread on jumping to event
* properly listen to thread deletion
* Add thread redaction tests
* Add fetchInitialEvent tests
* Paginate using default TimelinePanel behaviour
* Remove unused threads deleted code

Co-authored-by: Germain <germain@souquet.com>
Co-authored-by: Germain <germains@element.io>
2022-10-28 13:48:15 +02:00
Germain
750ca78e98
Fix room list sorted by recent on app startup (#9515) 2022-10-28 10:53:50 +01:00
Michael Weimann
c497046e39
Implement voice broadcast last_chunk_sequence (#9513) 2022-10-27 16:24:03 +02:00
Germain
07003a5bc1
Make thread replies trigger a room list re-ordering (#9510) 2022-10-27 13:50:05 +01:00
Johannes Marbach
af47b74992
Merge pull request #9501 from matrix-org/psg-863/dm-learn-more-rename
Device manager - add extra details to device security and renaming (PSG-863)
2022-10-27 08:40:27 +02:00
Florian Duros
0173e21129
Merge pull request #9503 from matrix-org/feat/add-plain-text-mode
Feat/add plain text mode
2022-10-26 19:38:44 +02:00
Florian Duros
aae93a9af2
Cleaner test on body 2022-10-26 19:21:42 +02:00
Florian Duros
0a7f44b226
Add typeof check for body 2022-10-26 19:19:32 +02:00
Florian Duros
39f1dc224c
Add typeof check for body 2022-10-26 19:16:29 +02:00
Florian Duros
c0282e0351
Add check for body 2022-10-26 19:09:17 +02:00
Florian Duros
3d1a0ccf12
Merge branch 'develop' into feat/add-plain-text-mode 2022-10-26 19:05:59 +02:00
Florian Duros
92b4c8bf4e
Review clean 2022-10-26 19:05:27 +02:00
Michael Weimann
e6a645dfae
Stop voice broadcast from save device on resume (#9509) 2022-10-26 18:59:47 +02:00
Florian Duros
d25cbb53b0
Merge branch 'develop' into feat/add-plain-text-mode 2022-10-26 18:56:33 +02:00
Florian Duros
928a23e9d0
Fix switching bug and br tag in firefox 2022-10-26 18:18:34 +02:00
Michael Telatynski
ee61994c05
Reset custom power selector when blurred on empty (#9508) 2022-10-26 16:14:33 +00:00
Florian Duros
423f87a43a
Merge branch 'develop' into feat/add-plain-text-mode 2022-10-26 17:16:34 +02:00
Florian Duros
fb751c3c7b
Add test for plain mode 2022-10-26 17:16:13 +02:00
Michael Weimann
7692533e18
Improve fetch mock setup (#9511)
- Move from language to mock setup file
- Add mock rule for stub image requests
2022-10-26 14:54:45 +00:00
Germain
0f1738b098
Fix getReadReceiptsForEvent for unknown threads (#9507) 2022-10-26 14:19:36 +01:00
Kerry
31c0988220
Merge branch 'develop' into psg-863/dm-learn-more-rename 2022-10-26 15:09:44 +02:00
kegsay
0453b264e3
Sliding Sync: improve sort order, show subspace rooms, better tombstoned room handling (#9484)
* Add support for include_old_rooms and by_notification_level

* Include subspaces when apply spaces filter

* Remove stray is_tombstoned

* tests: add SlidingRoomListStore jest tests; update proxy version in cypress

* Add additional tests

* Additional tests

* Linting

* Update test/stores/room-list/SlidingRoomListStore-test.ts

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-10-26 14:04:03 +01:00
Michael Telatynski
097ca43420
Add cypress test for the composer emoji picker (#9505) 2022-10-26 13:58:40 +01:00
Florian Duros
f1610dae3d
Fix selection 2022-10-26 14:56:41 +02:00
Michael Weimann
625971acb5
Replace voice broadcast running with resumed (#9502) 2022-10-26 12:54:44 +00:00
Michael Telatynski
238a2b77af
Update cypress.yaml (#9506) 2022-10-26 11:50:24 +00:00
Michael Weimann
846417a3a8
Unify voice broadcast css (#9504) 2022-10-26 13:45:39 +02:00
Florian Duros
d001ddebbc
Update i18n 2022-10-26 12:42:58 +02:00
Florian Duros
5d86b5ac48
Make initialContent optional is SendWysiwygComposer 2022-10-26 12:41:44 +02:00
Florian Duros
b85b5dacee
Fix cursor position 2022-10-26 12:39:18 +02:00
Kerry
1ee9353ada
Merge branch 'develop' into psg-863/dm-learn-more-rename 2022-10-26 11:33:28 +02:00
kegsay
51e69427f3
Reinstate timeline/redaction callbacks when updating notification state (#9494) 2022-10-26 10:33:06 +01:00
Kerry Archibald
35e45136b4 add learn more to device security cards 2022-10-26 11:30:32 +02:00
Kerry Archibald
038fb53b69 extract device security learn more with content into component 2022-10-26 11:17:47 +02:00
Kerry Archibald
bb4bffe1e8 learn more for session renaming 2022-10-26 11:05:31 +02:00
Kerry Archibald
78440d2d43 use correct card type 2022-10-26 11:05:31 +02:00
Kerry Archibald
a6f6e6ce76 remove unused switch 2022-10-26 11:05:31 +02:00
Kerry Archibald
09246f43b8 update tests and i18n for fullstop 2022-10-26 11:05:31 +02:00
Kerry Archibald
18e59b2d98 add learn more to filtered sessions 2022-10-26 11:05:26 +02:00
Kerry
69642544ac
Device manager - add learn more popups to filtered sessions section (#9497)
* add learn more to filtered sessions

* fullstop

* update tests and i18n for fullstop

* remove unused switch

* whitespace

* use correct card type
2022-10-26 11:04:16 +02:00
Florian Duros
bdaa1acf59
Invert composer mode icon 2022-10-26 10:42:18 +02:00