Commit Graph

6854 Commits

Author SHA1 Message Date
Chelsea Finnie 4b74143460 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 59a54654b1 Add configurable logger for RiotSwiftUI 2021-09-09 22:42:00 +01:00
SBiOSoftWhare 787f78bb82 Merge branch 'develop' into steve/4734_nav_room_stack
# Conflicts:
#	Riot/Modules/Room/RoomViewController.m
2021-09-09 16:45:35 +02:00
Doug 29400b7b19 Update strings in SettingsViewController. 2021-09-09 15:17:29 +01:00
Doug 1f9abbcd10 Revert search bar placeholder. 2021-09-09 14:41:03 +01:00
Doug 3bcec8afb6 Update strings and add localise. Use theme v2. 2021-09-09 13:08:50 +01:00
Doug 546c1e10ca Merge branch 'develop' into doug/4484_contacts_access 2021-09-09 12:24:08 +01:00
Doug c573687038 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 8d2248b242 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 7d36f7f71e 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 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 a1e508c4ce 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 0c4357c3b0 Revert height computation for now. 2021-09-08 15:59:30 +01:00
David Langley f965620bfe CoordinatorParamters, Type -> Protocol, remove MX Prefix. 2021-09-08 15:47:24 +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
David Langley 0131654e47 Add template unit tests and publisher utility. 2021-09-08 15:32:41 +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
ismailgulek 58bb1cafe7 Remove forgotten Jitsi call property and function 2021-09-08 14:07:19 +03:00
ismailgulek bb827470a6 Wait for sync response when clearing cache 2021-09-08 14:06:41 +03:00
ismailgulek b5b51297ab Post data ready notification every time 2021-09-08 13:54:08 +03:00
ismailgulek 2d79c7c2e4 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 0f88e8e851 Add more docs and comments.
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
ismailgulek 7fe5b9c6c8 Listen for recents data ready notification in an async method 2021-09-08 11:21:04 +03:00
ismailgulek ccb6404fca Move data ready notification to RecentsViewController 2021-09-08 11:18:18 +03:00
David Langley bcc3b23b1c Remove unneeded protocol and methods on VectortHostingController 2021-09-07 22:49:11 +01:00
ismailgulek 18130e5965 Fix search bar clipping issues 2021-09-08 00:29:28 +03:00
Doug bb98bbe1c0 Merge branch 'develop' into doug/888_add_url_previews 2021-09-07 17:51:31 +01:00
SBiOSoftWhare 4709c6c289 RoomVC: Add a delegate, factorize and reduce usage of AppDelegate. 2021-09-07 17:43:49 +02:00
ismailgulek c86ced6dc4 Wait for the room list data to be ready to hide launch animation 2021-09-07 18:23:23 +03:00
ismailgulek a1090d92c7 Introduce roomListDataReady on HomeViewController 2021-09-07 18:22:54 +03:00
Doug 42e9e0e24a Fix settings toggle not enabled. 2021-09-07 16:12:37 +01:00
Doug 5f446faa6d Remove "Loading preview..." label. 2021-09-07 16:12:12 +01:00
Doug a05b1cab03 Move url preview setting under labs section. 2021-09-07 16:00:12 +01:00
Doug 049f3c47d1 Fix unsatisfiable constraints messages. 2021-09-07 14:49:51 +01:00
Doug 77857eb273 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 25df45ef1c Add MediaCompressionHelper.defaultCompressionMode for use in RoomViewController. 2021-09-07 14:46:02 +01:00
Doug 514fcf1e24 Add comments. 2021-09-06 18:15:55 +01:00
David Langley d82ae75a0b 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 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 601adff5a4 #4693 - Mark iOS 11 as dropped in the verions check coordinator (last supported release). 2021-09-06 18:24:26 +03:00
Stefan Ceriu 8f46e037f2 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Gil Eluard 122b414433 [Spaces] M10.6 Space preview bottom sheet #4497
- Localized strings for space join rule
2021-09-06 08:47:43 +03:00
Gil Eluard fd5d96aff9 [Spaces] M10.6 Space preview bottom sheet #4497 2021-09-06 07:46:43 +03:00
Doug 8d4a4706d6 Fix potentially redundant table reloading. 2021-09-03 18:18:36 +01:00
Doug 29daec8173 Clear the URL preview manager's store when clearing caches. 2021-09-03 12:12:44 +01:00
Doug 1f10a36786 Fix reactions beneath URL previews. 2021-09-03 12:07:29 +01:00
Doug e2de545c8b 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 6682e17976 Hide the loading state on error. 2021-09-03 11:32:09 +01:00