Commit Graph

3637 Commits

Author SHA1 Message Date
Stefan Ceriu 3258d3a85d Allow setting custom log levels (#1592)
* Allow using custom tracing configuration from the developer options screen. Clean up RustTracing
* Move log level configurations to a separate view
* Disable autocorrection
* Fix unit tests
* Use TracingConfiguration.info as the default text value, switch to a TextEditor
2023-08-30 15:35:49 +03: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
aringenbach e08d7b491e Move send button out of composer's text field (#1588)
* Move send button out of composer's text field

* Update user session flow screenshots
2023-08-30 08:58:29 +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
Stefan Ceriu 6e5ae61bc0 Fixes #1544 - Remove media upload dialog share button 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
Mauro 25db476fba Removed MessageText long press gesture recognizer (#1584) 2023-08-28 20:12:29 +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
Stefan Ceriu 2ccf9de9b8 Fix home screen visible range updating 2023-08-28 17:21:10 +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 569620c52f Check more screens in the integration tests. Refactor flows 2023-08-28 11:41:37 +03:00
Velin92 7becf6d0af Translations update 2023-08-28 09:05:58 +03:00
Stefan Ceriu c776229dc0 Bump the RustSDK to v1.1.0 2023-08-25 14:42:56 +03:00
Stefan Ceriu 33a53a2971 Logging tweaks: keep default log levels for common and hyper no matter what the feature flag says 2023-08-25 13:52:02 +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 a0a19fa75b Fixes #1555, #1562 - Prevent the syncing indicator from showing up every time the app becomes active 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 7712bb0082 Go through more screens in the integration tests 2023-08-24 18:36:46 +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 ecc549b280 Feature flag to OTLP tracing 2023-08-24 15:12:19 +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
Nicolas Mauri 2e3711b869 Fix OIDC support for iOS 17 (#1550) 2023-08-23 16:38:51 +02:00
Nicolas Mauri e0f885c590 Alert the user about configuration mismatch in notification settings (#1543) 2023-08-23 14:01:10 +00: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 a19f5a4186 Expose the log level in developer settings 2023-08-23 16:17:49 +03:00
Stefan Ceriu beeb5fc83c Prevent large visible room ranges being computed when the scroll view's content size hasn't settled 2023-08-23 13:15:58 +03:00
Stefan Ceriu 78ce1577b4 Revert "Reduced room summary provider logging"
This reverts commit 2b53104de1.
2023-08-23 11:04:10 +03:00
Mauro 3ef15b9b0d Fix timestamp not rendering properly when RTL and LTR are mixed together (#1539)
* fix

* changelog
2023-08-22 18:42:41 +02:00
Stefan Ceriu bc2b904812 Add missing document configuration as per ITMS-90737
By declaring the CFBundleDocumentTypes key in your app, you've indicated that your app is able to open documents. Please set the UISupportsDocumentBrowser key to 'YES' if your app uses a UIDocumentBrowserViewController. Otherwise, set the LSSupportsOpeningDocumentsInPlace key in the Info.plist to 'YES' (recommended) or 'NO' to specify whether the app can open files in place. All document-based apps must include one of these configurations. For more information, visit https://developer.apple.com/document-based-apps/.
2023-08-22 18:30:22 +03:00
Doug 5e3a32157a Enable OIDC support (#1541)
Notification content is bypassed for now.
2023-08-22 15:53:27 +01:00
Stefan Ceriu d633b87609 Switch rust side sliding sync crates logging to debug instead of verbose 2023-08-22 16:36:44 +03: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
Mauro 4c33d9a414 Fix for voice over reading the braille dot (#1538)
* fix

* changelog
2023-08-22 13:32:42 +00: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