Commit graph

18669 commits

Author SHA1 Message Date
Onuray Sahin
0ec67c1ab8 Implement clear filter. 2022-09-13 13:10:03 +03:00
Onuray Sahin
11079afa6b Keep initial filter type on bottom sheet. 2022-09-08 19:25:11 +03:00
Onuray Sahin
41ca662dcc Update device list according to the filter type. 2022-09-08 18:28:17 +03:00
Onuray Sahin
ab4ebc7f11 List devices. 2022-09-08 13:47:07 +03:00
Onuray Sahin
643f99b8e0 Merge branch 'feature/mna/clean-vm-for-dm-v2' into feature/ons/device_manager_filter
* feature/mna/clean-vm-for-dm-v2:
  RefreshDevicesOnCryptoDevicesChangeUseCase unit tests
  Adding changelog entry
  Fix some coding style issues
  DevicesViewModel unit tests
  GetDeviceFullInfoListUseCase unit tests
  GetCurrentSessionCrossSigningInfoUseCase unit tests
  RefreshDevicesUseCase unit tests
  Updating existing unit tests
  Listen verification + refresh devices use cases
  Moving recently created use cases inside v2 package
  Inject new ViewModel in the fragment V2 + add use cases
  Declare MarkAsManuallyVerified action
  Empty ViewModel V2

# Conflicts:
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
2022-09-07 18:31:30 +03:00
Onuray Sahin
8dcbd3710d Merge branch 'feature/mna/session-overview-screen' into feature/ons/device_manager_filter
* feature/mna/session-overview-screen: (57 commits)
  Fix missing mapper in CryptoStoreHelper for tests
  Fix unused string warning
  Update unit tests
  Rendering inactive status in SessionInfoView
  Adding comment with examples of some parametrized strings
  Fix post rebase
  Fixing wrong copyright title
  Adding last seen details + fix observation of wrong deviceId in ViewModel
  Adding learn more link in verification status details
  Unit tests for computing trust level of device
  Unit tests for GetCurrentSessionCrossSigningInfoUseCase
  Updating existing unit tests
  Navigation from other session item
  Show info in overview screen
  Renaming CurrentSessionView into SessionInfoView to be more generic
  Introducing some reusable usecases
  Adding unit tests for viewModel
  Adding unit tests for mapper
  Adding unit tests for the new use case
  Adding use case to get full device info for a given device id
  ...

# Conflicts:
#	library/ui-strings/src/main/res/values/strings.xml
#	vector/src/main/AndroidManifest.xml
#	vector/src/main/java/im/vector/app/core/di/MavericksViewModelModule.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesViewNavigator.kt
2022-09-07 16:33:35 +03:00
Maxime NATUREL
669beb1156 Fix missing mapper in CryptoStoreHelper for tests 2022-09-07 10:27:19 +02:00
Maxime NATUREL
2592bc3772 RefreshDevicesOnCryptoDevicesChangeUseCase unit tests 2022-09-07 09:44:48 +02:00
Maxime NATUREL
7d549a311f Adding changelog entry 2022-09-07 09:44:45 +02:00
Maxime NATUREL
c65bbd91d9 Fix some coding style issues 2022-09-07 09:44:43 +02:00
Maxime NATUREL
88a5c42a4a DevicesViewModel unit tests 2022-09-07 09:44:40 +02:00
Maxime NATUREL
6394c7efde GetDeviceFullInfoListUseCase unit tests 2022-09-07 09:44:37 +02:00
Maxime NATUREL
7511d21a6f GetCurrentSessionCrossSigningInfoUseCase unit tests 2022-09-07 09:44:34 +02:00
Maxime NATUREL
32f7767aa5 RefreshDevicesUseCase unit tests 2022-09-07 09:44:30 +02:00
Maxime NATUREL
07df58f4df Updating existing unit tests 2022-09-07 09:44:27 +02:00
Maxime NATUREL
69cb5738a4 Listen verification + refresh devices use cases 2022-09-07 09:44:24 +02:00
Maxime NATUREL
fa1ef06952 Moving recently created use cases inside v2 package 2022-09-07 09:44:21 +02:00
Maxime NATUREL
3a73e72b16 Inject new ViewModel in the fragment V2 + add use cases 2022-09-07 09:44:18 +02:00
Maxime NATUREL
801eef3ce7 Declare MarkAsManuallyVerified action 2022-09-07 09:44:14 +02:00
Maxime NATUREL
7248692273 Empty ViewModel V2 2022-09-07 09:44:09 +02:00
Maxime NATUREL
682905df25 Fix unused string warning 2022-09-07 09:32:48 +02:00
Maxime NATUREL
2148270773 Update unit tests 2022-09-07 09:32:48 +02:00
Maxime NATUREL
6e9b2baf6f Rendering inactive status in SessionInfoView 2022-09-07 09:32:48 +02:00
Maxime NATUREL
0b105e2a7a Adding comment with examples of some parametrized strings 2022-09-07 09:32:48 +02:00
Maxime NATUREL
52d05b373c Fix post rebase 2022-09-07 09:32:47 +02:00
Maxime NATUREL
fb8d4668d8 Fixing wrong copyright title 2022-09-07 09:32:47 +02:00
Maxime NATUREL
1ad585e154 Adding last seen details + fix observation of wrong deviceId in ViewModel 2022-09-07 09:32:47 +02:00
Maxime NATUREL
d12bb09273 Adding learn more link in verification status details 2022-09-07 09:32:47 +02:00
Maxime NATUREL
fde7072bc7 Unit tests for computing trust level of device 2022-09-07 09:32:47 +02:00
Maxime NATUREL
38a04c3655 Unit tests for GetCurrentSessionCrossSigningInfoUseCase 2022-09-07 09:32:47 +02:00
Maxime NATUREL
3f30cf0bee Updating existing unit tests 2022-09-07 09:32:47 +02:00
Maxime NATUREL
78c2b10b89 Navigation from other session item 2022-09-07 09:32:47 +02:00
Maxime NATUREL
f4865df50c Show info in overview screen 2022-09-07 09:32:47 +02:00
Maxime NATUREL
52006c1bb4 Renaming CurrentSessionView into SessionInfoView to be more generic 2022-09-07 09:32:47 +02:00
Maxime NATUREL
a5ee4faef4 Introducing some reusable usecases 2022-09-07 09:32:47 +02:00
Maxime NATUREL
b995f798f9 Adding unit tests for viewModel 2022-09-07 09:32:47 +02:00
Maxime NATUREL
611749c08f Adding unit tests for mapper 2022-09-07 09:32:47 +02:00
Maxime NATUREL
0c3310dd16 Adding unit tests for the new use case 2022-09-07 09:32:47 +02:00
Maxime NATUREL
68f106efac Adding use case to get full device info for a given device id 2022-09-07 09:32:47 +02:00
Maxime NATUREL
e542dc4aac Adding a method to retrieve livedata of crypto device info for a given device id 2022-09-07 09:32:47 +02:00
Maxime NATUREL
f74a0b0901 Adding a method to retrieve livedata of device info for a given device id 2022-09-07 09:32:47 +02:00
Maxime NATUREL
2a599d9760 Small renamings/reorganization in CryptoService 2022-09-07 09:32:47 +02:00
Maxime NATUREL
3eb29b4661 Renaming view state 2022-09-07 09:32:47 +02:00
Maxime NATUREL
26dbd31717 Unit tests for navigator 2022-09-07 09:32:47 +02:00
Maxime NATUREL
ebf707dca9 Navigation from current session 2022-09-07 09:32:45 +02:00
Maxime NATUREL
969663786b Renaming header list view to be consistent 2022-09-07 09:32:09 +02:00
Maxime NATUREL
e2aa66e4c2 Adding changelog entry 2022-09-07 09:32:09 +02:00
Jorge Martín
273999ee88 Fix voice recording tests 2022-09-06 20:08:29 +02:00
Onuray Sahin
1a5db3cc2c Add changelog. 2022-09-06 18:49:15 +03:00
Onuray Sahin
392cbeca8a Fix UI styles. 2022-09-06 18:13:03 +03:00