1483 Commits

Author SHA1 Message Date
Doug ae24ba19da Add missing contacts field in OIDC configuration. (#1662) 2023-09-08 16:28:10 +00:00
Doug 1eac02f7b0 Stop the sync service constantly attempting to restart on auth error. (#1654)
Additionally removes a retain cycle that was preventing the client from being released.

Remove restartSync - the SDK has changed a lot, we no longer need to stop and start the sync loop.
2023-09-08 11:00:12 +01:00
Stefan Ceriu fad608cd34 Adopt the new room list service syncIndicatorListener 2023-09-07 13:10:19 +03:00
Stefan Ceriu 90228374d1 Bump the RustSDK to v1.1.10 2023-09-07 11:56:38 +03:00
Stefan Ceriu af78c41a16 Move room summary diff processing start log within its dedicated span 2023-09-02 17:35:00 +03:00
Alfonso Grillo 9b313b814e Polls refinements (#1608)
* Refine focus behavior

* Begin draft mode

* Add alert on poll form

* Add poll ended asset

* Add fallback text for ended poll event

* Cleanup

* Fix assets

* Remove poll feature flags

* Fix UI tests

* Fix ui tests

* Refine discard poll alert

* Remove unused import

* Rename hasDraftContent -> hasContent

* Restore createPoll-2 ref screenshots
2023-09-01 15:55:11 +02:00
Stefan Ceriu d90d7adb21 Fixes #980 - Generated thumbnail size when uploading media (#1613) 2023-09-01 14:58:36 +03:00
Stefan Ceriu ba553f0c1b Move the invites summary provider configuration the underlying sliding sync list is availablle sooner now 2023-08-31 18:13:22 +03:00
Nicolas Mauri 3ab7b1b1c7 Display the notification mode for each room in the the room list (#1595)
Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2023-08-31 11:15:38 +00:00
Alfonso Grillo f0fad25d09 Vote on a poll and end a poll (#1597)
* Fix project file

* Add vote and end poll actions

* Handle redaction

* Fix local echo behavior

* Cleanup

* Fix UI tests

* Add localisation

* Cleanup

* Fix end poll action style
2023-08-31 12:04:25 +02:00
Stefan Ceriu dbee85a929 Prevent the timeline from jumping whenever a room is entered
- caused by https://github.com/matrix-org/matrix-rust-sdk/issues/2488
- rolled back to a solution similar to what we had before
2023-08-31 11:06:32 +03:00
Mauro Romito c1593f28c9 fix 2023-08-30 19:03:27 +02:00
Stefan Ceriu e98c87424a Improve when we show and hide the syncing spinner 2023-08-30 15:07:31 +03:00
Doug a472d443e0 Add app logo to OIDC and fix policy URL (#1590) 2023-08-30 09:39:33 +00:00
Alfonso Grillo a2623dd254 Create poll UX (#1571)
* Add poll attachment button

* Add poll creation feature flag

* Setup navigation to CreatePollScreen

* Add create/cancel actions

* Add create poll screen ui skeleton

* Add bindings in CreatePollScreen

* Add logics in CreatePollScreen

* Cleanup code

* Fix option deletion crash

* Fix conflicts

* Add create poll logic

* Add localisations

* Fix test build errors

* Fix crash

* Add UTs

* Add accessibility IDs

* Add ui tests

* Add 240 char limit

* Fix addOption hide behavior

* Add maxNumberOfOptions

* Cleanup code

* Move delete workaround in the view model

* Use compound delete icon
2023-08-30 09:23:30 +00:00
Doug a5045e1598 Use Safari for OIDC account URL. (#1591)
* Handle RP-Initiated Logout URL.

Safari is only used on devices, the simulator doesn't work properly.
2023-08-30 08:22:22 +00:00
Stefan Ceriu 220279fd28 Remove artificial delay before restarting the sync service following an error 2023-08-29 18:28:57 +03:00
aringenbach d1573ae40d Initial integration of RTE (#1464)
* Initial integration of RTE

* Fix `clipped`, `focused` and composer view type

* Remove horizontal padding

* Add `ComposerToolbar` mock

* Restore `composerFocusedSubject`

* Allow using HTML from RTE on message sent

* Fix new message content API

* Add feature flag for Rich Text Editor
2023-08-29 12:37:13 +00:00
Stefan Ceriu b5c8676d95 Fix computing the time it takes to render the first rooms 2023-08-29 13:06:51 +03:00
Stefan Ceriu 734d8bba04 Register for room info updates 2023-08-29 12:33:25 +03:00
Stefan Ceriu 1e1923c9f4 Bump the RustSDK to v1.1.2
- add a couple more logs to the room summary provider
2023-08-28 19:56:46 +03:00
Stefan Ceriu 5f55796b7f Guard against large visible room list ranges 2023-08-28 18:55:34 +03:00
aringenbach 24aebe4616 Bump the RustSDK to v1.1.1 2023-08-28 15:37:04 +03:00
Stefan Ceriu 5162d0c726 Move the firstRooms signpost out of the RoomSummaryProvider so that it doesn't invoked for each instance 2023-08-28 11:41:37 +03:00
Stefan Ceriu c776229dc0 Bump the RustSDK to v1.1.0 2023-08-25 14:42:56 +03:00
Stefan Ceriu 0893f3926b Fixes invites not showing up 2023-08-25 13:37:15 +03:00
Stefan Ceriu 0c2445e01a Remove room duplicate detection after each diff processing
- room list sorting and handling will be moved to the SDK instead of relying on SS diffs
- we will reintroduce this but on the rust side
2023-08-25 13:37:15 +03:00
Stefan Ceriu 82c3b0972d Move the firstRooms signposts to more relevant locations 2023-08-25 13:33:06 +03:00
Stefan Ceriu 6171d878b0 Signposting: split sync into initialSync and firstRooms which will track how long the very first sync takes separately from how long the first rooms appear in the list 2023-08-24 18:19:42 +03:00
Stefan Ceriu 2f05400113 Dispatch updates to the UI later only after processing all of them instead of after each one 2023-08-23 21:44:19 +03:00
Stefan Ceriu 5addf9d64a Revert "Revert "Split incoming large .resets into a reset + append in order to quicker update the UI""
This reverts commit bde50f8d67.
2023-08-23 21:44:19 +03:00
Stefan Ceriu 653552f71c Revert "Revert "Increase room summary provider diff processing queue priority""
This reverts commit ea23b6dcab.
2023-08-23 21:44:19 +03:00
Stefan Ceriu bde50f8d67 Revert "Split incoming large .resets into a reset + append in order to quicker update the UI"
This reverts commit 7b9f6d253e.
2023-08-23 19:16:30 +03:00
Stefan Ceriu ea23b6dcab Revert "Increase room summary provider diff processing queue priority"
This reverts commit 4b1083bf5e.
2023-08-23 18:03:18 +03:00
Stefan Ceriu 276adb6084 Revert "Revert "Reduced room summary provider logging""
This reverts commit 78ce1577b4.
2023-08-23 16:17:49 +03:00
Stefan Ceriu 78ce1577b4 Revert "Reduced room summary provider logging"
This reverts commit 2b53104de1.
2023-08-23 11:04:10 +03:00
Doug 5e3a32157a Enable OIDC support (#1541)
Notification content is bypassed for now.
2023-08-22 15:53:27 +01:00
Stefan Ceriu 2b53104de1 Reduced room summary provider logging 2023-08-22 16:36:44 +03:00
Stefan Ceriu 4b1083bf5e Increase room summary provider diff processing queue priority 2023-08-22 16:36:44 +03:00
Stefan Ceriu 7b9f6d253e Split incoming large .resets into a reset + append in order to quicker update the UI 2023-08-22 16:36:44 +03:00
Nicolas Mauri b1ea23c925 Display the list of rooms with user-defined notification settings (#1535) 2023-08-22 12:33:39 +00:00
Mauro db1903ec05 MessageText component (#1521)
* MessageText component

* swiftformat

* fix swift format being a bit crazy

* link tapping support

* new test + fix for font + dynamic support

* fix for blockquote issue.

* code improvement

* small code improvement and fixed tests not working due to weird swiftformat behaviour

* fix boost emoji

* updated swiftformat

* better testing

* UI tests updated

* fixing the issue with the cache overriding the size category changes

* whitespaces

* appropriate color + better info plist parsing

* cleaned the code and fixed links

* tapping link fixes

* list bug fix

* ui tests regenerated
2023-08-22 10:14:23 +00:00
Stefan Ceriu 269fd3d1f6 Switch entirely to dynamic room list entries (normalizedMatchRoomName brings the same behavior as the old implementation) and cleanup 2023-08-22 11:12:41 +03:00
Ivan Enderlin 8dca82e65e feat: Use roomInfo to fetch the avatar URL. 2023-08-21 19:27:49 +03:00
Stefan Ceriu e1d41ad8a3 Rename fuzzy search feature flag to dynamic entries, use the new normalizedMatchRoomName filter and make sure we use the old roomList.entries api when the feature flag is disabled 2023-08-21 17:22:18 +03:00
Stefan Ceriu ff074e3fae Revert "Remove fuzzy searching entirely because of performance issues"
This reverts commit e86f65ad2d.
2023-08-21 17:22:18 +03:00
Doug 0dbbe5bb0d Fix missing DM URLs. (#1517) 2023-08-18 14:57:02 +01:00
Stefan Ceriu e86f65ad2d Remove fuzzy searching entirely because of performance issues 2023-08-18 16:17:47 +03:00
Stefan Ceriu 1e56c8d807 Fix invites UI tests, add missing RoomSummaryDetails inviter 2023-08-18 12:29:42 +03:00
Stefan Ceriu fa78912027 Start using the new (faster) RoomInfo record to populate the room and invite lists 2023-08-17 20:36:47 +03:00