Commit Graph

6854 Commits

Author SHA1 Message Date
Doug fc36f1cc37 Fix edits to previewable links not working. 2021-09-03 11:21:07 +01:00
Doug 24bfe36712 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 47e54b79cc Ensure correct font is used. 2021-09-02 18:08:35 +01:00
Doug 0ea0380da7 Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
Doug 885f3208bf Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00
David Langley 14169c6594 Move complete room notification settings module to RiotSwiftUI and fix naming/directory structure. 2021-09-02 14:09:29 +01:00
Doug 2e795607bb Update layout for text only previews. 2021-09-02 12:41:55 +01:00
Doug 0e06a22c7e Use stack views for layout. 2021-09-02 11:38:16 +01:00
David Langley c5881e11ae 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 667beca407 move full module and reorganize folders 2021-09-02 10:00:59 +01:00
Gil Eluard 7dd4af28b6 [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 11:24:07 +03:00
Gil Eluard a3b4bab284 [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 10:17:09 +03:00
Gil Eluard 66f084b85c [Spaces] M10.8 Browsing users in a space #4682
- Renamed coordinators
2021-09-02 09:34:25 +03:00
Gil Eluard 3decd0200d 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 8a2ba8bf44 [Spaces] M10.7 Explore rooms #4571
- Update after review
2021-09-01 18:12:08 +03:00
Stefan Ceriu d2908eec5c 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 66d98ac999 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 0b2616ddb3 #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
ismailgulek 2f3243583d Use publicRoom instance instead of just room id to use canonical alias 2021-09-01 15:29:52 +03:00
David Langley ada377dcf2 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 882fcab738 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 4331994d72 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 246f82145f Fixes #4449 - Clipped home view on search. 2021-08-31 11:03:26 +03:00
Stefan Ceriu c6821f8dbe Using a property wrapper for UserDefaults backed application settings (RiotSettings). 2021-08-30 11:02:06 +03:00
Doug d1eaa90984 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 fc8484b467 Merge branch 'develop' into doug/4479_media_size_selection 2021-08-27 16:28:15 +01:00
David Langley cb0403ed8d Extract and start to split theme. 2021-08-27 16:26:56 +01:00
Doug 4c59f1bd37 Update media settings strings. Update share extension image size prompt. 2021-08-27 16:15:46 +01:00
Stefan Ceriu 4c60dc9a8e Fixes #4746 - It is very easy to make duplicate rooms 2021-08-26 17:48:24 +03:00
David Langley dc2e3ca367 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 41bba11834 Set true as default state for notification settings. Only matters for keywords. 2021-08-26 12:13:17 +01:00
SBiOSoftWhare 38a24c41e2 Merge pull request #4758 from RiotTranslateBot/weblate-riot-ios-riot-ios-dialogs
Translations update from Weblate
2021-08-26 12:25:14 +02:00
SBiOSoftWhare 57bf5bbe1a Merge pull request #4757 from RiotTranslateBot/weblate-riot-ios-riot-ios
Translations update from Weblate
2021-08-26 12:24:48 +02:00
SBiOSoftWhare 7b484d7fce Merge pull request #4756 from RiotTranslateBot/weblate-riot-ios-riot-ios-push
Translations update from Weblate
2021-08-26 12:24:21 +02:00
David Langley f49af07c11 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
Weblate 1e8886dcdc Merge branch 'origin/develop' into Weblate. 2021-08-26 10:01:11 +00:00
Weblate 8f401ea70e Merge branch 'origin/develop' into Weblate. 2021-08-26 09:59:01 +00:00
Weblate ef62cd083d Merge branch 'origin/develop' into Weblate. 2021-08-26 09:58:56 +00:00
Tirifto 6b5fd2b7fa Translated using Weblate (Esperanto)
Currently translated at 92.5% (1160 of 1253 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/eo/
2021-08-26 09:58:41 +00:00
David Langley 0eebae4712 multiline comments 2021-08-25 19:28:19 +01:00
David Langley 32610816e5 Add ViewFrameReader 2021-08-25 19:24:33 +01:00
David Langley af477d0e09 Delete .DS_Store 2021-08-25 16:55:23 +01:00
David Langley a3c927ffaf Remove 'OrderedSet' 2021-08-25 16:53:15 +01:00
David Langley 391a6ea6c5 Address comments and cleanup version checks 2021-08-25 15:46:02 +01:00
David Langley bfd6bac416 Improve comments and correct iOS version check logic. 2021-08-25 15:17:05 +01:00
David Langley 94b3cc0093 Add comments for flow layout. 2021-08-25 14:49:17 +01:00
David Langley 43d7abc11e Remove unneeded delegate methods 2021-08-25 14:38:04 +01:00
David Langley 30faf9b317 typos 2021-08-25 14:32:34 +01:00
David Langley b8fe7ec453 Remove unneeded string from bad merge 2021-08-25 14:25:57 +01:00
David Langley 279d5e3811 Fix build error in BorderedInputFieldStyle 2021-08-25 14:21:43 +01:00