Commit graph

12849 commits

Author SHA1 Message Date
Maxime NATUREL
82fabf4a85 Adding menu with rename action in session overview screen 2022-09-26 09:46:58 +02:00
Maxime NATUREL
3de96a3a0c Adding new method into navigator 2022-09-26 09:46:58 +02:00
Maxime NATUREL
1091ae41ad Default structure for the new code 2022-09-26 09:46:58 +02:00
Artjom König
2dda8af776
Merge branch 'vector-im:develop' into develop 2022-09-26 08:52:08 +02:00
ericdecanini
40c2e95a54 Adds PushersManagerTest 2022-09-25 11:58:02 -04:00
Tomáš Beňo
079a2f5351 Hide Incognito Keyboard setting on unsupported devices 2022-09-25 14:56:20 +02:00
Tomáš Beňo
e5cf431cc7 Apply imeOptions to ComposerEditText without overriding previously set options 2022-09-25 14:42:07 +02:00
Tomáš Beňo
79e4a435da Add privacy setting to disable personalized learning by the keyboard 2022-09-25 13:23:32 +02:00
ericdecanini
f724751c86 Adds new pusher fields to Notification Targets screen 2022-09-23 11:03:56 -04:00
Maxime NATUREL
c9eaf30057 Updating the log in ssoAuthDone method to improve privacy 2022-09-23 16:39:41 +02:00
Maxime NATUREL
854a604fbe Fix missing loading ViewEvent 2022-09-23 16:39:41 +02:00
Maxime NATUREL
99c2088d0e Using UiaCancelledException on reAuth cancellation 2022-09-23 16:39:41 +02:00
Maxime NATUREL
0d7d841d73 Adding unit tests 2022-09-23 16:39:41 +02:00
Maxime NATUREL
892fd4445c Mutualize pending auth handling 2022-09-23 16:39:41 +02:00
ericdecanini
52171ef748 Changes deviceDisplayName on pusher to use device model name 2022-09-23 09:36:53 -04:00
Onuray Sahin
7cd30a1ed4 Merge branch 'develop' into feature/ons/device_manager_security_sessions 2022-09-23 16:16:49 +03:00
Benoit Marty
4fb7154f2b
Merge pull request #7187 from vector-im/dependabot/gradle/com.github.UnifiedPush-android-connector-2.1.0
Bump android-connector from 2.0.1 to 2.1.0
2022-09-23 15:13:59 +02:00
Benoit Marty
97b3b2363b Disable not passing VoiceRecorderLTests, for the time we are investigating the issue. 2022-09-23 14:09:44 +02:00
Valere
2ea357ddc0 Fix new layout flicker/leaks 2022-09-23 12:12:14 +02:00
ericdecanini
75935c824b Implements MSC3881 (enabled and device_id fields for Pusher API) 2022-09-22 20:35:04 -04:00
ganfra
40e304a4ff Merge branch 'main' into develop 2022-09-22 18:18:26 +02:00
ganfra
8d94643ff7 RoomList: revert changes on LiveData and fix previous issues (not updated list) 2022-09-22 18:17:55 +02:00
Benoit Marty
60bfd0dd42
Merge pull request #7159 from vector-im/feature/bma/fix_new_lint_warning
Fix lint warning
2022-09-22 17:35:10 +02:00
Benoit Marty
f4c5cba020
Merge pull request #7126 from vector-im/feature/bma/arch_doc
Architecture doc
2022-09-22 16:41:17 +02:00
Benoit Marty
3600e374f2 Avoid code duplication 2022-09-22 16:34:07 +02:00
Benoit Marty
0559911f39 Fix non passing tests 2022-09-22 16:34:07 +02:00
Benoit Marty
7f5c712e88 No need to use @SuppressLint("NewApi") when @ChecksSdkIntAtLeast is used - more cleanup 2022-09-22 16:34:07 +02:00
Benoit Marty
658a09ea6a No need to use @SuppressLint("NewApi") when @ChecksSdkIntAtLeast is used. 2022-09-22 16:32:14 +02:00
Benoit Marty
5886245bbf Reverse condition for code clarity with ChecksSdkIntAtLeast 2022-09-22 16:32:14 +02:00
Benoit Marty
2bda97224c Cleanup 2022-09-22 16:32:14 +02:00
Benoit Marty
c735ea5e3d Remove duplication between KeysBackupBanner.State and ServerBackupStatusViewModel.BannerState and move the some logic to the ViewModel 2022-09-22 16:32:14 +02:00
Benoit Marty
b4494ee8ea Remove DefaultSharedPreferences since we now have @DefaultPreferences which provide a singleton.
Some fun has been moved to injectable classes due to this change. Not compiling, still work to do, but I prefer to split into 2 separate commits.
2022-09-22 16:32:14 +02:00
Benoit Marty
5736c8f648 Remove DefaultSharedPreferences since we now have @DefaultPreferences which provide a singleton.
Some fun has been moved to injectable classes due to this change. Not compiling, still work to do, but I prefer to split into 2 separate commits.
2022-09-22 16:32:14 +02:00
Benoit Marty
0324927b04 Create VectorLocaleProvider, to just read the current Locale from the SharedPreference 2022-09-22 16:32:14 +02:00
Benoit Marty
d8436874e2 Fix StaticFieldLeak issue (context).
Make VectorLocal an injectable class.
2022-09-22 16:32:14 +02:00
Benoit Marty
7e8a39e6de Suppress LaunchActivityFromNotification. This is fine here, this is the notification for the diagnostic, we do not want to start an Activity. 2022-09-22 16:32:14 +02:00
Benoit Marty
832a472b57 Add @ChecksSdkIntAtLeast annotation, to be able to remove AndroidVersionTestOverrider 2022-09-22 16:32:14 +02:00
Benoit Marty
bb2eb56ee6 Add @ChecksSdkIntAtLeast annotation. 2022-09-22 16:32:14 +02:00
Benoit Marty
1ff4a5f212 Ignore AlwaysShowAction lint issue. Also make it an error, so that developer has to explicitly disable the warning. 2022-09-22 16:32:14 +02:00
dependabot[bot]
2aa9382fba
Bump android-connector from 2.0.1 to 2.1.0
Bumps [android-connector](https://github.com/UnifiedPush/android-connector) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/UnifiedPush/android-connector/releases)
- [Commits](https://github.com/UnifiedPush/android-connector/compare/2.0.1...2.1.0)

---
updated-dependencies:
- dependency-name: com.github.UnifiedPush:android-connector
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 14:31:16 +00:00
Benoit Marty
151f6245db
Merge pull request #6929 from vector-im/feature/bma/android12
Target API 32 (Android 12)
2022-09-22 16:30:04 +02:00
Benoit Marty
e98bfe5c9b
Merge pull request #7156 from vector-im/feature/mna/device-manager-verify-other-session
[Device management] Verify another session (PSG-722)
2022-09-22 11:46:28 +02:00
Benoit Marty
4e30bc86b8
Merge pull request #7139 from vector-im/feature/mna/device-manager-verify-current-session
[Device management] Verify current session (PSG-722)
2022-09-22 11:46:07 +02:00
ganfra
feb33ce32b Translation: cleanup remaining TODOs 2022-09-21 19:43:47 +02:00
ganfra
03d843ac51 Rename device_manager strings 2022-09-21 18:04:32 +02:00
Benoit Marty
b9c28ba4ce
Merge branch 'develop' into feature/bma/android12 2022-09-21 16:24:30 +02:00
Onuray Sahin
793138bf1b Revert changes of string keys. 2022-09-21 16:44:47 +03:00
Onuray Sahin
8de9ef8c7d Code review fixes. 2022-09-21 14:30:24 +03:00
Onuray Sahin
4ab798f88d Code review fixes. 2022-09-21 14:16:51 +03:00
Benoit Marty
d31d833959
Merge pull request #7180 from vector-im/feature/fre/deferred_dm_labs_flag
Deferred DMs - Add and enable the feature by default in the labs settings
2022-09-21 12:17:19 +02:00
NIkita Fedrunov
d8060a7922 review fixes 2022-09-21 11:28:21 +02:00
NIkita Fedrunov
602b378b65 cancel flow when order is changed 2022-09-21 10:43:08 +02:00
Florian Renaud
fa8b56b1ad Restore tracking for deferred DMs 2022-09-21 09:36:07 +02:00
Florian Renaud
dd92bb756a Add visibility setting field for lab setting 2022-09-21 09:36:07 +02:00
Florian Renaud
e9d809d9c3 Move and enable deferred DMs into labs settings 2022-09-21 09:36:07 +02:00
ericdecanini
1a93bbf92f Renames roomsPagedList 2022-09-20 18:32:59 -04:00
ericdecanini
fe1e74fa06 Fixes room list not getting updated when not in focus 2022-09-20 18:22:39 -04:00
Onuray Sahin
45cf7dcd63 Merge branch 'develop' into feature/ons/device_manager_security_sessions 2022-09-20 17:11:51 +03:00
Onuray Sahin
3ea054f8e1 Fix unit test. 2022-09-20 15:06:52 +03:00
Florian Renaud
8624199be3
Merge pull request #7154 from vector-im/bugfix/fre/start_dm_app_layout
Deferred DMs - Handle the local rooms within the new AppLayout
2022-09-20 10:53:51 +02:00
Maxime NATUREL
943ec7ee75 Reducing argument number in session info view update method 2022-09-20 10:46:10 +02:00
Maxime NATUREL
72637b465f Using viewState value to check if it is current session 2022-09-20 10:46:10 +02:00
Maxime NATUREL
aa7f7d7111 Fix after rebase 2022-09-20 10:46:10 +02:00
Maxime NATUREL
17bb14c1dc Fixing coding style issues 2022-09-20 10:46:10 +02:00
Maxime NATUREL
921533e4b2 Getting the current session verification status to change verify button visibility 2022-09-20 10:46:10 +02:00
Maxime NATUREL
95d133e0e2 Moving some components inside the verification package 2022-09-20 10:46:10 +02:00
Maxime NATUREL
a6cb25d0c3 Verification of another session 2022-09-20 10:46:10 +02:00
Maxime NATUREL
54a4dc7e9a Inverting some arguments to ease readability 2022-09-20 10:45:47 +02:00
Maxime NATUREL
cf6b8d76a8 Removing non necessary session id arg from ViewAction 2022-09-20 10:45:46 +02:00
Maxime NATUREL
e0c4706cf9 Removing non necessary session arg from ViewEvent 2022-09-20 10:45:46 +02:00
Maxime NATUREL
584c699409 Verify current session in Session overview screen 2022-09-20 10:45:46 +02:00
Maxime NATUREL
32b5606498 Fixing missing event to start verification process 2022-09-20 10:45:46 +02:00
Maxime NATUREL
35db958279 Adding unit tests for new action in DevicesViewModel 2022-09-20 10:45:46 +02:00
Maxime NATUREL
d826327773 Adding unit tests for CheckIfCurrentSessionCanBeVerifiedUseCase 2022-09-20 10:45:46 +02:00
Maxime NATUREL
8cd7b0744a Verification process for the current Session 2022-09-20 10:45:46 +02:00
Maxime NATUREL
5759a0f7da Adding click listeners on verify button 2022-09-20 10:45:46 +02:00
Nikita Fedrunov
b4f7302057
release notes screen now properly shown on update to a version with app layout labs flag enabled by default (#7175) 2022-09-19 22:35:15 +02:00
Nikita Fedrunov
6da6f6a7f4
add qr code option to home screen menu (#7177) 2022-09-19 22:34:56 +02:00
Florian Renaud
b4ca16735d
Merge pull request #7125 from vector-im/feature/fre/start_dm_loading
Deferred DM - Add a loading wheel while creating the DM
2022-09-19 17:04:56 +02:00
Florian Renaud
8999b40c1a Add action for local rooms deletion 2022-09-19 15:58:14 +02:00
Florian Renaud
df3fd6f691 Remove unused import 2022-09-19 15:58:14 +02:00
Florian Renaud
14d2aec506 Start DM - Handle the local rooms within the new AppLayout 2022-09-19 15:58:14 +02:00
Nikita Fedrunov
830e5ffa9f
room summary now has constant height (#7145) 2022-09-19 15:22:16 +02:00
Onuray Sahin
2ad0cd46bb Fix unit tests. 2022-09-19 16:18:30 +03:00
Onuray Sahin
ec9843fb53 Fix unverified session detection logic. 2022-09-19 15:38:02 +03:00
Onuray Sahin
7db222af0c Render security recommendation sessions. 2022-09-19 15:37:13 +03:00
Onuray Sahin
740b69d48c Make other sessions view dynamic. 2022-09-19 13:42:30 +03:00
Benoit Marty
e2d131fc4f Move xml resource in the module where they are used to avoid lint false positive UnusedResources issues. 2022-09-19 11:56:40 +02:00
Onuray Sahin
32d7516dcb Merge branch 'develop' into feature/ons/device_manager_filter 2022-09-19 12:02:22 +03:00
Florian Renaud
e2f0e14133 Start DM - Add loading wheel while creating the room 2022-09-19 09:38:05 +02:00
bmarty
925fffac45 Sync Emojis 2022-09-19 00:03:51 +00:00
Benoit Marty
842a9bbd55 Add dataExtractionRules, applicable to Android 12. Exclude everything from being backed up. Also properly support Android 11. 2022-09-16 23:01:29 +02:00
Benoit Marty
88482c9b2e Reduce level API check, this seems not necessary. 2022-09-16 23:00:39 +02:00
Benoit Marty
536b9cf926 Move @Suppress("DEPRECATION") closer to the deprecated usage. Will help to detect other deprecated API usage. 2022-09-16 23:00:39 +02:00
Benoit Marty
24e4f94e61 Stop using deprecated method. 2022-09-16 23:00:39 +02:00
dependabot[bot]
d9ee51a212 Bump emoji2 from 1.1.0 to 1.2.0
Bumps emoji2 from 1.1.0 to 1.2.0.

---
updated-dependencies:
- dependency-name: androidx.emoji2:emoji2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 23:00:39 +02:00
Benoit Marty
73e061e472
Merge pull request #7130 from vector-im/feature/bma/fix_verification
Fix empty verification bottom sheet
2022-09-16 19:00:39 +02:00
Benoit Marty
a919989fd4
Merge pull request #7132 from vector-im/bugfix/eric/dismiss-new-chat
Adds dismissal to new chat bottom sheet actions
2022-09-16 18:14:08 +02:00
Adam Brown
0385f387d9 using value notion instead of key for the elements in the circular cache 2022-09-16 16:34:42 +01:00
Onuray Sahin
6823258abb Add test for view navigation. 2022-09-16 17:41:51 +03:00
Adam Brown
739a513f89 moving external library modules to an external directory 2022-09-16 15:15:32 +01:00
Adam Brown
5058f942af manually including the im.dlg:android-dialer:1.2.5
- avoids using appcompat
- avoids using an artifact without a source repository
2022-09-16 15:15:32 +01:00
Onuray Sahin
61f5f81305 Merge branch 'develop' into feature/ons/device_manager_filter
# 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/list/SessionsListHeaderView.kt
#	vector/src/main/res/layout/fragment_settings_devices.xml
2022-09-16 15:25:09 +03:00
Onuray Sahin
eb5253ab1a Refactor duplicated code. 2022-09-16 14:51:40 +03:00
Onuray Sahin
e87d4db72c Refactor duplicated code. 2022-09-16 14:42:20 +03:00
Adam Brown
11e6ca1784 moving the jitsi exclude directly to the dependency so that other modules also get the exclusion
- also excludes the support dependency from the barcode scanner
2022-09-16 12:16:03 +01:00
Adam Brown
be9c9f1640 formatting 2022-09-16 11:37:39 +01:00
Adam Brown
4e99217164 excluding jitsi's android-scalablevideoview fork's support library
- The library exports a jetified artifact but doesn't remove the support library dependency /home/adam/dev/element/element-android/vector/build.gradle
2022-09-16 11:37:39 +01:00
Adam Brown
c61df899b4 removing unused dependency 2022-09-16 11:37:39 +01:00
Adam Brown
ca92ad267d excluding compile time legacy support annotations from dependencies 2022-09-16 11:37:38 +01:00
Onuray Sahin
e2313ad1cd Implement unit tests. 2022-09-16 13:05:06 +03:00
Adam Brown
b05d52bb6d
Merge pull request #6788 from vector-im/feature/adm/app-level-variant-v2
`:vector-app` level variants
2022-09-16 10:36:58 +01:00
Florian Renaud
0ce72057dc
Merge pull request #7123 from vector-im/bugfix/fre/start_dm_room_list_glitch
Start DM - Fix glitch in the room list
2022-09-15 16:55:47 +02:00
Onuray Sahin
fd9dca9621 Fix existing tests. 2022-09-15 17:39:08 +03:00
Adam Brown
60b164a447 using fully qualified path to test activity, fixes missing reference 2022-09-15 15:17:11 +01:00
ericdecanini
13b1722060 Merge remote-tracking branch 'origin/develop' into bugfix/eric/dismiss-new-chat
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/list/home/NewChatBottomSheet.kt
2022-09-15 10:05:13 -04:00
Eric Decanini
01e1d74c72
Merge pull request #7103 from vector-im/bugfix/eric/landscape-bottom-sheet-peek
[New Layout] Adds peek height (min height) to new layout bottom sheets
2022-09-15 10:03:11 -04:00
Adam Brown
e9d15b46d8 lifting the activity alias entry to the application module
- fixes the androidTests expecting a shortcuts xml
2022-09-15 14:50:08 +01:00
Adam Brown
1d50bbdbda fixing manifest imports and giving androidTest its own dedicated manifest 2022-09-15 14:50:08 +01:00
Adam Brown
3a38898961 lifting fdroid and gplay variants to the application module 2022-09-15 14:50:08 +01:00
Adam Brown
373a0ca4fb split commit to make debug changes to avoid files being seen as new! 2022-09-15 14:50:08 +01:00
Adam Brown
5d533d4ec9 lifting debug build type to the application module 2022-09-15 14:50:08 +01:00
Adam Brown
a947a53e14 lifting the release build type to the application module 2022-09-15 14:50:08 +01:00
Adam Brown
b72a174edf lifting nightly to the application module 2022-09-15 14:50:08 +01:00
Florian Renaud
6c9ae331e3 transform list to iterable 2022-09-15 15:16:51 +02:00
Onuray Sahin
3e0f76a362 Code review fix. 2022-09-15 15:38:37 +03:00
Onuray Sahin
e3ee59f6c1 Refactor naming of strings. 2022-09-15 15:34:59 +03:00
Onuray Sahin
81cc8ab98b Code review fixes. 2022-09-15 15:14:46 +03:00
Benoit Marty
3ddaf0c51f Ensure MatrixItem.UserItem is not null at other places 2022-09-15 11:29:38 +02:00
ericdecanini
283686a9d8 Adds dismiss to new chat bottom sheet actions 2022-09-14 17:22:55 -04:00
Nikita Fedrunov
1d3c191153
scroll recents carouse to start when item added/moved to start (#7120) 2022-09-14 22:55:01 +02:00
Nikita Fedrunov
7631c7ac9f
room leaving prompt dialog now waits user to confirm leaving before do so (#7124) 2022-09-14 22:54:40 +02:00
Benoit Marty
92d7391232 state.otherUserMxItem cannot be null anymore.
Ensure the User is retrieved from the network, or fallback to a default User object.
2022-09-14 20:25:43 +02:00
Benoit Marty
6d2a9ec9d5 Prefer using state.otherUserId over nullable state.otherUserMxItem?.id 2022-09-14 19:05:38 +02:00
Benoit Marty
8623b85ac8 Add support to /devtools command 2022-09-14 17:49:55 +02:00
Benoit Marty
970abb4dde Rename file. 2022-09-14 16:53:38 +02:00
Florian Renaud
3b1599763c Start DM - Fix glitch by not showing the local rooms in the room list 2022-09-14 16:41:09 +02:00
ericdecanini
50b042ee98 Merge remote-tracking branch 'origin/develop' into bugfix/eric/landscape-bottom-sheet-peek
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/list/home/NewChatBottomSheet.kt
2022-09-14 09:46:43 -04:00
ericdecanini
f4b5cfc71f Makes bottom sheets inherit VectorBaseBottomSheetDialogFragment 2022-09-14 09:46:00 -04:00
ericdecanini
e0f327e8f6 Removes unneeded code in BottomSheetDialog.kt 2022-09-14 09:37:42 -04:00
Maxime NATUREL
fb3fdf097c Reusing some existing strings 2022-09-14 10:31:22 +02:00
Maxime NATUREL
a1bdfd1a5c Using shouldBeNull() method in unit tests 2022-09-14 10:31:22 +02:00
Maxime NATUREL
279820224c Long press on the whole content item 2022-09-14 10:31:22 +02:00
Maxime NATUREL
6cd0fbb614 Unit tests for the ViewModel 2022-09-14 10:31:22 +02:00
Maxime NATUREL
c1dfa925c0 Unit tests for use cases to check visibility of sections 2022-09-14 10:31:22 +02:00
Maxime NATUREL
4205b4a777 Unit tests for session overview navigator 2022-09-14 10:31:22 +02:00
Maxime NATUREL
4cd81f194c Copy content to clipboard on long click on an item 2022-09-14 10:31:22 +02:00
Maxime NATUREL
ecb7d77582 Hiding the last content item divider 2022-09-14 10:31:22 +02:00
Maxime NATUREL
30effb781b Fixing margins in list items 2022-09-14 10:31:22 +02:00
Maxime NATUREL
92888b666c Adding extra top margin between sections 2022-09-14 10:31:22 +02:00
Maxime NATUREL
bf88c16c9d Show basic details info 2022-09-14 10:31:21 +02:00
Maxime NATUREL
94d1649ec9 Creation of header and content items 2022-09-14 10:31:21 +02:00
Maxime NATUREL
c7099f53c1 Using camelCase syntax for view ids 2022-09-14 10:31:21 +02:00
Maxime NATUREL
51fba85a3a Using buildString{} inline method to improve readability 2022-09-14 10:31:21 +02:00
Maxime NATUREL
3970c2ec31 Using setTextOrHide() extension method inside SessionInfoView 2022-09-14 10:31:21 +02:00
Maxime NATUREL
15cf8b63a0 Using unwrap() extension method 2022-09-14 10:31:21 +02:00
Maxime NATUREL
9553fe0648 Using a ScrollView for the Session overview screen 2022-09-14 10:31:21 +02:00
Maxime NATUREL
a661f9c3fb Navigation from session overview to session details 2022-09-14 10:31:21 +02:00
Maxime NATUREL
4a89fcea14 Adding basic structure for the new screen 2022-09-14 10:31:21 +02:00
Benoit Marty
8dbfafb324
Merge pull request #7102 from vector-im/feature/eric/double-space-click-fix
Fixes Crash On Double Click Of Space FABs
2022-09-14 10:15:08 +02:00
ericdecanini
34303c4a62 Removes inject constructor in NewChatBottomSheet 2022-09-13 16:27:29 -04:00
ericdecanini
85f16e8dfa Adds API 30 compatible method 2022-09-13 16:21:36 -04:00
Onuray Sahin
2763ebdd5a Merge branch 'develop' into feature/ons/device_manager_filter
# Conflicts:
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/DevicesAction.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/DevicesViewModel.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/DevicesViewState.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/GetCurrentSessionCrossSigningInfoUseCase.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
2022-09-13 17:20:44 +03:00
Onuray Sahin
b5c6f60ee6 Scroll to top on filter type changed. 2022-09-13 16:35:30 +03:00
Onuray Sahin
42ade670da Navigate to session details on click. 2022-09-13 13:47:38 +03:00
Onuray Sahin
0ec67c1ab8 Implement clear filter. 2022-09-13 13:10:03 +03:00
ericdecanini
8fc201121d Adds min height to new chat 2022-09-12 17:44:59 -04:00
ericdecanini
662d77cb7e Adds min height to space sheet 2022-09-12 17:40:22 -04:00
ericdecanini
8177d9777c Fixes crash on double click of space fabs 2022-09-12 12:26:57 -04:00
Benoit Marty
7f766eef2a
Merge pull request #7092 from pt2121/pt/5424-qr
Fix add by QR code layout (#5424)
2022-09-12 17:28:17 +02:00
Benoit Marty
6ac4d58636
Merge pull request #7098 from vector-im/sync-emojis
Sync Emojis
2022-09-12 17:24:58 +02:00
Benoit Marty
ec0770434d
Merge pull request #7035 from vector-im/feature/bma/space_response_model
Space response model
2022-09-12 17:24:10 +02:00
Nikita Fedrunov
da83a85f74
new app layout's room list overhaul (#7101) 2022-09-12 16:47:32 +02:00
bmarty
0c4707c315 Sync Emojis 2022-09-12 00:06:34 +00:00
Prat T
73eb63a35e
Fix add by QR code layout (#5424)
Signed-off-by: Prat T <pt2121@users.noreply.github.com>
2022-09-10 10:53:34 -07:00
Benoit Marty
e19647f6ca Firebase provides Map<String, String?> 2022-09-09 16:33:57 +02:00
Benoit Marty
bdff23a74d update doc 2022-09-09 15:59:34 +02:00
Benoit Marty
d9ad9859ec Format 2022-09-09 15:59:34 +02:00
Benoit Marty
7c4527fba6 Fix test - no need to use Moshi to parse FCM Push data. 2022-09-09 15:59:34 +02:00
Benoit Marty
f88039b7fd
Merge pull request #7068 from p1gp1g/fix/fcm-push2
Use firebaseReceiver with FCM
2022-09-09 09:46:06 +02: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
sim
a17a4fe4b1 Add logs for invalid push data 2022-09-08 17:16:55 +02:00
sim
3e12907b26 Parse pushData in the push receiver 2022-09-08 16:25:48 +02:00
NIkita Fedrunov
4222c7c7c4 changed to only restart home activity when resumed with different app layout flag state 2022-09-08 16:24:34 +02:00
NIkita Fedrunov
cb36ef766c restart app when app layout flag is changed 2022-09-08 16:14:57 +02:00
sim
bc5309b5d7 Rename VectorMessagingReceiver to VectorUnifiedPushMessagingReceiver 2022-09-08 15:40:06 +02:00
sim
dbea1726ec Rename VectorMessagingHelper to VectorPushHandler 2022-09-08 15:38:52 +02:00
sim
2527dbbeb2 Rename FirebaseReceiver to VectorFirebaseMessagingService 2022-09-08 15:37:18 +02:00
Benoit Marty
de17c47a7d
Merge pull request #7038 from vector-im/feature/eric/new-layout-labs
New Layout - Labs Flag (to replace feature flag)
2022-09-08 14:35:38 +02:00
Onuray Sahin
ab4ebc7f11 List devices. 2022-09-08 13:47:07 +03:00
sim
65654e7e8a Lint 2022-09-08 12:21:11 +02:00
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
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
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
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
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
Maxime NATUREL
2592bc3772 RefreshDevicesOnCryptoDevicesChangeUseCase unit tests 2022-09-07 09:44:48 +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
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
Onuray Sahin
392cbeca8a Fix UI styles. 2022-09-06 18:13:03 +03: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
Onuray Sahin
39364a68b1 Navigate to other sessions screen. 2022-09-06 17:46:56 +03:00
Onuray Sahin
3bfeaa764c Create other sessions activity. 2022-09-06 17:23:03 +03:00
Onuray Sahin
604b7dafbd Create other sessions fragment. 2022-09-06 17:09:07 +03: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
Onuray Sahin
5485b9a530 Implement device manager filter bottom sheet. 2022-09-06 15:56:50 +03: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
Onuray Sahin
8ac876380b Create filter bottom sheet layout. 2022-09-06 14:49:33 +03: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
ericdecanini
05f7850a01 Adds space name to expand / collapse chevron content description in space bottom sheet 2022-09-05 20:28:11 +02:00
NIkita Fedrunov
61cf3c3125 review changes 2022-09-05 18:56:43 +02:00
ericdecanini
5e00fe54ae Fixes bg and divider colors and top margin of recents 2022-09-05 18:39:12 +02:00
Nikita Fedrunov
efe5eb0501
App layout Home screen empty states (#7007) 2022-09-05 18:11:25 +02:00
ericdecanini
ad49b4513c Fixes recents background color not matching app bar 2022-09-05 18:07:22 +02:00
Jorge Martin Espinosa
ae653eb672
Catch race condition while recording voice audio (#7009) 2022-09-05 15:57:16 +00:00
ericdecanini
896895b43e Fixes sync state not visible in new layout 2022-09-05 17:46:17 +02:00
Benoit Marty
7879289877 Remove useless field. They are defined in vector-app now. 2022-09-05 17:35:03 +02:00
NIkita Fedrunov
ecd1776085 removed obsolete cast 2022-09-05 16:51:38 +02:00
Nikita Fedrunov
b37996e4c3
space switcher empty spaces (#6988) 2022-09-05 16:11:50 +02:00
NIkita Fedrunov
8314eb71c0 Merge branch 'develop' into feature/nfe/invites_empty_state 2022-09-05 12:32:01 +02:00
Artjom König
098fac635d
Merge branch 'vector-im:develop' into develop 2022-09-05 12:06:19 +02:00
Maxime NATUREL
838064dad3 Update unit tests 2022-09-05 09:50:16 +02:00
Maxime NATUREL
af484813b5 Rendering inactive status in SessionInfoView 2022-09-05 09:40:02 +02:00
Maxime NATUREL
9dcb2b31a3 Fix post rebase 2022-09-05 09:19:14 +02:00
Maxime NATUREL
bbe238e9c6 Adding last seen details + fix observation of wrong deviceId in ViewModel 2022-09-05 09:13:13 +02:00
Maxime NATUREL
3eaf5f7fe0 Adding learn more link in verification status details 2022-09-05 09:13:13 +02:00
Maxime NATUREL
384c118b8d Unit tests for computing trust level of device 2022-09-05 09:13:13 +02:00
Maxime NATUREL
af985d9b1f Unit tests for GetCurrentSessionCrossSigningInfoUseCase 2022-09-05 09:13:13 +02:00
Maxime NATUREL
31c908c873 Updating existing unit tests 2022-09-05 09:13:12 +02:00
Maxime NATUREL
30710f7f15 Navigation from other session item 2022-09-05 09:13:12 +02:00
Maxime NATUREL
b626a1e4f9 Show info in overview screen 2022-09-05 09:13:12 +02:00
Maxime NATUREL
7c32884df5 Renaming CurrentSessionView into SessionInfoView to be more generic 2022-09-05 09:13:12 +02:00
Maxime NATUREL
ca70eddaf5 Introducing some reusable usecases 2022-09-05 09:13:12 +02:00
Maxime NATUREL
412fda27af Adding unit tests for viewModel 2022-09-05 09:13:12 +02:00
Maxime NATUREL
40d716d099 Adding unit tests for the new use case 2022-09-05 09:13:12 +02:00
Maxime NATUREL
13626a161a Adding use case to get full device info for a given device id 2022-09-05 09:13:12 +02:00
Maxime NATUREL
eb64b376f4 Small renamings/reorganization in CryptoService 2022-09-05 09:13:12 +02:00
Maxime NATUREL
862edffcee Renaming view state 2022-09-05 09:13:12 +02:00
Maxime NATUREL
a1102738d0 Unit tests for navigator 2022-09-05 09:13:12 +02:00
Maxime NATUREL
ba1549048d Navigation from current session 2022-09-05 09:13:12 +02:00
Maxime NATUREL
ed3bd871ea Renaming header list view to be consistent 2022-09-05 09:13:12 +02:00
bmarty
0f4deb7067 Sync analytics plan 2022-09-05 00:03:36 +00:00
Prat T
6917e97f49
Suggest @room when @channel, @everyone, or @here is typed in composer (#6529)
Signed-off-by: Prat T <pt2121@users.noreply.github.com>
2022-09-03 17:26:45 -07:00
Maxime NATUREL
9dc0a36ca0 Apply correct tint to inactive status drawable 2022-09-02 16:15:42 +02:00
Maxime NATUREL
c53a8f3288 Creation of a viewState for the SecurityRecommendationView 2022-09-02 16:15:42 +02:00
Maxime NATUREL
fbff8d6408 Use a different date format when device is inactive 2022-09-02 16:15:42 +02:00
Artjom König
7991684fc8
Merge branch 'vector-im:develop' into develop 2022-09-02 16:05:45 +02:00
Maxime NATUREL
5791a4d3cd Using plurals when needed 2022-09-02 15:00:53 +02:00
Maxime NATUREL
2b50208a23 Post rebase fix 2022-09-02 14:37:49 +02:00
Onuray Sahin
8d378408c5 Code review fixes. 2022-09-02 14:28:28 +02:00
Onuray Sahin
ed1244aa8f Fix description of inactive sessions. 2022-09-02 14:28:27 +02:00
Onuray Sahin
396da93a93 Test inactive sessions use case. 2022-09-02 14:28:27 +02:00
Onuray Sahin
aeb64892fa Move inactive session logic into use case. 2022-09-02 14:28:27 +02:00
Onuray Sahin
abd826561d Fix image background. 2022-09-02 14:28:27 +02:00
Onuray Sahin
32f1a660f5 Format layout. 2022-09-02 14:28:27 +02:00
Onuray Sahin
58846038ce Render security recommendations. 2022-09-02 14:28:25 +02:00
Onuray Sahin
c23a4e4601 Implement security recommendation view class. 2022-09-02 14:28:01 +02:00
Onuray Sahin
e6c9409156 Create generic security recommendations view. 2022-09-02 14:28:01 +02:00
Onuray Sahin
7e8bbda856 Create security recommendations view layout. 2022-09-02 14:28:01 +02:00
Onuray Sahin
55d0a06fc1 Create security recommendations section header. 2022-09-02 14:27:59 +02:00
dependabot[bot]
da73550493
Bump android-embedded_fcm_distributor from 2.1.2 to 2.1.3
Bumps android-embedded_fcm_distributor from 2.1.2 to 2.1.3.

---
updated-dependencies:
- dependency-name: com.github.UnifiedPush:android-embedded_fcm_distributor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 23:10:39 +00:00
Adam Brown
bddb37ef7a
Merge pull request #6981 from vector-im/feature/adm/allow-optional-emails
Allowing optional email registration
2022-09-01 16:30:20 +01:00
Adam Brown
22ce829645 moving all the strings to a dedicated libray/strings module 2022-09-01 14:58:07 +01:00
Adam Brown
b632d95086 removing extra change_space string 2022-09-01 14:56:39 +01:00
Weblate
a6f2549ad9 Merge branch 'origin/develop' into Weblate. 2022-09-01 12:51:27 +00:00
Benoit Marty
ed13177376
Merge pull request #6982 from p1gp1g/fix/autoplay-sticker
Fix autoplayed animated sticker
2022-09-01 14:43:23 +02:00
NIkita Fedrunov
5003459962 empty state for new invites screen 2022-09-01 14:39:13 +02:00
Adam Brown
81f6f768fb formatting function arguments to be on separate lines 2022-09-01 12:46:49 +01:00
phardyle
43b96b64e5 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-09-01 06:32:45 +00:00
Nui Harime
2bbf28aa17 Translated using Weblate (Russian)
Currently translated at 99.0% (2321 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-09-01 06:32:45 +00:00
Johan Smits
795439a40d Translated using Weblate (Dutch)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-09-01 06:32:43 +00:00
Vri
778da5bb3a Translated using Weblate (German)
Currently translated at 99.2% (2327 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-09-01 06:32:42 +00:00
sim
45f44bd1af Improve sticker visibility
Increase its size and set timestamp inside
2022-08-31 23:06:40 +02:00
sim
8e362f6919 Hide playContentView for autoplayed animated stickers 2022-08-31 23:06:32 +02:00
Jorge Martín
3ef3e3760d Fix crash on PIN code settings screen 2022-08-31 20:06:32 +02:00
Adam Brown
62e8beadf8 allowing optional emails
- when the email stage is non mandatory, email emails are treated as a dummy step, as per the legacy flow
2022-08-31 17:40:35 +01:00
Benoit Marty
318352f1bd
Merge pull request #6978 from vector-im/feature/bma/null_room
Fix crash when opening an unknown room
2022-08-31 17:51:13 +02:00
Onuray Sahin
6341cf92a3
Merge pull request #6946 from vector-im/feature/ons/device_manager_other_session_list
[Device Manager] Render other sessions (PSG-668)
2022-08-31 17:01:20 +03:00
Benoit Marty
fe42cdc582 Fix formatting issue. 2022-08-31 15:39:19 +02:00
Benoit Marty
0950e41526
Merge pull request #6967 from vector-im/feature/bma/fix_crashes
Fix crashes
2022-08-31 15:25:57 +02:00
Benoit Marty
1ced47fbd2 Display an error message when the room is not known. 2022-08-31 15:13:45 +02:00
Benoit Marty
f56f4e1160 Make room and timeline nullable. Sometimes use initialState.roomId instead of room.roomId. 2022-08-31 11:58:43 +02:00
Benoit Marty
388cb16481 Remove unused method 2022-08-31 11:15:58 +02:00
Benoit Marty
3ed66d636b Rework: avoid shortcut to access ViewModel state. 2022-08-31 11:15:32 +02:00
Benoit Marty
b6deff8a0b Remove useless code. Returned value is not used. observeRoomSummary() is called a few lines above. 2022-08-31 11:11:27 +02:00
Benoit Marty
36e3abece6 Handle missing external application when trying to Record a Video or on other cases.
https://github.com/matrix-org/element-android-rageshakes/issues/42362
2022-08-31 10:41:05 +02:00
Benoit Marty
98ce9899ff Fix incorrectly caught exception 2022-08-31 10:41:05 +02:00
Adam Brown
177049ba91 merging with develop 2022-08-31 09:16:01 +01:00
Adam Brown
18a9846071 moving application based tests to the vector-app module
- they require the VectorApplication to trigger
2022-08-31 09:16:01 +01:00
Adam Brown
7837252f5f applying missing nightly build type config 2022-08-31 09:16:01 +01:00
Adam Brown
713e1ef2ed merging with develop 2022-08-31 09:16:01 +01:00
Adam Brown
d2ca4edc6d lifting the application launcher colour to the application module 2022-08-31 09:16:01 +01:00
Adam Brown
c7f945c8b5 lifting the application config and icon to the application module 2022-08-31 09:16:00 +01:00
Adam Brown
cfe5a4d212 using entry point instead of manually fetching fields from application 2022-08-31 09:16:00 +01:00
Adam Brown
5c994ebfdd lifting the phonenumber dependency to the deps file and exposing as api for the app level module 2022-08-31 09:16:00 +01:00
Adam Brown
2d61e71409 using the vector-app module to handle recursively applying lint 2022-08-31 09:16:00 +01:00
Adam Brown
4d3e21d046 reusing lint file 2022-08-31 09:16:00 +01:00
Adam Brown
615ab414ff moving imports around to match application/library split 2022-08-31 09:16:00 +01:00
Adam Brown
ad398d8caa moving font certs file to the module that uses it 2022-08-31 09:16:00 +01:00
Adam Brown
1ff340b018 lifting the manifest provider references to the app module manifest 2022-08-31 09:16:00 +01:00
Adam Brown
ddaaa1aaeb avoid clashing buildconfig and moving placeholders to the modules which uses them 2022-08-31 09:16:00 +01:00
Adam Brown
2e81056b1e adding library support for the android-stem plugin 2022-08-31 09:16:00 +01:00
Adam Brown
f0bc18d5ca introducing vector-app module to act as the top level application 2022-08-31 09:16:00 +01:00
Adam Brown
fc8aa16105 using build meta for application id 2022-08-31 09:16:00 +01:00
Adam Brown
bbbea4f316 using non final id reference for stub id, ids in library modules are not final 2022-08-31 09:16:00 +01:00
Nikita Fedrunov
657796c8b5
new app layout is enabled (#6959) 2022-08-31 10:06:01 +02:00
Eric Decanini
b0fb1f908e
Space Switching: Space Invites (#6924) 2022-08-30 15:30:51 +02:00
Onuray Sahin
357a859cdc Cleanup recyclerview. 2022-08-30 16:28:02 +03:00
Onuray Sahin
ec85199250 Code review fixes. 2022-08-30 15:51:53 +03:00
Onuray Sahin
66fa5ca98e Code review fixes. 2022-08-30 15:47:00 +03:00
Adam Brown
3319ed95dd
Merge pull request #6953 from vector-im/dependabot/gradle/com.github.UnifiedPush-android-embedded_fcm_distributor-2.1.2
Bump android-embedded_fcm_distributor from 2.1.1 to 2.1.2
2022-08-30 08:55:38 +01:00
Nikita Fedrunov
14e3753183
fabs are moved from HomeRoomListFragment to NewHomeDetailFragment (#6943) 2022-08-29 13:26:39 +02:00
Nikita Fedrunov
84d938da94
fixed invites count badge bottom margin on a home screen (#6948) 2022-08-29 10:17:27 +02:00
Eric Decanini
6af5f9ed7f
Fixes debug icon not showing (#6951) 2022-08-29 09:55:59 +02:00
Auri B. P
19f17d161c Translated using Weblate (Catalan)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-08-27 13:32:40 +00:00
dependabot[bot]
8bc32a2f73
Bump android-embedded_fcm_distributor from 2.1.1 to 2.1.2
Bumps [android-embedded_fcm_distributor](https://github.com/UnifiedPush/android-embedded_fcm_distributor) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/UnifiedPush/android-embedded_fcm_distributor/releases)
- [Commits](https://github.com/UnifiedPush/android-embedded_fcm_distributor/compare/2.1.1...2.1.2)

---
updated-dependencies:
- dependency-name: com.github.UnifiedPush:android-embedded_fcm_distributor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-26 23:10:44 +00:00
Eric Decanini
b5debe92c0
Merge pull request #6877 from vector-im/feature/eric/new-layout-navigation
Space Switching Back Navigation
2022-08-26 17:40:18 +02:00
Onuray Sahin
dc99c1122d
Merge pull request #6903 from vector-im/feature/ons/device_manager_current_session
[Device Manager] Render current session (PSG-668)
2022-08-26 16:22:46 +03:00
Adam Brown
fdc2e1c3c3
Merge pull request #6941 from vector-im/feature/adm/invalid-space-command-parsing
Fixing /joinSpace and /addToSpace commands
2022-08-26 14:15:38 +01:00
ericdecanini
f62271354e Removes unused variable 2022-08-26 15:08:25 +02:00
ericdecanini
95b37e2838 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation
# Conflicts:
#	vector/src/main/java/im/vector/app/features/spaces/NewSpaceSummaryController.kt
2022-08-26 14:06:11 +02:00
Eric Decanini
b67c3ce40b
Merge pull request #6907 from vector-im/feature/eric/accordion-bottom-sheet
Space Switching: Accordion-Style Bottom Sheet
2022-08-26 14:04:52 +02:00
Onuray Sahin
2c6c23da9c Merge branch 'feature/ons/device_manager_current_session' into feature/ons/device_manager_other_session_list
* feature/ons/device_manager_current_session: (169 commits)
  new app layouts invites (#6911)
  bottom navigation tabs are removed for AppLayout (#6905)
  focus input when changing server address
  Fix copyright
  Improve createRoomThreePidEvents for clarity
  Remove roomCreatorUserId and use current userId by default
  Remove useless explicit field type
  Change visibility of LocalRoomThirdPartyInviteContent to internal
  Remove useless apply in CreateLocalRoomStateEventsTask
  Update doc
  Extract condition to reduce code complexity
  Verify tombstone event
  Remove safe call
  Add unit tests for CreateRoomFromLocalRoomTask
  Add unit tests for CreateLocalRoomStateEventsTask
  Set stateKey as empty by default
  Create local room state events in dedicated task
  Fix local events generation following the specification
  Update CreateRoomParams from the potential FeaturePreset before persisting
  Persists CreateRoomParams into LocalRoomSummaryEntity
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
2022-08-26 14:47:09 +03:00
Onuray Sahin
7a3a5ae30d Merge branch 'develop' into feature/ons/device_manager_current_session
* develop: (169 commits)
  new app layouts invites (#6911)
  bottom navigation tabs are removed for AppLayout (#6905)
  focus input when changing server address
  Fix copyright
  Improve createRoomThreePidEvents for clarity
  Remove roomCreatorUserId and use current userId by default
  Remove useless explicit field type
  Change visibility of LocalRoomThirdPartyInviteContent to internal
  Remove useless apply in CreateLocalRoomStateEventsTask
  Update doc
  Extract condition to reduce code complexity
  Verify tombstone event
  Remove safe call
  Add unit tests for CreateRoomFromLocalRoomTask
  Add unit tests for CreateLocalRoomStateEventsTask
  Set stateKey as empty by default
  Create local room state events in dedicated task
  Fix local events generation following the specification
  Update CreateRoomParams from the potential FeaturePreset before persisting
  Persists CreateRoomParams into LocalRoomSummaryEntity
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
2022-08-26 13:45:47 +03:00
Onuray Sahin
eaf7da8e6e Render other sessions. 2022-08-26 12:59:01 +03:00
Onuray Sahin
eb86a4f33c Refactor layout files. 2022-08-26 12:57:20 +03:00
Onuray Sahin
01bce5658b Calculate trust level for shield in viewmodel. 2022-08-26 12:53:30 +03:00
Adam Brown
da2eddd857
Merge pull request #6927 from noantiq/develop
FTUE: Make entering a custom Homeserver address faster by focusing the input
2022-08-26 10:43:13 +01:00
phardyle
775f584ff8 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-08-26 08:32:55 +00:00
phardyle
7a53aede85 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-26 08:32:55 +00:00
Ihor Hordiichuk
dc51181ab4 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-08-26 08:32:53 +00:00
Jozef Gaal
0aa61a656f Translated using Weblate (Slovak)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-08-26 08:32:51 +00:00
lvre
be8bcfb9e7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-08-26 08:32:50 +00:00
Piotr Strebski
065e55aa7f Translated using Weblate (Polish)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-08-26 08:32:49 +00:00
random
332effd33d Translated using Weblate (Italian)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-08-26 08:32:47 +00:00
Linerly
235c4ca5ee Translated using Weblate (Indonesian)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-08-26 08:32:45 +00:00
Glandos
833f87ffcb Translated using Weblate (French)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-08-26 08:32:44 +00:00
Danial Behzadi
c63538a01a Translated using Weblate (Persian)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-08-26 08:32:43 +00:00
Priit Jõerüüt
83da82ce0b Translated using Weblate (Estonian)
Currently translated at 99.6% (2336 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-08-26 08:32:41 +00:00
Vri
4e56f66112 Translated using Weblate (German)
Currently translated at 98.0% (2298 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-08-26 08:32:40 +00:00
waclaw66
22b0a23d26 Translated using Weblate (Czech)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-08-26 08:32:39 +00:00
Florian Renaud
e43bc88a4d
Merge pull request #6127 from vector-im/feature/fre/start_dm_on_first_msg_impl
Create the DM when sending an event
2022-08-26 09:15:34 +02:00
ericdecanini
457157995a Removes unused import 2022-08-25 17:19:39 +02:00
Nikita Fedrunov
70cfe00271
new app layouts invites (#6911) 2022-08-25 16:34:04 +02:00
ericdecanini
d8398c279c Adds content description to fix lint warning 2022-08-25 16:32:31 +02:00
Adam Brown
493d9240c2 parsing the space commands by checking for the size and last segment to find the space id to join/add to 2022-08-25 15:30:43 +01:00
ericdecanini
a5536ab894 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/NewHomeDetailFragment.kt
2022-08-25 16:15:53 +02:00
Nikita Fedrunov
225d05e0be
bottom navigation tabs are removed for AppLayout (#6905) 2022-08-25 15:59:38 +02:00
Timuçin Boldt
b2212a7e2b
focus input when changing server address 2022-08-25 14:52:16 +02:00
ericdecanini
51ccd43724 Removes change space from strings xml 2022-08-25 14:16:20 +02:00
Florian Renaud
69917ebc2e Start DM - Handle third party invites 2022-08-25 13:57:49 +02:00
Florian Renaud
72896f1c8a Create the DM when sending an event 2022-08-25 13:57:49 +02:00
Nikita Fedrunov
da70d520bc
fixed space switching dialog measured with wrong height sometimes (#6928) 2022-08-25 10:49:44 +02:00
sim
e2646c3243 Remove never-matched if 2022-08-25 09:05:57 +02:00
sim
42c580c249 Add comments 2022-08-25 09:05:57 +02:00
sim
a4dd08ddb3 Always use register to open the distributor dialog
The forced unregistration always happens in register
function
2022-08-25 09:05:57 +02:00
sim
02d54878c3 Set distributor dialog always cancelable
ATM, it uses the default fallback if cancelled
2022-08-25 09:05:57 +02:00
ericdecanini
64894d4443 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/NewHomeDetailFragment.kt
2022-08-24 20:25:02 +02:00
ericdecanini
e9120c8e33 Changes content description of chevron based on expanded state 2022-08-24 20:22:46 +02:00
Jeff Huang
e523699cfe Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-08-24 04:43:05 +00:00
Benoit Marty
d7b2cc095a Format fixes. 2022-08-23 18:49:16 +02:00
Benoit Marty
c494644abf Inject AvatarRenderer normally. 2022-08-23 18:49:16 +02:00
Benoit Marty
80b3c45928 Create a GalleryOrCameraDialogHelperFactory 2022-08-23 18:49:16 +02:00
Benoit Marty
8555758911 Remove the FragmentFactory reference 2022-08-23 18:49:16 +02:00
Benoit Marty
22db6b4619 Use @AndroidEntryPoint for all Fragment 2022-08-23 18:49:16 +02:00
Benoit Marty
997336ec5d No need to Inject constructor 2022-08-23 18:47:23 +02:00
Benoit Marty
5f0b26ae39 Remove FragmentModule 2022-08-23 18:47:23 +02:00
Benoit Marty
d85a16482e
Merge pull request #6700 from vector-im/sync-analytics-plan
Sync analytics plan
2022-08-23 17:14:02 +02:00
Benoit Marty
973a5f1d6e Version++ 2022-08-23 17:02:24 +02:00
Onuray Sahin
248c05f4e2 Create other session item layout. 2022-08-23 17:20:37 +03:00
Onuray Sahin
ec5d950b7b Fix current session device name. 2022-08-23 17:20:01 +03:00
Onuray Sahin
2648771196 Create custom view for other sessions. 2022-08-23 17:19:03 +03:00
Benoit Marty
1c8fccad30
Merge pull request #6908 from vector-im/feature/bma/fix_crash
Fix crash when signing out.
2022-08-23 15:07:55 +02:00
Benoit Marty
94e755552c
Merge pull request #6888 from vector-im/feature/adm/change-server-on-error
FTUE - Allow changing server on onboarding start error
2022-08-23 15:05:51 +02:00
Onuray Sahin
d072ab1f37 Create layout for other session list. 2022-08-23 14:36:00 +03:00
Benoit Marty
9e0340bbea Remove unused strings 2022-08-23 12:13:47 +02:00
Benoit Marty
caf3308ea7 Fix lint issue 2022-08-23 11:24:54 +02:00
ericdecanini
d7daca9150 Replaces try catch back handling with check for backstack root 2022-08-23 10:36:52 +02:00
Weblate
3a44c7ce93 Merge branch 'origin/develop' into Weblate. 2022-08-23 08:12:46 +00:00
Metehan Özyürek
692f04496b Translated using Weblate (Turkish)
Currently translated at 66.2% (1544 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/tr/
2022-08-23 08:12:37 +00:00
ericdecanini
ace2c672ed Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation 2022-08-23 10:00:55 +02:00
Eric Decanini
2830664dbb
Merge pull request #6868 from vector-im/feature/eric/space-settings
Space Switching: Adds Toolbar Click To Open Space Settings
2022-08-23 09:59:09 +02:00
Adam Brown
d7bc43584d adding tests around forwarding to the edit server selection when the initial server selection fails 2022-08-22 17:24:11 +01:00
Adam Brown
b50b6daca1 using wider range network error when deciding to forward to the edit server instead of just unknown host
- will also capture timeouts
2022-08-22 17:24:11 +01:00
Adam Brown
4cc0b81c86 removing deeplink error handling as its now covered by the edit server flow instead 2022-08-22 17:24:11 +01:00
Adam Brown
cdf75be0ec redirecting to the edit server screen when attempting to select the initial homeserver choice and it fails 2022-08-22 17:24:10 +01:00
Adam Brown
0be46adfda
Merge pull request #6862 from vector-im/feature/adm/ftue-fragment-crashes
FTUE - Crash fixes
2022-08-22 17:21:31 +01:00
Benoit Marty
32bfaf8868 Fix crash when signing out.
At this point, we do not want the sync to start, the DB is already deleted.
2022-08-22 16:16:27 +02:00
Onuray Sahin
ff22d124b4 Fix lit error. 2022-08-22 15:59:01 +03:00
ericdecanini
edb2d5d78e Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/HomeActivity.kt
#	vector/src/main/java/im/vector/app/features/home/NewHomeDetailFragment.kt
2022-08-22 14:56:14 +02:00
ericdecanini
8892fac062 Adds content description to space chevrons 2022-08-22 14:41:48 +02:00
ericdecanini
4c404ca4ce Removes max depth on subspaces 2022-08-22 14:34:44 +02:00
ericdecanini
a1c79f8c13 Removes drag and drop repositioning for spaces 2022-08-22 14:31:29 +02:00
ericdecanini
4bbc04a838 Refactors space controller and items 2022-08-22 14:09:54 +02:00
Artjom König
6452a95e0a clean up pin code and biometrics on logout 2022-08-22 14:08:29 +02:00
Onuray Sahin
d4d7d07217 Fix lint error for unused resources. 2022-08-22 14:51:15 +03:00
ericdecanini
16efec9d1e Adds accordion-style space sheet 2022-08-22 13:46:14 +02:00
Adam Brown
9b57630eae
Merge pull request #6873 from vector-im/feature/adm/allow-trusting-certificates
FTUE - Fix trusting certificates during edit server flow
2022-08-22 11:47:50 +01:00
Adam Brown
7211c9c08e
Merge pull request #6890 from vector-im/feature/adm/missing-notifications-on-login
Missing push notifications on login
2022-08-22 11:14:28 +01:00
Benoit Marty
e86058b299
Merge pull request #6884 from vector-im/feature/bma/sync_thread_investigation
Ensure sync thread is started
2022-08-22 12:09:54 +02:00
Onuray Sahin
ba6aee2e81 Change text color according to verification status. 2022-08-22 13:00:31 +03:00
Onuray Sahin
042f24c749 Render current session. 2022-08-22 12:10:33 +03:00
Benoit Marty
6a62fb1d84 Use new analytics value ViewRoom.Trigger.Shortcut 2022-08-22 10:49:07 +02:00
Benoit Marty
b90fa1a9ca
Merge pull request #6881 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.54
Bump libphonenumber from 8.12.53 to 8.12.54
2022-08-22 10:07:52 +02:00
Adam Brown
d405a66443
Merge pull request #6834 from vector-im/feature/adm/ftue-empty-identity-providers
Allow empty SSO `identity_providers`
2022-08-22 08:44:31 +01:00
dependabot[bot]
8a2894f038
Bump libphonenumber from 8.12.53 to 8.12.54
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.53 to 8.12.54.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.53...v8.12.54)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 05:58:19 +00:00
bmarty
dd8cf39082 Sync analytics plan 2022-08-22 00:04:01 +00:00
networkException
5fede491ee
ImageContentRenderer: Only animate images using ANIMATED_THUMBNAIL mode
This patch removes the dependency on `VectorSettings` as well as only
enable animated rendering if the image is actually playable.

Signed-off-by: networkException <git@nwex.de>
2022-08-21 12:07:55 +02:00
networkException
dccc64384c
Implement Mode.ANIMATED_THUMBNAIL used for autoplaying animated images
This patch introduces a new `ImageContentRenderer` mode used for
autoplaying animated images. The mode shares url resolving semantics
with `FULL_SIZE` and `STICKER`, as such not just fetching thumbnail data
but shares sizing semantics with `THUMBNAIL` (scaling by image height).

This change fixes animated images not playing in cases in which only a
static thumbnail would be loaded.

This new mode will only be chosen if the message content is actually a
playable image, as such limiting bandwith usage to the required amount
by avoiding to load normal images fully (still fetching animated images
will increase bandwith usage as a whole of course).

Signed-off-by: networkException <git@nwex.de>
2022-08-21 12:07:54 +02:00
phardyle
64156ada60 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-21 08:32:37 +00:00
Nui Harime
bb0c1af703 Translated using Weblate (Russian)
Currently translated at 99.0% (2309 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-08-21 08:32:37 +00:00
Glandos
d5dd1fb166 Translated using Weblate (French)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-08-21 08:32:36 +00:00
Adam Brown
0a2ce698be fixing default distributor not being registered on login
- we were saving the default distributor before asking the user, which meant when the user selected the same option it was skipped from being registered
- only unregisters during the force flow, otherwise we'll crash due to no app being registered
2022-08-19 16:57:08 +01:00
Nikita Fedrunov
cc49e96d36
dialpad moved from bottom navigation tab to a separate activity (#6887) 2022-08-19 17:55:43 +02:00
Nikita Fedrunov
0629cae183
added dialog to change app layout settings (#6840) 2022-08-19 17:53:48 +02:00
Benoit Marty
015aaa0516 Log SyncThread state 2022-08-19 15:02:01 +02:00
ericdecanini
add7bd9052 Merge branch 'feature/eric/new-layout-navigation' into feature/eric/new-layout-debug
# Conflicts:
#	vector/src/test/java/im/vector/app/features/navigation/DefaultNavigatorTest.kt
2022-08-19 14:33:49 +02:00
ericdecanini
1bd46e902b Fixes documentation lint errors 2022-08-19 14:33:10 +02:00
ericdecanini
4162eb8e55 Removes space header 2022-08-19 14:23:08 +02:00
Onuray Sahin
d336d1921b Observe view events. 2022-08-19 13:35:15 +03:00
Onuray Sahin
6c725a1a75 Add custom view into the layout. 2022-08-19 12:26:12 +03:00
Onuray Sahin
986bc920fe Create required strings. 2022-08-19 12:25:38 +03:00
Onuray Sahin
4552a3c68d Add required resources. 2022-08-19 12:24:45 +03:00
phardyle
6009578829 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-19 08:42:29 +00:00
Fork Liang
37d46ca729 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-19 08:42:29 +00:00
Benoit Marty
eeeb569ae0 Add prefix to the name of the Thread the app is creating 2022-08-19 10:07:34 +02:00
Benoit Marty
0b1b228524 Fix #6782. Ensure SyncThread is started 2022-08-19 09:55:14 +02:00
ericdecanini
90ab40dccb Merge remote-tracking branch 'origin/develop' into feature/eric/new-chat-bottom-sheet 2022-08-18 17:38:15 +02:00
ericdecanini
2a1483f6a5 Merge remote-tracking branch 'origin/develop' into feature/eric/space-settings 2022-08-18 17:37:56 +02:00
ericdecanini
88fc0afea5 Merge branch 'feature/eric/new-layout-navigation' into feature/eric/new-layout-debug 2022-08-18 17:37:16 +02:00
ericdecanini
fecaf3e360 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation 2022-08-18 17:36:08 +02:00
ericdecanini
58e1fe4c01 Adds DefaultNavigatorTest 2022-08-18 17:15:12 +02:00
ericdecanini
789dffe4df Adds tests related to backstack 2022-08-18 16:51:54 +02:00
Benoit Marty
f5104c7511 Log parameter 2022-08-18 16:44:04 +02:00
Benoit Marty
03d83b2aff Log info about process and thread in the Rageshake 2022-08-18 15:52:19 +02:00
Benoit Marty
4ffab7fc13 API: return String instead of printing out to logcat. 2022-08-18 15:09:48 +02:00
ericdecanini
2fb794dd59 Fixes space header showing "Empty Space" after switching to newly created space 2022-08-18 14:09:22 +02:00
Adam Brown
106fa1b1d5 adding missing fullstops in to docs 2022-08-18 11:51:23 +01:00
Adam Brown
8b70f3a3b9 extracting throwable crawling to extension 2022-08-18 11:41:29 +01:00
Adam Brown
a1a8ccae38 reverting scope of init only variable 2022-08-18 11:41:28 +01:00
Adam Brown
ca10109a65 coverting captcha webview to a viewstub in order to catch errors when the system webview is missing or has been disabled 2022-08-18 11:41:28 +01:00
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
Adam Brown
9a5b21d8f1 allowing the combined registration flow to have state loss as the transaction occurs asynchronusly 2022-08-18 11:41:28 +01:00
Adam Brown
2b382d1249 allowing the combined login flow to have state loss as the transaction occurs asynchronusly 2022-08-18 11:41:28 +01:00
Adam Brown
91176eca22 adding test cases around certificate errors being thrown and mapped 2022-08-18 11:41:19 +01:00
Adam Brown
e4a08d1be1 recreating the homeserver config from the retry action when handle certificate accept action
- adds unit tests around the edit/selection cases
2022-08-18 11:41:19 +01:00
Adam Brown
a6ff10cbaf allowing fingerprint to be passed to the config factory
- which in turn allows the android Uri to be bypassed and a unit test around the direct local certificate case added
2022-08-18 11:41:19 +01:00
Adam Brown
457f7fffee promoting the accept certificate to an explict ViewEvent
- allows a retryAction to be provided to the event to avoid mutatble state within the view model along with providing a clear path of execution
2022-08-18 11:41:19 +01:00
Florian Renaud
519855445e Start DM on first message when selecting "direct message" from the room member details 2022-08-18 11:37:55 +02:00
ericdecanini
2e323e6f2e Makes debug icon hide when collapsing toolbar 2022-08-18 10:09:32 +02:00
Florian Renaud
66092cfa25 Fix broken unit test on emoji search 2022-08-18 09:48:51 +02:00
ericdecanini
0b8c68739e Makes debug settings refresh state onResume in old app layout 2022-08-18 09:43:29 +02:00
ericdecanini
fc76d08186 Makes home activity restart if app layout flag change is detected 2022-08-18 09:22:37 +02:00
ericdecanini
a59011ffd2 Adds debug button to new app layout 2022-08-17 23:33:31 +02:00
ericdecanini
9c47c82da4 Adds click action to toolbar to open space settings 2022-08-17 22:23:39 +02:00
ericdecanini
899673495a Changes copies on sheet actions 2022-08-17 21:42:39 +02:00
ericdecanini
ce8939a092 Merge remote-tracking branch 'origin/develop' into feature/eric/new-chat-bottom-sheet
# Conflicts:
#	vector/src/main/res/values/strings.xml
2022-08-17 21:13:39 +02:00
ericdecanini
f119de43b7 Adds explore rooms option to new chat bottom sheet 2022-08-17 21:12:08 +02:00
Benoit Marty
8857decc87
Merge pull request #6701 from vector-im/sync-emojis
Sync Emojis
2022-08-17 16:32:55 +02:00
Benoit Marty
6c860710bd
Merge pull request #6843 from vector-im/feature/bma/detect_object_log
Fix some string template
2022-08-17 14:37:42 +02:00
Benoit Marty
520d6f9b97
Merge pull request #6854 from vector-im/dependabot/gradle/com.gabrielittner.threetenbp-lazythreetenbp-0.11.0
Bump lazythreetenbp from 0.10.0 to 0.11.0
2022-08-17 14:37:09 +02:00
phardyle
d42b72c8bf Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-17 10:32:36 +00:00
Eric Decanini
b6bcefbb92
Merge pull request #6795 from vector-im/feature/eric/toolbar-space-name
New App Layout: Space name reflected in toolbar
2022-08-17 10:52:07 +02:00
Eric Decanini
4fedafc1be
Merge pull request #6749 from vector-im/feature/eric/space-list-modal
Adds Space List Bottom Sheet
2022-08-17 10:51:56 +02:00
dependabot[bot]
f0dc938fd0
Bump lazythreetenbp from 0.10.0 to 0.11.0
Bumps [lazythreetenbp](https://github.com/gabrielittner/lazythreetenbp) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/gabrielittner/lazythreetenbp/releases)
- [Changelog](https://github.com/gabrielittner/lazythreetenbp/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gabrielittner/lazythreetenbp/compare/0.10.0...0.11.0)

---
updated-dependencies:
- dependency-name: com.gabrielittner.threetenbp:lazythreetenbp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-16 23:11:40 +00:00
eidonia
cd71abeb9f [Bugfix #5029] disable emoji keyboard not applies to reply
Signed-off-by: eidonia <bastien_rambeaud@hotmail.com>
2022-08-16 19:29:14 +02:00
Benoit Marty
ea465a1b86 Fix false positive on string template suspicious usage. 2022-08-16 16:06:08 +02:00
Adam Brown
74d99b156f
Merge pull request #6833 from vector-im/feature/adm/removing-login-poc
Removing `Login2` proof of concept
2022-08-16 13:02:40 +01:00
ericdecanini
8b0fba2ef5 Merge remote-tracking branch 'origin/develop' into feature/eric/space-list-modal
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListFragment.kt
2022-08-16 11:58:25 +02:00
ericdecanini
fc301c8a2e Unifies back and persisted navigation 2022-08-16 11:50:15 +02:00
Benoit Marty
8a4bd0c467
Merge pull request #6805 from vector-im/cgizard/ISSUE-6645
Add inputType for room name creation and settings
2022-08-16 11:05:57 +02:00
ericdecanini
06baae04ed Adds working back navigation 2022-08-16 10:59:32 +02:00
phardyle
d9e440e7ee Translated using Weblate (Chinese (Simplified))
Currently translated at 99.8% (2327 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-16 07:32:35 +00:00
waclaw66
9220ab7718 Translated using Weblate (Czech)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-08-16 07:32:35 +00:00
Onuray Sahin
6c65b0a9e0
Merge pull request #6807 from vector-im/feature/mna/device-management-header-list
[Devices Management] Header view for sessions lists in new layout (PSG-668)
2022-08-15 23:09:53 +03:00
ericdecanini
894d4f700e Makes space bottom sheet header reflect backstack 2022-08-15 20:41:29 +02:00
Adam Brown
497a6e7406 removing unused imports 2022-08-15 14:52:59 +01:00
Onuray Sahin
d92cf04b6f Fix string resource. 2022-08-15 15:33:42 +03:00
Onuray Sahin
54d8c9de48 Remove unnecessary background color. 2022-08-15 15:19:49 +03:00
Adam Brown
4ed8fe0be8 lifting the login buttons view state to a dedicated model to make the fallback more obvious
- Updates tests to take into account the fallback case
2022-08-15 13:00:13 +01:00
Adam Brown
b64c756a23 showing SSO auth view when the SSO providers are null
- this is a valid case where we show a fallback option instead
2022-08-15 12:05:56 +01:00
Adam Brown
d365ccdc21 removing unused login2 resources 2022-08-15 11:51:13 +01:00
Adam Brown
19261ab2d0 removing login2 classes 2022-08-15 11:51:13 +01:00
bmarty
ecfa7db07d Sync Emojis 2022-08-15 00:03:34 +00:00
Nui Harime
44cfa5dcb0 Translated using Weblate (Russian)
Currently translated at 99.0% (2309 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-08-13 17:32:36 +00:00
lvre
302c084701 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-08-13 17:32:36 +00:00
random
557508c7b5 Translated using Weblate (Italian)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-08-13 17:32:36 +00:00
Linerly
6b26e00dd8 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-08-13 17:32:35 +00:00
Szimszon
17ac9f3b57 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-08-13 17:32:35 +00:00
Auri B. P
959a833c23 Translated using Weblate (Catalan)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-08-13 17:32:34 +00:00
ericdecanini
5012f37e6f Refactors space backstack handling 2022-08-12 13:28:01 +02:00
ericdecanini
7ee58ccc88 Fixes back navigation 2022-08-12 13:18:26 +02:00
ericdecanini
d8115a79a4 Adds persisted backstack 2022-08-12 11:17:13 +02:00
Adam Brown
3b7fd2dfde
Merge pull request #6492 from vector-im/dependabot/gradle/com.github.UnifiedPush-android-connector-2.0.1
Bump android-connector from 2.0.0 to 2.0.1
2022-08-11 16:21:47 +01:00
Maxime NATUREL
971ad26deb
Merge pull request #6809 from vector-im/fix/mna/leak-in-call
[Call] Memory leak after a call
2022-08-11 16:44:33 +02:00
Nikita Fedrunov
e0e21d4282
filtered room list at home (#6724) 2022-08-11 16:26:24 +02:00
Claire G
2364b68907 improve configure InputType 2022-08-11 16:13:36 +02:00
Claire G
5bb67ec253 clean imports 2022-08-11 16:01:07 +02:00
Claire G
d9fbc4a011 add autoCapitalize in FormEditTextItem 2022-08-11 15:59:26 +02:00
Maxime NATUREL
8667de423a Unbinding callback from Call screen when view is destroyed 2022-08-11 15:22:20 +02:00
Jeff Huang
467d17ddf9 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-08-11 12:32:35 +00:00
Ihor Hordiichuk
7e8b5479c4 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-08-11 12:32:35 +00:00
Jozef Gaal
36c8877dbe Translated using Weblate (Slovak)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-08-11 12:32:35 +00:00
Nui Harime
a01fe4d8e2 Translated using Weblate (Russian)
Currently translated at 99.0% (2309 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-08-11 12:32:34 +00:00
Linerly
7bc8b42028 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-08-11 12:32:34 +00:00
Danial Behzadi
0cda6af1f6 Translated using Weblate (Persian)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-08-11 12:32:33 +00:00
Priit Jõerüüt
0c10e7a22b Translated using Weblate (Estonian)
Currently translated at 99.6% (2322 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-08-11 12:32:33 +00:00
Maxime NATUREL
60eb9b428d "Learn more" button with click listener 2022-08-11 12:11:14 +02:00
Maxime NATUREL
8f218ce773 Custom header view without "Learn more" 2022-08-11 12:11:14 +02:00
Maxime NATUREL
2158661e77 Fixing title in the settings entry 2022-08-11 12:11:14 +02:00
Maxime NATUREL
fa8f72c909
Merge pull request #6792 from vector-im/feature/mna/enable-leakcanary
Add a developer setting to enable LeakCanary at runtime
2022-08-11 12:10:26 +02:00
Adam Brown
616c16f8c6
Merge pull request #6783 from vector-im/feature/adm/decouple-variants
Decouple `:vector` variants/build types
2022-08-11 10:59:42 +01:00
Claire G
ce23303b97 Add inputType for room name creation and settings 2022-08-11 11:53:43 +02:00
Adam Brown
439224e4de using american english for consistency 2022-08-11 09:32:36 +01:00
Maxime NATUREL
0515303c8c
Merge pull request #6800 from vector-im/feature/mna/new-device-management-screen
[Devices management] Add a feature flag and empty screen for future new layout (PSG-676)
2022-08-11 08:59:57 +02:00
ericdecanini
7a50e25bea Unbolds text 2022-08-10 17:34:16 +02:00
dependabot[bot]
cd929a203e
Bump android-connector from 2.0.0 to 2.0.1
Bumps [android-connector](https://github.com/UnifiedPush/android-connector) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/UnifiedPush/android-connector/releases)
- [Commits](https://github.com/UnifiedPush/android-connector/compare/2.0.0...2.0.1)

---
updated-dependencies:
- dependency-name: com.github.UnifiedPush:android-connector
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-10 14:09:31 +00:00
Maxime NATUREL
3a9aa7472a Fixing wrong view reference in title assignment 2022-08-10 15:44:16 +02:00
Maxime NATUREL
89f31b093e Handling notifications for beacon_info and poll_start events 2022-08-10 15:28:51 +02:00
ericdecanini
4f4d7f111d Adds listeners to FABs 2022-08-10 15:25:33 +02:00
Adam Brown
6526cf3c2e removing unused file, the release flipper proxy instance is provided by the debug module 2022-08-10 14:14:39 +01:00
Maxime NATUREL
2764a6e103 Fixing code formatting issues 2022-08-10 14:57:16 +02:00
Maxime NATUREL
3ff9ab1bc8 Interface for LeakDetector 2022-08-10 14:47:09 +02:00
Maxime NATUREL
250ee1faa1 Moving the new setting inside debug screen 2022-08-10 14:47:08 +02:00
Maxime NATUREL
36c69a46fd Adding way to enable leak canary at runtime 2022-08-10 14:47:08 +02:00
Maxime NATUREL
31a350eea7 Enabling leakcanary on debug builds 2022-08-10 14:47:08 +02: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
Adam Brown
defd848363 updating version for next release cycle 2022-08-10 12:30:38 +01:00
ericdecanini
c0c0f90b04 Adds NewChatBottomSheet 2022-08-10 11:26:25 +02:00
Maxime NATUREL
b9fa4ddfc8 Renaming v2 setting key 2022-08-10 10:54:16 +02:00
Maxime NATUREL
1ebc2a9a8c New empty devices list screen 2022-08-10 10:40:06 +02:00
Maxime NATUREL
db1d0daec0 Adding a new setting entry behind feature flag 2022-08-10 10:40:06 +02:00
Maxime NATUREL
fb0b38bb49 Adding new feature flag for new device management 2022-08-10 10:40:06 +02:00
ericdecanini
358ec5a722 Fixes post merge errors 2022-08-10 08:25:51 +02:00
ericdecanini
e87eefb319 Merge remote-tracking branch 'origin/develop' into feature/eric/space-list-modal
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListFragment.kt
2022-08-10 08:24:55 +02:00
ericdecanini
ddaf5397b1 Removes params passed into HomeRoomListFragment and fixes lint error 2022-08-10 08:24:03 +02:00
Eric Decanini
ce4ab78f13
Merge pull request #6693 from vector-im/feature/eric/new_fab
New App Layout FABs
2022-08-10 08:13:36 +02:00
ericdecanini
9505d196e4 Changes space title in toolbar 2022-08-10 08:10:33 +02:00
Weblate
53e396d337 Merge branch 'origin/develop' into Weblate. 2022-08-09 14:27:46 +00:00
Adam Brown
fe61fa844e
Merge pull request #6784 from vector-im/fix/jorgem/lockscreen-device-locked
Fix lockscreen's 'device locked' crash on Android 12 and 12L devices
2022-08-09 15:18:28 +01:00
ericdecanini
f94aad65dd Merge branch 'feature/eric/new_fab' into feature/eric/space-list-modal
# Conflicts:
#	vector/src/main/res/layout/fragment_room_list.xml
2022-08-09 14:31:39 +02:00
Nikita Fedrunov
6045eac87a
recents carousel for new home screen layout (#6707) 2022-08-09 14:31:26 +02:00
ericdecanini
af04221ad9 Improves content descriptions 2022-08-09 14:30:36 +02:00
ericdecanini
65b7a31728 Fixes toMvRxBundle import 2022-08-09 14:23:56 +02:00
Jorge Martín
9888e15f2a Improve logic to trigger LockScreenViewEvents 2022-08-09 14:04:45 +02:00
Jorge Martín
cc59b9e695 Address review comments. 2022-08-09 14:03:39 +02: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
2f4725cfe9 Prevent crash while validating biometric key. 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
319ec6fbf4 removing now unused gplay resource 2022-08-09 11:25:55 +01:00
Adam Brown
045398d06f fixing import ordering and duplicated documentation 2022-08-09 10:42:44 +01:00
Adam Brown
ed3b73a989 decouples the flavor code / OSS licenses activity launching 2022-08-09 10:32:43 +01:00
ericdecanini
9892c66d27 Fixes lint errors 2022-08-09 10:54:28 +02:00
ericdecanini
7b61460fa2 Merge branch 'feature/eric/new_fab' into feature/eric/space-list-modal 2022-08-09 10:52:39 +02:00
ericdecanini
f2c3b5cb43 Merge remote-tracking branch 'origin/develop' into feature/eric/new_fab 2022-08-09 10:51:33 +02:00
Nui Harime
b2d1915227 Translated using Weblate (Russian)
Currently translated at 99.0% (2306 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-08-08 23:32:32 +00:00
Adam Brown
0c61595ace decoupling the fcm helper from the vector module 2022-08-08 18:05:04 +01:00
Adam Brown
f605e0c479 decoupling the notification test factory from the vector module 2022-08-08 17:51:08 +01:00
Adam Brown
02286b96b0 decoupling the flipper proxy from the vector module 2022-08-08 17:32:23 +01:00
Adam Brown
8156a646a1 moving debug interfaces to debug package 2022-08-08 17:06:57 +01:00
Adam Brown
19c8b2a630 moving debug menu access to only the debug sourceset and providing an injectable interface to decouple from the direct access 2022-08-08 17:02:08 +01:00
Adam Brown
e02cf61f2f decoupling debug receiver from the variants by introducing vector layer interface 2022-08-08 16:57:51 +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
Adam Brown
dd496dc1a3
Merge pull request #6748 from vector-im/feature/adm/flaky-verification-test
Fixing flaky `CantVerifyTest`
2022-08-08 08:46:29 +01:00
rudmannn
a97addfa3b
replace android:gravity for backward compatibility 2022-08-07 11:14:10 +08:00
Dinh Quang Tuyen
ac047afd27 Translated using Weblate (Vietnamese)
Currently translated at 88.6% (2062 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2022-08-06 15:32:50 +00:00
Jeff Huang
77ae291c15 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-08-06 15:32:50 +00:00
phardyle
ec9199cb18 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-08-06 15:32:49 +00:00
phardyle
e15e941e49 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-06 15:32:49 +00:00
Ihor Hordiichuk
fde0d81c1e Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-08-06 15:32:49 +00:00
Jozef Gaal
2aac0c9d64 Translated using Weblate (Slovak)
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-08-06 15:32:48 +00:00
Nui Harime
05816d00ae Translated using Weblate (Russian)
Currently translated at 99.0% (2306 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-08-06 15:32:47 +00:00
lvre
ee1f294327 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-08-06 15:32:44 +00:00
Przemysław Romanik
a41ad6625e Translated using Weblate (Polish)
Currently translated at 99.6% (2319 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-08-06 15:32:43 +00:00
Johan Smits
721c4c0d9c Translated using Weblate (Dutch)
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-08-06 15:32:42 +00:00
random
804880cc9c Translated using Weblate (Italian)
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-08-06 15:32:42 +00:00
notramo
8cbdd6e130 Translated using Weblate (Hungarian)
Currently translated at 98.8% (2301 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-08-06 15:32:41 +00:00
Glandos
4a3b6baaf7 Translated using Weblate (French)
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-08-06 15:32:38 +00:00
Danial Behzadi
dbbdc1791a Translated using Weblate (Persian)
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-08-06 15:32:37 +00:00
Priit Jõerüüt
7b96597d56 Translated using Weblate (Estonian)
Currently translated at 99.6% (2319 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-08-06 15:32:37 +00:00
Vri
4af4f3f88c Translated using Weblate (German)
Currently translated at 98.6% (2296 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-08-06 15:32:36 +00:00
waclaw66
a56d8a23f5 Translated using Weblate (Czech)
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-08-06 15:32:33 +00:00
Auri B. P
f33e2fd656 Translated using Weblate (Catalan)
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-08-06 15:32:32 +00:00
Mr.Narsus
c2fbb74e4b Translated using Weblate (Arabic)
Currently translated at 42.0% (979 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-08-06 15:32:31 +00:00
Adam Brown
20b3dbc6e6 documenting the rule and reflection helper 2022-08-05 17:55:12 +01:00
ericdecanini
1ffa02c287 Merge remote-tracking branch 'origin/feature/eric/new_fab' into feature/eric/space-list-modal
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListFragment.kt
2022-08-05 17:11:57 +02:00
ericdecanini
1bf36dce92 Merge remote-tracking branch 'origin/develop' into feature/eric/new_fab 2022-08-05 17:11:00 +02:00
ericdecanini
41d859dc5b Merge remote-tracking branch 'origin/develop' into feature/eric/space-list-modal
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/NewHomeDetailFragment.kt
2022-08-05 17:10:36 +02:00
Adam Brown
81897a179e
Merge pull request #6741 from vector-im/feature/adm/focus-errors
FTUE - Focus errors showing on wrong page
2022-08-05 15:12:47 +01:00
ericdecanini
e6508e8a5a Cleans up epoxy class for NewSpaceSummaryItem and adds ellipsize to header 2022-08-05 16:08:05 +02:00
ericdecanini
0567fa3e53 Changes header text of bottom sheet to Change Space 2022-08-05 15:45:53 +02:00
Adam Brown
2683e9209b resetting the analytics datastore via reflection 2022-08-05 14:24:53 +01:00
Nikita Fedrunov
03afd2932c
NewHomeDetailFragment now shows correct list fragment (#6740) 2022-08-05 14:51:47 +02:00
Adam Brown
5864ce4348 adding rule to force a new session to be started for instrumentation tests 2022-08-05 13:08:21 +01:00
ericdecanini
90f2b93763 Appends to comment in SpaceListFragment and refactors SpaceListBottomSheet class name 2022-08-05 12:39:52 +02:00
ericdecanini
a821f34fc0 Adds drag and drop to space list 2022-08-05 12:37:02 +02:00
Adam Brown
b375dd14f7 removing unused line 2022-08-05 11:18:53 +01:00
ericdecanini
0506c9abfd Fixes bottom sheet intermittently not having the correct height 2022-08-05 11:59:22 +02:00
ericdecanini
ff71e69b0e Makes space list work inside spaces 2022-08-05 11:48:11 +02:00
Maxime NATUREL
2dc92caa30
Merge pull request #6712 from vector-im/feature/mna/map-loading-error
[Location Share] Render fallback UI when map fails to load (PSG-607)
2022-08-05 11:17:37 +02:00
Adam Brown
f0bd5dc2dd
Merge pull request #6744 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.53
Bump libphonenumber from 8.12.52 to 8.12.53
2022-08-05 08:45:02 +01:00
dependabot[bot]
30a8f22028
Bump libphonenumber from 8.12.52 to 8.12.53
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.52 to 8.12.53.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.52...v8.12.53)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 23:10:43 +00:00
Maxime NATUREL
65c6e578eb Moving setup of map in onViewCreated + moving reference assignment of MapView 2022-08-04 16:58:28 +02:00
Maxime NATUREL
2b8632ebe7 Adding missing trailing comma 2022-08-04 16:58:28 +02:00
Maxime NATUREL
72377c9e7e Fixing after rebase 2022-08-04 16:58:28 +02:00
Maxime NATUREL
ec5f874a81 Fixing code formatting issues 2022-08-04 16:58:28 +02:00
Maxime NATUREL
008e07d03e Handling map loading error in live location maximized map 2022-08-04 16:58:28 +02:00
Maxime NATUREL
a30076a2ab Creating location.preview package 2022-08-04 16:58:28 +02:00
Maxime NATUREL
6972622bc6 Handling map loading error in timeline 2022-08-04 16:58:28 +02:00
Maxime NATUREL
e0e06c6ac8 Handling map loading error in sharing and preview fragment 2022-08-04 16:58:28 +02:00
Maxime NATUREL
87ca9606b3 Keep the previous loading map error string for timeline 2022-08-04 16:58:28 +02:00
Maxime NATUREL
6572a1a331 Fix missing icon in error view 2022-08-04 16:58:28 +02:00
Maxime NATUREL
b83acf373d Adding error view in preview and sharing fragments 2022-08-04 16:58:28 +02:00
Maxime NATUREL
8f91278d1a Creating custom view for map loading error 2022-08-04 16:58:28 +02:00
Maxime NATUREL
64c25f073c Calling directly the ViewModel clear method instead of using a view action 2022-08-04 16:57:14 +02:00
Maxime NATUREL
81cba3d275 Using ViewModel to handle clearing of audio controller 2022-08-04 16:57:14 +02:00
Maxime NATUREL
8b8a4f3d7b Fixing missing clear on audio tracker listeners 2022-08-04 16:57:14 +02:00
Adam Brown
f40cf13048 fixing login/account creation errors showing when navigating to another screen
- was caused by the lost focus callback being triggered by onPause, fixed by only triggering if the current view is in the resumed state
2022-08-04 14:25:05 +01:00
Adam Brown
99de618bed adding edit text ids so that the content can automatically be restored by the fragment manager 2022-08-04 14:18:03 +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
ericdecanini
79e6dd074a Makes bottom sheet dismiss on space change 2022-08-04 11:41:00 +02:00
ericdecanini
b4ed380caf Finalises home and add bottom sheet buttons 2022-08-03 22:49:21 +02:00
ericdecanini
5d183654b1 Fixes bug where bottom sheet sometimes renders with the wrong height 2022-08-03 21:54:05 +02:00
Maxime NATUREL
bfd9dcbca2
Merge pull request #6681 from vector-im/fix/mna/leak-tab-layout-mediator
[FTUE] Memory leak on FtueAuthSplashCarouselFragment
2022-08-03 14:18:41 +02:00
Adam Brown
4bff816056 fixing auto merge compile error 2022-08-03 08:30:10 +01:00
ericdecanini
aa24debd87 Adds new space list controller 2022-08-02 22:49:58 +02: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
ericdecanini
55d8b6a819 Merge remote-tracking branch 'origin/develop' into feature/eric/space-list-modal 2022-08-02 18:07:34 +02: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
Eric Decanini
e2ed4b4ae1
Merge pull request #6655 from vector-im/feature/eric/app-layout-toolbar
New App Layout Toolbar
2022-08-02 17:44:53 +02:00
ericdecanini
ab4eda18bf Adds SpacesBottomSheet 2022-08-02 17:44:27 +02:00
Maxime NATUREL
a53de92b10
Merge pull request #6688 from vector-im/fix/mna/missing-text-on-map-symbol
[Location sharing] Invisible text on map symbol
2022-08-02 16:38:11 +02:00
Adam Brown
2ee52f2062 fixing import ordering 2022-08-02 15:31:13 +01:00
Adam Brown
d1a63ccd2d removing unused import 2022-08-02 14:32:12 +01:00
Adam Brown
3c1e183ed6 using low privacy log from the vector module for code within vector, instead of the sdk flag 2022-08-02 14:32:12 +01:00
Adam Brown
9b1def3c1d updating variable casing as they're no longer const val or file level 2022-08-02 14:32:12 +01: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
cb59d82846 extracting the notification action ids to their own file 2022-08-02 14:31:46 +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
3d207f93f1 removing unused imports and fixing missing full stop on docs 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
18943e3453 removing unused buildconfig option 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
811b2e8c75 accessing the notification action ids via a dedicated class which builds upon the application id 2022-08-02 14:31:46 +01:00
Adam Brown
9fe3fc69dd extracting the config models to their own files 2022-08-02 14:31:46 +01:00
Adam Brown
cc4aae0f4a replacing DEBUG build config flag with injectable property 2022-08-02 14:31:46 +01:00
Adam Brown
b6d052e58d lifting voip setting to a voip config 2022-08-02 14:31:46 +01:00
Adam Brown
56afac26ad creating a location sharing config for holding the map tiler key 2022-08-02 14:31:46 +01:00
Adam Brown
012485b8e3 lifting the live location sharing build flag to the config along with debug toggle 2022-08-02 14:31:46 +01:00
Adam Brown
f14aabcd22 ports the key sharing strategy to the config 2022-08-02 14:31:46 +01:00
Adam Brown
e795e9da52 porting the onboarding variant selection to the config 2022-08-02 14:31:45 +01:00
Adam Brown
87a8c786f7 moving the voice message limit to the config module 2022-08-02 14:31:24 +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
ericdecanini
b0a9b482e7 Adds issue numbers to unimplemented FAB clicks 2022-08-02 15:18:45 +02:00
Adam Brown
3fe7a9d8d5
Merge pull request #6588 from vector-im/dependabot/gradle/io.gitlab.arturbosch.detekt-1.21.0
Bump io.gitlab.arturbosch.detekt from 1.20.0 to 1.21.0
2022-08-02 12:56:45 +01:00
Maxime NATUREL
c926b4cc69 Fix moving some components to dedicated package 2022-08-02 10:47:38 +02:00
Maxime NATUREL
e311d0e469 Fixing missing cleanUp of the LocationSharingAndroidService 2022-08-02 10:36:32 +02:00
Maxime NATUREL
2c10d9dcaa Fixing missing call to timer.cancel() when view is detached 2022-08-02 10:35:42 +02:00
Maxime NATUREL
f44d8b0b20 Fixing missing call to SymbolManager.onDestroy() 2022-08-02 10:35:42 +02:00
Maxime NATUREL
72e2951c3e Fixing missing cleanUp on RecyclerView 2022-08-02 10:35:42 +02:00
Maxime NATUREL
9781656c1d Fixing leak on bottomSheetController callback 2022-08-02 10:35:42 +02:00
Maxime NATUREL
4f71741107 Fixing leak on OnSymbolClickListener 2022-08-02 10:35:42 +02:00
Maxime NATUREL
49ad37a7f6 Using Duration to have clearer syntax 2022-08-02 09:27:27 +02:00
Maxime NATUREL
004f40bff5 Setting 5 seconds for min period of update for location tracking 2022-08-02 09:13:16 +02:00
Maxime NATUREL
8571fd0ba9 Fix after rebase 2022-08-02 09:09:19 +02:00
Maxime NATUREL
be696f5a5c Align naming of components for the live location feature 2022-08-02 09:09:19 +02:00
Adam Brown
1411fdd99f Merge branch 'hotfix/v1.4.31' into develop 2022-08-01 18:29:55 +01:00
Adam Brown
fde2aee69a Merge branch 'hotfix/v1.4.31' of github.com:vector-im/element-android into hotfix/v1.4.31 2022-08-01 17:50:22 +01:00
Adam Brown
0c4c695b9c adding missing fullstops in to docs 2022-08-01 17:15:50 +01:00
Adam Brown
e0349b27ed updating version for hotfix release 2022-08-01 16:51:19 +01:00
Adam Brown
9114630bba replacing single context thread with semaphore
- avoids the need for a dedicated long living thread instance
2022-08-01 16:23:41 +01:00
Adam Brown
3725921400 using injectable dispatchers instead of direct usage 2022-08-01 16:14:49 +01:00
Adam Brown
6b754f3e03 avoiding unneeded main context switch 2022-08-01 15:12:39 +01:00
Adam Brown
410a7b525f reusing the suspend scope 2022-08-01 13:13:00 +01:00
Adam Brown
fedbe048ba creating a dedicated threadsafe Session instance initializer in order to attempt to restore session when they're not yet created in memory 2022-08-01 13:11:19 +01:00
phardyle
6671a100ad Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-01 03:50:35 +00:00
Fork Liang
91b0465caa Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-01 03:50:33 +00:00
Eric Decanini
ddaf1128ac
Merge pull request #6598 from vector-im/task/eric/space-switching-unit-tests
Space Switching Refactoring and Unit Tests
2022-07-29 16:21:33 +02:00
ericdecanini
406a67827c Adds scroll behaviour to FABs 2022-07-29 15:48:21 +02:00
ericdecanini
8e7e320e40 Finalises new layout FABs 2022-07-29 15:28:55 +02:00
Benoit Marty
b161e5eb2e Add Kdoc on SpaceListFragment 2022-07-29 13:06:37 +02:00
Benoit Marty
07dc0d2e54 Rename layout for clarity 2022-07-29 13:06:37 +02:00
Benoit Marty
e9aab6331a Improve layout preview, item_group does not exist anymore. 2022-07-29 13:06:37 +02:00
Benoit Marty
59f00cd196
Merge pull request #6637 from vector-im/feature/bma/danger
Danger
2022-07-29 12:55:32 +02:00
Maxime NATUREL
c7d5ceca5d
Merge pull request #6644 from vector-im/feature/mna/notification-tap-lls
[Location Share] Open maximized map on tapping on live sharing notification (PSG-616)
2022-07-29 11:27:53 +02:00
ericdecanini
4f5ad816f1 Fixes AppStateHandlers in code after merge 2022-07-29 10:56:33 +02:00
Maxime NATUREL
3a5c139759 Converting drawable to bitmap for map symbol to fix invisible text 2022-07-29 10:14:00 +02:00
Benoit Marty
fb67499657 Knit: do not check node_modules folder 2022-07-29 10:02:40 +02:00
Benoit Marty
cc6dad3fce Ignore PluralsCandidate, I do not know why it is reported by Danger, since this is a warning. Also make this issue an error. 2022-07-29 10:02:40 +02:00
Adam Brown
67d4afa012 updating build versions for next release cycle 2022-07-29 09:02:17 +01:00
Benoit Marty
a2e8506600 Fix and suppress lint issue. RestrictedApi is for the usage of ShortcutInfoCompat.Builder. 2022-07-28 19:03:05 +02:00
Benoit Marty
eee418d1fd Migrate previous pinned Shortcut to the new Intent 2022-07-28 18:26:44 +02:00
Maxime NATUREL
b2e64e6265 Fixing missing clear on TabLayoutMediator when view is destroyed 2022-07-28 17:25:42 +02:00
Benoit Marty
6e0ca3958b Shortcuts must first start MainActivity to ensure the session is restored. 2022-07-28 16:19:28 +02:00
ericdecanini
d49f104332 Adds fab buttons 2022-07-28 15:09:57 +02:00
Adam Brown
bc856fd16c Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.3% (2311 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-07-28 12:14:17 +00:00
Weblate
e9472d64f2 Merge branch 'origin/develop' into Weblate. 2022-07-28 11:12:31 +00:00
phardyle
ba25e6d6fb Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (2314 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-07-28 11:11:42 +00:00
Adam Brown
b409431b0f
Merge pull request #6666 from vector-im/feature/adm/missing-space-rooms
`Home` always showing all rooms
2022-07-28 12:10:36 +01: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
Adam Brown
8ef0850752 removing unused import 2022-07-28 11:05:28 +01:00
Adam Brown
09d840506e replacing inverted takeIf chain with positive when conditions 2022-07-28 11:04:35 +01:00
Maxime NATUREL
d60683d991
Merge pull request #6664 from vector-im/fix/mna/cancel-infinite-animation
Cancel infinite animations in TypingMessageDotsView
2022-07-28 11:48:26 +02:00
ericdecanini
590f99a5c2 Adds comments to SpaceStateHandler 2022-07-28 11:33:54 +02: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
ericdecanini
a11d5ebdd9 Replaces TODOs 2022-07-28 11:24:00 +02:00
Adam Brown
e8476882fc providing a type for the NoFilter to avoid the ambiguity of the nullable param 2022-07-28 10:22:11 +01:00
Adam Brown
1ba8d29333 fixing rooms from other spaces being included in home due to wrong filter param
- we were passing null which meant no filter was being applied
2022-07-28 10:10:01 +01:00
Maxime NATUREL
a0534d8fcc
Merge pull request #6636 from vector-im/feature/mna/ended-state-map-live-location
[Location Share] - Expanded map state when no more live location shares (PSG-629)
2022-07-28 10:53:31 +02:00
Maxime NATUREL
fbd1009ebc Fixing missing cancel on infinite ObjectAnimators 2022-07-28 10:00:07 +02:00
Johan Smits
0fccedd68f Translated using Weblate (Dutch)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-07-28 06:32:57 +00:00
Auri B. P
f366211436 Translated using Weblate (Catalan)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-07-28 06:32:54 +00:00
phardyle
01555d5cb4 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-07-28 06:32:52 +00:00
Przemysław Romanik
e612421be3 Translated using Weblate (Polish)
Currently translated at 99.0% (2293 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-07-28 06:32:52 +00:00
LinAGKar
128ff1f8eb Translated using Weblate (Swedish)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-07-28 06:32:47 +00:00
phardyle
aea0d2f2ca Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (2314 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-07-28 06:32:42 +00:00
Dinh Quang Tuyen
066d96912b Translated using Weblate (Vietnamese)
Currently translated at 88.9% (2060 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2022-07-28 06:32:28 +00: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
01bc275311
Merge pull request #6651 from vector-im/feature/adm/enable-ftue
FTUE - Enable onboarding FTUE flows
2022-07-27 16:38:35 +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
ericdecanini
d3a1783e57 Adds invites to new home menu 2022-07-27 16:05:25 +02:00
ericdecanini
9a981bb1d5 Adds profile icon to toolbar 2022-07-27 15:37:31 +02:00
Adam Brown
64c875e017
add ticket reference for TODO 2022-07-27 14:05:39 +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
Adam Brown
8639b69e73 removing unused imports 2022-07-27 13:21:17 +01:00
Jorge Martín
58ea816cae Ignore tests with broken mocks in APIs < 30. It looks like a mockk issue. 2022-07-27 14:02:18 +02:00
Jorge Martín
b468a9da33 Improve lock screen implementation. 2022-07-27 14:02:18 +02:00
Adam Brown
28362b53f8 enabling the ftue feature flags 2022-07-27 12:18:10 +01:00
Adam Brown
fe0c2fc57f adding UI test support for the ftue onboarding feature flags 2022-07-27 12:17:59 +01:00
Adam Brown
746191163a updating test verification interaction, there's no skip and we can press back instead 2022-07-27 12:17:03 +01:00
Adam Brown
067a030f19
Merge pull request #6649 from vector-im/feature/adm/auth-testing-results
FTUE - Test session feedback
2022-07-27 12:09:35 +01:00
Adam Brown
5cc96850af updating font scale access as the activity wait no longer works with the latest changes 2022-07-27 11:50:14 +01:00
Nikita Fedrunov
45bbf74db3
new room list implementation for EditLayout (#6618) 2022-07-27 12:17:07 +02:00
Adam Brown
f21a978608 removing unused imports 2022-07-27 10:33:34 +01:00
Adam Brown
12b6f54cf9 updating captcha icon 2022-07-27 10:16:41 +01:00
Adam Brown
abcde349f0 using invisible visibility to avoid loading spinner from jumping around and hiding the loading when resending the email 2022-07-27 10:08:26 +01:00
ericdecanini
7de82e0204 Adds white status and navigation bars 2022-07-27 11:04:53 +02:00
Maxime NATUREL
0750e80f04 Use context.obtainStyledAttributes instead of context.theme.obtainStyledAttributes 2022-07-27 11:04:14 +02:00
Adam Brown
87995abc7f updating verification copy to match latest 2022-07-27 09:40:39 +01:00
Adam Brown
b6695c7009 using dedicated sign in copy for the server selection header 2022-07-27 09:37:50 +01:00
Adam Brown
616c1d780f updating sign in specific subtitle for the server selection screen 2022-07-27 09:36:12 +01:00
Maxime NATUREL
47960c0dfd Use const to define banner background alpha 2022-07-27 10:29:14 +02:00
Maxime NATUREL
d62cf70b8c Add usage of TypedArray.use when possible 2022-07-27 10:28:43 +02:00
Benoit Marty
f37034c18e
Merge pull request #6643 from vector-im/feature/bma/fix_firebase_popup
Feature/bma/fix firebase popup
2022-07-26 20:15:05 +02:00
Adam Brown
653c97b40d disabling the server url selection submit button when the selection is empty 2022-07-26 17:19:20 +01:00
Adam Brown
2dae13f6c8 applying the password character limit to the keyboard done action 2022-07-26 17:05:25 +01:00
Adam Brown
e6df2b39b4 handling unverified email as a dialog error in the reset password flow with a friendly error message 2022-07-26 16:58:19 +01:00
Benoit Marty
e577320301 Change name of fun. 2022-07-26 17:47:49 +02:00
Benoit Marty
41d35e68a0 Inject SharedPreferences 2022-07-26 17:43:38 +02:00
Valere
8e2eb1903d
Merge pull request #6475 from vector-im/feature/bca/crypto_unable_self_verify
Handle case when device cannot be verified
2022-07-26 16:12:43 +02:00
ericdecanini
7334d909d5 Adds options menu 2022-07-26 16:00:46 +02:00
Maxime NATUREL
f3ad9e38c3 Update the notification when starting/stopping new live in room 2022-07-26 15:28:27 +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
Maxime NATUREL
f56c315207 Dedicated notification builder and opening map on tap of notification 2022-07-26 14:33:40 +02:00
ericdecanini
5958559186 Styles collapsed title text 2022-07-26 14:31:02 +02:00
Benoit Marty
e5163ad9c3 Better safe than sorry. This popup should not show up on production version 2022-07-26 14:23:44 +02:00
Benoit Marty
c6b9dba041 Rename fun 2022-07-26 14:23:44 +02:00
Benoit Marty
1e8a8d4da0 Display the nightly popup only once a day 2022-07-26 14:23:44 +02:00
ericdecanini
a5039287b2 Adds feature flag functionality 2022-07-26 13:38:15 +02:00
Adam Brown
f6070ee9ca allowing the user to edit their email address after starting the verfication process
- the email verification screen is no longer a hard exit during the standard account creation flow, however if a authentication session is restored eg the app is killed and reopened whilst waiting for email verifcation, then pressing back will cause the flow to be restarted
2022-07-26 11:57:03 +01:00
Adam Brown
c66b1885ad allowing the child ftue fragments to determine if they're the back action is a hard exit 2022-07-26 11:53:04 +01:00
ericdecanini
3df337fa07 Adds new layout toolbar 2022-07-26 12:38:29 +02:00
Adam Brown
abab2a0db7 including knowledge of if the session was restored when fastforwarding to the waiting for email 2022-07-26 11:30:34 +01:00
Johannes Marbach
e9bd271642
Merge pull request #6634 from vector-im/johannes/ec-permission-shortcuts
Put EC permission shortcuts behind labs flag (PSG-630)
2022-07-25 20:38:22 +02:00
Maxime NATUREL
c3bc53fe48
Merge pull request #6626 from vector-im/feature/mna/open-map-on-tap-of-lls-status-bar
[Location sharing] - OnTap on the top live status bar, display the expanded map view (PSG-614)
2022-07-25 17:40:33 +02:00
Maxime NATUREL
d4186af761
Merge pull request #6608 from vector-im/feature/mna/ux-review-fixes-22-07-11
[Location sharing] - Small improvements of UI for live (PSG-613)
2022-07-25 16:42:48 +02:00
Maxime NATUREL
989c2ee967 Removing non necessary root binding 2022-07-25 15:37:11 +02:00
Maxime NATUREL
4cfb79d566 Small renamings to be more consistent 2022-07-25 14:49:49 +02:00
Maxime NATUREL
d0a9e9eda0 Reverting some after rebase changes 2022-07-25 14:37:31 +02:00
Maxime NATUREL
e1ea10e0a2 Adding attribute to set the start margin of icon 2022-07-25 14:17:07 +02:00
Maxime NATUREL
e51488bc57 Adding ended live banner view in the map screen 2022-07-25 12:01:10 +02:00
Benoit Marty
cc0c9c262c Less annoying Nightly dialog. 2022-07-25 11:18:53 +02:00
Benoit Marty
a06dc55848
Merge pull request #6629 from vector-im/feature/bma/nightyl_in_app_alert
Add in-app alert to let user know if a new version is available.
2022-07-25 10:40:42 +02:00
Maxime NATUREL
5e59eb474a Adding attribute to control alpha of the banner background 2022-07-25 10:36:28 +02:00
Benoit Marty
c28e7c86d4
Merge pull request #6341 from artkoenig/develop
Fixed issues with reporting sync state events from different threads
2022-07-25 10:21:12 +02:00
Johannes Marbach
d96d9575ed Add FLAG_IMMUTABLE
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-07-25 10:12:44 +02:00
Benoit Marty
4dd5fa7051 Shorter code. 2022-07-25 10:07:52 +02:00
Maxime NATUREL
732582b6fe Banner view for ended live 2022-07-25 10:03:55 +02:00
Johannes Marbach
3af663e91f Put EC permission shortcuts behind labs flag (PSG-630)
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-07-25 09:57:51 +02:00
Maxime NATUREL
1276b12188 Renaming banner view for running live 2022-07-25 09:51:18 +02:00
Maxime NATUREL
46684702a1 Hiding bottom sheet when no more lives 2022-07-25 09:51:18 +02:00
Maxime NATUREL
4a817fd9f5 Fixing dark/light loading of the correct map drawable 2022-07-25 09:50:54 +02:00
Maxime NATUREL
7f43a1bb06 Updating reply description text 2022-07-25 09:50:54 +02:00
Maxime NATUREL
4bb9a68603 Fixing title position inside banner for active live item 2022-07-25 09:50:54 +02:00
Maxime NATUREL
2a0331dc04 Fixing title position inside banner for loading and stop items 2022-07-25 09:50:54 +02:00
Maxime NATUREL
d632c866a2 Center crop the map 2022-07-25 09:50:54 +02:00
Maxime NATUREL
985e09a68c Remove abandoned TODO 2022-07-25 09:50:54 +02:00
Suleman Tariq
d5fa6f188c Added translation using Weblate (Urdu) 2022-07-23 18:23:13 +00:00
Glandos
ab1d899e1f Translated using Weblate (French)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-07-23 11:32:33 +00:00
waclaw66
5a994e7314 Translated using Weblate (Czech)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-07-23 11:32:30 +00:00
ssnfcmux
6c686351c4 Translated using Weblate (Arabic)
Currently translated at 42.0% (974 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-07-23 11:32:26 +00:00
Onuray Sahin
75de805417
Merge pull request #6616 from vector-im/feature/ons/element_call_widget
Support element call widget (PSG-627)
2022-07-22 19:03:03 +03:00
Benoit Marty
83f3229805 Add in-app alert to let user know if a new version is available. 2022-07-22 17:29:59 +02:00
Onuray Sahin
5c253bbd28 Code review fixes. 2022-07-22 17:21:23 +03:00
Onuray Sahin
6a9b496651
Merge pull request #6609 from vector-im/feature/ons/reset_zoom_level_on_user_focus
Live Location Sharing - Reset zoom level while focusing a user (PSG-624)
2022-07-22 14:50:36 +03:00
Onuray Sahin
792fca8400 Code review fix. 2022-07-22 14:48:58 +03:00
Onuray Sahin
23a25cf240 Rename widget action. 2022-07-22 14:36:02 +03:00
Onuray Sahin
242c14a156 Write test for the use case. 2022-07-22 14:34:06 +03:00
Onuray Sahin
d631c709d6 Create use case to check webview permissions. 2022-07-22 14:33:45 +03:00
Maxime NATUREL
70c9c8a21d Navigate to location live map when tapping the live status bar in timeline 2022-07-22 11:54:15 +02:00
Benoit Marty
0c289eba2b Fix crash observed on nightly build. MainActivity is not able to display alert because the theme is not compliant. Anyway we should not display alert on this screen. 2022-07-22 11:26:32 +02:00
Jeff Huang
cc15c12c41 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-07-22 02:32:50 +00:00
Ihor Hordiichuk
6fc15ea1ab Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-07-22 02:32:48 +00:00
Jozef Gaal
60e1c7c573 Translated using Weblate (Slovak)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-07-22 02:32:45 +00:00
lvre
d79e44d59f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-07-22 02:32:42 +00:00
random
08a5d7ecea Translated using Weblate (Italian)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-07-22 02:32:39 +00:00
Linerly
1624c8c73a Translated using Weblate (Indonesian)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-07-22 02:32:36 +00:00
Danial Behzadi
cca907c636 Translated using Weblate (Persian)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-07-22 02:32:34 +00:00
Priit Jõerüüt
bb13e1e437 Translated using Weblate (Estonian)
Currently translated at 99.6% (2307 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-07-22 02:32:31 +00:00
Auri B. P
11c1ae768a Translated using Weblate (Catalan)
Currently translated at 99.7% (2309 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-07-22 02:32:28 +00:00
Onuray Sahin
81f3e4a360 Lint fixes. 2022-07-21 16:29:34 +03:00
Onuray Sahin
da780ac56f Open element call widget. 2022-07-21 16:26:10 +03:00
Onuray Sahin
0d4697b7e1 Show call icon if there is an active element call widget. 2022-07-21 15:55:51 +03:00
Benoit Marty
3d7733156e
Merge pull request #6612 from anoadragon453/patch-1
Fix a typo during registration
2022-07-21 14:12:30 +02:00
Benoit Marty
fabdc20887
Merge pull request #6548 from vector-im/feature/bma/realm_migration_bg
Realm migration bg
2022-07-21 14:08:03 +02:00
Onuray Sahin
7dfe5264cd Fix picture in picture mode. 2022-07-21 15:03:44 +03:00
Onuray Sahin
85b5713b24 Add a hangup button in pip mode. 2022-07-21 14:02:24 +03:00
Onuray Sahin
95783506a2 Stop javascript for non element call widgets. 2022-07-21 13:51:52 +03:00
Valere
fb05ab34d8
Merge pull request #6395 from vector-im/feature/bca/fix_invalid_qr_warning
Display specific message when verif code malformed
2022-07-21 12:36:46 +02:00
Johannes Marbach
5c55263cf6 Suppress webview / checkbox permission dialog
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-07-21 13:15:00 +03:00
Onuray Sahin
fd3b082a2c Open element call widget. 2022-07-21 13:13:14 +03:00
Valere
ac7b47b8b2 code reviews 2022-07-21 12:05:33 +02:00
Valere
6657d6c5af clean 2022-07-21 12:05:33 +02:00
Valere
9f3c8b6e5f Handle case when device cannot be verified 2022-07-21 12:05:33 +02:00
Onuray Sahin
f5ec7a312f Auto grant WebView permissions if they are already granted system level. 2022-07-21 12:56:12 +03:00
Onuray Sahin
a0eb2e733c Skip widget permissions for element call. 2022-07-21 12:41:22 +03:00
Onuray Sahin
85aba894d6 Support picture-in-picture mode for element call widget. 2022-07-21 12:35:11 +03:00
ericdecanini
d8668f70bc Rearranges imports 2022-07-21 11:34:49 +02:00
Onuray Sahin
b3a8052a51 Add element call widget type. 2022-07-21 12:30:55 +03:00
Onuray Sahin
61f05e78a3 Create custom widget args for element call. 2022-07-21 12:27:52 +03:00
Benoit Marty
3063c0da49 Avoid updating the UI every seconds 2022-07-21 11:19:36 +02:00
Benoit Marty
9dda647c52 Add Foreground service when data are updated. 2022-07-21 11:19:36 +02:00
Benoit Marty
b294c9a1fd Do not always start MainActivity first when launching HomeActivity 2022-07-21 11:19:36 +02:00
Benoit Marty
0bedfc8087 Add a message when migrating the data (after 1 seconds) 2022-07-21 11:19:36 +02:00
Benoit Marty
b7826c02a3 Start SDK before handling permalink or sharing to the app.
It also fixes a crash when trying to share to the app if there is no active session: `IncomingShareViewModel` injects the `session` in the constructor.
2022-07-21 11:19:36 +02:00
Benoit Marty
c8a2bfc738 Always start MainActivity to ensure that current session is set. 2022-07-21 11:19:36 +02:00
Benoit Marty
0dd9e943c7 Delegate the creation of the Session to MainActivity instead of VectorApplication to unblock the main thread.
This fix is not necessary anymore, since the session is restored either in `MainActivity` or in `VectorMessagingReceiver`.
Ref: b7a54ead68
2022-07-21 11:19:36 +02:00
Andrew Morgan
d8fa1cb2ed
Fix a typo during registration
terns -> terms
2022-07-21 10:12:43 +01: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
ericdecanini
9e1235d51f Merge remote-tracking branch 'origin/develop' into task/eric/replace_flatten_with_direct_parent
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/migration/MigrateSessionTo034.kt
2022-07-20 16:44:33 +02:00
Onuray Sahin
10322545aa Move pin to center when clicked. 2022-07-20 16:57:48 +03:00
Onuray Sahin
0f3e4046e1 Animate camera while zooming to a user. 2022-07-20 15:57:56 +03:00
Onuray Sahin
372ff9ff97 Move to initial zoom level when a user is focused. 2022-07-20 15:57:30 +03:00
ericdecanini
0ad2051dd3 Improves plural used in strings 2022-07-20 14:48:38 +02:00
Weblate
2792c48a6e Merge branch 'origin/develop' into Weblate. 2022-07-20 12:26:40 +00:00
LinAGKar
3eb590ebe8 Translated using Weblate (Swedish)
Currently translated at 100.0% (2265 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-07-20 12:26:32 +00:00
Sveinn í Felli
653f699c28 Translated using Weblate (Icelandic)
Currently translated at 82.1% (1861 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/is/
2022-07-20 12:26:32 +00:00
Szimszon
b500fcd3d0 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2265 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-07-20 12:26:32 +00:00
notramo
9a86ae670c Translated using Weblate (Hungarian)
Currently translated at 100.0% (2265 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-07-20 12:26:30 +00:00
ssnfcmux
79ba60c10d Translated using Weblate (Arabic)
Currently translated at 43.2% (979 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-07-20 12:26:30 +00:00
Onuray Sahin
7f821f1285
Merge pull request #6587 from vector-im/feature/ons/fix_live_location_sharing_permission
Check user power level before sharing live location (PSG-620)
2022-07-20 15:01:32 +03:00
Eric Decanini
7ceef0045b
Merge pull request #6602 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.52
Bump libphonenumber from 8.12.51 to 8.12.52
2022-07-20 13:51:45 +02:00
Onuray Sahin
26a677edc2
Merge branch 'develop' into feature/ons/fix_live_location_sharing_permission 2022-07-20 13:40:55 +03: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
Eric Decanini
a0bf1787cb
Merge pull request #6593 from vector-im/task/eric/trailing-commas
Code style change: Trailing Commas
2022-07-20 11:46:53 +02:00
ericdecanini
ee941cf88d Merge remote-tracking branch 'origin/develop' into task/eric/replace_flatten_with_direct_parent
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/migration/MigrateSessionTo033.kt
2022-07-20 10:56:07 +02:00
Maxime NATUREL
448b6e1c74
Merge pull request #6539 from vector-im/bugfix/mna/lls-status-bar-disappearing
[Location Share] - Wrong room live location status bar visibility in timeline (PSG-625)
2022-07-20 09:55:06 +02:00
dependabot[bot]
6332668b8c
Bump libphonenumber from 8.12.51 to 8.12.52
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.51 to 8.12.52.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.51...v8.12.52)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-19 23:06:00 +00: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
Maxime NATUREL
b08337e3a7
Merge pull request #6501 from vector-im/feature/mna/collapse-deleted-events
[Timeline] - Collapse redacted events (PSG-523)
2022-07-19 16:39:45 +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
ericdecanini
4dccff4d78 Improves formatting in AppStateHandler 2022-07-19 16:19:25 +02:00
Onuray Sahin
9976b3b8ac
Merge pull request #6567 from vector-im/feature/ons/share_location_with_other_apps
Share location with other apps (PSG-242)
2022-07-19 17:08:36 +03:00
ericdecanini
8c53d2f9b0 Reformats modules 2022-07-19 15:11:42 +02:00
Benoit Marty
62f2fe1c16 Detekt: This explicit usage of it as the lambda parameter name can be omitted. [ExplicitItLambdaParameter] 2022-07-19 15:02:21 +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
ecbd2d48a7 Replacing callback by a SharedFlow to notify of roomIds updates 2022-07-19 14:43:33 +02:00
Maxime NATUREL
33714b850f Make the status bar only visible in rooms where there is an active live 2022-07-19 14:43:33 +02:00
Maxime NATUREL
82391aa281 Replacing ViewEvent by a ViewState property 2022-07-19 14:43:33 +02:00
Maxime NATUREL
b2d7ef9fbf Re-arranging imports 2022-07-19 14:06:19 +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
99fc4b4a21 Simplify logic of the use case to check if event can be redacted 2022-07-19 14:06:18 +02:00
Maxime NATUREL
1277376496 Fix missing handling of redacted beacon location data events 2022-07-19 14:05:13 +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
Maxime NATUREL
9c619001a5 Updating string value for redacted event to be more consistent 2022-07-19 14:04:09 +02:00
Maxime NATUREL
4a5fe3c0f9 Fix the criteria to start merging redacted events 2022-07-19 14:04:09 +02:00
Maxime NATUREL
fe4174f005 Small improvements in code 2022-07-19 14:04:08 +02:00
Maxime NATUREL
c9794d8280 Small fixes in comments 2022-07-19 14:04:08 +02:00
Maxime NATUREL
b412b9f4e9 Merging redacted events by reusing existing mechanism for same type events 2022-07-19 14:04:08 +02:00