Adam Brown
1d03460aee
removing ability to shortcut registration to waiting for email if the app is destroyed
...
- this behaviour puts the app in an invalid state as we've lost all the ViewState we've collect from the previous onboarding steps
- the app already handles restoring the onboarding state via the system restoration
2022-08-18 11:41:28 +01:00
Jorge Martin Espinosa
aecf460c96
Improve tests for lockscreen ( #6796 )
...
* Improve tests
* Address review comments.
* Refactor pin code tests and code to improve testability.
* Fix lint issues
2022-08-10 12:00:36 +00:00
Jorge Martín
dfc8526b47
Refactor lockscreen implementation.
...
Try to fix issues and simplify flow.
2022-08-09 14:03:39 +02:00
Jorge Martín
6e1e31bac1
Avoid crashes from unknown exceptions on lockscreen key migration.
2022-08-09 12:52:28 +02:00
Adam Brown
58d47df37b
Merge pull request #6736 from vector-im/feature/adm/non-ascii-username
...
Fixes crash when entering non ascii username during account creation
2022-08-09 11:52:02 +01:00
Adam Brown
7e7b98a3c1
Merge pull request #6668 from vector-im/feature/adm/onboarding-vm-tests
...
`OnboardingViewModel` tests
2022-08-08 13:37:53 +01:00
Maxime NATUREL
dd69b254f9
Merge pull request #6654 from vector-im/feature/mna/update-sending-period-lls
...
[Location share] Update minimum sending period to 5 seconds for a live
2022-08-04 14:17:00 +02:00
Adam Brown
a4ea47e740
catching username availabilty exceptions and handling as user facing error
2022-08-04 11:58:31 +01:00
Adam Brown
8aaf185a8e
Merge pull request #6517 from vector-im/feature/adm/build-config
...
Avoiding direct `BuildConfig` usage
2022-08-02 18:07:17 +01:00
Maxime NATUREL
ac8597e745
Merge pull request #6676 from vector-im/fix/mna/fix-memory-leaks-lls
...
[Location sharing] - Fix the memory leaks (PSG-656)
2022-08-02 18:01:48 +02:00
Adam Brown
8b9d1bb0d8
making use of the existing sdk int provider instead of supplying it via the BuildMeta
2022-08-02 14:32:12 +01:00
Adam Brown
fe1019f29f
using Config strict mode flag directly within the Application as the build meta can't be injected before super application.onCreate
2022-08-02 14:31:46 +01:00
Adam Brown
cceac66504
moving build flavor information to the build meta
2022-08-02 14:31:46 +01:00
Adam Brown
df02f505ad
moving git versioning to the buildMeta abstraction
2022-08-02 14:31:46 +01:00
Adam Brown
d42c27bfe0
lifting the low privacy build config to the config
2022-08-02 14:31:46 +01:00
Adam Brown
274b1a149c
moving analytics config to the config module, it's now up to forks to opt out rather than relying on the package name to not be vector
2022-08-02 14:31:23 +01:00
Jorge Martin Espinosa
c848615636
Disable 'Enable biometrics' option if there are not biometric authenticators enrolled. ( #6714 )
...
* Disable 'Enable biometrics' option if there are not biometric authenticators enrolled.
* Improve biometric pref enabled check
* Fix changelog issue
* Address review comments. Add extra catch clauses to key migrations.
* Add tests for key migrators
2022-08-02 15:31:08 +02:00
Maxime NATUREL
c926b4cc69
Fix moving some components to dedicated package
2022-08-02 10:47:38 +02:00
Maxime NATUREL
49ad37a7f6
Using Duration to have clearer syntax
2022-08-02 09:27:27 +02:00
Maxime NATUREL
be696f5a5c
Align naming of components for the live location feature
2022-08-02 09:09:19 +02:00
Adam Brown
d304624878
removing extra blank lines
2022-07-28 11:49:50 +01:00
Adam Brown
bb9459fcab
adding test around sso url fetching
2022-07-28 11:41:40 +01:00
ericdecanini
e6addd1319
Merge remote-tracking branch 'origin/develop' into task/eric/space-switching-unit-tests
...
# Conflicts:
# vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt
2022-07-28 11:25:14 +02:00
Adam Brown
c4831510ac
adding tests around the state resetting
2022-07-27 17:17:36 +01:00
Adam Brown
a32a78751a
adding test around login with username and password
2022-07-27 16:40:12 +01:00
Adam Brown
87a0957d9a
adding test around login with token
2022-07-27 16:37:35 +01:00
Adam Brown
e77688b3f4
adding splash action tests
2022-07-27 16:37:17 +01:00
Adam Brown
0fcf7c7079
Merge pull request #6641 from vector-im/feature/adm/ftue-soft-exit-email-verification
...
FTUE - Allow editing email during email verification
2022-07-27 14:00:20 +01:00
Jorge Martín
b468a9da33
Improve lock screen implementation.
2022-07-27 14:02:18 +02:00
Adam Brown
fd255039f3
adding tests around initialising the viewmodel and handling email send success actions
2022-07-26 14:26:03 +01:00
Onuray Sahin
5c253bbd28
Code review fixes.
2022-07-22 17:21:23 +03:00
Onuray Sahin
242c14a156
Write test for the use case.
2022-07-22 14:34:06 +03:00
ericdecanini
a909779e08
Merge remote-tracking branch 'origin/develop' into task/eric/space-switching-unit-tests
...
# Conflicts:
# vector/src/main/java/im/vector/app/features/home/room/list/RoomListViewModel.kt
2022-07-21 10:48:57 +02:00
ericdecanini
d8fdaf0477
Moves UiStateRepository stubbing to fake class
2022-07-21 10:38:31 +02:00
ericdecanini
1d77f99148
Adds RoomSummaryFixture
2022-07-21 10:37:33 +02:00
ericdecanini
f0ae458a54
Changes AppStateHandler to SpaceStateHandler
2022-07-21 10:10:44 +02:00
ericdecanini
9a649b6093
Adds tests for selectedSpaceFlow and activeSpaceId
2022-07-21 09:39:12 +02:00
ericdecanini
f770ae0653
Adds tests for persist space and backstack
2022-07-21 08:53:08 +02:00
ericdecanini
49992f682e
Adds test for existing space
2022-07-21 08:12:04 +02:00
Eric Decanini
38ba61f144
Merge pull request #6200 from vector-im/bugfix/eric/upgrade-room-deduplication
...
Fixes room not being in space after upgrade
2022-07-20 12:30:42 +02:00
Maxime NATUREL
c3105c8bb1
Merge pull request #6486 from vector-im/feature/mna/delete-lls
...
[Location sharing] - Delete action on a live message (PSG-523)
2022-07-19 16:43:41 +02:00
ericdecanini
fbdbfb6be2
Post cherry pick fix
2022-07-19 16:20:59 +02:00
ericdecanini
e4c8c88cee
Refactors AppStateHandler into interface implementation pattern
2022-07-19 16:19:44 +02:00
Benoit Marty
70c62233d0
Merge pull request #6569 from vector-im/feature/adm/ftue-copy-review
...
FTUE - Copy review
2022-07-19 14:49:28 +02:00
Benoit Marty
70c8703b2b
Merge pull request #6545 from vector-im/feature/adm/ftue-combined-register-copy-review
...
FTUE - Combined register copy review
2022-07-19 14:44:29 +02:00
Maxime NATUREL
7961525869
Unit tests: adding verification that redaction does not happen when event id is empty
2022-07-19 14:06:19 +02:00
Maxime NATUREL
2121ec5739
Moving use case to check if event is redacted into a dedicated package
2022-07-19 14:06:19 +02:00
Maxime NATUREL
8fb402ab10
Stop sharing live location if live is redacted
2022-07-19 14:05:13 +02:00
Maxime NATUREL
391bf842b4
Calling usecase to redact live location share event
2022-07-19 14:05:13 +02:00
Maxime NATUREL
c095cc73ce
Introducing use case to check if an event can be redacted
2022-07-19 14:05:13 +02:00