Commit graph

12240 commits

Author SHA1 Message Date
David Langley
0a7beb6744 Add template unit tests and publisher utility. 2021-09-08 15:32:41 +01: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
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
David Langley
c1f9e6ec4a Add ViewActions and ViewModelActions for Coordinator
- also add Marks
2021-09-07 16:57:08 +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
David Langley
1021636801 Merge branch 'langleyd/4776_extract_swiftui' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-02 14:37:50 +01:00
David Langley
044d0edff2 Fix Podfile(remove develop). 2021-09-02 14:36:34 +01:00
David Langley
340ac5b3f6 Merge branch 'langleyd/4776_extract_swiftui' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-02 14:23:39 +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
David Langley
3f3f3a16f2 Exclude MatrixSDK and Coordinator folders from SwiftUI target 2021-09-02 10:16:08 +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
David Langley
aacbb799a5 Fix filename typo 2021-09-02 09:43:54 +01:00
David Langley
7813cdd40a Add simple example with profile header, avatar and name. 2021-09-02 09:37:37 +01: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
David Langley
23fdb7c2a2 Clean up and make an application target so that debug works in live preview. 2021-09-01 14:28:47 +01: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
4963dd5f15
Add changelog 2021-09-01 15:30:50 +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
a8f603a954 Fix tests 2021-09-01 13:16:03 +01: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
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
SBiOSoftWhare
69c2004c9b Prepare for new sprint 2021-08-27 18:50:19 +02:00
SBiOSoftWhare
4036fe4b47 Merge branch 'master' into develop 2021-08-27 18:50:17 +02:00
SBiOSoftWhare
b11db766aa Merge branch 'release/1.5.2/master' 2021-08-27 18:50:12 +02:00
SBiOSoftWhare
36c13b8ddd finish version++ 2021-08-27 18:50:12 +02:00
David Langley
fb67c9d235 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
SBiOSoftWhare
24120e1c50 Podfile: Add explicitely CDN as source. 2021-08-27 11:30:01 +02:00
SBiOSoftWhare
7a0cf47112
Merge pull request #4765 from vector-im/release/1.5.2/release
Release 1.5.2
2021-08-27 10:50:10 +02:00
Doug
2653c5e505 version++ 2021-08-27 09:49:27 +01:00
Doug
ac63a0b145 changelog.d: Upgrade MatrixKit version ([v0.15.8](https://github.com/matrix-org/matrix-ios-kit/releases/tag/v0.15.8)). 2021-08-27 09:49:26 +01:00
Stefan Ceriu
11cff51b71 #4746 - Updated ScreenTemplate to include viewState in the viewModel. 2021-08-26 17:48:24 +03: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
ef75a00a34 Create 4759.bugfix 2021-08-26 12:22:29 +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