Benoit Marty
3560ac95d1
Create a Kotlin Config object in vector-config module, for easy configuration.
2022-06-09 10:18:06 +02:00
Benoit Marty
5846ad5768
Inject constructor of BackgroundSyncStarter
and FcmHelper
2022-06-09 10:18:06 +02:00
Benoit Marty
3c72ee6e0c
Unregister UP when signing out
2022-06-09 10:18:06 +02:00
Benoit Marty
905934b9d4
Rename method for clarity
2022-06-09 10:18:06 +02:00
Benoit Marty
a139756dbc
Fix an issue with empty endpoint. It can happen if the endpoint is manually removed from the distributor.
2022-06-09 10:18:06 +02:00
Benoit Marty
87087197e5
shorter code
2022-06-09 10:18:06 +02:00
Benoit Marty
639c570150
Create extension to get app names
2022-06-09 10:18:06 +02:00
Benoit Marty
fc66e5f120
Ignore if no change is done - bugfix
2022-06-09 10:18:06 +02:00
Benoit Marty
a5378d6e94
avoid runBlocking
2022-06-09 10:18:06 +02:00
Benoit Marty
fb7df5bf46
Ignore if no change is done.
2022-06-09 10:18:06 +02:00
Benoit Marty
420144dceb
Fix back issue on the dialog.
...
Should split UI a bit more.
2022-06-09 10:18:06 +02:00
Benoit Marty
110c17e57d
No need to have a mutable list here.
2022-06-09 10:18:06 +02:00
Benoit Marty
18b49068c1
Change BuildConfig field to a VectorFeature.
2022-06-09 10:18:06 +02:00
Benoit Marty
80d42f0963
Remove unused methods / clarify API
2022-06-09 10:18:06 +02:00
Benoit Marty
35e0a0af33
Detekt
2022-06-09 10:18:06 +02:00
Benoit Marty
6cc2a36ee1
Add explicit Json names
2022-06-09 10:18:06 +02:00
Benoit Marty
cdfb728a73
Clarify the data classes for the Json parsing
2022-06-09 10:18:06 +02:00
Benoit Marty
45768c5251
Small cleanup
2022-06-09 10:18:06 +02:00
Benoit Marty
bbbeb4b283
Extract storage to its own class.
2022-06-09 10:18:06 +02:00
Benoit Marty
bdb2d29666
Catch 404
2022-06-09 10:18:06 +02:00
Benoit Marty
3f6b5292d4
Add summary to the notification with the current value.
2022-06-09 10:18:06 +02:00
Benoit Marty
76bc6a5e0a
Move the setting at the beginning of the section
2022-06-09 10:18:06 +02:00
Benoit Marty
fb8408c3da
Small cleanup
2022-06-09 10:18:06 +02:00
Benoit Marty
4018113c88
Better usage of Timber.
2022-06-09 10:18:06 +02:00
Benoit Marty
77601f61fb
typo
2022-06-09 10:18:06 +02:00
Benoit Marty
ff6aa1147c
VectorPreferences can be injected.
2022-06-09 10:18:06 +02:00
Benoit Marty
ad8cb22863
We need an Activity to display the dialog
2022-06-09 10:18:06 +02:00
Benoit Marty
ddf6a69a69
Small cleanup
2022-06-09 10:18:06 +02:00
Benoit Marty
399e95a247
setOnDismissListener
should cover all the cases.
2022-06-09 10:18:06 +02:00
Benoit Marty
cc80bf986c
Use plurals
2022-06-09 10:18:06 +02:00
Benoit Marty
12d969b2c0
Prefer using toString()
2022-06-09 10:18:06 +02:00
Benoit Marty
74de9c82c0
Small rework
2022-06-09 10:18:06 +02:00
Benoit Marty
9216d8ba32
Small cleanup
2022-06-09 10:18:06 +02:00
Benoit Marty
f1e57d2970
Use .orEmpty()
instead of ?: ""
2022-06-09 10:18:06 +02:00
Benoit Marty
5e10449746
Use the RawService to do network request.
2022-06-09 10:18:06 +02:00
Benoit Marty
674e3a72c4
Make UnifiedPushHelper
a regular class and inject the context in the constructor to clean up the API
2022-06-09 10:18:06 +02:00
Benoit Marty
09a918bac4
Cleanup
2022-06-09 10:16:59 +02:00
Benoit Marty
42811751fb
Move ALLOW_EXTERNAL_UNIFIEDPUSH_DISTRIB
to defaultConfig
and document it.
2022-06-09 10:16:59 +02:00
Benoit Marty
ee7fccf072
Fix compilation issues after rebase
2022-06-09 10:16:59 +02:00
sim
7eca405693
Update UnifiedPush libs
...
Signed-off-by: sim <git@sgougeon.fr>
2022-06-09 10:16:59 +02:00
sim
f774f46627
Check custom unifiedpush gateway
2022-06-09 10:16:59 +02:00
sim
1069f77bd5
Lint
2022-06-09 10:16:59 +02:00
sim
f00257f461
Add UnifiedPush troubleshoot
2022-06-09 10:16:59 +02:00
sim
848adc415f
Add UnifiedPush settings
2022-06-09 10:16:59 +02:00
sim
04b297b261
Add UnifiedPush support
2022-06-09 10:16:59 +02:00
Adam Brown
befcfe8c5b
renaming success type to something more concrete
2022-06-09 08:52:29 +01:00
Adam Brown
88167a0287
fixing import ordering
2022-06-09 08:52:29 +01:00
Adam Brown
ef1356f4dd
replacing comment extracted function (also convered by a test case)
2022-06-09 08:52:29 +01:00
Adam Brown
ba18c6f3e2
extracting registration action business logic to the handler abstraction and adding tests
...
- renames the existing handler to a wizard delegate
2022-06-09 08:52:28 +01:00
Onuray Sahin
6c72139939
Fix flickering bottom bar of live location item.
2022-06-08 15:40:09 +03:00
Anonimas
37618a2353
Translated using Weblate (Lithuanian)
...
Currently translated at 18.7% (419 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lt/
2022-06-08 12:32:11 +00:00
Onuray Sahin
9b22880d57
Set translatable as false for the copyright text.
2022-06-08 15:18:25 +03:00
ericdecanini
2f9517f69d
Merge remote-tracking branch 'origin/develop' into bugfix/eric/fix-upgrade-room
2022-06-08 13:17:58 +02:00
ericdecanini
87053f2c70
Reformats after merging
2022-06-08 13:01:26 +02:00
ericdecanini
6df88fba59
Merge remote-tracking branch 'origin/develop' into task/eric/when-arrow-alignment
...
# Conflicts:
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/GroupSyncHandler.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/room/RoomSyncHandler.kt
# vector/src/main/java/im/vector/app/features/home/HomeActivity.kt
# vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt
# vector/src/main/java/im/vector/app/features/home/InitSyncStepFormatter.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/timeline/style/TimelineMessageLayoutFactory.kt
# vector/src/main/java/im/vector/app/features/sync/widget/SyncStateView.kt
2022-06-08 12:59:54 +02:00
Onuray Sahin
d0ab6af0b7
Remove unused import.
2022-06-08 13:03:48 +03:00
Onuray Sahin
3f491018b4
Merge pull request #6244 from vector-im/feature/ons/organize_location_settings_flags
...
Re-organize location settings flags [PSF-1062]
2022-06-08 13:03:10 +03:00
Onuray Sahin
adde210cfd
Code review fixes.
2022-06-08 12:37:48 +03:00
Benoit Marty
ac61aeea29
Fix compilation issue after rebase.
2022-06-08 10:00:48 +02:00
Benoit Marty
dd22cdf7f2
Rename existing SyncService to SyncAndroidService to avoid confusion
2022-06-08 09:55:28 +02:00
Benoit Marty
f62d598b79
Create a SyncService and move some methods from Session there.
...
Merge SyncStatusService to SyncService, and rename some classes
2022-06-08 09:53:33 +02:00
ericdecanini
31b245b8e3
Changes test name
2022-06-08 09:38:30 +02:00
Benoit Marty
733c2848a7
Merge pull request #6226 from vector-im/dependabot/gradle/androidx.core-core-ktx-1.8.0
...
Bump core-ktx from 1.7.0 to 1.8.0
2022-06-07 23:43:21 +02:00
Benoit Marty
7274924977
Merge pull request #6239 from vector-im/sync-analytics-plan
...
Sync analytics plan
2022-06-07 23:40:58 +02:00
Benoit Marty
c290dd6c1d
Merge branch 'develop' into task/eric/when-arrow-alignment
2022-06-07 23:03:36 +02:00
Adam Brown
462d3071de
Merge pull request #6171 from vector-im/feature/adm/sdk-new-password-on-confirmation
...
[SDK] Allow passwords to be set at the point of reset confirmation
2022-06-07 16:43:28 +01:00
Onuray Sahin
68c6e524d2
Use dynamic height to calculate the position of the copyright attributes.
2022-06-07 18:22:09 +03:00
Michael Kaye
93bacc98fe
Revert "Ignore tests."
...
This reverts commit 17d85840a7
.
2022-06-07 16:02:53 +01:00
Michael Kaye
49d1c1baee
Revert "Remove UI tests from connected android test run via @Ignore"
...
This reverts commit 5eac30d283
.
2022-06-07 16:02:52 +01:00
Michael Kaye
17d85840a7
Ignore tests.
...
All failing with
```
im.vector.app.SecurityBootstrapTest > testBasicBootstrap[Nexus_5X_API_28(AVD) - 9] FAILED
java.lang.IllegalStateException: Method addObserver must be called on the main thread
at androidx.lifecycle.LifecycleRegistry.enforceMainThreadIfNeeded(LifecycleRegistry.java:317)
im.vector.app.VerifySessionInteractiveTest > checkVerifyPopup[Nexus_5X_API_28(AVD) - 9] FAILED
java.lang.IllegalStateException: Method addObserver must be called on the main thread
at androidx.lifecycle.LifecycleRegistry.enforceMainThreadIfNeeded(LifecycleRegistry.java:317)
im.vector.app.VerifySessionPassphraseTest > checkVerifyWithPassphrase[Nexus_5X_API_28(AVD) - 9] FAILED
java.lang.IllegalStateException: Method addObserver must be called on the main thread
at androidx.lifecycle.LifecycleRegistry.enforceMainThreadIfNeeded(LifecycleRegistry.java:317)
```
2022-06-07 15:44:27 +01:00
Michael Kaye
5eac30d283
Remove UI tests from connected android test run via @Ignore
2022-06-07 15:42:58 +01:00
Benoit Marty
26dcc9bc52
Merge hotfix 1.4.19 into develop
2022-06-07 15:14:29 +02:00
Benoit Marty
b2f67f971b
Prepare v1.4.19
2022-06-07 15:11:46 +02:00
Onuray Sahin
ec1eb495a7
Fix position of the copyright on maximized map.
2022-06-07 16:06:04 +03:00
ericdecanini
6513210904
Changes space subtitle in explore rooms from joined string to direct space parent
2022-06-07 15:02:15 +02:00
Valere
d67f86a1e0
fix slow paged room list
2022-06-07 15:00:54 +02:00
Onuray Sahin
b284b92464
Use custom TextView for map view copyright.
2022-06-07 15:11:23 +03:00
Onuray Sahin
ea714bbdaa
Fix lint errors - unused string resources.
2022-06-07 13:06:09 +03:00
Adam Brown
4ffce89ef2
adding fallback locale for when the configuration locale is missing
2022-06-07 10:37:18 +01:00
ClaireG
0602f58074
Merge pull request #6234 from vector-im/cgizard/ISSUE-6232
...
Text cropped: "Secure backup"
2022-06-07 11:19:10 +02:00
Michael Kaye
10125f4738
Merge pull request #6111 from vector-im/michaelk/sonarqube_fixes
...
Sonarqube including coverage on each PR.
2022-06-07 09:44:00 +01:00
lvre
0f7f4245e4
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-06-07 08:32:35 +00:00
Didek
e51aaddb2c
Translated using Weblate (Polish)
...
Currently translated at 99.9% (2237 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-06-07 08:32:35 +00:00
Klaudia Adamus
014afbf754
Translated using Weblate (Polish)
...
Currently translated at 99.9% (2237 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-06-07 08:32:34 +00:00
Johan Smits
24c68147c0
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-06-07 08:32:33 +00:00
Anonimas
4f1a40a750
Translated using Weblate (Lithuanian)
...
Currently translated at 18.6% (417 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lt/
2022-06-07 08:32:32 +00:00
Szimszon
9dc32bd957
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-06-07 08:32:14 +00:00
Glandos
5b3a476ce2
Translated using Weblate (French)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-06-07 08:32:13 +00:00
John Doe
aae55992ac
Translated using Weblate (Spanish)
...
Currently translated at 99.2% (2222 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2022-06-07 08:32:12 +00:00
Auri B. P
9d92b3346d
Translated using Weblate (Catalan)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-06-07 08:32:11 +00:00
Onuray Sahin
4b862be9df
Changelog added.
2022-06-07 01:05:10 +03:00
Onuray Sahin
e506337522
Remove labs flag for rendering location events.
2022-06-06 19:32:48 +03:00
Onuray Sahin
d75bd140d9
Remove location sharing flag from preferences.
2022-06-06 15:59:46 +03:00
Adam Brown
edfabb0f26
adding missing loading state when confirming password reset
...
- adds reset test cases to the onboarding view model
2022-06-06 13:59:34 +01:00
Adam Brown
fa5b7c66ca
adding dedicated fail event in the legacy onboarding flow when the reset password new password is not set
2022-06-06 13:59:34 +01:00
Adam Brown
32389a9b33
removing impossible case
2022-06-06 13:59:33 +01:00
Adam Brown
93a247e0ce
converting if/else and try/catch to when and runCatching
2022-06-06 13:58:55 +01:00
Adam Brown
cc8f17b786
moving the reset password new password to the reset confirmation step
...
- the new password is moved to the in memory view model state
2022-06-06 13:57:59 +01:00
Adam Brown
e3d46cfd15
introducing a reset state for holding onto the reset inputs
2022-06-06 13:57:58 +01:00
Adam Brown
a5f404f247
Merge pull request #6042 from vector-im/feature/adm/ftue-analytics
...
FTUE - Sign up analytics
2022-06-06 13:52:01 +01:00
Adam Brown
db3cb42cc3
renaming getter to imply the function does more than simply get a value
2022-06-06 11:41:36 +01:00
Adam Brown
06e67a313b
correctly casing github/gitlab
2022-06-06 11:39:59 +01:00
Adam Brown
49930773e7
handling the legacy onboarding complete navigation by inferring the auth description from the sign mode
...
- the type is set to other as the legacy viewmodel doesn't support tracking the sso provider
2022-06-06 11:38:29 +01:00
Onuray Sahin
bae830dd03
Merge pull request #6222 from vector-im/feature/ons/fix_voice_message_stackoverflow
...
Fix StackOverflowError while recording voice message [PSF-1065]
2022-06-06 12:58:15 +03:00
Adam Brown
6fcbd24ce1
reverting instance check, no longer needed as the event no longer contains any data
...
- it's part of the initialstate instead
2022-06-06 10:23:06 +01:00
Adam Brown
5d0d177a7a
including null case in the authentication when
2022-06-06 10:22:22 +01:00
Onuray Sahin
0b9db0ee6b
Code review fix.
2022-06-06 12:19:09 +03:00
bmarty
0104fe70ab
Sync analytics plan
2022-06-06 00:03:15 +00:00
Jorge Martin Espinosa
166d2a3ba0
Merge pull request #6151 from vector-im/feature/jorgem/outbound_presharing_keys_mode
...
Allow .well-known configuration to override key sharing mode.
2022-06-03 15:33:59 +02:00
ericdecanini
d586f64338
Removes emit method from DataSource
2022-06-03 14:53:26 +02:00
Claire G
6ed6b49d7f
fix text cropped
2022-06-03 14:41:43 +02:00
ericdecanini
a5fd11c204
Fixes detekt error
2022-06-03 12:50:05 +02:00
ericdecanini
7d8590d85f
Disables when arrow alignment post merge with develop
2022-06-03 12:14:47 +02:00
ericdecanini
5cc7deea4e
Merge remote-tracking branch 'origin/develop' into task/eric/when-arrow-alignment
...
# Conflicts:
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/registration/DefaultRegistrationWizard.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/keysbackup/DefaultKeysBackupService.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryDataSource.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/worker/MatrixWorkerFactory.kt
# vector/src/main/java/im/vector/app/core/ui/views/ReadReceiptsView.kt
# vector/src/main/java/im/vector/app/core/utils/TextUtils.kt
# vector/src/main/java/im/vector/app/features/crypto/recover/BootstrapSharedViewModel.kt
# vector/src/main/java/im/vector/app/features/crypto/verification/VerificationBottomSheetViewModel.kt
# vector/src/main/java/im/vector/app/features/home/HomeActivity.kt
# vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt
# vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/LiveLocationShareMessageItemFactory.kt
# vector/src/main/java/im/vector/app/features/home/room/list/RoomListFragment.kt
# vector/src/main/java/im/vector/app/features/home/room/list/RoomListSectionBuilderSpace.kt
# vector/src/main/java/im/vector/app/features/home/room/list/RoomSummaryItemFactory.kt
# vector/src/main/java/im/vector/app/features/onboarding/OnboardingViewModel.kt
# vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt
2022-06-03 12:06:23 +02:00
ericdecanini
9c1c87ba5d
Fixes detekt error on java doc
2022-06-03 12:05:12 +02:00
ericdecanini
f3d7127f17
Fixes lint error
2022-06-03 11:41:47 +02:00
Jeff Huang
8d15f4c83a
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-06-02 09:32:24 +00:00
Ihor Hordiichuk
42e5e96f78
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-06-02 09:32:23 +00:00
LinAGKar
a3e9e46ff2
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-06-02 09:32:22 +00:00
Jozef Gaal
c68e3d89c8
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-06-02 09:32:21 +00:00
lvre
cda71d2752
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-06-02 09:32:19 +00:00
random
41db82a731
Translated using Weblate (Italian)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-06-02 09:32:18 +00:00
Linerly
b822055e2d
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-06-02 09:32:17 +00:00
Tuomas Hietala
ffb1066a30
Translated using Weblate (Finnish)
...
Currently translated at 82.8% (1854 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2022-06-02 09:32:15 +00:00
Danial Behzadi
100da85e4a
Translated using Weblate (Persian)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-06-02 09:32:14 +00:00
Priit Jõerüüt
dc7d2d7482
Translated using Weblate (Estonian)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-06-02 09:32:13 +00:00
waclaw66
f728d5ff74
Translated using Weblate (Czech)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-06-02 09:32:11 +00:00
Auri B. P
095b220d99
Translated using Weblate (Catalan)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-06-02 09:32:10 +00:00
Onuray Sahin
966b3ce54a
Create a new list for sublist to fix stackoverflowerror.
2022-06-01 16:55:42 +03:00
Adam Brown
31db65e348
updating exit onboarding copy to avoid manual line breaks, matching iOS
2022-06-01 14:44:40 +01:00
Adam Brown
d002ab6a6b
removing unused imports
2022-06-01 09:11:05 +01:00
Adam Brown
8d3c70f522
removing unused imports
2022-06-01 09:11:05 +01:00
Adam Brown
70c35304ce
aligning the with develop to use the initial state for reading the activity arguments
2022-06-01 09:11:05 +01:00
Adam Brown
28050488ba
passing the authentication state from the onboarding and tracking sign up after the user has consented to tracking
2022-06-01 09:11:04 +01:00
Adam Brown
ac89495348
chaining the current authentication type into the onboarding state
2022-06-01 09:09:56 +01:00
Adam Brown
e89f9eae1a
providing the full SSOProvider instead of selection instead of just the id
2022-06-01 09:09:56 +01:00
Adam Brown
9110fe8a6a
lifting unavailable homeserver rendering to the activity/ftuevariant
...
- the viewmodel is now responsible for inferring connectivity errors and providing a retry action
2022-06-01 09:09:56 +01:00
ganfra
c48fd7708c
Increase extraBufferCapacity (and allow configuration) and validate behavior with tests
2022-05-31 20:11:54 +02:00
Benoit Marty
e6beb73e3d
Merge pull request #5970 from ofalvai/feature/ofa/read-receipts-design
...
Make read receipt avatar list more compact
2022-05-31 18:26:57 +02:00
Benoit Marty
884525bef0
Merge pull request #6125 from vector-im/task/eric/code-style-parenthesis
...
Code Style - New line before and after method parentheses
2022-05-31 18:17:07 +02:00
Benoit Marty
1c73e28226
Version++
2022-05-31 17:58:09 +02:00
Olivér Falvai
b5168f27dd
Merge remote-tracking branch 'origin/develop' into feature/ofa/read-receipts-design
2022-05-31 17:50:02 +02:00
Benoit Marty
8e5c96adf5
Merge pull request #6205 from vector-im/johannes/fatal
...
Use fatalError instead of NPE
2022-05-31 16:37:49 +02:00
Benoit Marty
fd5c30c8a9
Fix formatting issue.
2022-05-31 16:36:59 +02:00
Benoit Marty
5b985dc032
Merge pull request #5827 from mikonse/fix-notification-space-switch
...
do not switch away from home space on notification
2022-05-31 16:34:47 +02:00
Johannes Marbach
637b3bb5ba
Fix tests
2022-05-31 16:16:54 +02:00
Maxime NATUREL
de185b94f3
Merge pull request #6199 from vector-im/feature/mna/6198-remove-background-location-permission
...
Remove background location permission
2022-05-31 15:58:57 +02:00
Benoit Marty
df23fd10bc
Remove unused import
2022-05-31 14:42:09 +02:00
Maxime NATUREL
2ca96a770d
Declaring tools namespace prefix to fix strange build error
2022-05-31 14:24:09 +02:00
ericdecanini
8af49891ff
Post merge conflict reformatting
2022-05-31 14:23:02 +02:00
ericdecanini
e6e05317e1
Merge remote-tracking branch 'origin/develop' into task/eric/code-style-parenthesis
...
# Conflicts:
# matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto/verification/qrcode/VerificationTest.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/keysbackup/DefaultKeysBackupService.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/DefaultRoomService.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryDataSource.kt
# vector/src/main/java/im/vector/app/features/home/room/list/RoomSummaryItemFactory.kt
# vector/src/main/java/im/vector/app/features/media/ImageContentRenderer.kt
2022-05-31 14:21:16 +02:00
Maxime NATUREL
4f3b4a71ce
Ignore unused strings to be deleted
2022-05-31 13:46:14 +02:00
Johannes Marbach
4fc6cb1de3
Use fatalError instead of NPE
...
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-05-31 13:42:31 +02:00
Benoit Marty
9d60aff8a2
Remove unused strings.
2022-05-31 12:11:16 +02:00
Benoit Marty
3cc1951587
Merge pull request #6196 from vector-im/feature/bma/lao
...
Make Lao language available in the in app setting.
2022-05-31 11:42:07 +02:00
Benoit Marty
d6b68a33c9
Merge pull request #6194 from vector-im/bma/translators_note
...
Add note to translators.
2022-05-31 11:40:52 +02:00
Benoit Marty
aa753e4845
Merge pull request #6197 from RiotTranslateBot/weblate-element-android-element-app
...
Translations update from Weblate
2022-05-31 11:38:41 +02:00
Jorge Martín
2271df9907
Add support for setting pre sharing keys mode from .well-known
2022-05-31 11:32:39 +02:00
Maxime NATUREL
233fe21f26
Remove runtime permission request
2022-05-31 11:04:48 +02:00
Maxime NATUREL
90cda6b2be
Adding todo to delete some strings
2022-05-31 11:04:29 +02:00
Maxime NATUREL
00002105cf
Remove permission declaration in Manifests
2022-05-31 11:04:14 +02:00
Jorge Martin Espinosa
2e1a11e10e
Merge pull request #6134 from vector-im/feature/jorgem/mandatory-backup-passphrase
...
Add support for mandatory backup or passphrase from .well-known home server configuration
2022-05-31 11:02:02 +02:00
Johannes Marbach
7dd5b801bb
Merge pull request #6149 from vector-im/johannes/widget-system-permissions
...
Make widget web view request system permissions for camera and microphone (PSF-1061)
2022-05-31 10:54:45 +02:00
Adam Brown
7fdf138e5a
Merge pull request #6036 from vector-im/feature/adm/ftue-deeplinks
...
FTUE - Homeserver sign in/up deeplinks
2022-05-31 09:30:17 +01:00
Weblate
7f59efb876
Merge branch 'origin/develop' into Weblate.
2022-05-31 08:04:30 +00:00
Mr.Narsus
2e7c7c94fb
Translated using Weblate (Arabic)
...
Currently translated at 44.0% (981 of 2225 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-05-31 08:04:18 +00:00
Jorge Martín
130ed63b03
Add support for mandatory backup or passphrase from .well-known configuration
2022-05-31 10:00:46 +02:00
Johannes Marbach
4ebb26d3d3
Merge branch 'develop' into johannes/widget-system-permissions
2022-05-31 09:53:31 +02:00
Benoit Marty
c6c96677e2
Make Lao language available in the in app setting.
2022-05-31 09:52:11 +02:00
Johannes Marbach
373991915e
Add missing file
2022-05-31 08:10:13 +02:00
Benoit Marty
8cddd9f575
Add note to translators.
2022-05-30 21:20:15 +02:00
Benoit Marty
483b1ab503
Merge pull request #6132 from jtbx/patch-1
...
Fixed grammar in 2 English strings
2022-05-30 21:18:08 +02:00
Benoit Marty
5de6771547
Merge pull request #6166 from networkException/autoplay-animated-images
...
[Feature] Add the option to autoplay animated images
2022-05-30 20:42:19 +02:00
Johannes Marbach
70bb2b7fee
Combine event listener interfaces
2022-05-30 20:28:09 +02:00
Benoit Marty
bd2cd3ad96
Merge pull request #6183 from SpiritCroc/persist-image-notification
...
Fix some notifications never getting dismissed
2022-05-30 20:24:11 +02:00
Johannes Marbach
5b64946dfb
Remove empty default implementation
2022-05-30 20:18:56 +02:00
Onuray Sahin
4ccd242cbf
Merge pull request #6170 from vector-im/feature/ons/live_location_bottom_sheet
...
Live Location Sharing - User List Bottom Sheet [PSF-890]
2022-05-30 21:07:25 +03:00
networkException
b138ac8601
MessageImageVideoItem: Hide play button for autoplaying animated images
...
This patch updates the logic checking whether to show the
playContentView to not show it when an animated image message would
autoplay its animation.
Signed-off-by: networkException <git@nwex.de>
2022-05-30 20:05:26 +02:00
networkException
9d0fe46723
ImageContentRenderer: Enable image animation if enabled in preferences
...
This patch removes dontAnimate() in the createGlideRequest() builder
conditionally depending on the user's animated image autoplay
preferences.
Resolves #1160 , #5094
Signed-off-by: networkException <git@nwex.de>
2022-05-30 20:05:26 +02:00
networkException
9b60ee70c5
MessageInformationData: Add messageType field
...
This patch adds the messageType field to MessageInformationData,
containing a nullable string representation of the message event's type.
Signed-off-by: networkException <git@nwex.de>
2022-05-30 20:05:26 +02:00
networkException
f86362f065
VectorPreferences: Add switch for autoplaying animated images
...
This patch adds a new switch to VectorPreferences, the vector settings
preferences view and various classes propergating the set value of the
switch into parts of the application touched by the following patches.
Signed-off-by: networkException <git@nwex.de>
2022-05-30 20:05:26 +02:00
Benoit Marty
ae94f45f34
Merge pull request #5952 from vector-im/feature/bma/sdk_user_story
...
Sdk user story
2022-05-30 18:30:56 +02:00
Onuray Sahin
353f290f0c
Fix unit tests.
2022-05-30 19:21:57 +03:00
Johannes Marbach
75da9887be
Move test to the right folder
2022-05-30 17:09:28 +02:00
Johannes Marbach
769b217c7e
Remove unused imports
2022-05-30 16:53:59 +02:00
Onuray Sahin
84b3d5520c
Fix unit tests.
2022-05-30 17:41:26 +03:00
Johannes Marbach
d757914225
Unsuppress lint rule
2022-05-30 16:35:44 +02:00
Johannes Marbach
73d78646ea
Turn test into normal unit test
2022-05-30 16:34:19 +02:00
Auri B. P
a10e67c594
Translated using Weblate (Catalan)
...
Currently translated at 100.0% (2225 of 2225 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-05-30 14:32:30 +00:00
Mr.Narsus
1e5b378fbf
Translated using Weblate (Arabic)
...
Currently translated at 44.0% (979 of 2225 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-05-30 14:32:10 +00:00
Benoit Marty
0806e7358a
Merge pull request #5780 from ofalvai/dependency-cleanup
...
Remove unused dependencies
2022-05-30 15:41:10 +02:00
Onuray Sahin
04679ea21d
Merge branch 'develop' into feature/ons/live_location_bottom_sheet
...
* develop: (114 commits)
Docs: Fix various formatting and spelling issues in notifications.md
Fixing non necessary breaking line
continuing to the originally supplied url when a rtl override character is detected
splitting url detection condition into separate branches
Cleaner code
Create extension `String?.toActiveSpaceOrOrphanRooms()` to reduce noise.
Add changelog
Fix test compilation
Add some Kdoc
Add some Kdoc
Create SpaceFilter.OrphanRooms to improve the API. Not 100% of the side effect. There is probably some (fixed?) bugs here.
Rename ActiveSpaceFilter to SpaceFilter
Remove `ActiveSpaceFilter.None` Prefer nullability for API coherency of `RoomSummaryQueryParams`
Add some Kdoc
Remove duplicated lines of code (the same code is done a few lines later)
Remove `RoomCategoryFilter.ALL` Prefer nullability for API coherency of `RoomSummaryQueryParams`
`displayName` default value is now `QueryStringValue.NoCondition`. It was working fine since in the DB we always have a name using `RoomDisplayNameFallbackProvider`, which in our current implementation always return a non empty String.
Small rework for nicer code
Remove duplicated code lines
Remove `roomId` from `RoomSummaryQueryParams.Builder()`. Create a new API in RoomService to observe a room summary from a roomId.
...
# Conflicts:
# vector/src/main/java/im/vector/app/features/location/live/map/LocationLiveMapViewFragment.kt
2022-05-30 16:27:11 +03:00
Aris Kotsomitopoulos
9a756f2b7a
Merge pull request #6168 from vector-im/feature/aris/threads_update_icons
...
Fix wrong rendered vector icon
2022-05-30 15:59:18 +03:00
SpiritCroc
0670c3c6ee
Update unit test for imageUriString
2022-05-30 14:55:08 +02:00
Onuray Sahin
21abc3fa77
Code review fixes.
2022-05-30 15:40:36 +03:00
Benoit Marty
ab651cbe50
Merge pull request #6164 from vector-im/bug/adm/link-checking
...
Ask the user to confirm urls which contain unicode direction overrides
2022-05-30 14:07:23 +02:00
SpiritCroc
292020e95d
Fix some notifications never getting dismissed
...
Persisting notification info fails for non-null Uris:
E NotificationEventPersistence: ## Failed to save cached notification info
E NotificationEventPersistence: java.io.NotSerializableException: android.net.Uri$HierarchicalUri
E NotificationEventPersistence: at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1240)
E NotificationEventPersistence: at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1604)
E NotificationEventPersistence: at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1565)
E NotificationEventPersistence: at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1488)
E NotificationEventPersistence: at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)
E NotificationEventPersistence: at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)
E NotificationEventPersistence: at java.util.ArrayList.writeObject(ArrayList.java:762)
E NotificationEventPersistence: at java.lang.reflect.Method.invoke(Native Method)
E NotificationEventPersistence: at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1036)
E NotificationEventPersistence: at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1552)
E NotificationEventPersistence: at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1488)
E NotificationEventPersistence: at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)
E NotificationEventPersistence: at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)
E NotificationEventPersistence: at org.matrix.android.sdk.internal.session.securestorage.SecretStoringUtils.saveSecureObjectM(SecretStoringUtils.kt:283)
E NotificationEventPersistence: at org.matrix.android.sdk.internal.session.securestorage.SecretStoringUtils.securelyStoreObject(SecretStoringUtils.kt:150)
E NotificationEventPersistence: at org.matrix.android.sdk.internal.session.securestorage.DefaultSecureStorageService.securelyStoreObject(DefaultSecureStorageService.kt:27)
E NotificationEventPersistence: at im.vector.app.features.notifications.NotificationEventPersistence.persistEvents(NotificationEventPersistence.kt:58)
E NotificationEventPersistence: at im.vector.app.features.notifications.NotificationDrawerManager$persistEvents$1.invoke(NotificationDrawerManager.kt:183)
E NotificationEventPersistence: at im.vector.app.features.notifications.NotificationDrawerManager$persistEvents$1.invoke(NotificationDrawerManager.kt:182)
E NotificationEventPersistence: at im.vector.app.features.notifications.NotificationState.queuedEvents(NotificationState.kt:55)
E NotificationEventPersistence: at im.vector.app.features.notifications.NotificationDrawerManager.persistEvents(NotificationDrawerManager.kt:182)
E NotificationEventPersistence: at im.vector.app.features.notifications.NotificationDrawerManager.refreshNotificationDrawerBg(NotificationDrawerManager.kt:177)
Accordingly, if a notification for an image is shown, and the
notification state is loaded from storage later, none of the previously
shown notifications will get dismissed once read.
Likely addresses https://github.com/vector-im/element-android/issues/4862 .
Change-Id: I2d6be497e8b92e770b680e16e42b3610add57323
2022-05-30 13:06:09 +02:00
Onuray Sahin
aa344b1ecd
Code documentation.
2022-05-30 13:56:17 +03:00
Maxime NATUREL
eeaf9fd616
Merge pull request #6129 from vector-im/feature/mna/PSF-1019-user-pins
...
[Location sharing] - Show user live location pins in map view (PSF-1019)
2022-05-30 12:32:09 +02:00
Onuray Sahin
b262aad3a8
Remove unused layout.
2022-05-30 13:24:31 +03:00