Commit graph

830 commits

Author SHA1 Message Date
Aleksandrs Proskurins
61d518572c
Merge pull request #6819 from vector-im/aleksandrs/6817_view_all_button
Device Manager: 'View all' button in other sessions list
2022-10-10 10:18:42 +03:00
Stefan Ceriu
05651f860a Expose AuthenticationRestClient async login token generation method (MSC3882) 2022-10-10 09:44:22 +03:00
Aleksandrs Proskurins
bbc2d957e1 Fixed formatting 2022-10-10 09:27:47 +03:00
David Langley
716878d300 Split out models, add some tests and fix some formatting. 2022-10-09 22:54:39 +01:00
David Langley
573f27a6f1 Add labs flag and strings 2022-10-08 11:57:13 +01:00
David Langley
80254ad01b Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/wysiwyg_integration 2022-10-08 10:58:10 +01:00
David Langley
2a9551c54e Merge branch 'langleyd/wysiwyg_integration' of github.com:vector-im/element-ios into langleyd/wysiwyg_integration 2022-10-08 10:47:39 +01:00
David Langley
a6f52e3b2b Move composer send media selection to it's own coordinator and us e ioS 15 api for sheet 2022-10-08 10:46:05 +01:00
David Langley
507ef9600f
Merge pull request #6821 from Velin92/mauroromito/wysiwyg_dark_mode
WYSIWYG Dark Mode Support
2022-10-08 10:45:08 +01:00
Johannes Marbach
800d5aa082
Merge pull request #6820 from vector-im/johannes/session-name-trumps-device-type-name
Only use device type name as fallback for session display name
2022-10-07 17:31:09 +02:00
ismailgulek
359bfc0445
QR Login additional flags (#6825) 2022-10-07 17:24:29 +03:00
Johannes Marbach
4eb7a36447 Remove current app name from device type name 2022-10-07 16:02:14 +02:00
Aleksandrs Proskurins
61b6392742 Fixed swiftformat warnings 2022-10-07 17:00:15 +03:00
Johannes Marbach
98c5bad12d Remove prefix from tests 2022-10-07 15:44:21 +02:00
aringenbach
d32d619df2 Fix composer resizing animations 2022-10-07 14:05:51 +02:00
Aleksandrs Proskurins
007cb4ad1f Merge from develop 2022-10-07 14:51:30 +03:00
Johannes Marbach
03b0cd80da Merge branch 'develop' into johannes/session-name-trumps-device-type-name 2022-10-07 13:27:16 +02:00
ismailgulek
1ee8c9ca19
QR login from device manager (#6818)
* Add link device button into the sessions overview screen

* Run Swift format

* Fix tests

* Fix a crash in tests

* Fix PR remark
2022-10-07 12:58:26 +03:00
Aleksandrs Proskurins
2b0e7689f6 Merge branch 'develop' into aleksandrs/6817_view_all_button 2022-10-07 11:51:44 +03:00
Mauro Romito
df780ddad9 updated the package and added a circle background to the + button 2022-10-07 10:43:45 +02:00
Johannes Marbach
2554b275c4 Fix copyright year 2022-10-07 10:14:41 +02:00
Johannes Marbach
42f7934f74 Only use device type name as fallback for session display name 2022-10-07 09:48:17 +02:00
Aleksandrs Proskurins
98f18dde0e 'View all' button in other sessions list 2022-10-07 09:45:45 +03:00
Mauro Romito
308b34f41e dark mode support almost completed 2022-10-06 18:21:50 +02:00
ismailgulek
19afad1f18
Login with QR UI components (#6790)
* Display QR button on login screen if HS supports

* Create start screen

* Add build flag

* Connect start screen to the login

* QR display screen

* Move `LabelledDividerView` into separate file

* Show display QR screen on button tap

* Add swift concurreny to CameraAccessManager

* Introduce `QRLoginServiceProtocol`

* Use new service in screens

* Introduce scan QR code screen

* Remove hardcoded service availability

* Remove unnecessary import

* Add confirmation screen

* Add loading screen

* Fix ZXingObjc targets

* Add failure screen

* Add strings

* Various UI tweaks, navigation according to the service state

* Fix tests

* Add string for invalid QR error

* Add QR login service mode
2022-10-06 18:05:46 +03:00
Mauro Romito
439f06beff textColor fix 2022-10-06 16:42:52 +02:00
Gil Eluard
4eb7a87560
Merge pull request #6815 from vector-im/gil/6814-Check_enabled_field_in_notification_settings_push_toggles
Check enabled field in notification settings push toggles
2022-10-06 14:34:57 +02:00
Aleksandrs Proskurins
8a6c8b1212 Renamed sortAndConvertDevices method 2022-10-06 13:16:10 +03:00
Aleksandrs Proskurins
d560c8d61f
Update RiotSwiftUI/Modules/UserSessions/UserOtherSessions/Test/UI/UserOtherSessionsUITests.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-10-06 13:11:59 +03:00
Gil Eluard
c7232d0bea Check enabled field in notification settings push toggles 2022-10-06 11:40:12 +02:00
Aleksandrs Proskurins
4fa1398a74 Merge branch 'develop' into aleksandrs/6801_unverified_sessions_screen 2022-10-06 10:49:48 +03:00
Aleksandrs Proskurins
7d9b040eeb UI tests 2022-10-06 10:23:33 +03:00
Doug
cb2207ec14 Fix review comments
Also fix a crash on iPad.
2022-10-05 16:48:51 +01:00
Doug
bb07a11e7e Session Manager: Single session logout 2022-10-05 16:48:51 +01:00
Doug
fea894ddcf Use regular titles for sub-screens of Settings. 2022-10-05 16:43:34 +01:00
Aleksandrs Proskurins
a586ed0c33 Renamed sessionsInfo to sessionInfos 2022-10-05 16:59:15 +03:00
Aleksandrs Proskurins
dd8d27bcac Unverified sessions screen 2022-10-05 16:22:52 +03:00
David Langley
d729a37de5 Update sdk, fix composer sizing, margins and re-enabled fullscreen. 2022-10-05 10:21:04 +01:00
Aleksandrs Proskurins
87cc0ddc81 Merge fixes 2022-10-05 12:18:23 +03:00
Aleksandrs Proskurins
7e09a6ece5 Merge branch 'develop' into aleksandrs/6786_inactive_sessions_screen
# Conflicts:
#	RiotSwiftUI/Modules/UserSessions/UserSessionDetails/UserSessionDetailsViewModel.swift
2022-10-05 11:51:08 +03:00
Aleksandrs Proskurins
9dad6252e5 Cleanup for UserSessionOverviewViewModelTestsc, UserOtherSessionsViewModelTests 2022-10-05 09:18:33 +03:00
Doug
bf9bb82da7 Merge branch 'develop' of github.com:vector-im/element-ios into develop 2022-10-04 18:14:07 +01:00
Doug
aa46a2002d Fix navigation bars inside of VectorHostingController. 2022-10-04 16:05:09 +01:00
Gil Eluard
c97917b2de Display push toggle for sessions with m.local_notification_settings.<device-id> events in account_data 2022-10-04 16:07:43 +02:00
David Langley
4cc678c9b6 add composer actions/modules and ability to send rich messages 2022-10-04 15:01:01 +01:00
Aleksandrs Proskurins
347724f48e Added tests 2022-10-04 16:58:08 +03:00
Aleksandrs Proskurins
5ec1bb32c3 Formating fixes 2022-10-04 15:44:09 +03:00
Aleksandrs Proskurins
34aa035ead Renamed session to sessionInfo 2022-10-04 15:34:31 +03:00
Aleksandrs Proskurins
3deee90005 Merge branch 'develop' into aleksandrs/6786_inactive_sessions_screen
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
#	RiotSwiftUI/Modules/UserSessions/Coordinator/UserSessionsFlowCoordinator.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/Test/Unit/UserSessionOverviewViewModelTests.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Coordinator/UserSessionsOverviewCoordinator.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Service/Mock/MockUserSessionsOverviewService.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/UserSessionsOverviewModels.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/View/UserSessionListItemViewData.swift
2022-10-04 15:14:59 +03:00
Doug
55318c9939 Fix failure building tests. 2022-10-04 11:16:20 +01:00
ismailgulek
dadbeca766
Include browser version in parsed user agent (PSG-761) (#6788)
* Update UserSessionInfo structure to include client version

* Add string for browser

* Update user agent parser to parse browser version too

* Add browser row into the session details

* Add changelog

* Fix tests

* Run Swift format
2022-10-04 10:49:26 +03:00
Aleksandrs Proskurins
ca3a401b18 Added translation strings, cleanup 2022-10-04 10:07:04 +03:00
Aleksandrs Proskurins
70f6badf08 Cleanup 2022-10-04 09:38:53 +03:00
Gil Eluard
0ecbf82eee Added support for MSC3881
- Update after review
2022-10-03 15:33:35 +02:00
Aleksandrs Proskurins
899539fbeb Refactored creation of UserSessionListItemViewData, added inactive session icon 2022-10-03 15:47:40 +03:00
Gil Eluard
f6b2be8dc4 Added support for MSC3881 2022-10-03 13:42:30 +02:00
Aleksandrs Proskurins
0b85beb0f4 User other sessions screen template 2022-10-03 11:27:12 +03:00
David Langley
ef3e76b94b add simple formatting and maximise support for replacement toolbar 2022-10-02 09:06:06 +01:00
Stefan Ceriu
52c4ff65db
Improve user session overview tests
* Add sessions overview UI tests
* Expose static methods from the UserSession name and lastActivity formatters; cleaned up the UserSessionsOverview a bit
* Add UserSessionsOverviewViewModel unit tests
* Add UserSessionsOverviewService unit tests
2022-09-30 13:49:16 +03:00
ismailgulek
2f689f4557
Extended device info (PSG-772) (#6766) 2022-09-29 15:07:10 +03:00
Stefan Ceriu
ca0cc12016 Fix member modifier warning 2022-09-28 15:36:11 +03:00
Stefan Ceriu
fd1848195b Fix tests 2022-09-28 15:36:11 +03:00
Stefan Ceriu
d34b8ec478 Cleaned up session overview services 2022-09-28 15:36:11 +03:00
Stefan Ceriu
c21f39c961 Implemented PSG-680 - Sessions overview security recommendations
- remove uppercased strings from localizables
- moved inactivity computation to the service
2022-09-28 15:36:11 +03:00
Aleksandrs Proskurins
49e707d1a1 Removed conditional view modifier 2022-09-28 14:39:01 +03:00
Aleksandrs Proskurins
da21ec34e9 Link current session to session overview 2022-09-27 17:31:40 +03:00
Aleksandrs Proskurins
6a24cf61a7 Moved isCurrentSession into UserSessionInfo 2022-09-27 15:36:44 +03:00
Aleksandrs Proskurins
fbef4fe0fe Made UserSessionInfo Equatable 2022-09-27 14:51:15 +03:00
Aleksandrs Proskurins
622fcf0651 Cleanup 2022-09-27 14:12:40 +03:00
Aleksandrs Proskurins
be371b4ab2 Removed alignment 2022-09-27 14:06:58 +03:00
Aleksandrs Proskurins
66d7915350 Renamed userSession and userSessionInfo to session 2022-09-27 13:57:54 +03:00
Stefan Ceriu
de54ae3da3 Removed deprecated StateStoreViewModel dispatching and reducing 2022-09-27 12:55:44 +03:00
Stefan Ceriu
ae73800352 Removed unnecessary comments from RiotSwiftUI templates, fixed StateStoreViewModel typealias formatting 2022-09-27 12:55:44 +03:00
Stefan Ceriu
ec0634ffb7 Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Stefan Ceriu
2c9596c912 Cleaned up various things around the UserSessionsOverviewService 2022-09-27 09:27:07 +03:00
Stefan Ceriu
cd596c899b Move files around, improve structure 2022-09-27 09:27:07 +03:00
Stefan Ceriu
148bc1624a Cleaned up various things, mostly removed unnecessary selfs, comments and bad formatting 2022-09-27 09:27:07 +03:00
Aleksandrs Proskurins
492b7410b9 Cleanup 2022-09-26 17:37:22 +03:00
Aleksandrs Proskurins
adda004aba Moved SeparatorLine 2022-09-26 17:26:47 +03:00
Aleksandrs Proskurins
d1b4b6de48 Unit and ui tests 2022-09-26 16:58:03 +03:00
Aleksandrs Proskurins
ffc4fcf1c7 Preview added 2022-09-26 16:58:03 +03:00
Aleksandrs Proskurins
68b2bda33c Added translation strings 2022-09-26 16:58:02 +03:00
Aleksandrs Proskurins
412b8b07da Session overview screen 2022-09-26 16:58:02 +03:00
Aleksandrs Proskurins
5635bf7a9f
Merge pull request #6750 from vector-im/alex/6693_dm_session_details
Device manager: User session details screen (PSG-685) #6693
2022-09-22 16:54:44 +03:00
Aleksandrs Proskurins
4bd3979522 Code review fixes 2022-09-22 11:52:42 +03:00
Aleksandrs Proskurins
cf68ca9aaa Refactored UserSessionDetailsViewModel 2022-09-20 16:10:57 +03:00
Aleksandrs Proskurins
e9444751d0 Cleanup 2022-09-20 16:00:35 +03:00
ismailgulek
f201ea59c9
Timeline composer layout loop fix (#6743)
* Publish suitable view height for user suggestions

* Update container view height

* Add changelog

* Fix user suggestions layout for pre iOS 16
2022-09-20 11:40:32 +03:00
Aleksandrs Proskurins
1002c1b1b6 Moved, renamed unit tests 2022-09-20 11:39:53 +03:00
Aleksandrs Proskurins
c0bdd4f1f6 UI tests 2022-09-20 09:43:14 +03:00
Aleksandrs Proskurins
195e862aef Added unit tests 2022-09-19 16:05:28 +03:00
Aleksandrs Proskurins
d77dd5034e Added translation strings 2022-09-19 10:26:42 +03:00
Aleksandrs Proskurins
05aaf8da31 Added layout constants 2022-09-16 14:34:00 +03:00
Doug
9a1c12f53b Put the session creator on the main actor instead.
This covers all login and registration options.
2022-09-16 12:31:25 +01:00
Aleksandrs Proskurins
a06d7d0aaa User session flow coordinator and details view 2022-09-16 13:50:45 +03:00
Johannes Marbach
2a9d7c9d9c Fix login crash on Xcode 14 builds
Fixes #6722
2022-09-15 21:20:47 +02:00
Aleksandrs Proskurins
f17f56b5b0
Merge pull request #6696 from vector-im/steve/6694_dm_overview_current_session
Device manager: User sessions overview - Current session section (PSG-670)
2022-09-14 13:08:42 +03:00
Aleksandrs Proskurins
b5850c1d5d Code review fixes 2022-09-14 11:28:47 +03:00
Doug
940fbddf60
Update RiotSwiftUI/Modules/UserSessions/DeviceAvatar/DeviceAvatarView.swift 2022-09-12 11:39:44 +01:00
SBiOSoftWhare
7c3084212b UserSessionsOverview: Handle current session section view. 2022-09-08 20:01:02 +02:00
SBiOSoftWhare
99b5179a46 Create UserSessionCardView to display session informations. 2022-09-08 20:00:15 +02:00
SBiOSoftWhare
111c829236 UserSessionsOverviewViewModelResult: Remove useless case. 2022-09-08 18:49:41 +02:00
SBiOSoftWhare
30388059ad MockAppScreens: Add MockUserSessionsOverviewScreenState. 2022-09-08 17:26:09 +02:00
SBiOSoftWhare
ea91f5d710 UserSessionListItem: Fix runtime issue. 2022-09-08 08:56:36 +02:00
SBiOSoftWhare
625b6d0d86 UserSessionsOverview: Improve other sessions list layout. 2022-09-08 08:34:21 +02:00
SBiOSoftWhare
f733171f6b UserSessionsOverview: Improve layout. 2022-09-07 15:47:03 +02:00
SBiOSoftWhare
0b061dcef3 UserSessionListItem: Improve layout and handle separator. 2022-09-07 15:42:27 +02:00
SBiOSoftWhare
93a4fc8fd6 Update MockUserSessionsOverviewService. 2022-09-07 12:23:03 +02:00
SBiOSoftWhare
1d71de75e2 UserSessionListItemViewData: Handles session name and details string building. 2022-09-07 12:22:48 +02:00
SBiOSoftWhare
03aaae4d75 Create UserSessionLastActivityFormatter to build last activity date string. 2022-09-07 12:20:56 +02:00
SBiOSoftWhare
d6e2ff5d10 Create UserSessionNameFormatter to build user session name. 2022-09-07 12:20:05 +02:00
SBiOSoftWhare
6a9a8bfea8 UserSessionListItem: Improve layout. 2022-09-07 11:21:05 +02:00
SBiOSoftWhare
8144e1fe9b DeviceAvatarView: SImplify layout. 2022-09-07 11:09:22 +02:00
SBiOSoftWhare
a4d8eb595c
Update RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/UserSessionsOverviewViewModel.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-09-07 10:52:37 +02:00
SBiOSoftWhare
702e9b4622
Update RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/View/UserSessionListItem.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-09-07 10:52:29 +02:00
SBiOSoftWhare
af05a62d56
Update RiotSwiftUI/Modules/UserSessions/DeviceAvatar/DeviceAvatarView.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-09-07 10:51:24 +02:00
SBiOSoftWhare
cfaf554bdc
Update RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Service/MatrixSDK/UserSessionsOverviewService.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-09-07 10:50:50 +02:00
SBiOSoftWhare
89faeea8a8 UserSessionsOverview: Fix safe area background color. 2022-09-06 16:44:34 +02:00
SBiOSoftWhare
f9bd8c17d4 UserSessionsOverview: Add text headers to other sessions section. 2022-09-05 12:09:26 +02:00
SBiOSoftWhare
3e30a19dcd Create UserSessionsOverview screen. 2022-09-05 11:15:37 +02:00
SBiOSoftWhare
2f2bc831e0 UserSessionsOverviewService: Fix UserSessionInfo last seen ts building. 2022-09-05 11:14:40 +02:00
SBiOSoftWhare
fe89156e60 Implement UserSessionsOverviewService. 2022-09-05 10:49:37 +02:00
SBiOSoftWhare
3adf2a8b2a Create UserSessionListItem view. 2022-09-05 10:44:18 +02:00
SBiOSoftWhare
cbce4e560b Create UserSessionInfo that represents a user session information. 2022-09-05 10:41:35 +02:00
SBiOSoftWhare
89fe99f960 Create DeviceAvatarView. 2022-09-05 10:40:03 +02:00
SBiOSoftWhare
f6d7fb1729 Create DeviceType enum. 2022-09-05 10:37:47 +02:00
Gil Eluard
ba283ff81b App Layout: Add usage measures 2022-08-24 13:37:47 +03:00
Anderas
966069e91b
Merge pull request #6611 from vector-im/andy/sentry
Track all errors in Sentry
2022-08-24 08:18:29 +01:00
Gil Eluard
de291a5954
Merge pull request #6613 from vector-im/gil/6607-App_Layout-Release_Experience
App Layout: Release experience
2022-08-23 21:06:22 +02:00
Gil Eluard
d71f6be74d App Layout: Release Experience
- Update after code / design review
2022-08-23 16:25:52 +02:00
Gil Eluard
3bf9879d35 App Layout: Release Experience
- First iteration before final design
2022-08-23 11:20:46 +02:00
SBiOSoftWhare
20b8b11609 Merge branch 'develop' into steve/6585_session_mgmt_empty_screen 2022-08-23 09:45:09 +02:00
Andy Uhnak
badf0a884c Track all errors in Sentry 2022-08-23 08:14:59 +01:00
Gil Eluard
7bb4e03d7f App Layout: added space invites in space bottom sheet
- fixed build issue
2022-08-22 17:58:02 +02:00
Gil Eluard
c119602c3c
Merge pull request #6601 from vector-im/gil/6599-Space_invites_in_the_bottom_sheet
App Layout: space invites in the bottom sheet
2022-08-22 17:49:33 +02:00
SBiOSoftWhare
7320e8cef2 Device manager: Create UserSessionsFlowCoordinator that handles the user sessions screen flow. 2022-08-22 17:45:57 +02:00
SBiOSoftWhare
35d4f8e568 Device manager: Create user sessions overview empty screen. 2022-08-22 17:44:32 +02:00
Gil Eluard
d13da404fe
Update RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/Coordinator/SpaceSelectorBottomCoordinator.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2022-08-22 16:39:06 +02:00
Gil Eluard
28122b3f3e
Update RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/Service/Mock/MockSpaceSelectorService.swift
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2022-08-22 16:38:51 +02:00
Gil Eluard
9e8fe7e520 New App Layout: added suppport for room invites in the all chats screen 2022-08-22 13:00:34 +02:00
Gil Eluard
e5a2f07765 App Layout: added space invites in space bottom sheet
- Improved UI tests
2022-08-21 11:57:40 +02:00
Gil Eluard
be573b0a8a App Layout: added space invites in space bottom sheet 2022-08-21 11:07:21 +02:00
Gil Eluard
72689b8fb5 New App Layout: Added missing empty states in room list and space bottom sheet 2022-08-19 17:12:33 +02:00
Doug
c94631eac4 Fix build errors. 2022-08-19 11:06:09 +01:00
Doug
2c3d38262c Revert "Replace DesignKit with package from ElementX."
This reverts the following commits:
ef5365ab24
545b641e53
702b7a696d
2398c1534d
2022-08-19 11:06:09 +01:00
Gil Eluard
d90f7bd03e App Layout: Cancel and Back on Spaces Bottom Sheet
- Make CI happy
2022-08-17 19:01:58 +02:00
Gil Eluard
aebb5837fc App Layout: Cancel and Back on Spaces Bottom Sheet
- Fixed
2022-08-17 17:22:03 +02:00
Stefan Ceriu
edd1ec9b0f Fixes #6569 - Provide SSO backup for homeservers that don't return an identity providers list. 2022-08-15 14:22:37 +03:00
Doug
90ecedbd22 Use the default homeserver when starting a new auth flow.
And override this when a provisioning link has been set.
2022-08-09 08:54:31 +01:00
Gil Eluard
c82ce52a7c
Some UI tweaks for New App Layout (#6535)
* Some UI tweaks for New App Layout
2022-08-05 14:58:48 +02:00
Gil Eluard
a809185407
Implement new space selector bottom sheet (#6518)
* Delight: Edit layout experiment #6079
2022-08-05 13:39:45 +02:00
Doug
4580bf1857 Update the ReCaptcha icon. 2022-08-04 17:35:32 +01:00
SBiOSoftWhare
a7d57edf27 ShareToMapsAppActivity: Fix imports. 2022-08-03 11:46:54 +02:00
SBiOSoftWhare
5d9f423ea8 Move RoomTimelineLocationView to appropriate folder. 2022-08-03 11:08:25 +02:00
SBiOSoftWhare
32ac9cf549 Move location sharing classes in dedicated folders. 2022-08-03 10:53:51 +02:00
SBiOSoftWhare
cd3cb70925 Rename LocationSharing screen folder to StartLocationSharing. 2022-08-03 10:40:23 +02:00
SBiOSoftWhare
23c5faa624 Move location sharing screens in the appropriate folder. 2022-08-03 10:39:28 +02:00
SBiOSoftWhare
ec3390f70c
Update RiotSwiftUI/Modules/Room/LiveLocationSharingViewer/View/LiveLocationSharingViewer.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-08-02 18:28:18 +02:00
SBiOSoftWhare
ec2eeee00c LiveLocationSharingViewer: Left align location ended banner content. 2022-08-02 17:51:37 +02:00
SBiOSoftWhare
c9e916b909
Merge pull request #6499 from vector-im/steve/6493_lls_tile_server_error
Location sharing: Render fallback UI when tile server unavailable (PSG-606)
2022-08-02 17:42:50 +02:00
Gil Eluard
55d7c22124
Delight edit layout experiment (#6384)
* Delight: Edit layout experiment #6079
* Feature flag new App Layout #6406
* Update All chats screen with latest design #6407
2022-08-02 17:27:33 +02:00
SBiOSoftWhare
2a90d3b804 LocationSharingView: Handle map loading error UI. 2022-08-01 12:46:15 +02:00
SBiOSoftWhare
7bdc874695 LiveLocationSharingViewer: Handle map loading error UI. 2022-08-01 12:45:59 +02:00
SBiOSoftWhare
2a7c35ae94 Add map loading error view. 2022-08-01 12:41:43 +02:00
SBiOSoftWhare
c069899a45 LiveLocationSharingViewer: Remove debug background. 2022-07-28 09:34:30 +02:00
SBiOSoftWhare
89435228d2 LiveLocationSharingViewer: Handle location sharing end banner. 2022-07-28 09:27:25 +02:00
SBiOSoftWhare
7c417cdb34 LiveLocationSharingViewerViewModel: Handle new location sharing end behavior. 2022-07-28 09:26:40 +02:00
SBiOSoftWhare
e86e419d8a LiveLocationSharingViewerViewState: Add location sharing ended flag. 2022-07-28 09:25:30 +02:00
SBiOSoftWhare
7cfcced8c1 Add invisible location annotation. 2022-07-28 09:24:09 +02:00
SBiOSoftWhare
df579a3c28 Fix LocationSharingViewModelTests. 2022-07-26 11:40:21 +02:00
SBiOSoftWhare
51f1b8504f LocationSharingCoordinator: Handle room power level check for live location sharing. 2022-07-26 10:57:07 +02:00
SBiOSoftWhare
2d8f9a736d LocationSharingViewModel: Handle power level error display. 2022-07-26 10:56:37 +02:00
Johannes Marbach
6ae2206e7b
Merge pull request #6472 from vector-im/johannes/tile-server-well-known
Read tile server URL from .well-known (PSG-592)
2022-07-26 10:28:26 +02:00
Doug
fdc09e8f72 Trim whitespace from email address on register. 2022-07-26 08:39:55 +01:00
Johannes Marbach
ca8a1fff31 Read tile server URL from .well-known (PSG-592)
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-07-25 17:00:37 +02:00
Doug
92fc7046ed Always perform the registration dummy stage immediately after the first one. 2022-07-22 14:15:06 +01:00
Doug
199bf9b3e8 Improve error message when resetting password. 2022-07-22 09:39:48 +01:00
Doug
58dcf54c55 Tweak strings for FTUE. 2022-07-20 18:07:42 +01:00
Doug
e3bcb71b09 FTUE tweaks
- Allow login using a phone number.
- Update the server when entering a full MXID during registration.
- Reset the authentication service back to matrix.org after onboarding completes.
- Disable zoom on ReCaptcha to fix responsiveness issue.
- Tidy up unused methods.
2022-07-19 09:22:15 +01:00
Doug
34e82d3110 Prefix test in-front of UI test methods. 2022-07-18 16:06:27 +01:00
Doug
575a8acbc1 Speed up UI tests
- Disable animations.
- Search for screens instead of scrolling them into view.
2022-07-18 16:06:27 +01:00
Doug
7263804f01 Update remaining strings for FTUE.
Include homeserver in view models/state as needed.
Pre-fill the user's display name as set by the server.
2022-07-14 16:56:35 +01:00
Doug
ec8100383f Update use case, registration and login screens.
Remove "Custom server" button from use case screen.
Remove matrix.org description.
Add username availability to registration screen.
2022-07-14 16:56:35 +01:00
SBiOSoftWhare
b04b873164 LiveLocationSharingViewer: Update copyright bottom padding. 2022-07-12 15:51:33 +02:00
SBiOSoftWhare
f98c56a173 LiveLocationSharingViewer: Handle map credits action sheet. 2022-07-11 14:44:30 +02:00
SBiOSoftWhare
047c13fb16 LocationSharingView: Handle map credits action sheet. 2022-07-11 14:43:40 +02:00
SBiOSoftWhare
0d0fe729e4 MapCreditsView: Update view and add tap action closure. 2022-07-11 14:42:55 +02:00
SBiOSoftWhare
8e7cd20a96 Add MapCreditsActionSheet. 2022-07-11 14:41:58 +02:00
SBiOSoftWhare
611d1a1c9c
Merge pull request #6383 from vector-im/steve/lls_design_review
Location sharing: Live location sharing UI polishing
2022-07-07 16:53:57 +02:00
Doug
2398c1534d Fix SwiftUI Unit tests. 2022-07-07 15:42:57 +01:00
Doug
702b7a696d Pin DesignKit version and use contantAndAvatars array. 2022-07-07 15:42:57 +01:00
Doug
545b641e53 Fixup missing colours and use resolved colours in UIKit.
Fix the confetti colour when using DesignKit.
Pin swift packages.
Fix UI tests target.
2022-07-07 15:42:57 +01:00
Doug
ef5365ab24 Replace DesignKit with package from ElementX. 2022-07-07 15:42:57 +01:00
SBiOSoftWhare
a86ed5d758 Merge branch 'develop' into steve/lls_design_review 2022-07-07 14:29:57 +02:00
Doug
45abf4dfc1 Fix a few failing UI tests. 2022-07-07 12:30:02 +01:00
SBiOSoftWhare
545c8fddb5 LiveLocationSharingViewer: Change close action title. 2022-07-07 11:04:08 +02:00
SBiOSoftWhare
df3196e0fc Merge branch 'develop' into steve/lls_design_review 2022-07-07 10:27:18 +02:00
ismailgulek
e9257a03a4
Merge pull request #6381 from vector-im/ismail/fix_vectorhostingcontroller_loop 2022-07-07 10:50:24 +03:00
SBiOSoftWhare
c8d8368b0b LiveLocationSharingViewer: Fix light theme issue. 2022-07-06 17:18:55 +02:00
SBiOSoftWhare
2ad9a6b213 LocationSharingView: Dismiss always authorization requirement alert on cancel. 2022-07-06 17:05:15 +02:00
SBiOSoftWhare
417fd1fd58 LocationSharingView: Change close action title. 2022-07-06 16:37:41 +02:00
SBiOSoftWhare
ffa4c7eaab LiveLocationListItem: Update stop action font size. 2022-07-06 16:30:14 +02:00
SBiOSoftWhare
b4e3e20745
Merge pull request #6375 from vector-im/steve/6238_promote_lab_flag
Location sharing: Promote labs flag
2022-07-06 16:14:51 +02:00
SBiOSoftWhare
64b40fc7f3 LiveLocationLabPromotionView: Increase padding beetween toogle and validation button. 2022-07-06 12:36:51 +02:00
ismailgulek
e3506980d7
Update UIHostingController initializer 2022-07-06 13:20:41 +03:00
SBiOSoftWhare
189fc31ae3 Fix unit tests. 2022-07-05 16:33:45 +02:00
SBiOSoftWhare
28a66af075 LocationSharingView: Fix background color issue with safe area. 2022-07-05 16:16:53 +02:00
SBiOSoftWhare
ea38841431 LiveLocationLabPromotionCoordinator: Show screen as a bottom sheet. 2022-07-05 15:47:34 +02:00
Johannes Marbach
62033f06c3 Fix layout issues in timeline poll cells (PSB-125)
Fixes: #5326
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-07-05 08:21:00 +02:00
SBiOSoftWhare
4b1b6c31ae LiveLocationLabPromotionCoordinator: Handle interactive dismiss. 2022-07-04 17:40:15 +02:00
SBiOSoftWhare
41bb7b07c4 LocationSharingCoordinator: Handle live location sharing lab flag presentation. 2022-07-04 17:39:45 +02:00
SBiOSoftWhare
da5e417878 LocationSharingService: Ensure to have the latest UserLocationService from MXSession. 2022-07-04 17:23:25 +02:00
SBiOSoftWhare
735337ee52 Add live location lab flag promotion coordinator. 2022-07-04 17:21:37 +02:00
SBiOSoftWhare
82753a88cd MockAppScreens: Add live location lab flag promotion screen. 2022-07-04 17:10:15 +02:00
SBiOSoftWhare
471c0b8754 Create live location sharing lab flag promotion screen. 2022-07-04 17:09:11 +02:00
Doug
13f4973786 Prevent login using keyboard when homeserver is loading. 2022-06-23 18:33:24 +01:00
Johannes Marbach
d29270fb6a Expand all if and guard constructs involving @available(iOS 14... or #available(iOS 14...
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-06-23 10:05:46 +02:00
Johannes Marbach
eefd847f39 Remove all @available(iOS 14... annotations 2022-06-23 09:47:38 +02:00
Doug
2d1f6f88b7
Simplify the layout of the onboarding splash screen (#6320)
* Simplify the layout of the onboarding splash screen
* Re-organise OnboardingSplashScreen.
* Fix frame drops for real this time.
2022-06-22 09:54:21 +01:00
Johannes Marbach
18ab841615
Merge pull request #6324 from vector-im/johannes/enable-lls
Expose live location sharing labs flag (default: false) and re-enable background location access (PSF-1127)
2022-06-21 16:01:02 +02:00
Doug
3e6925b980 Trim whitespace and trailing slashes from a user entered homeserver address. 2022-06-21 10:04:22 +01:00
Johannes Marbach
f89631b719 Expose live-location sharing labs flag (default: false)
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-06-21 09:43:45 +02:00
Doug
83e2b1d440 Add custom string representations of view model/coordinator results. 2022-06-17 10:15:10 +01:00
aringenbach
8fdf3d8949 Set HTML formatter as static 2022-06-16 09:07:02 +02:00
aringenbach
6cb8b86430 Improve HTML formatter 2022-06-16 09:07:02 +02:00
Doug
3fd70eb186
Add reveal password button and use a rounded checkbox (#6268)
* Adds the reveal password icon to RoundedBorderTextField.
* Use a rounded checkmark for the terms toggle style.
2022-06-13 11:40:03 +01:00
ismailgulek
10f250d7cd
Merge pull request #6262 from vector-im/ismail/6175_signout_from_all 2022-06-13 10:52:19 +03:00
ismailgulek
e77fb6d048
Remove sensitive data from logs 2022-06-13 00:16:06 +03:00
ismailgulek
44d54710ed
Fix tests 2022-06-10 18:33:50 +03:00
ismailgulek
1d78262f80
Add password validator to change password coordinator 2022-06-10 18:06:41 +03:00
ismailgulek
dae0ac5ace
Fix some of the PR remarks 2022-06-10 14:28:00 +03:00
Doug
1e450e6c94
Update labels and confetti presentation in new flow. (#6260)
* Update the background of the Celebration screen
2022-06-10 08:17:30 +01:00
ismailgulek
952a84bc98
Merge branch 'develop' into ismail/6175_signout_from_all 2022-06-09 20:38:34 +03:00
ismailgulek
aa4e4dafdb
Create bridge presenter for change password coordinator 2022-06-09 20:25:56 +03:00
ismailgulek
1778608d95
Create change password screen 2022-06-09 20:25:36 +03:00
ismailgulek
2da380cad1
Merge branch 'develop' into ismail/6181_auth_soft_logout 2022-06-09 15:46:29 +03:00
ismailgulek
d89ef07376
Use softLogoutCredentials in AuthenticationService, fix blank screen before soft logout 2022-06-09 14:21:13 +03:00
ismailgulek
8e11dd46a8
Fix PR remarks 2022-06-09 13:22:50 +03:00
Doug
6dbe8657ff Add an unrecognised certificate alert to the new authentication flow. 2022-06-09 09:37:57 +01:00
ismailgulek
34aa7021b9
Show recover encryption keys message according to key backup requirement 2022-06-08 17:39:51 +03:00
ismailgulek
9f59a7bf9d
Add resetOthers parameter to session creator method 2022-06-08 17:22:47 +03:00
ismailgulek
a3ed048a31
Implement soft logout screen 2022-06-08 16:00:25 +03:00
ismailgulek
81eeecc6cd
Merge branch 'develop' into ismail/6181_auth_soft_logout 2022-06-07 23:54:54 +03:00
ismailgulek
ceae4a455d
Merge pull request #6250 from vector-im/ismail/6180_support_prov_links 2022-06-07 20:54:14 +03:00
ismailgulek
fc29e4be51
Fix PR remarks 2022-06-07 19:48:26 +03:00
ismailgulek
083296fdd8
Create classes for soft logout screen 2022-06-07 19:22:24 +03:00
ismailgulek
eae3531274
Handle provisioning links in AuthenticationService and call delegate method 2022-06-07 16:19:24 +03:00
ismailgulek
587c7f8546
Add identity server to AuthenticationState 2022-06-07 16:18:54 +03:00
ismailgulek
322767dfa1
Inject account manager into the session creator 2022-06-06 16:15:53 +03:00
ismailgulek
0cffeeea38
Make identityServer settable 2022-06-06 15:39:08 +03:00