Commit Graph

17294 Commits

Author SHA1 Message Date
Germain
1dbf9c205e fix read receipts trickling down correctly (#9567) 2022-11-11 09:39:35 +00:00
Michael Weimann
fca6ff271c Extract requestMediaPermissions (#9568) 2022-11-11 10:38:51 +01:00
Germain
ee13e23b15 Resilience fix for homeserver without thread notification support (#9565)
* Notification state resilience

* TypeScript strict fixes

* Add tests
2022-11-10 18:01:19 +00:00
Arne Wilken
8ebdcab7d9 Change "None" to "Off" in notification options (#9539) 2022-11-10 12:39:14 +00:00
Michael Weimann
f6347d24ef Show time left for voice broadcast recordings (#9564) 2022-11-10 10:53:49 +00:00
Michael Telatynski
962e8e0b23 Differentiate download and decryption errors when showing images (#9562) 2022-11-10 09:27:20 +00:00
Michael Weimann
abec724387 Add voice broadcast pre-recoding PiP (#9548) 2022-11-10 09:38:48 +01:00
László Várady
afdf289a78 Advanced audio processing settings (#8759)
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Fixes https://github.com/vector-im/element-web/issues/6278
Fixes undefined
2022-11-09 20:14:55 +00:00
Michael Telatynski
da779531f1 Close context menu when a modal is opened to prevent user getting stuck (#9560) 2022-11-09 15:33:09 +00:00
Michael Telatynski
848adfdc10 Add way to create a user notice via config.json (#9559) 2022-11-09 10:50:01 +00:00
Germain
3f3005a3ca Always use current profile on thread events (#9524) 2022-11-08 10:58:26 +00:00
Michael Telatynski
3747464b41 Make SonarCloud happier (#9545)
* Make SonarCloud happier

* i18n

* Iterate

* Update AddExistingToSpaceDialog.tsx

* Update SlashCommands.tsx
2022-11-07 13:45:34 +00:00
Michael Telatynski
77764d80bc Fix regressions around media uploads failing and causing soft crashes (#9549) 2022-11-07 11:56:43 +00:00
Michael Telatynski
be5a8ca3b9 Fix notif panel exception around accessing roomId of undefined (#9546) 2022-11-04 16:40:02 +00:00
Florian Duros
5ca9accce2 Improve design of the rich text editor (#9533)
New design for rich text composer
2022-11-04 15:36:50 +00:00
Florian Duros
d744de04c1 Merge branch 'develop' into fix-leave-space-at-bottom 2022-11-03 14:33:29 +01:00
Michael Telatynski
5f540eb25c Update types to match js-sdk --strict mode (#9528)
Co-authored-by: Michael Weimann <michaelw@matrix.org>
2022-11-03 12:50:07 +00:00
Jaiwanth
3330d5a634 Enable user to zoom beyond image size (#5949)
* Enable user to zoom beyond image size and add cleanup functions to image view

Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>

* Modify cursor icon and display zoom in and out buttons for smaller images

* Fix indentation

Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Travis Ralston <travisr@matrix.org>
Co-authored-by: Kerry <kerrya@element.io>
2022-11-03 12:03:21 +00:00
Hanadi92
89d83faaf6 fix: leave space at bottom of space context menu 2022-11-02 22:41:54 +01:00
Hugh Nimmo-Smith
f05cc5d8f3 Refactor + improve test coverage for QR login (#9525) 2022-11-02 10:51:20 +00:00
Michael Weimann
9096bd82d6 Extract PlaybackInterface (#9526) 2022-11-02 09:46:42 +01:00
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
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
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
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
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
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
Florian Duros
f1610dae3d Fix selection 2022-10-26 14:56:41 +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 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
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
Travis Ralston
8d6a67e67d Fully move auth types to js-sdk (#9499)
* Fully move auth types to js-sdk

The SSO buttons were the only consumer of these types, so let's just move them. They've been in the js-sdk for a while now, and webpack is screaming about missing exports (because they're all interfaces and types, which don't exist after transpiling).

* Fix the other cases too
2022-10-25 17:00:23 -06:00
Germain
306a2449e5 Show thread notification if thread timeline is closed (#9495)
* Show thread notification if thread timeline is closed

* Simplify isViewingEventTimeline statement

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix show desktop notifications

* Add RoomViewStore thread id assertions

* Add Notifier tests

* fix lint

* Remove it.only

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-10-25 16:53:31 +00:00
Florian Duros
c7dbb5947f Keep content when switching between rich text and plain text mode 2022-10-25 18:33:25 +02:00
Florian Duros
50279c8870 Add basic plain text editor 2022-10-25 17:26:14 +02:00
Germain
249474b430 Only render NotificationBadge when needed (#9493) 2022-10-25 14:31:38 +01:00