Commit Graph

15987 Commits

Author SHA1 Message Date
Doug 2d4e553cbd Pin DesignKit version and use contantAndAvatars array. 2022-07-07 15:42:57 +01:00
Doug 7d29bca319 Fixup missing colours and use resolved colours in UIKit.
Fix the confetti colour when using DesignKit.
Pin swift packages.
Fix UI tests target.
2022-07-07 15:42:57 +01:00
Doug ad4674c0d4 Replace DesignKit with package from ElementX. 2022-07-07 15:42:57 +01:00
Doug dcd5fad1b9 Add support for in-app notifications. (#6341) 2022-07-07 15:31:37 +01:00
Doug 183b855fd0 Fix a few failing UI tests. 2022-07-07 12:30:02 +01:00
ismailgulek 094935efb4 Merge pull request #6381 from vector-im/ismail/fix_vectorhostingcontroller_loop 2022-07-07 10:50:24 +03:00
SBiOSoftWhare e33771f8b1 Merge pull request #6375 from vector-im/steve/6238_promote_lab_flag
Location sharing: Promote labs flag
2022-07-06 16:14:51 +02:00
aringenbach 1daf7ec6fa Add formatter build reply HTML unit tests 2022-07-06 15:15:29 +02:00
SBiOSoftWhare 935385b3f1 LiveLocationLabPromotionView: Increase padding beetween toogle and validation button. 2022-07-06 12:36:51 +02:00
ismailgulek 75d578048c Add changelog 2022-07-06 13:35:59 +03:00
ismailgulek 760679b949 Update UIHostingController initializer 2022-07-06 13:20:41 +03:00
ismailgulek a0d8d86a1e Fix the safe area insets issue without method swizzling 2022-07-06 13:20:24 +03:00
wtimme e2c62179a7 Target SiriIntents: Split IntentHandler into smaller files (#6203)
* Add protocol `ContactResolving`

* Let the `IntentHandler` implement `ContactResolving` (#6203)

Nothing has changed about the implementation itself; this prepares
the separation of this logic into a dedicated unit.

* Prepare the separation of the contact resolver from the intents handler (#6203)

* Move the implementation of `ContactResolving` to a dedicated class (#6203)

* Move `ContactResolver` to a dedicated file (#6203)

* Prepare the separation of the `StartAudioCallIntentHandler` from `IntentsHandler` (#6203)

* Move the implementation of `INStartAudioCallIntentHandling` to a dedicated class (#6203)

* Prepare the separation of the `StartVideoCallIntentHandler` from `IntentsHandler` (#6203)

* Move the implementation of `INStartVideoCallIntentHandling` to a dedicated class (#6203)

* Prepare the separation of the `SendMessageIntentHandler` from `IntentsHandler` (#6203)

* Move the implementation of `INSendMessageIntentHandling` to a dedicated class (#6203)

* Remove unused property (#6203)

* Return `nil` if the requested intent cannot be handled (#6203)

* Initialize the intent handlers _after_ everything else is configured (#6203)

In `init()`, there might be some configuration being done that is
required for the handlers.

* Add changelog entry

* Move curly braces in Objective-C to dedicated lines

This ensures that the code follows the style that is present in other Objective-C files.

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* Inject the `ContactResolver` into the intent handlers during initialization

In #6365, @pixlwave pointed out that

> If the resolver ever gained a cache or stored properties it would
> help keep the memory usage down in the extension

* Prefer forward-declaration over import in Objective-C header files

Per @pixlwave, this helps prevent build failures:

> We had random cycle errors while building a while back and it was
> eventually solved by removing all imports of `GeneratedInterface-Swift.h`
> in every [Objective-C header] file.

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-07-06 09:39:38 +01:00
Anderas b9e52d063b Merge pull request #6308 from vector-im/andy/sentry
Track non-fatal issues via analytics / Sentry if consent provided
2022-07-05 19:40:09 +01:00
Andy Uhnak b8ff69fbe7 Add changelog 2022-07-05 17:15:52 +01:00
Andy Uhnak 34fad3ddbc Track non-fatal issues via analytics 2022-07-05 17:15:51 +01:00
SBiOSoftWhare 7fd873db05 Fix unit tests. 2022-07-05 16:33:45 +02:00
Johannes Marbach ffbf2abbd7 Merge pull request #6374 from vector-im/johannes/swiftui-safearea-fix
Fix layout issues in timeline poll cells (PSB-125)
2022-07-05 16:19:10 +02:00
SBiOSoftWhare d22f7e553d LocationSharingView: Fix background color issue with safe area. 2022-07-05 16:16:53 +02:00
SBiOSoftWhare 48bdaddd99 LiveLocationLabPromotionCoordinator: Show screen as a bottom sheet. 2022-07-05 15:47:34 +02:00
SBiOSoftWhare 89f8b3fb12 Merge branch 'develop' into steve/6238_promote_lab_flag 2022-07-05 15:18:38 +02:00
Johannes Marbach 51db5cdaa5 Merge branch 'develop' into johannes/swiftui-safearea-fix
# Conflicts:
#	Riot/Modules/Common/SwiftUI/VectorHostingController.swift
2022-07-05 14:10:41 +02:00
Gil Eluard f91e84af00 Server Offline Activity Indicator (#6314)
* Server Offline Activity Indicator

- implemented
2022-07-05 14:04:52 +02:00
Gil Eluard 4c84d1b15c Enhance the VectorHostingController to be presented as a bottom sheet (#6377)
* Enhance the VectorHostingController to be presented as a bottom sheet

- Done
2022-07-05 12:18:10 +02:00
aringenbach 962fd326d8 Merge pull request #6373 from vector-im/aringenbach/6273_delete_riot_defaults
Remove legacy Riot-Defaults property list
2022-07-05 10:50:35 +02:00
ismailgulek 6ba65a8fc1 Merge branch 'master' into develop 2022-07-05 10:26:51 +03:00
ismailgulek 0dd119fada Merge branch 'hotfix/1.8.20' 2022-07-05 10:26:29 +03:00
Johannes Marbach ecc8532319 Fix layout issues in timeline poll cells (PSB-125)
Fixes: #5326
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-07-05 08:21:00 +02:00
SBiOSoftWhare aac0fb4af2 Update changes 2022-07-04 17:44:40 +02:00
SBiOSoftWhare ed4d7c26a3 LiveLocationLabPromotionCoordinator: Handle interactive dismiss. 2022-07-04 17:40:15 +02:00
SBiOSoftWhare 051817509b LocationSharingCoordinator: Handle live location sharing lab flag presentation. 2022-07-04 17:39:45 +02:00
SBiOSoftWhare a2c4060272 LocationSharingService: Ensure to have the latest UserLocationService from MXSession. 2022-07-04 17:23:25 +02:00
SBiOSoftWhare 803fcae9d1 Add live location lab flag promotion coordinator. 2022-07-04 17:21:37 +02:00
SBiOSoftWhare 8fde3b765a MockAppScreens: Add live location lab flag promotion screen. 2022-07-04 17:10:15 +02:00
SBiOSoftWhare 70264e0075 Create live location sharing lab flag promotion screen. 2022-07-04 17:09:11 +02:00
aringenbach 5bb9e3bead Merge pull request #6372 from vector-im/aringenbach/6371_display_fallback_missing_reply_content
Display fallback when replied event content is partially missing
2022-07-04 17:01:45 +02:00
aringenbach 6cb0935eca Display fallback when replied event content is partially missing 2022-07-04 16:59:26 +02:00
SBiOSoftWhare cd56e9c82f Strings: Add lab flag promotion strings. 2022-07-04 16:55:30 +02:00
aringenbach bd8dcf1edd Add changelog 2022-07-04 15:56:37 +02:00
aringenbach 1651be9d2f Remove plist and unused SwiftGen config and generated file 2022-07-04 15:54:52 +02:00
aringenbach b64bb2c70c Move MatrixKit defaults still in use to BuildSettings and replace register 2022-07-04 15:53:26 +02:00
Gil Eluard 437b2eafd6 Invite user UI is always hidden by the keyboard (#6348)
* Invite user UI is always hidden by the keyboard

- fixed
2022-07-01 10:32:57 +02:00
SBiOSoftWhare 55685f10b1 Merge pull request #6363 from vector-im/steve/6361_lls_fix_lab_flag
Location sharing: Fix live location sharing lab flag activation
2022-06-30 11:22:01 +02:00
SBiOSoftWhare c08ac9c774 Update changes 2022-06-29 18:14:26 +02:00
SBiOSoftWhare ac54c22ec4 LocationManager: Fix issue in stop method. 2022-06-29 18:10:58 +02:00
SBiOSoftWhare 2c9da80ffd UserLocationServiceProvider: Handle live location sharing lab flag activation changes. 2022-06-29 18:10:28 +02:00
SBiOSoftWhare 6c4111f366 RiotSettings: Send local notification on live location sharing activation changes. 2022-06-29 18:09:48 +02:00
Gil Eluard 038c347fc9 Update Files component iOS (#6345)
* Update Files component iOS

- Done
2022-06-29 16:11:52 +02:00
Anderas ddd7ff625a Merge pull request #6360 from vector-im/andy/6358_cross_sign
Use ZXing library to generate QR codes
2022-06-29 14:54:22 +01:00
Andy Uhnak 42f7508538 Use ZXing library to generate QR codes 2022-06-29 11:58:10 +01:00