Adam Brown
75d038b058
adding test case around invalid deeplinks within the onboarding flow
2022-05-25 13:34:08 +01:00
Adam Brown
797e0ee706
creating a build meta abstraction for allowing testing classes with build version checks
2022-05-25 13:34:08 +01:00
Adam Brown
ea7df9b673
lifting unavailable homeserver rendering to the activity/ftuevariant
...
- the viewmodel is now responsible for inferring connectivity errors and providing a retry action
2022-05-25 13:34:08 +01:00
Adam Brown
100aa24021
adding helper for inferring if the device has connectivity, this helps with breaking down UnknownHost exceptioncauses and shouldn't be used for checking offline status
2022-05-25 13:34:07 +01:00
Adam Brown
59afb5cf4c
downscoping the possible action types when selecting homeservers
2022-05-25 13:34:07 +01:00
Adam Brown
b8418f97dc
extracting server selection branches to their own functions
2022-05-25 13:34:07 +01:00
Adam Brown
690fda180c
providing dedicated reset action for resetting invalid deeplink homeserver
...
- also fixes the usecase screen becoming stuck with an invalid homeserver deeplink
2022-05-25 13:34:07 +01:00
Maxime NATUREL
aa65d82341
Adding unit tests for ViewModel
2022-05-25 14:05:14 +02:00
Maxime NATUREL
65d7ec8696
Adding unit tests for use case to get the list of current running lives
2022-05-25 14:05:14 +02:00
Maxime NATUREL
5efe26c7dd
Fix code quality issues
2022-05-25 14:05:14 +02:00
Maxime NATUREL
8145049315
Fix potential access to null value
2022-05-25 14:05:14 +02:00
Maxime NATUREL
7ef91ce717
Adding unit tests for view state mapper
2022-05-25 14:05:14 +02:00
Maxime NATUREL
401027e919
Adding end of live timestamp into view state
2022-05-25 14:05:14 +02:00
Maxime NATUREL
bd473375a1
Fix no text visible if using direct pin drawable
2022-05-25 14:05:14 +02:00
Maxime NATUREL
40d8d5c605
Updating user pins on location update
2022-05-25 14:04:22 +02:00
Maxime NATUREL
81b90df909
Observe the current live location shares in a room
2022-05-25 14:04:22 +02:00
Maxime NATUREL
5410b61ae3
Show user pins with correct zoom when map is first opened
2022-05-25 14:03:37 +02:00
Maxime NATUREL
d6029210d0
Adding use case to get live location of users
2022-05-25 14:03:37 +02:00
Maxime NATUREL
44ca82bbef
Adding ViewModel to Activity
2022-05-25 14:03:37 +02:00
Johannes Marbach
f5a621a6d5
Merge pull request #6140 from vector-im/johannes/widget-screen-rotation
...
Prevent widget web view from reloading on screen / orientation change (PSF-1034)
2022-05-25 13:42:24 +02:00
Johannes Marbach
580bbd60e7
Appease the linter
2022-05-25 13:01:42 +02:00
Johannes Marbach
59c13bf8c1
Make widget web view request system permissions for camera and microphone
...
Previously the widget web view prompted to grant the widget permissions but it didn't
actually request those permissions from the system. So if the web view requested, e.g.
the camera permission but the app hadn't previously been granted that permission, the
web view wouldn't get camera access even when the widget permission request had been
confirmed.
With this commit, the app will also request camera and microphone permissions from the
system when needed.
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-05-25 12:35:43 +02:00
Adam Brown
8c44c9828c
fixing listener import
2022-05-25 10:22:27 +01:00
Adam Brown
8b2132c6dd
fixing detekt/formatting issues
2022-05-25 10:22:27 +01:00
Adam Brown
137fe89938
hiding username/password fields when the homeserver doesn't support them and showing SSO options when available
2022-05-25 10:22:27 +01:00
Adam Brown
bc2a99c3cf
matching variable name with type
2022-05-25 10:22:27 +01:00
Adam Brown
610c1d1150
extracting sso buttons render method to reduce duplication
2022-05-25 10:22:27 +01:00
Adam Brown
d86c12dc7a
extracting duplicated field resetting logic
2022-05-25 10:22:27 +01:00
Adam Brown
fb1a686f90
extracting the login error handling to its own class
2022-05-25 10:22:27 +01:00
Adam Brown
d1bafc531e
removing input footer fields, they're only needed for sign up, not login
2022-05-25 10:22:27 +01:00
Adam Brown
b2af918969
using correct copy for the login validation errors
...
- extracts helpers to make the logic more declarative
2022-05-25 10:22:27 +01:00
Adam Brown
25b81c2952
creating subtype for register/login authentication types
2022-05-25 10:22:26 +01:00
Adam Brown
c3ce887e33
minor refactors
...
- extracting login fields validation
- renaming xml fields to login
- renaming direct login property to matrixId
2022-05-25 10:17:51 +01:00
Adam Brown
b3bbb0329e
directing to the combined login after homeserver check
...
- also removes the subtitle view which is not needed for login
2022-05-25 10:17:51 +01:00
Adam Brown
4b6f74364d
adding dedicated login action
2022-05-25 10:17:51 +01:00
Adam Brown
34e97112a4
adding feature flag and redirecting the sign in flow
...
- temporarily to the combined register fragment
2022-05-25 10:17:51 +01:00
Adam Brown
ae9922a731
Merge pull request #6136 from vector-im/feature/adm/foss-avoid-gms-location-provider
...
Excluding the gms play-service-location from maplibre for fdroid builds
2022-05-25 08:59:18 +01:00
Glandos
71706bc6a6
Translated using Weblate (French)
...
Currently translated at 100.0% (2225 of 2225 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-05-25 07:14:58 +00:00
Jean-Luc KABORE-TURQUIN
d0628129f5
Translated using Weblate (French)
...
Currently translated at 100.0% (2225 of 2225 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-05-25 07:14:56 +00:00
Adam Brown
b4b2b97eb1
Merge pull request #6068 from vector-im/dependabot/gradle/vanniktechEmoji-0.12.0
...
Bump vanniktechEmoji from 0.9.0 to 0.12.0
2022-05-24 16:26:06 +01:00
Johannes Marbach
f95853a7b3
Prevent widget web view from reloading on screen / orientation change (PSF-1034)
...
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-05-24 16:29:38 +02:00
ericdecanini
6c21a6b48d
Separates some method parameters
2022-05-24 15:26:24 +02:00
Adam Brown
bec72264cd
excluding the gms play-service-location optional transistive dependency for the fdroid variant
...
- fixes fdroid being unable to compile the project due to a non foss dependency
2022-05-24 10:10:03 +01:00
Jeremy
b131848b72
Fix grammar in strings in strings.xml
...
`room_list_people_empty_body` and `room_list_rooms_empty_body`
2022-05-24 14:12:49 +12:00
Adam Brown
a59b8bf50c
Merge pull request #6065 from vector-im/feature/adm/matrix-org-ordering
...
FTUE - Only override sign up steps for `matrix.org`
2022-05-23 21:24:48 +01:00
Maxime NATUREL
b05fc763ae
Rely only on isActive field on UI side
2022-05-23 17:34:52 +02:00
ericdecanini
a07c1b8afa
Removes top bar back arrow
2022-05-23 13:46:53 +01:00
Maxime NATUREL
9a38d59f9a
Merge pull request #6092 from vector-im/feature/mna/PSF-888-navigation
...
[Location sharing] - Navigation to Map view from live location message (PSF-888)
2022-05-23 13:54:04 +02:00
Benoit Marty
fd252dbaff
Merge pull request #5856 from ofalvai/bugfix/ofa/read-recept-text-scale
...
Use fixed text size in read receipt counter
2022-05-23 13:41:03 +02:00
ericdecanini
3f3662e605
Changes code style method parameters new line around parentheses to true
2022-05-23 12:30:42 +02:00