Commit Graph

1001 Commits

Author SHA1 Message Date
Doug 26e356776c Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00
Doug 3db5d7f605 Update layout for text only previews. 2021-09-02 12:41:55 +01:00
Doug 0491195401 Use stack views for layout. 2021-09-02 11:38:16 +01:00
David Langley 823e526bec Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4776_extract_swiftui 2021-09-02 10:14:11 +01:00
David Langley 883136252b move full module and reorganize folders 2021-09-02 10:00:59 +01:00
Gil Eluard 665e5726ca [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 11:24:07 +03:00
Stefan Ceriu fc3dd7c216 Moved converted voice messages to their own folder. Cleaning up all temporary files on reload and logout. 2021-09-01 17:08:07 +03:00
Stefan Ceriu ef3fb0433e #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley 862f30102f Finish extraction
- Moves SwiftUI code out of Riot and into RiotSwiftUI which has no dependency on Matrix SDK.
- Git wasn't smart enough to see the file moves. Most feature function has remain unchanged. 1 change I did make was remove NotificationSettingsViewModel's dependence on MxPushRule, so that the view model could be moved into RiotSwiftUI.
- Add LocaleProvider to abstract VectorL10n's use of Matrix SDK language so it can be used in RiotSwiftUI.
- Split Theme into UKit/SwiftUI version to remove RiotSwiftUI's dependence on ThemeService and ThemeV1.
- Migrated from ThemeObserver to ThemePublisher. We push updates to ThemePublisher so that we can remove ThemeService as dependency.
- Add .DS_Store to .gitignore
2021-09-01 12:34:38 +01:00
Doug f93b96fa50 Refactoring and tidy up.
Make the preview manager a singleton (passing in the MXSession to functions). Fix tests.

PreviewManager → URLPreviewManager
URLPreviewViewData → URLPreviewData
URLPreviewCache → URLPreviewStore
2021-09-01 12:28:56 +01:00
Doug cd87095453 Load and store URLPreviewViewData in RoomBubbleCellData.
Implement close button and store the action in Core Data. Hide the preview image view when no image is received. Remove line breaks in description text.
2021-09-01 10:37:37 +01:00
Doug 69e98ce572 Merge branch 'develop' into doug/4479_media_size_selection
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
2021-08-27 16:30:01 +01:00
Doug 1408095129 Merge branch 'develop' into doug/4479_media_size_selection 2021-08-27 16:28:15 +01:00
David Langley 087f848ec5 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
David Langley b5634b051a Merge pull request #4752 from vector-im/langleyd/4467_account_notification_settings
Account Notification Settings and Keywords
2021-08-26 11:07:11 +01:00
Stefan Ceriu 33396c146b Fixes #4748 - Fixed cached callbacks race condition, serialized all async operations, properly cleaning up callbacks on failure. 2021-08-25 14:03:42 +03:00
Doug 2abc19b599 Add comments about the un-sanitized URL. 2021-08-24 09:42:55 +01:00
Doug 5d66333d63 Add PreviewManger with Core Data cache and a URLPreviewView with a view model.
Changes to RoomDataSource still to come.
2021-08-23 17:56:24 +01:00
Doug 9b2e261107 Merge branch 'develop' into doug/4479_media_size_selection 2021-08-23 12:49:28 +01:00
Doug 027298f903 Merge branch 'develop' into doug/4479_media_size_selection 2021-08-23 12:49:06 +01:00
Doug c7f426f977 Combine confirm image/video size settings into one. 2021-08-23 11:16:32 +01:00
Gil Eluard 3c39228618 [Spaces] M10.8 Browsing users in a space #4682
- Added navigation to member detail page
2021-08-22 08:48:54 +03:00
David Langley 5c3f054a63 Merge pull request #4670 from vector-im/langleyd/4669_room_notification_settings_swiftui 2021-08-18 17:51:39 +01:00
Doug 6c8dccd84f Merge branch 'develop' into doug/888_add_url_previews 2021-08-18 16:47:22 +01:00
Stefan Ceriu 3c650f36db Fixes #4714 - Flickering voice message cells while being sent. 2021-08-18 14:58:32 +03:00
David Langley d5f72ccce1 indentation 2021-08-18 12:48:04 +01:00
David Langley ec86f8e797 Fix imports and move logic to AvatarViewModel 2021-08-18 12:45:13 +01:00
David Langley 343d5a7017 Add NotificationSettings and Keywords UI and VM 2021-08-18 09:33:56 +01:00
David Langley 42801a3ca1 run template, add entrypoint and update BuildSetting 2021-08-17 15:00:20 +01:00
David Langley 3526279e54 Move SwiftUI version of ViewModel to a subclass 2021-08-17 13:19:27 +01:00
David Langley d342590953 Add activity indicator 2021-08-17 11:44:08 +01:00
Doug 174238f0cb Merge branch 'develop' into doug/888_add_url_previews 2021-08-17 10:29:30 +01:00
David Langley 7963915926 Add dependency management, AvatarViewModel and placeholder rendering now in AvatarImage. 2021-08-17 10:19:41 +01:00
Doug a9d5d4d5d7 Add an (optional) prompt when sending a video to select its size.
Use high quality when filming video in-app.
2021-08-16 17:48:26 +01:00
Gil Eluard e70d3bb67c [Spaces] M10.7 Explore rooms #4571
- Update after design review
2021-08-16 15:44:44 +02:00
David Langley 90bebceb9b Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-16 13:00:41 +01:00
Doug 7dea78bae9 Merge branch 'develop' into doug/4479_media_size_selection
# Conflicts:
#	Riot/Managers/Settings/RiotSettings.swift
2021-08-16 10:01:54 +01:00
David Langley 807dfdfce2 Do avatar placeholder in SwiftUI, Add AvatarViewModel, Add dependency injection for MxMediaManager dependency. 2021-08-15 00:36:15 +01:00
Stefan Ceriu 216300e687 Fixes #1482 - Popping the user back to the home screen after leaving a room. 2021-08-13 17:57:50 +03:00
David Langley 1ccc3b6eba Fix header font size 2021-08-12 17:51:50 +01:00
David Langley 8ab3b0711c Typo 2021-08-12 17:10:19 +01:00
David Langley 7d45fdc50f Cleanup from comments 2021-08-12 16:57:19 +01:00
David Langley 814741edf3 Fix avatar service not returning generated image on network error. Fix padding and make nav buttons private. 2021-08-12 13:49:56 +01:00
David Langley 504349f40a Remove visibility modifier 2021-08-12 12:42:26 +01:00
David Langley 3f503b4bc6 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-12 11:52:50 +01:00
David Langley 7464614ff4 Add theming support, and support for other top level configuration to swiftui views with VectorHostingViewController, VectorContentModifier. Add VisibilityModifier. Move from List to VStack. 2021-08-12 11:52:06 +01:00
ismailgulek b22868b0a0 Use new strings for ended calls 2021-08-06 16:20:10 +03:00
David Langley d4a672c1f0 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-06 13:52:55 +01:00
Stefan Ceriu ecfa544cd0 Remove labs setting for voice messages, enable the feature by default. Fixed incorrect ffmpeg arguments. 2021-08-06 14:22:52 +03:00
Stefan Ceriu 2a6f0233a8 Fixes voice message audio quality. 2021-08-06 14:22:52 +03:00