Commit Graph

121 Commits

Author SHA1 Message Date
Johannes Marbach bdce8f1c09 Only use device type name as fallback for session display name 2022-10-07 09:48:17 +02:00
ismailgulek 8903fde833 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
Gil Eluard d5b8f43f59 Added support for MSC3881
- Update after review
2022-10-03 15:33:35 +02:00
Stefan Ceriu 5396e7351b 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 f8dccee9d6 Extended device info (PSG-772) (#6766) 2022-09-29 15:07:10 +03:00
Johannes Marbach cdbc271e29 Merge pull request #6761 from vector-im/johannes/device-model-in-user-agent
Include concrete device model in user agent (PSG-754)
2022-09-26 19:46:52 +02:00
Johannes Marbach f7e3bbc454 Add AppVersion to test target 2022-09-26 17:33:11 +02:00
Johannes Marbach cb26152166 Add AppInfo to test target 2022-09-26 16:35:48 +02:00
aringenbach 2cf7e7ebab Fix render of links with both characters requiring percent encoding and markdown-like syntax 2022-09-23 15:06:40 +02:00
Gil Eluard 264801b2e7 Fixed failed to join room (was not legal room) 2022-09-20 10:01:46 +02:00
Doug aa31c852f1 Put the session creator on the main actor instead.
This covers all login and registration options.
2022-09-16 12:31:25 +01:00
Stefan Ceriu ca5b2be805 Fix tests missing data source parameter 2022-08-29 10:10:56 +03:00
Gil Eluard 029abe88fd App Layout: Fixed Analytics Tests 2022-08-24 13:43:24 +02:00
Doug 7e411d1528 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
Doug e0a85292d9 Stop using an ephemeral web browser session on SSO (#6464)
Rename the bundle name to Element for the SSO alert.

* Fix unit tests after bundle name change.

* Update slather for bundle name change.
2022-07-27 12:13:31 +01:00
Doug a2ff36ab21 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 c577521c6c Fix Riot tests. 2022-07-14 16:56:35 +01:00
aringenbach bef199d9c2 Fix PillsFormatter unit tests 2022-07-12 09:47:12 +02:00
aringenbach 877e53c2b8 Add formatter build reply HTML unit tests 2022-07-06 15:15:29 +02:00
Doug e32d6893a9 Trim whitespace and trailing slashes from a user entered homeserver address. 2022-06-21 10:04:22 +01:00
aringenbach 23dc19be70 Merge pull request #6309 from vector-im/aringenbach/6302_use_latest_data_for_pills
Use latest user data for mention pills
2022-06-17 13:56:20 +02:00
Doug e8899f134e Add custom string representations of view model/coordinator results. 2022-06-17 10:15:10 +01:00
aringenbach 4f4f15e8d4 Add avatar url and attachment size tests 2022-06-17 09:16:59 +02:00
aringenbach cc2a95e865 Use latest user data for mention pills 2022-06-16 17:07:47 +02:00
ismailgulek 2ac59cdf20 Create PasswordValidator 2022-06-10 18:06:21 +03:00
ismailgulek e2927ac206 Fix PR remarks 2022-06-09 13:22:50 +03:00
ismailgulek 4e696c36bc Add resetOthers parameter to session creator method 2022-06-08 17:22:47 +03:00
ismailgulek fb4e5085cb Merge pull request #6250 from vector-im/ismail/6180_support_prov_links 2022-06-07 20:54:14 +03:00
ismailgulek 69d0954dd0 Update UniversalLink class to parse path and query params 2022-06-07 16:05:47 +03:00
ismailgulek f9334b1b13 Mock account manager and disable saving on session creator tests 2022-06-06 16:16:12 +03:00
ismailgulek 207277432f Merge branch 'develop' into ismail/6177_wellknown_IS 2022-06-06 15:23:22 +03:00
Doug c9acc240a8 Add initial tests on the authentication service. (#6229) 2022-06-06 13:20:46 +01:00
ismailgulek ccd3befbbf Use identity server from well-known when creating the client 2022-06-03 18:08:19 +03:00
Doug 48f91ab93a 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
aringenbach d7216cf171 WellKnown: support outbound keys presharing strategy 2022-05-31 17:38:33 +02:00
ismailgulek 492ccb5eed Move validation logic to a new class and add tests 2022-05-30 16:05:20 +03:00
ismailgulek 389f256987 Move extension methods to Swift.String, add tests 2022-05-30 16:05:00 +03:00
Doug 292cd4a5d2 Disable the next button whilst loading a server.
Add tests for login screen.
Self review.
2022-05-24 18:03:31 +01:00
Doug 770771473b Add initial implementation of the LoginWizard. 2022-05-24 10:09:24 +01:00
Doug 5d17badc66 Add tests for FlowResult. 2022-05-19 11:43:38 +01:00
aringenbach 7bfe2253aa Fix minor PillsFornatterTests issue 2022-05-13 17:03:20 +02:00
aringenbach 5f176e9851 Fix unit tests 2022-05-11 09:11:12 +02:00
aringenbach ab0833716a Merge branch 'develop' into aringenbach/3526_user_pills 2022-05-09 17:15:45 +02:00
aringenbach 348b4170fa Rename StringPillsUtils to PillsFormatter 2022-05-09 15:32:53 +02:00
Doug f2277cbd3d Send the Signup analytics event (#6118)
* Implement the Signup event from AuthenticationViewController.

Use AuthenticationFlow instead of MXKAuthenticationType.
Create new AuthenticationType that aligns with AnalyticsEvent naming.
Add additional cases from AnalyticsEvents.
2022-05-06 13:08:54 +01:00
aringenbach 6c9296f2e0 Rename isCurrentUser to isHighlighted 2022-05-05 15:28:04 +02:00
aringenbach a4e6d97360 Add tests 2022-05-05 15:04:26 +02:00
Doug e7458c83d8 Add AuthenticationService and RegistrationWizard. (#6056) 2022-04-27 16:02:54 +01:00
Andy Uhnak dcb33a5380 Reduce the number of unnecessary home page reloads 2022-04-04 12:04:55 +01:00
Andy Uhnak 454f62bce0 Refactor sections as enum types 2022-04-04 09:40:26 +01:00