Commit graph

12567 commits

Author SHA1 Message Date
David Langley
fb203cce5e Add configurable logger for RiotSwiftUI 2021-09-09 22:42:00 +01:00
David Langley
ce7f015d91 Update based on comments from Doug 2021-09-09 17:00:45 +01:00
David Langley
158ef08eec UITests and Mock Screens
Adds the test targets for Unit and UI tests
Adds mock screen data and utilities to render each mock screen for previews/ui tests.
Changes Published property in the service to CurrentValueSubject. we don't need the synthesized aspect of Published and property wrappers cannot be included in protocols.
2021-09-09 16:23: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
David Langley
7893fa99bd Merge branch 'langleyd/4781_swiftui_template_examples' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-09 10:50:42 +01:00
David Langley
dc0347144a Make reducer static, pass viewState directly to reducer, log reducer. 2021-09-09 10:50:39 +01:00
David Langley
273e07e3f9
Update RiotSwiftUI/Modules/Template/SimpleUserProfileExample/ViewModel/TemplateUserProfileViewModel.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-09-09 10:34:25 +01:00
David Langley
dd191c07d1
Apply documentation suggestions from code review
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-09-09 10:31:41 +01:00
manuroe
453b8d414c Prepare for new sprint 2021-09-09 11:13:37 +02:00
manuroe
58d2fd0707 Merge branch 'master' into develop 2021-09-09 11:13:35 +02:00
manuroe
094b05fd5e Merge branch 'release/1.5.3/master' 2021-09-09 11:13:31 +02:00
manuroe
ae46e206f0 finish version++ 2021-09-09 11:13:31 +02:00
manuroe
a1fe1ca64c
Merge pull request #4811 from vector-im/release/1.5.3/release
Release 1.5.3
2021-09-09 11:05:07 +02:00
manuroe
2712ab6741 version++ 2021-09-09 10:33:01 +02:00
manuroe
0e31d2c819 changelog.d: Upgrade MatrixKit version ([v0.16.0](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.16.0)). 2021-09-09 10:33:00 +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
David Langley
d82120fbec fix build 2021-09-08 17:56:51 +01: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
David Langley
23f236805f Fix retain cycle 2021-09-08 16:37:56 +01:00
Doug
dfb63e1436 Revert "Add matrix.to to firstURLDetectionIgnoredHosts."
This reverts commit ad618b4639.
2021-09-08 16:35:16 +01:00
David Langley
5938fa5554 Extract presence listener setup out to own function. 2021-09-08 16:28:08 +01:00
Doug
ad618b4639 Add matrix.to to firstURLDetectionIgnoredHosts. 2021-09-08 16:24:50 +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
53aeb8c378
Merge pull request #4802 from vector-im/ismail/4801_clear_cache_spinner
Wait for sync response when clearing cache
2021-09-08 15:22:20 +03:00
ismailgulek
99a5bd2a80
Add changelog 2021-09-08 14:08:20 +03: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
David Langley
45758166a1 Fix ordering, add pragmas, fix visibility on a few functions, remove default param on state. 2021-09-08 11:43:57 +01: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
cc671a4bee Correct preview name and create template script 2021-09-08 00:00:34 +01:00
David Langley
82f61c65c2 Improve folder name 2021-09-07 23:04:52 +01:00
David Langley
7c91b23d61 Make naming of symbols consistent 2021-09-07 23:02:26 +01: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
Doug
08d548c51a Add changelog entry. 2021-09-07 17:10:14 +01:00
David Langley
c1f9e6ec4a Add ViewActions and ViewModelActions for Coordinator
- also add Marks
2021-09-07 16:57:08 +01:00
SBiOSoftWhare
6abab61531 RoomVC: Add a delegate, factorize and reduce usage of AppDelegate. 2021-09-07 17:43:49 +02:00
ismailgulek
5ce4494dc3
Add changelog 2021-09-07 18:24:08 +03:00