Commit graph

898 commits

Author SHA1 Message Date
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
Aleksandrs Proskurins
4fa1398a74 Merge branch 'develop' into aleksandrs/6801_unverified_sessions_screen 2022-10-06 10:49:48 +03:00
Doug
bb07a11e7e Session Manager: Single session logout 2022-10-05 16:48:51 +01:00
Aleksandrs Proskurins
dd8d27bcac Unverified sessions screen 2022-10-05 16:22:52 +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
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
2c33defeeb Remove duplicate strings. 2022-10-04 12:22:49 +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
Gil Eluard
01dc333770 Merge branch 'develop' into gil/6787-Add_support_for_MSC3881 2022-10-03 14:09:17 +02:00
Doug
b3e9b83ea6 Add missing accessibility labels on All Chats buttons. 2022-10-03 12:48:46 +01:00
Gil Eluard
f6b2be8dc4 Added support for MSC3881 2022-10-03 13:42:30 +02:00
ismailgulek
26665fdc81
New session manager labs flag (PSG-792) (#6780)
* Add new session manager labs flag

* Add labs flag for client information feature

* Add changelog
2022-09-30 15:45:20 +03:00
ismailgulek
2f689f4557
Extended device info (PSG-772) (#6766) 2022-09-29 15:07:10 +03:00
Andy Uhnak
6c358b2da4 Merge branch 'master' into develop 2022-09-28 18:03:37 +01:00
Andy Uhnak
2029aa5fb9 Decorate events decrypted with untrusted sessions 2022-09-28 17:04:45 +01: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
68b2bda33c Added translation strings 2022-09-26 16:58:02 +03:00
ismailgulek
fbf78b421e
Release 1.9.6 (#6747)
* Device manager: add user sessions overview current session strings.

* Create UserSessionCardView to display session informations.

* UserSessionsOverview: Handle current session section view.

* Prepare for new sprint

* Dismiss the launching screen when clearing cache.

* Fix crash when previewing a room.

* Fix typo in empty state

* Code review fixes

* Update swift-ogg and add changelog

* Fix crash on logout from too much wrong pin codes

* Update changelog to original issue

* Disable unnecessary network breadcrumbs in Sentry

* Changelog

* Fix login crash on Xcode 14 builds

Fixes #6722

* Put the session creator on the main actor instead.

This covers all login and registration options.

* Only disable the composer if the room is yet to be created.

* Add missing source views for iPad.

* New App Layout: fixed rooms list doesn't update after log out and log into another account

* New layout: Fixed low priority rooms titles obscured by bottom bar when side scrolling

* Fix replied event content parsing for nested replies

* Fixed failed to join room (was not legal room)

* 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

* version++

Co-authored-by: SBiOSoftWhare <steveb@matrix.org>
Co-authored-by: Doug <douglase@element.io>
Co-authored-by: Germain Souquet <germain@souquet.com>
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
Co-authored-by: Aleksandrs Proskurins <paleksandrs@gmail.com>
Co-authored-by: David Langley <langley.dave@gmail.com>
Co-authored-by: aringenbach <arnaudr@element.io>
Co-authored-by: aringenbach <80891108+aringenbach@users.noreply.github.com>
Co-authored-by: Andy Uhnak <andyuhnak@gmail.com>
Co-authored-by: Johannes Marbach <johannesm@element.io>
Co-authored-by: Gil Eluard <gile@element.io>
Co-authored-by: Gil Eluard <gil.eluard@gmail.com>
Co-authored-by: gulekismail <ismailgulek0@gmail.com>
2022-09-20 13:45:49 +03:00
Aleksandrs Proskurins
d77dd5034e Added translation strings 2022-09-19 10:26:42 +03: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
Germain Souquet
26ccb27814 Fix typo in empty state 2022-09-14 08:42:14 +01:00
Doug
b02834ad77
Merge pull request #6672 from vector-im/steve/6656_dm_overview_other_sessions
Device manager: User sessions overview - Other sessions section read only (PSG-667)
2022-09-12 11:39:55 +01:00
SBiOSoftWhare
f7b0a29c01 Device manager: add user sessions overview current session strings. 2022-09-08 19:53:53 +02:00
SBiOSoftWhare
09939ec5b7 Strings: Add comment for user session name format. 2022-09-07 14:10:41 +02:00
Yoan Pintas
e56981b296
Start DM on first message (#6367)
Start DM on first message

Co-authored-by: Philippe Loriaux <philippel@element.io>
2022-09-06 14:33:32 +02:00
SBiOSoftWhare
3d72602b94 User sessions overview: Add strings. 2022-09-05 12:08:27 +02:00
SBiOSoftWhare
2598fad996 Device manager: Add strings. 2022-09-05 10:34:10 +02:00
Gil Eluard
5e29f57da9 Added Labs flag for the new App Layout 2022-08-29 14:59:09 +02:00
Gil Eluard
010fd1b495 Merge branch 'develop' into gil/6608-App_Layout-last_UI_tweaks_before_RC
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
2022-08-23 21:16:48 +02: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
e0ddd021a9 App Layout: last UI tweaks before RC 2022-08-23 20:50:12 +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
SBiOSoftWhare
9fef6310d1 Device manager: Add new strings. 2022-08-22 17:41:36 +02:00
Gil Eluard
a0af669ddb App Layout: added space invites in space bottom sheet
- UI tweaks
2022-08-22 13:42:37 +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
Gil Eluard
bb506f8dd3 App Layout: Context Menus
- Updated avatar menu
2022-08-18 16:34:04 +02:00
Gil Eluard
32ea5613f6 App Layout: Context Menus
- Fixed
2022-08-18 16:15:47 +02:00
Doug
c03da8cdd9 Update camera, contacts and photos usage strings for App Store review. 2022-08-11 16:40:22 +01:00
Doug
f45d0035cc Update the contacts permission string. 2022-08-10 11:57:41 +01:00
Gil Eluard
a809185407
Implement new space selector bottom sheet (#6518)
* Delight: Edit layout experiment #6079
2022-08-05 13:39:45 +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
bf740b6f8d Add map error loading string. 2022-08-01 12:39:16 +02:00
SBiOSoftWhare
39ba3e7a0a LLS: Add power level error strings. 2022-07-26 10:58:41 +02: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
SBiOSoftWhare
30346989c2 Live location sharing: Update timeline reply string. 2022-07-18 15:45:37 +02:00
Doug
f8c2a57d8b Merge branch 'master' into develop 2022-07-15 14:26:12 +01:00
Doug
84569ff3de Update string. 2022-07-15 11:19:32 +01:00
Doug
372ad84702 Reword account deactivation button in Settings. 2022-07-15 10:36:09 +01:00
Doug
c7816673ef Move FTUE strings for translation. 2022-07-14 16:56:35 +01:00
Doug
572a8762ac Fix build error on MXKSendReplyEventStringLocalizer. 2022-07-14 16:56:35 +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
ccf2a2280e
Merge pull request #6394 from vector-im/steve/6108_map_credits
Location sharing: Update map credits display and behavior (PSG-234)
2022-07-12 16:47:49 +02:00
aringenbach
ceb21ccffb Move room info back button title for translation 2022-07-11 18:41:08 +02:00
SBiOSoftWhare
56150ad6a5 Map credits: Add credits title string. 2022-07-11 14:39:43 +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
00d781ac22
Add support for in-app notifications. (#6341) 2022-07-07 15:31:37 +01:00
SBiOSoftWhare
052860bf52 Live location sharing: Update stop sharing text. 2022-07-06 16:28:59 +02:00
SBiOSoftWhare
cc64703ca3 Merge branch 'develop' into steve/6238_promote_lab_flag 2022-07-05 15:18:38 +02:00
Gil Eluard
4af26062eb
Server Offline Activity Indicator (#6314)
* Server Offline Activity Indicator

- implemented
2022-07-05 14:04:52 +02:00
SBiOSoftWhare
e3b04f6368 Strings: Add lab flag promotion strings. 2022-07-04 16:55:30 +02:00
Gil Eluard
d8c77a657f
Add "Mark as read" (#6346)
* Add "Mark as read"

- done
2022-06-28 10:44:33 +02:00
aringenbach
103fda27c5 Update Room Info screen back button text 2022-06-22 15:56:31 +02:00
Robin Kipp
67291f8023
Accessibility: VoiceOver: Add accessibility label and hint to the Record Voice Message button. (#6323)
* Add accessibility label and hint to the Record Voice Message button.

* Add release note.

* Remove unnecessary import for SwiftUI.

* Update Riot/Modules/Room/VoiceMessages/VoiceMessageToolbarView.swift

Use VectorL10n instead of calling NSLocalizedString directly.

* Add German translation for the newly added a11y strings.

* Revert "Add German translation for the newly added a11y strings."

This reverts commit 003cfd9c3e.

* Update Riot/Assets/en.lproj/Vector.strings
2022-06-22 10:07:13 +01:00
aringenbach
a6df2b395b De-labs use only latest user avatar and name 2022-06-20 10:08:58 +02:00
Gil Eluard
4f18e40ea3
Update Reactions component (#6244)
* Update Reactions component

- Done
2022-06-15 16:08:43 +02:00
aringenbach
5dcb80f2cd Add a setting to hide/display redaction placeholders 2022-06-14 09:36:08 +02:00
ismailgulek
8f1eb8fd99
Update strings 2022-06-13 00:15:53 +03:00
ismailgulek
4a4c15aed2
Create PasswordValidator 2022-06-10 18:06:21 +03:00
ismailgulek
815a0297d3
Add strings 2022-06-01 18:56:56 +03:00
Doug
36581ae451
Merge pull request #6201 from vector-im/doug/5654_login_flow
Add login screen to new flow.
2022-05-31 17:04:50 +01:00
Doug
b964edce3a Remove bad string and add comment for translators. 2022-05-31 11:02:15 +01:00
MaximeEvrard42
5392418d5c
Merge pull request #6198 from vector-im/maximee/6195_lls_labbs_flag
[Location Sharing]: Add labbs flag for live location sharing - PSF-800
2022-05-31 10:41:54 +02:00
ismailgulek
d20a37d1ce
Add resources 2022-05-26 00:28:25 +03:00
Doug
0f12447748 Add login screen. 2022-05-24 15:47:24 +01:00
MaximeE
f85970fb7b 6195: Add labbs flag for live location sharing 2022-05-24 11:43:00 +02:00
SBiOSoftWhare
eb73525aca
Merge pull request #6161 from vector-im/steve/5722_device_location
Location sharing: Support sending live device location
2022-05-19 14:56:46 +02:00
Doug
b9b4d18124 Add Email/Terms/ReCaptcha into the Authentication flow
Replace ReCaptcha navigation delegate with a WKUserContentController.
Move callback property closures onto the MainActor.
Show a loading indicator whilst waiting for the authentication service to start.
Move nextUncompletedStage into FlowResult.
Handle text field actions during authentication.
Remove scroll view tweaks in server selection screen following EMS banner removal.
2022-05-19 11:43:38 +01:00
Doug
196a889f9a Remove EMS banner from Server Selection screen. 2022-05-19 11:43:38 +01:00
Doug
e3e4511298 Clean localised strings.
Add ordered placeholders to directory_search_results in base language.
2022-05-17 16:39:44 +01:00
SBiOSoftWhare
dfd57a55da Merge branch 'develop' into steve/5722_device_location
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2022-05-16 17:11:57 +02:00
SBiOSoftWhare
b1d93520a8 Location sharing: Add background location not authorized warning. 2022-05-16 16:50:59 +02:00
SBiOSoftWhare
027e86693d Info.plist: Add location always usage description. 2022-05-16 10:57:57 +02:00
Doug
d0494cfb6b
Add ReCaptcha screen (#6135)
Support dark mode in MXKAuthenticationRecaptchaWebView.
Begin implementing the ReCaptcha coordinator.
2022-05-11 09:57:37 +01:00
Doug
1b160b5f25
Add registration terms screen. (#6128)
Begin implementing Auth Terms coordinator.
2022-05-10 22:34:35 +01:00
Doug
4a9ace0cf3
Add email verification screen (#6125)
Make a reusable onboarding icon view.
Use a native TextField for better dynamic type support.
Rename completion to callback.
Add readableFrame modifier.
2022-05-10 14:09:43 +01:00
Doug
a8a9f1daaa Allow registration on SSO only servers.
Stop using the homeserver from user defaults.
2022-05-04 19:26:38 +01:00
Doug
3161d3d535 Add Authentication Flow WIP.
- Add Registration Screen.
- Add Server Selection Screen.
- Rename AuthenticationCoordinator to LegacyAuthenticationCoordinator.
- Add AuthenticationService and RegistrationWizard.
- Async extensions.
- Add global white and EMS colors to the themes.
- Add tests for server selection and registration screens.
- Accessibility and iPad layout tweaks.
- Remove MainActor from Auth Coordinators/VMs/Views.
(It broke the protocol conformances so now the methods and properties are marked individually.)
2022-05-04 19:26:38 +01:00
SBiOSoftWhare
60d23fa9b2 Merge develop in 6081_lls_screen_integration 2022-05-04 16:53:49 +02:00
SBiOSoftWhare
ec5e493f8f RoomCoordinator: Handle live location viewer and stop sharing. 2022-05-03 16:04:36 +02:00
MaximeE
c5c55da854 6071: Add timeout selector when start live sharing 2022-05-03 15:21:51 +02:00
Gil Eluard
1a3effb8b6
4850 bring leaving space experience in line with web (#6062)
* Bring leaving space experience in line with Web #4850

- Done
2022-04-27 13:31:14 +02:00
MaximeE
a503938b64 Merge branch 'develop' into maximee/6029_lls_timeline_cell and apply comments 2022-04-25 15:53:58 +02:00
MaximeE
14f4744194 6029: Refacto how to handle all state of the live location cell 2022-04-22 18:04:19 +02:00