ismailgulek
d6a3a35f18
Merge branch 'develop' into ismail/4384_room_summary_store
2021-10-15 12:07:21 +03:00
Doug
098d0fdeff
Re-enable link detection in clearStore instead of via NotificationCenter.
2021-10-14 14:24:01 +01:00
Doug
7b141a5db8
Add observer to re-enable link detection when signing out of an account.
2021-10-13 16:01:19 +01:00
Doug
cc9b47f4b5
Use MXError and MXHTTPOperation where possible.
2021-10-13 14:51:50 +01:00
Doug
ef572d42fe
Stop requesting URL previews if the feature has been disabled on the homeserver.
2021-10-13 12:51:15 +01:00
ismailgulek
1eb62fb392
Merge branch 'develop' into ismail/4384_room_summary_store
2021-10-12 11:49:55 +03:00
ismailgulek
890540e349
Merge branch 'develop' into ismail/4384_room_summary_store
2021-10-08 16:59:25 +03:00
Doug
8c9c69586f
Merge remote-tracking branch 'origin/develop' into doug/4484_contacts_access
...
# Conflicts:
# Riot/Modules/ServiceTerms/Modal/ServiceTermsModalCoordinatorBridgePresenter.swift
2021-10-08 11:45:43 +01:00
Doug
cfc2ce48db
Track an analytics value on accept/decline of an identity server.
2021-10-05 17:19:19 +01:00
ismailgulek
f5f773e7d9
Merge branch 'develop' into ismail/4384_room_summary_store
2021-10-05 13:48:25 +03:00
manuroe
0500f703b2
i18n: Standardise casing of identity server and integration manager.
2021-10-01 11:51:30 +01:00
Doug
1c4b09b813
Merge branch 'develop' into doug/4484_contacts_access
...
# Conflicts:
# Riot/Assets/en.lproj/Vector.strings
# Riot/Generated/Strings.swift
# Riot/Modules/Application/LegacyAppDelegate.m
# Riot/Modules/Settings/SettingsViewController.m
2021-09-30 11:14:02 +01:00
ismailgulek
cc46decec2
Merge branch 'develop' into ismail/4384_room_summary_store
2021-09-30 12:35:46 +03:00
Stefan Ceriu
92c2a9488f
vector-im/element-ios/issues/4899 - Fixed various localization issues.
2021-09-30 09:40:12 +03:00
Stefan Ceriu
8b80b3f4c7
vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods.
2021-09-30 09:40:12 +03:00
Doug
f5802395f5
Merge pull request #4924 from vector-im/doug/4896_url_previews_string_whitespace
...
Use attributed string whitespace for URL previews.
2021-09-29 16:18:31 +01:00
Doug
8959759c2d
Conform URLPreviewData to MXKURLPreviewDataProtocol.
2021-09-29 12:12:25 +01:00
Doug
bf84540b39
Check whether URL previews should be shown in a single location.
...
Reset all cell data when this setting is changed to force a refresh.
Rename `hasClosedPreview(from:)` to `shouldShowPreview(for:)` for clarity and potentially adding more rules at a later date.
2021-09-29 11:39:11 +01:00
ismailgulek
05d71297b5
Merge branch 'develop' into ismail/4384_room_summary_store
2021-09-28 17:30:39 +03:00
Gil Eluard
019b21d805
App may not start in 1.6.0 #4919
...
- Update after review
2021-09-28 15:22:30 +02:00
Gil Eluard
287121511d
App may not start in 1.6.0 #4919
...
- Update after review
2021-09-28 14:45:34 +02:00
Gil Eluard
990def5c22
App may not start in 1.6.0 #4919
...
- Fixed
2021-09-28 13:07:10 +02:00
ismailgulek
dae19f8823
Post a notification when RiotSettings updated
2021-09-23 16:55:00 +03:00
Gil Eluard
3c0a4c0633
Merge branch 'develop' into spaces
...
# Conflicts:
# Riot/Assets/en.lproj/Vector.strings
2021-09-22 15:39:06 +02:00
Gil Eluard
ca83d8258f
Merge branch 'develop' into spaces
2021-09-20 10:18:01 +02:00
David Langley
a94969403c
Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples
2021-09-20 08:50:38 +01:00
Doug
6a92f89feb
Enable URL Previews by default and remove from Labs.
2021-09-16 17:51:56 +01:00
David Langley
d189c4d618
Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples
2021-09-15 14:33:05 +01:00
Gil Eluard
9279d17226
Merge branch 'develop' into spaces
...
# Conflicts:
# Riot/Modules/Common/Avatar/AvatarViewDataProtocol.swift
# Riot/Modules/Common/Recents/RecentsViewController.m
# Riot/Modules/Home/Views/RoomCollectionViewCell.m
# Riot/Modules/TabBar/TabBarCoordinator.swift
2021-09-15 14:42:04 +02:00
Gil Eluard
5f8de45e25
[Spaces] M10.8 Browsing users in a space #4682
...
- Update after code review
2021-09-14 16:59:32 +02:00
Stefan Ceriu
62cdb29331
Revert "Revert " #4693 - Drop iOS 11 support.""
2021-09-14 11:41:36 +03:00
David Langley
59a54654b1
Add configurable logger for RiotSwiftUI
2021-09-09 22:42:00 +01:00
Doug
546c1e10ca
Merge branch 'develop' into doug/4484_contacts_access
2021-09-09 12:24:08 +01:00
Doug
4a1642265c
Log Core Data save errors. Use a static property for the Core Data in memory SQLite URL.
2021-09-08 17:45:02 +01:00
Doug
b7260b6836
Rename Core Data objects.
...
URLPreviewCacheData becomes URLPreviewData in the model with a class name of URLPreviewDataMO
ClosedURLData becomes URLPreviewUserData in the model with a class name of URLPreviewUserDataMO
2021-09-08 15:47:14 +01:00
Doug
1963f35d30
Update for PR feedback.
...
URLPreviewManager becomes URLPreviewService.
addVerticalWhitespaceToString used instead of heightForCellData multiple times.
All newline characters removed.
2021-09-08 15:10:13 +01:00
Doug
0f88e8e851
Add more docs and comments.
...
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
Doug
bb98bbe1c0
Merge branch 'develop' into doug/888_add_url_previews
2021-09-07 17:51:31 +01:00
Doug
a05b1cab03
Move url preview setting under labs section.
2021-09-07 16:00:12 +01:00
Doug
d5c58b3f85
Remove unnecessary defaults registration.
2021-09-06 17:10:59 +01:00
Doug
46a0c39bbb
Use a property wrapper for showMediaCompressionPrompt setting.
2021-09-06 17:08:23 +01:00
Doug
640c4a562c
Merge branch 'develop' into doug/4479_media_size_selection
...
# Conflicts:
# Riot/Managers/Settings/RiotSettings.swift
2021-09-06 17:04:22 +01:00
Stefan Ceriu
8f46e037f2
Revert " #4693 - Drop iOS 11 support."
...
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03: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
0ea0380da7
Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews
2021-09-02 17:39:42 +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
Stefan Ceriu
0b2616ddb3
#4693 - Drop iOS 11 support.
2021-09-01 15:55:41 +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