Commit Graph

4138 Commits

Author SHA1 Message Date
Doug 39812e6f89 Fix reactions beneath URL previews. 2021-09-03 12:07:29 +01:00
Doug 001314c22e Break-up cell data after a link even if the new event isn't a message. 2021-09-03 11:52:57 +01:00
Doug 2c75d1f529 Hide the loading state on error. 2021-09-03 11:32:09 +01:00
Doug 56a030f6ce Fix edits to previewable links not working. 2021-09-03 11:21:07 +01:00
Doug 72a89e267b Add setting to disable URL previews.
Using a temporary position in the settings screen whilst waiting for feedback.
2021-09-03 10:19:26 +01:00
Doug 632769bb64 Ensure correct font is used. 2021-09-02 18:08:35 +01:00
Doug a599f18be2 Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
Doug aace9d0a96 Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00
David Langley 007e0a8b6f Move complete room notification settings module to RiotSwiftUI and fix naming/directory structure. 2021-09-02 14:09:29 +01:00
Doug 8624e196e6 Update layout for text only previews. 2021-09-02 12:41:55 +01:00
Doug 25264241d8 Use stack views for layout. 2021-09-02 11:38:16 +01:00
David Langley 8c7514c865 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 2a9c06fad1 move full module and reorganize folders 2021-09-02 10:00:59 +01:00
Gil Eluard d7a19a7531 [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 11:24:07 +03:00
Gil Eluard 221fe2759a [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 10:17:09 +03:00
Gil Eluard 6fb6afe6a3 [Spaces] M10.8 Browsing users in a space #4682
- Renamed coordinators
2021-09-02 09:34:25 +03:00
Gil Eluard a22519bcba Merge branch 'gil/4571_explore_rooms' into gil/4682_browsing_users_in_a_space
# Conflicts:
#	Riot/Modules/SideMenu/SideMenuCoordinator.swift
2021-09-02 07:51:55 +03:00
Gil Eluard 8baebb2a99 [Spaces] M10.7 Explore rooms #4571
- Update after review
2021-09-01 18:12:08 +03:00
Stefan Ceriu c716098dd4 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
ismailgulek bd915082b9 Merge pull request #4779 from vector-im/ismail/4778_join_public_room
Fix joining public rooms
2021-09-01 16:21:44 +03:00
Stefan Ceriu 9457c25981 #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
ismailgulek 99866fef61 Use publicRoom instance instead of just room id to use canonical alias 2021-09-01 15:29:52 +03:00
David Langley f4cb404df0 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 3c85db9f3d 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 e6449c978c 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
Stefan Ceriu 2e895625b5 Fixes #4449 - Clipped home view on search. 2021-08-31 11:03:26 +03:00
Doug 2f33dd04ab 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 3b27528c6d Merge branch 'develop' into doug/4479_media_size_selection 2021-08-27 16:28:15 +01:00
David Langley 200fb69993 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
Doug e154f35e32 Update media settings strings. Update share extension image size prompt. 2021-08-27 16:15:46 +01:00
Stefan Ceriu bde2df24ee Fixes #4746 - It is very easy to make duplicate rooms 2021-08-26 17:48:24 +03:00
David Langley 758542ad5e Merge pull request #4760 from vector-im/langleyd/4467_account_notification_settings
Fix Default State of Keyword Notification Setting
2021-08-26 13:16:56 +01:00
David Langley 15041ccad5 Set true as default state for notification settings. Only matters for keywords. 2021-08-26 12:13:17 +01:00
David Langley 4674caac05 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
David Langley 8331559972 multiline comments 2021-08-25 19:28:19 +01:00
David Langley ced1b88123 Add ViewFrameReader 2021-08-25 19:24:33 +01:00
David Langley 8933f64b25 Remove 'OrderedSet' 2021-08-25 16:53:15 +01:00
David Langley 9b81730a50 Address comments and cleanup version checks 2021-08-25 15:46:02 +01:00
David Langley 73b448afb6 Improve comments and correct iOS version check logic. 2021-08-25 15:17:05 +01:00
David Langley af2b3154cf Add comments for flow layout. 2021-08-25 14:49:17 +01:00
David Langley e3592fc6d1 Remove unneeded delegate methods 2021-08-25 14:38:04 +01:00
David Langley 2265829c08 typos 2021-08-25 14:32:34 +01:00
David Langley 8d9aac8f18 Fix build error in BorderedInputFieldStyle 2021-08-25 14:21:43 +01:00
David Langley 9fe53a7957 Fix chip text color in dark theme and add towncrier 2021-08-25 14:13:04 +01:00
David Langley 7a4554f53d Add Chips, InputStyles, Service Implementation, swift-collections and UI cleanup. 2021-08-25 13:03:36 +01:00
Stefan Ceriu 001d7fef76 #4693 - Fixed minimum supported version. 2021-08-25 14:26:39 +03:00
Stefan Ceriu 91539cd236 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
Stefan Ceriu 2cf8f9f85c #4693 - Updates following code review. 2021-08-25 13:57:32 +03:00
Stefan Ceriu ea699f66e3 Implements #4693 - Alert users of Element on iOS11 deprecation. 2021-08-25 13:57:32 +03:00
Doug b1bf11eb52 Add comments about the un-sanitized URL. 2021-08-24 09:42:55 +01:00