Commit graph

6419 commits

Author SHA1 Message Date
Doug
84bdfb31c7 Update setting string. 2021-09-16 17:57:36 +01:00
Doug
96ef61ab21 Enable URL Previews by default and remove from Labs. 2021-09-16 17:51:56 +01:00
Doug
7807b21e09 Use constants. 2021-09-16 17:13:56 +01:00
Doug
38db80ac6b Reduce the width of URL previews on 4" devices. 2021-09-16 16:41:21 +01:00
Gil Eluard
a926960970 Merge branch 'develop' into spaces 2021-09-16 15:47:32 +02:00
manuroe
77fc814221 Merge remote-tracking branch 'origin/master' into develop 2021-09-16 15:01:40 +02:00
David Langley
fb0f023964 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
8ba6c55a87 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
a0fbe8a011 [Spaces] M10.6 Space preview bottom sheet #4497
- Update after code review
2021-09-15 11:16:20 +02:00
LinAGKar
c472d44b9e Translated using Weblate (Swedish)
Currently translated at 100.0% (1286 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/sv/
2021-09-15 08:25:34 +00:00
Bartosz
a90ddaf19e Translated using Weblate (Polish)
Currently translated at 100.0% (1286 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/pl/
2021-09-15 08:25:34 +00:00
random
57f8bae12a Translated using Weblate (Italian)
Currently translated at 100.0% (1286 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/it/
2021-09-15 08:25:33 +00:00
Kaede
799cf2844b Translated using Weblate (Japanese)
Currently translated at 67.5% (869 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/ja/
2021-09-15 08:25:33 +00:00
Nikita Epifanov
33949ccf9c Translated using Weblate (Russian)
Currently translated at 100.0% (1286 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/ru/
2021-09-15 08:25:32 +00:00
libexus
7c8db46344 Translated using Weblate (German)
Currently translated at 99.2% (1276 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/de/
2021-09-15 08:25:29 +00:00
jelv
d31a1d10ef Translated using Weblate (Dutch)
Currently translated at 100.0% (1286 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/nl/
2021-09-15 08:25:27 +00:00
Gil Eluard
f423795d94 Merge branch 'spaces' into gil/4497_space_preview_bottom_sheet
# Conflicts:
#	Riot/Modules/SideMenu/SideMenuCoordinator.swift
2021-09-14 17:53:46 +02:00
Gil Eluard
ada879edcf [Spaces] M10.8 Browsing users in a space #4682
- Fixed build issue on Jenkins
2021-09-14 17:22:48 +02:00
Gil Eluard
f4fb4be6fb [Spaces] M10.8 Browsing users in a space #4682
- Update after code review
2021-09-14 16:59:32 +02:00
Gil Eluard
c2e4d915af [Spaces] M10.8 Browsing users in a space #4682
- Update after code review
2021-09-14 15:29:16 +02:00
Gil Eluard
4da3741140 [Spaces] M10.8 Browsing users in a space #4682
- Update after code review
2021-09-14 11:45:33 +02:00
Stefan Ceriu
d4c7a2b0d1 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
Nikita Epifanov
eadb3bf681 Translated using Weblate (Russian)
Currently translated at 100.0% (48 of 48 strings)

Translation: Element iOS/Element iOS (Push)
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios-push/ru/
2021-09-14 08:25:26 +00:00
Gil Eluard
753e1e5918 [Spaces] M10.6 Space preview bottom sheet #4497
- Update after design review
2021-09-14 09:42:10 +02:00
SBiOSoftWhare
2abaff826e
Merge pull request #4817 from pengufrost/4785_fix_sso_redirect 2021-09-14 08:43:16 +02:00
Chelsea Finnie
59220d79d1 Updated SSOAuthenticationService.swift to append / to redirect path if using an identity provider 2021-09-14 10:57:35 +12:00
Doug
721e5daa23 Override hasLink in RoomBubbleCellData to only check the last component. 2021-09-13 17:47:52 +01:00
Doug
2b11d4d325 Ensure the last bubble component has a link before loading the URL preview. 2021-09-13 16:49:34 +01:00
Gil Eluard
652d71b2e2 [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-13 16:03:56 +02:00
Gil Eluard
7b539ecde3 Merge branch 'gil/4571_explore_rooms' into gil/4682_browsing_users_in_a_space
# Conflicts:
#	Riot/Modules/SideMenu/SideMenuCoordinator.swift
2021-09-13 10:23:21 +02:00
Gil Eluard
50ffa5b5a7 [Spaces] M10.7 Explore rooms #4571
- Update after code review
2021-09-13 10:06:36 +02:00
Priit Jõerüüt
df0e1b580f Translated using Weblate (Estonian)
Currently translated at 100.0% (1286 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/et/
2021-09-11 08:25:30 +00:00
Bartosz
6a59f5398f Translated using Weblate (Polish)
Currently translated at 100.0% (1286 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/pl/
2021-09-11 08:25:29 +00:00
lvre
838a218020 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1286 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/pt_BR/
2021-09-11 08:25:29 +00:00
random
339a48ea9d Translated using Weblate (Italian)
Currently translated at 100.0% (1286 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/it/
2021-09-11 08:25:28 +00:00
Besnik Bleta
6046fe01e1 Translated using Weblate (Albanian)
Currently translated at 99.6% (1281 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/sq/
2021-09-11 08:25:27 +00:00
Szimszon
f3451446ea Translated using Weblate (Hungarian)
Currently translated at 100.0% (1286 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/hu/
2021-09-11 08:25:26 +00:00
Le Dang Trung
2237987bcf Translated using Weblate (Vietnamese)
Currently translated at 26.2% (338 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/vi/
2021-09-11 08:25:26 +00:00
sr093906
1d448beffa Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1286 of 1286 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/zh_Hans/
2021-09-11 08:25:25 +00:00
David Langley
5f3ddf60ec Always get the identifier from the theme. 2021-09-10 11:14:42 +01:00
David Langley
0ac0c2a230 get theme id from theme, always republish theme updates. 2021-09-10 10:54:50 +01:00
Chelsea Finnie
af2d3a5bde Fix redirection issue when logging in with single sign on. Fixes #4785.
Signed-off-by: Chelsea Finnie <chelseafinnie@catalyst.net.nz>
2021-09-10 15:14:38 +12:00
David Langley
fb203cce5e Add configurable logger for RiotSwiftUI 2021-09-09 22:42:00 +01:00
SBiOSoftWhare
353cb425b2 Merge branch 'develop' into steve/4734_nav_room_stack
# Conflicts:
#	Riot/Modules/Room/RoomViewController.m
2021-09-09 16:45:35 +02:00
Doug
8cc919f5e8
Merge pull request #4805 from vector-im/doug/888_missed_pr_feedback
Resolves a couple of missed comments on URL previews
2021-09-09 09:06:39 +01:00
Element Translate Bot
41a29a9349
Translated using Weblate (Ukrainian) (#4808)
Currently translated at 100.0% (48 of 48 strings)

Translation: Element iOS/Element iOS (Push)
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios-push/uk/

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Weblate <noreply@weblate.org>
2021-09-09 08:42:45 +02:00
Element Translate Bot
74805663a4
Translations update from Weblate (#4807)
* Translated using Weblate (Dutch)

Currently translated at 99.1% (1270 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/nl/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1281 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/zh_Hans/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (1281 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/hu/

* Translated using Weblate (Albanian)

Currently translated at 99.6% (1276 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/sq/

* Translated using Weblate (Italian)

Currently translated at 100.0% (1281 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/it/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (1281 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/pt_BR/

* Translated using Weblate (Polish)

Currently translated at 100.0% (1281 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/pl/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (1281 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/sv/

* Translated using Weblate (Persian)

Currently translated at 6.0% (77 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/fa/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (1281 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/nl/

* Translated using Weblate (French)

Currently translated at 99.9% (1280 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (Spanish)

Currently translated at 43.6% (559 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/es/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (1281 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/pt_BR/

* Translated using Weblate (Polish)

Currently translated at 100.0% (1281 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/pl/

* Translated using Weblate (Estonian)

Currently translated at 100.0% (1281 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/et/

* Translated using Weblate (Spanish)

Currently translated at 44.1% (566 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/es/

* Translated using Weblate (Russian)

Currently translated at 97.8% (1253 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/ru/

* Translated using Weblate (Ukrainian)

Currently translated at 28.0% (359 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 37.1% (476 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 37.7% (483 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 37.7% (483 of 1281 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/uk/

Co-authored-by: jelv <post@jelv.nl>
Co-authored-by: sr093906 <spice2wolf@gmail.com>
Co-authored-by: Szimszon <github@oregpreshaz.eu>
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: lvre <7uu3qrbvm@relay.firefox.com>
Co-authored-by: Bartosz <barpaw@gmail.com>
Co-authored-by: LinAGKar <linus.kardell@gmail.com>
Co-authored-by: MohammadR. Fekri <fekri.m@icloud.com>
Co-authored-by: Thibault Martin <mail@thibaultmart.in>
Co-authored-by: iaiz <git@iapellaniz.com>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Dmitry Sandalov <dmitry@sandalov.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Weblate <noreply@weblate.org>
2021-09-09 08:42:14 +02:00
Doug
dad25ccf0c 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
0e64b60f02
Merge pull request #4790 from vector-im/doug/888_add_url_previews
Add URL previews as a Labs feature
2021-09-08 17:19:41 +01:00
Doug
26567464e4 Revert height computation for now. 2021-09-08 15:59:30 +01:00
David Langley
89bf79df7d CoordinatorParamters, Type -> Protocol, remove MX Prefix. 2021-09-08 15:47:24 +01:00
Doug
206017c01f 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
David Langley
0a7beb6744 Add template unit tests and publisher utility. 2021-09-08 15:32:41 +01:00
Doug
24afc7af6c 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
ismailgulek
c475e85771
Remove forgotten Jitsi call property and function 2021-09-08 14:07:19 +03:00
ismailgulek
8649dbe51b
Wait for sync response when clearing cache 2021-09-08 14:06:41 +03:00
ismailgulek
5f82518f11
Post data ready notification every time 2021-09-08 13:54:08 +03:00
ismailgulek
c90c6a5ad4
Merge pull request #4798 from vector-im/ismail/4797_launch_empty_screen
Show animation instead of empty screen on app launch
2021-09-08 12:24:53 +03:00
Doug
ea14ed9616 Add more docs and comments.
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
ismailgulek
ec23468244
Listen for recents data ready notification in an async method 2021-09-08 11:21:04 +03:00
ismailgulek
65ffa028cc
Move data ready notification to RecentsViewController 2021-09-08 11:18:18 +03:00
David Langley
f9840f79ba Remove unneeded protocol and methods on VectortHostingController 2021-09-07 22:49:11 +01:00
ismailgulek
7d53e65873
Fix search bar clipping issues 2021-09-08 00:29:28 +03:00
Doug
1c7cef52a0 Merge branch 'develop' into doug/888_add_url_previews 2021-09-07 17:51:31 +01:00
SBiOSoftWhare
6abab61531 RoomVC: Add a delegate, factorize and reduce usage of AppDelegate. 2021-09-07 17:43:49 +02:00
ismailgulek
55fe0180ab
Wait for the room list data to be ready to hide launch animation 2021-09-07 18:23:23 +03:00
ismailgulek
e1cf9eba11
Introduce roomListDataReady on HomeViewController 2021-09-07 18:22:54 +03:00
Doug
c007bc5b4d Fix settings toggle not enabled. 2021-09-07 16:12:37 +01:00
Doug
4ad041622c Remove "Loading preview..." label. 2021-09-07 16:12:12 +01:00
Doug
0094add5a4 Move url preview setting under labs section. 2021-09-07 16:00:12 +01:00
Doug
1c7adf0922 Fix unsatisfiable constraints messages. 2021-09-07 14:49:51 +01:00
Doug
7448ca1002 Observe URL preview update notification in RoomViewController.
Update bubbleTableView's content offset when a preview above the bottom most visible cell changes the height of the table's content.
2021-09-07 14:49:51 +01:00
Doug
e8bc470bd2 Add MediaCompressionHelper.defaultCompressionMode for use in RoomViewController. 2021-09-07 14:46:02 +01:00
Doug
46b79bec45 Add comments. 2021-09-06 18:15:55 +01:00
David Langley
2b2275d0d7 Add Simple Template Example
- Add a simple Template example that shows a user profile with avatar, displayName and presence.
- ScreenCoordinator: closure based with less protocols and delegates.
- Reducer: Reducer function that manages all state modifications.
- SwiftUI View: Decomposes UI into appropriate sub components.
- Uses Theme and Dependency Management Infrastructure
2021-09-06 17:12:31 +01:00
Doug
aae43e8954 Remove unnecessary defaults registration. 2021-09-06 17:10:59 +01:00
Doug
e1201e7d30 Use a property wrapper for showMediaCompressionPrompt setting. 2021-09-06 17:08:23 +01:00
Doug
a300cab626 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
4a0f68694c #4693 - Mark iOS 11 as dropped in the verions check coordinator (last supported release). 2021-09-06 18:24:26 +03:00
Stefan Ceriu
f2dd0e256b Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f219.
2021-09-06 18:24:26 +03:00
Gil Eluard
51abfdc3d9 [Spaces] M10.6 Space preview bottom sheet #4497
- Localized strings for space join rule
2021-09-06 08:47:43 +03:00
Gil Eluard
bb1f93ac6a [Spaces] M10.6 Space preview bottom sheet #4497 2021-09-06 07:46:43 +03:00
Doug
55df9303de Fix potentially redundant table reloading. 2021-09-03 18:18:36 +01:00
Doug
cf3733c8b9 Clear the URL preview manager's store when clearing caches. 2021-09-03 12:12:44 +01:00
Doug
434657ea6b Fix reactions beneath URL previews. 2021-09-03 12:07:29 +01:00
Doug
7db81ccf2a 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
80f8cc6dac Hide the loading state on error. 2021-09-03 11:32:09 +01:00
Doug
be83d8e2f6 Fix edits to previewable links not working. 2021-09-03 11:21:07 +01:00
Doug
2e04123337 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
6a5b12ab8b Ensure correct font is used. 2021-09-02 18:08:35 +01:00
Doug
4924110f8e Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
Doug
1831b61b12 Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00
David Langley
e984457941 Move complete room notification settings module to RiotSwiftUI and fix naming/directory structure. 2021-09-02 14:09:29 +01:00
Doug
9fb13b7c5a Update layout for text only previews. 2021-09-02 12:41:55 +01:00
Doug
042eb8e2ba Use stack views for layout. 2021-09-02 11:38:16 +01:00
David Langley
55c515fe4a 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
43ad395e8d move full module and reorganize folders 2021-09-02 10:00:59 +01:00
Gil Eluard
be960960db [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 11:24:07 +03:00
Gil Eluard
e46f5faec3 [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 10:17:09 +03:00
Gil Eluard
4e3e803943 [Spaces] M10.8 Browsing users in a space #4682
- Renamed coordinators
2021-09-02 09:34:25 +03:00
Gil Eluard
20fd906a13 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
99caa08860 [Spaces] M10.7 Explore rooms #4571
- Update after review
2021-09-01 18:12:08 +03:00
Stefan Ceriu
c5e53d178e 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
dc3c91de31
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
a786cbb90a #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
ismailgulek
b7fb14ed81
Use publicRoom instance instead of just room id to use canonical alias 2021-09-01 15:29:52 +03:00
David Langley
790301ccb6 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
a81ebbd0aa 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
59e541667e 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
dacaa891a0 Fixes #4449 - Clipped home view on search. 2021-08-31 11:03:26 +03:00
Stefan Ceriu
0ee9c9ead6 Using a property wrapper for UserDefaults backed application settings (RiotSettings). 2021-08-30 11:02:06 +03:00
Doug
04c63d4e33 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
99d66f0c0a Merge branch 'develop' into doug/4479_media_size_selection 2021-08-27 16:28:15 +01:00
David Langley
fb67c9d235 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
Doug
4a1a58d804 Update media settings strings. Update share extension image size prompt. 2021-08-27 16:15:46 +01:00
Stefan Ceriu
3291266a35 Fixes #4746 - It is very easy to make duplicate rooms 2021-08-26 17:48:24 +03:00
David Langley
cb69f48f5d
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
2725255f8f Set true as default state for notification settings. Only matters for keywords. 2021-08-26 12:13:17 +01:00
SBiOSoftWhare
92e043f467
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
173fa8701d
Merge pull request #4757 from RiotTranslateBot/weblate-riot-ios-riot-ios
Translations update from Weblate
2021-08-26 12:24:48 +02:00
SBiOSoftWhare
fd77b11835
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
45540f1d4f
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
dba2bd5a6c Merge branch 'origin/develop' into Weblate. 2021-08-26 10:01:11 +00:00
Weblate
77703c9883 Merge branch 'origin/develop' into Weblate. 2021-08-26 09:59:01 +00:00
Weblate
a010a9ea0d Merge branch 'origin/develop' into Weblate. 2021-08-26 09:58:56 +00:00
Tirifto
f60183b8ee 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
31e61dfa14 multiline comments 2021-08-25 19:28:19 +01:00
David Langley
f4d51d4648 Add ViewFrameReader 2021-08-25 19:24:33 +01:00
David Langley
44d2524b0f Delete .DS_Store 2021-08-25 16:55:23 +01:00
David Langley
8062d46eda Remove 'OrderedSet' 2021-08-25 16:53:15 +01:00
David Langley
93dcb25733 Address comments and cleanup version checks 2021-08-25 15:46:02 +01:00
David Langley
caa5c89c6f Improve comments and correct iOS version check logic. 2021-08-25 15:17:05 +01:00
David Langley
b064551b87 Add comments for flow layout. 2021-08-25 14:49:17 +01:00
David Langley
dcaed769a9 Remove unneeded delegate methods 2021-08-25 14:38:04 +01:00
David Langley
4f302d64a1 typos 2021-08-25 14:32:34 +01:00
David Langley
39547b414a Remove unneeded string from bad merge 2021-08-25 14:25:57 +01:00
David Langley
5c4f8b9d53 Fix build error in BorderedInputFieldStyle 2021-08-25 14:21:43 +01:00
David Langley
1c68bbcc55 Fix chip text color in dark theme and add towncrier 2021-08-25 14:13:04 +01:00
David Langley
b87d879c22 Add Chips, InputStyles, Service Implementation, swift-collections and UI cleanup. 2021-08-25 13:03:36 +01:00
Stefan Ceriu
8ad7fc282c #4693 - Fixed minimum supported version. 2021-08-25 14:26:39 +03:00
Stefan Ceriu
495ce11569 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
ff405f6b13 #4693 - Updates following code review. 2021-08-25 13:57:32 +03:00
Stefan Ceriu
4322f7dcf5 Implements #4693 - Alert users of Element on iOS11 deprecation. 2021-08-25 13:57:32 +03:00
Doug
5f598a918c Add comments about the un-sanitized URL. 2021-08-24 09:42:55 +01:00
Priit Jõerüüt
227329327a Translated using Weblate (Estonian)
Currently translated at 100.0% (48 of 48 strings)

Translation: Element iOS/Element iOS (Push)
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios-push/et/
2021-08-24 08:25:19 +00:00
Bartosz
c1bf5dd07a Translated using Weblate (Polish)
Currently translated at 100.0% (48 of 48 strings)

Translation: Element iOS/Element iOS (Push)
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios-push/pl/
2021-08-24 08:25:19 +00:00
random
01e931b58c Translated using Weblate (Italian)
Currently translated at 100.0% (48 of 48 strings)

Translation: Element iOS/Element iOS (Push)
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios-push/it/
2021-08-24 08:25:19 +00:00
libexus
cc24b108eb Translated using Weblate (German)
Currently translated at 100.0% (48 of 48 strings)

Translation: Element iOS/Element iOS (Push)
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios-push/de/
2021-08-24 08:25:19 +00:00
Thibault Martin
166e21b535 Translated using Weblate (French)
Currently translated at 100.0% (48 of 48 strings)

Translation: Element iOS/Element iOS (Push)
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios-push/fr/
2021-08-24 08:25:19 +00:00
jelv
50d823bee7 Translated using Weblate (Dutch)
Currently translated at 100.0% (48 of 48 strings)

Translation: Element iOS/Element iOS (Push)
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios-push/nl/
2021-08-24 08:25:18 +00:00