Commit Graph

11709 Commits

Author SHA1 Message Date
sim f65074b3c5 Update pusher with FCM new token only if using FCM 2022-09-08 11:46:34 +02:00
Maxime NATUREL 62dbab907d
Merge pull request #7044 from vector-im/feature/mna/clean-vm-for-dm-v2
[Devices Management] Refactor some code to improve testability (PSG-701)
2022-09-08 11:44:56 +02:00
sim 48498020a0 Ensure FCM always have the good gateway 2022-09-08 11:23:15 +02:00
sim 3267cbbf78 Lint 2022-09-08 11:15:41 +02:00
sim 94e2a0a3e3 Ensure FCM token is always retrieved 2022-09-08 10:58:08 +02:00
Benoit Marty 5dd26a43dd
Merge pull request #7059 from vector-im/bugfix/eric/new-layout-open-invite
New Layout - Allows you to open an invite by clicking its cell
2022-09-08 10:51:19 +02:00
Benoit Marty a743cf28c6
Merge pull request #7061 from vector-im/feature/bma/no_ReleaseNotesActivity_on_login
Fix ReleaseNotesActivity displayed after login.
2022-09-08 10:50:50 +02:00
sim 7bdcacf489 Merge branch 'misc/refactor-uphelper' into fix/fcm-push2 2022-09-08 10:49:53 +02:00
sim 6ba963b552 Fix gateway 2022-09-08 10:49:49 +02:00
sim 0b9b8251f9 Do not intent to VectorMessagingReceiver from FirebaseReceiver
Use VectorMessagingHelper to directly call onMessage
2022-09-08 10:34:56 +02:00
Maxime NATUREL 45b138e53d Using orFalse() extension method on nullable boolean 2022-09-08 09:48:45 +02:00
Maxime NATUREL c45f536855 RefreshDevicesOnCryptoDevicesChangeUseCase unit tests 2022-09-08 09:48:45 +02:00
Maxime NATUREL 047384c08c Fix some coding style issues 2022-09-08 09:48:45 +02:00
Maxime NATUREL 3566b10e3c DevicesViewModel unit tests 2022-09-08 09:48:45 +02:00
Maxime NATUREL 438f302787 GetDeviceFullInfoListUseCase unit tests 2022-09-08 09:48:45 +02:00
Maxime NATUREL 07d9e35842 GetCurrentSessionCrossSigningInfoUseCase unit tests 2022-09-08 09:48:45 +02:00
Maxime NATUREL 27031ab267 RefreshDevicesUseCase unit tests 2022-09-08 09:48:45 +02:00
Maxime NATUREL 06d447247a Updating existing unit tests 2022-09-08 09:48:45 +02:00
Maxime NATUREL 0eae1bd505 Listen verification + refresh devices use cases 2022-09-08 09:48:45 +02:00
Maxime NATUREL 39a0b3b1ba Moving recently created use cases inside v2 package 2022-09-08 09:48:45 +02:00
Maxime NATUREL 712d39b9dd Inject new ViewModel in the fragment V2 + add use cases 2022-09-08 09:48:43 +02:00
Maxime NATUREL 4a6a39b3c4 Declare MarkAsManuallyVerified action 2022-09-08 09:48:03 +02:00
Maxime NATUREL e3c41a07e5 Empty ViewModel V2 2022-09-08 09:48:03 +02:00
Maxime NATUREL 6c2bf35d60
Merge pull request #7005 from vector-im/feature/mna/session-overview-screen
[Devices Management] Session overview screen (PSG-691, PSG-693)
2022-09-08 09:18:31 +02:00
sim 00a04b807e Lint 2022-09-07 18:22:34 +02:00
sim 9cf6dd7a88 Use firebaseReceiver with FCM 2022-09-07 18:02:26 +02:00
Benoit Marty 59e6fa98c9
Merge pull request #7000 from pt2121/pt/6529-room
Suggest @room when @channel, @everyone, or @here is typed in composer
2022-09-07 15:49:18 +02:00
Benoit Marty a5046d43c8 Fix ReleaseNotesActivity displayed after login.
Ensure the state is up to date, when we will request it later with withState{}
2022-09-07 14:51:37 +02:00
ericdecanini 3b2fa0d563 Merge remote-tracking branch 'origin/develop' into bugfix/eric/new-layout-open-invite 2022-09-07 14:03:54 +02:00
ericdecanini 4a31dc403f Removes unused import 2022-09-07 14:03:48 +02:00
ericdecanini 37b216393e Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-labs 2022-09-07 14:02:10 +02:00
Benoit Marty bdfbbbb2e6
Merge pull request #7020 from vector-im/feature/nfe/app_layout_all_screens_test
fixed allscreens sanity test for enabled app layout flag
2022-09-07 13:57:17 +02:00
ericdecanini 3c6efd673e Allows you to open an invite by clicking the invite cell 2022-09-07 11:58:47 +02:00
Benoit Marty c408621bd5
Merge pull request #7054 from vector-im/feature/bma/fix_invite_to_room_in_space
Fix invite to room in space
2022-09-07 11:53:34 +02:00
Benoit Marty 80507dac00
Merge pull request #7024 from vector-im/bugfix/eric/new-layout-recents-padding
New Layout - Fixes padding of recents item selectable background
2022-09-07 11:00:36 +02:00
Benoit Marty 199195dcbd
Merge pull request #7039 from vector-im/feature/eric/new-layout-update-icons
New Layout - Replace space icon (and release notes image)
2022-09-07 10:57:23 +02:00
ericdecanini 64c8789ef2 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-labs 2022-09-07 10:35:44 +02:00
Eric Decanini da88b37ec7
Merge pull request #7040 from vector-im/bugfix/eric/new-layout-missing-header
New Layout - Adds missing space list header
2022-09-07 10:31:31 +02:00
Benoit Marty 2ba00b3845 If we need the FragmentManager, let's require to have a FragmentActivity. 2022-09-07 10:14:29 +02:00
Benoit Marty fe484e84f4 Fix clicking on invite does not work. Fix #7053
We need the FragmentManager to display a bottom sheet.
2022-09-07 10:01:31 +02:00
Benoit Marty c5d3eaffb9
Merge pull request #7041 from vector-im/feature/bma/debug_release_note
Debug release note
2022-09-07 09:40: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 52d05b373c Fix post rebase 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 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 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
ericdecanini afbb76f341 Fixes lint error 2022-09-07 08:36:52 +02:00
Jorge Martín 273999ee88 Fix voice recording tests 2022-09-06 20:08:29 +02:00
ericdecanini 6c2363471d Unlocks the drawer layout when not new layout 2022-09-06 18:01:36 +02:00
ericdecanini 9564c8f144 Changes some preferences to be enabled or disabled by labs flag 2022-09-06 17:32:08 +02:00
ericdecanini d77ce27953 Fixes wrong use of feature flag instead of labs flag 2022-09-06 17:31:52 +02:00
Benoit Marty b4fcffbdf9 Add missing points. 2022-09-06 17:11:25 +02:00
Benoit Marty 22f8ace4c4
Merge pull request #6957 from vector-im/sync-analytics-plan
Sync analytics plan
2022-09-06 17:09:52 +02:00
ericdecanini b7efd6384c Changes vector feature preference key and function name for clarity 2022-09-06 16:07:12 +02:00
Benoit Marty f54979ce13 Add some debug tools about ReleaseNotesActivity.
- reset the show status
- display this Activity
2022-09-06 15:50:48 +02:00
ericdecanini 593a04ea25 Adds missing space list header 2022-09-06 15:41:30 +02:00
ericdecanini 31a3552e26 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-labs
# Conflicts:
#	vector/src/main/java/im/vector/app/features/settings/VectorSettingsLabsFragment.kt
2022-09-06 15:32:00 +02:00
ericdecanini 468c7b600c Re-adds feature flag 2022-09-06 15:30:19 +02:00
Benoit Marty 16fad63e49 Better to call setAppLayoutOnboardingShown when we are sure the Activity has been run. 2022-09-06 15:15:59 +02:00
Benoit Marty b3eac52e3f
Merge pull request #7022 from vector-im/feature/nfe/app_layout_hide_filters_for_space
hide favourites and dms filters for a selected space, if they are empty
2022-09-06 14:56:53 +02:00
Benoit Marty 1c35e5ae9c
Merge pull request #6986 from vector-im/feature/nfe/invites_empty_state
empty state for new invites screen
2022-09-06 14:56:06 +02:00
Benoit Marty 4e0735c759
Merge pull request #7021 from vector-im/feature/nfe/app_layout_settings_update
obsolete settings are hidden when app layout flag is enabled
2022-09-06 14:53:51 +02:00
ericdecanini 91b4918526 Merge remote-tracking branch 'origin/feature/nfe/app_layout_hide_filters_for_space' into feature/eric/new-layout-labs 2022-09-06 14:46:12 +02:00
ericdecanini 5e0d84bb25 Uses referenced default value for new layout labs flag 2022-09-06 14:42:54 +02:00
ericdecanini 707ff27371 Replaces spaces icon (and corresponding release notes image) 2022-09-06 14:34:42 +02:00
ericdecanini a851b0aa96 Fixes lint error 2022-09-06 13:31:57 +02:00
ericdecanini 24509543b9 Replaces feature flag with labs flag 2022-09-06 12:48:03 +02:00
Benoit Marty 3c7889c95d Some cleanup 2022-09-06 11:36:44 +02:00
Nikita Fedrunov 7cc7444bd5
applayout release experience (#7003) 2022-09-06 11:32:11 +02:00
Benoit Marty 6a3bef591c
Merge pull request #6994 from vector-im/dependabot/gradle/com.github.UnifiedPush-android-embedded_fcm_distributor-2.1.3
Bump android-embedded_fcm_distributor from 2.1.2 to 2.1.3
2022-09-06 11:16:14 +02:00
ericdecanini 8f614d82ae Fixes padding of selectable background in recents item 2022-09-06 10:26:43 +02:00
NIkita Fedrunov e0c455a476 update according to code review 2022-09-06 10:08:32 +02:00
Eric Decanini ab989e9ff0
Merge pull request #7015 from vector-im/bugfix/eric/recents-bg-color
New Layout - Fixes recents background color not matching app bar
2022-09-06 08:25:38 +02:00
Eric Decanini e2ba576318
Merge pull request #7016 from vector-im/bugfix/eric/new-layout-accessibility-fixes
New Layout Accessibility Fixes
2022-09-06 08:25:29 +02:00
Eric Decanini d6b7fcebde
Merge pull request #7018 from vector-im/bugfix/eric/new-layout-login-avatar
App Layout - Fixes avatar not showing on fresh login
2022-09-06 08:25:19 +02:00
NIkita Fedrunov ee300cf11d hide favourites and dms filters for a selected space, if they are empty 2022-09-06 07:54:16 +02:00
NIkita Fedrunov 891173c04a compilation error fixed 2022-09-06 07:18:45 +02:00
Jorge Martín 0a1c7561bd Use embedded libopus encoder for devices that somehow lack the official one 2022-09-06 07:14:55 +02:00
NIkita Fedrunov 9a29c79233 obsolete settings are hidden when app layout flag is enabled 2022-09-06 00:41:58 +02:00
NIkita Fedrunov 67b7bc3d83 fixed allscreens sanity test for enabled app layout flag 2022-09-06 00:00:35 +02:00
ericdecanini 83b8a0ea94 Fixes avatar not shown on fresh login 2022-09-05 22:27:18 +02:00
Eric Decanini daacf35411
Merge pull request #7013 from vector-im/bugfix/eric/new-layout-sync-state
New Layout - Fixes sync state not being visible
2022-09-05 21:18:48 +02:00
ericdecanini 289ed86be7 Fixes recents carousel saying name twice in talkback 2022-09-05 20:53:03 +02:00
ericdecanini 93ce7f8db5 Fixes home screen talkback jumping to fabs too early 2022-09-05 20:52:45 +02:00
Benoit Marty f54d792bbf
Merge pull request #7014 from vector-im/feature/bma/fix_fdroid_crash
Feature/bma/fix fdroid crash
2022-09-05 20:45:29 +02:00