Commit Graph

11604 Commits

Author SHA1 Message Date
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
Maxime NATUREL 8d8ee051eb Improve readability of merged Header factory code 2022-07-19 14:04:08 +02:00
Onuray Sahin c408f824d3 Code review fixes. 2022-07-19 14:58:00 +03:00
Eric Decanini 221cb24de8
Merge pull request #6584 from vector-im/task/eric/new_layout_feature_flag
Adds NewAppLayoutEnabled Feature Flag
2022-07-19 12:24:16 +01:00
Benoit Marty 758f0398bd Fix error when building ``./gradlew assembleGplayNightly`. Just reordering lines...
Error was `No matching client found for package name 'im.vector.app'`
2022-07-19 12:50:47 +02:00
Onuray Sahin 493dc57a29 Code review fixes. 2022-07-19 13:41:00 +03:00
Benoit Marty 4d4dbc958b
Merge pull request #6590 from vector-im/bugfix/nfe/missing_font_scale_setting
fixed crash when system font scale setting isn't set
2022-07-19 12:30:38 +02:00
Onuray Sahin 8b6e4dd4d4
Merge pull request #6579 from vector-im/feature/ons/fix_remove_live_location_logs
Do not log the live location of the user (PSG-63)
2022-07-19 12:18:58 +03:00
ericdecanini 2f408656a7 Changes vector override to vector feature 2022-07-19 10:43:55 +02:00
NIkita Fedrunov f37e3b71eb fixed crash when system font scale setting isn't set 2022-07-19 10:40:14 +02:00
Onuray Sahin e2cd75284f Check user power level before sharing live location. 2022-07-18 18:46:03 +03:00
ericdecanini fbd1763dcf Adds new app layout enabled feature flag 2022-07-18 16:49:42 +02:00
ericdecanini 7d29fbc68c Fixes post merge errors 2022-07-18 15:06:25 +02:00
ericdecanini c73c36eb26 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/MigrateSessionTo032.kt
#	vector/src/main/java/im/vector/app/features/home/room/list/RoomListSectionBuilderGroup.kt
#	vector/src/main/java/im/vector/app/features/home/room/list/RoomListSectionBuilderSpace.kt
2022-07-18 15:05:04 +02:00
ericdecanini 67dd250f83 Merge remote-tracking branch 'origin/develop' into task/eric/replace_flatten_with_direct_parent 2022-07-18 15:03:42 +02:00
ericdecanini 13b9b5b5d6 Changes string into plural 2022-07-18 14:47:09 +02:00
Benoit Marty 4ed24b5571
Merge pull request #6478 from vector-im/feature/bma/nightly
Nightly build published on Firebase
2022-07-18 14:22:15 +02:00
Onuray Sahin 55a5752e3b Remove unused import. 2022-07-18 14:40:44 +03:00
Onuray Sahin ac3285001f Do not log the live location of the user. 2022-07-18 13:50:35 +03:00
Maxime NATUREL 6b403ec224
Merge pull request #6542 from vector-im/feature/mna/lls-standardise-stop-text
[Location Share] - Standardise "Stop" texts for live (PSG-622)
2022-07-18 10:43:43 +02:00
Nikita Fedrunov 79762d9133
font scale setting screen (#6453) 2022-07-18 09:49:57 +02:00
Benoit Marty cdbc197426
Merge pull request #6549 from vector-im/feature/bma/fix_6514
Just go back to the timeline if the user is already viewing the DM with the other user.
2022-07-18 09:48:44 +02:00
Maxime NATUREL cda100e596 Using same string key for stop + fix insets in button styles 2022-07-18 09:43:33 +02:00
Jeff Huang bd7d3c5563 Translated using Weblate (Chinese (Traditional))
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/zh_Hant/
2022-07-16 20:32:30 +00:00
Ihor Hordiichuk c38082eb63 Translated using Weblate (Ukrainian)
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/uk/
2022-07-16 20:32:30 +00:00
Jozef Gaal fd6be11b6d Translated using Weblate (Slovak)
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/sk/
2022-07-16 20:32:29 +00:00
Didek dafbb32b97 Translated using Weblate (Polish)
Currently translated at 98.8% (2239 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-07-16 20:32:29 +00:00
Johan Smits 907dc000ef Translated using Weblate (Dutch)
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/nl/
2022-07-16 20:32:29 +00:00
random 26811c3c39 Translated using Weblate (Italian)
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/it/
2022-07-16 20:32:28 +00:00
Linerly d4c61c7018 Translated using Weblate (Indonesian)
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/id/
2022-07-16 20:32:28 +00:00
Glandos ccdc61d34b Translated using Weblate (French)
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/fr/
2022-07-16 20:32:27 +00:00
Danial Behzadi 5c50a1d15b Translated using Weblate (Persian)
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/fa/
2022-07-16 20:32:27 +00:00
Priit Jõerüüt fcc334dc17 Translated using Weblate (Estonian)
Currently translated at 99.6% (2257 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-07-16 20:32:26 +00:00
Lamdarer 663302b582 Translated using Weblate (German)
Currently translated at 99.3% (2250 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-07-16 20:32:25 +00:00
waclaw66 8cc174a5c1 Translated using Weblate (Czech)
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/cs/
2022-07-16 20:32:25 +00:00
Auri B. P e58652a101 Translated using Weblate (Catalan)
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/ca/
2022-07-16 20:32:24 +00:00
Adam Brown 92f8dd971d promoting ftue strings for translation 2022-07-15 18:10:33 +01:00
Adam Brown 86b0c9cd78 removing display name subtitle 2022-07-15 15:58:11 +01:00
Adam Brown 91a63194ef fixing formatting 2022-07-15 15:42:14 +01:00
Adam Brown 5f6654b696 removing display name subtitle 2022-07-15 15:42:14 +01:00
Adam Brown b1ef4dd60c defaulting the display name to the username segment of the account the user has created 2022-07-15 15:42:14 +01:00
Adam Brown ee5cc19c23 updating login copy 2022-07-15 15:42:14 +01:00
Adam Brown 677818a18e updating reset password copy 2022-07-15 15:42:14 +01:00
Adam Brown c4a1d213b8 updating personalisation complete copy 2022-07-15 15:42:14 +01:00
Adam Brown a6e6f68a1e updating profile picture copy 2022-07-15 15:42:14 +01:00
Adam Brown 2fe1b57297 updating captcha copy and removing subtitle 2022-07-15 15:42:14 +01:00
Adam Brown 8e4e70aaf9 updating terms copy 2022-07-15 15:42:14 +01:00
Adam Brown 548a243d64 updating phone number entry to include the homeserver and reduced confirmation copy 2022-07-15 15:42:14 +01:00
Adam Brown 3140867252 bolding the account created username 2022-07-15 15:42:14 +01:00
Adam Brown be92fe2564 updating email entry copy to include the current homeserver 2022-07-15 15:42:14 +01:00
Adam Brown d8d0d6f2d9 removing the server url footer text 2022-07-15 15:42:14 +01:00
Adam Brown e3708be04e updating server url selection copy 2022-07-15 15:42:14 +01:00
Adam Brown 95c6b88e12 updating use case screen copy 2022-07-15 15:42:13 +01:00
Onuray Sahin ab151cddd1 Implement share location popup. 2022-07-15 15:27:49 +03:00
Onuray Sahin d7e1cba45c Create popup resources. 2022-07-15 15:25:52 +03:00
Adam Brown 67676a41cb removing unused string 2022-07-15 11:34:12 +01:00
Adam Brown 2f3dc24857 adds 8 character predicate for registering passwords
- removes confusing extension in favour of splitting the error resets and submit enabled states
2022-07-15 11:34:12 +01:00
Adam Brown 400d8058e8 reusing text input layout extension 2022-07-15 11:34:12 +01:00
Adam Brown 985e1569bf adding tests around the user name availability checks 2022-07-15 11:34:12 +01:00
Adam Brown 1062bfe039 checking user name is available at the point of user name entry during the registration flow 2022-07-15 11:34:12 +01:00
Adam Brown b8d4ff552f separating the user name entered action for login vs register in prep for different behaviours 2022-07-15 11:34:12 +01:00
Adam Brown ffb8b10f66 adding extension for acting on textinputlayout text changes 2022-07-15 11:34:12 +01:00
Adam Brown a02141c7c2 adding extension for checking if charsequence is a matrix id 2022-07-15 11:34:12 +01:00
Adam Brown aeb881e8b6 hiding the entry views when clearing the errors 2022-07-15 11:34:12 +01:00
Adam Brown 2792cceebe removing the combined register subtitle to match design update 2022-07-15 11:34:12 +01:00
Adam Brown b2ee7f327f removing homeserver description to match updated designs
-  it was hardcoded for matrix.org and made other server selections cause the page balance to feel off
2022-07-15 11:34:12 +01:00
Nikita Fedrunov c7b54b8d3d
legacy groups removal (#6268) 2022-07-15 12:25:10 +02:00
Jorge Martín 6c1016caff Fixes wrong voice message being displayed and played on the timeline. 2022-07-14 17:21:16 +02:00
Adam Brown ac7aa9f31d
Merge pull request #6512 from vector-im/feature/adm/ui-test-stabilization
UI test stabilization
2022-07-14 15:47:28 +01:00
Benoit Marty 2c10678263 Just go back to the timeline if the user is already viewing the DM with the other user.
Fix #6514
2022-07-13 22:19:34 +02:00
Benoit Marty 4c496bb148 Version++ 2022-07-13 12:46:32 +02:00
Benoit Marty 3a80880ac7 Delete unused key `error_attachment` 2022-07-13 11:33:54 +02:00
Benoit Marty e40b646adb
Merge pull request #6527 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-07-13 11:30:05 +02:00
Adam Brown 257f41dbf1
Merge pull request #6471 from vector-im/feature/adm/sharing-tests
Adding tests around the share intent handling
2022-07-13 10:12:09 +01:00
Weblate 39a41f6b4e Merge branch 'origin/develop' into Weblate. 2022-07-13 08:52:01 +00:00
Adam Brown 2c843985ca updating variable to include name (as it's holding the space name 2022-07-13 09:17:50 +01:00
Florian Renaud 909ce290c8
Merge pull request #6051 from vector-im/feature/fre/start_dm_on_first_msg
Start DM on first message (UI)
2022-07-12 15:12:17 +02:00
Adam Brown 46ed9a87e4 removing unused imports 2022-07-12 13:28:19 +01:00
Adam Brown f3e0ae0819 selecting the space with the empty room before attempt to interact with it 2022-07-12 13:28:19 +01:00
Adam Brown f501555ff9 adding extra waits for the threads list to appear as it seems to be inconsistent 2022-07-12 13:28:19 +01:00
Adam Brown c7efd8a6f6 always attempting to close the keyboard to help avoid can't inject events error 2022-07-12 13:28:19 +01:00
Adam Brown 8db704f3b9 naming the threads room creation to avoid multiple rooms with empty room as the name, causing ambiguous assertion errors 2022-07-12 13:28:19 +01:00
Adam Brown a5bf25f2b4
Merge pull request #6511 from vector-im/feature/rooms-in-space-default
Fixes inconsistent rooms in home behaviour
2022-07-12 13:25:58 +01:00
Adam Brown 6266b2019b removing legacy migration flag from 12 months ago 2022-07-12 09:57:48 +01:00
Florian Renaud 53eb852e3a Merge branch 'develop' into feature/fre/start_dm_on_first_msg
* develop:
  Group if together
  io.element.android:opusencoder:1.0.3 - should fix lint false positive issues
  Indentation, move comment above the block.
  Do the check on towncrier only for PR targeting develop branch
  Format file
  io.element.android:opusencoder:1.0.1
  Add a VectorFeatures to force usage of the library OpusEncoder
  Add dependency to opusencoder and remove module from this project
  shorter name
  Add GitHub action to check for a towncrier file
2022-07-12 09:14:58 +02:00
Benoit Marty a806991e88
Merge pull request #6489 from vector-im/feature/bma/lib_opusencoder
Add dependency to opusencoder and remove module from this project
2022-07-11 22:39:53 +02:00
Florian Renaud a10a8ce5ca Add margin after the action button of the user list toolbar 2022-07-11 16:19:27 +02:00
Florian Renaud fb87d31ce4 Update the title of the local room timeline 2022-07-11 15:24:48 +02:00
Coruna 6ab746d8be Translated using Weblate (German)
Currently translated at 99.6% (2251 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-07-11 11:32:27 +00:00
Ultimator14 10796f1fa0 Translated using Weblate (German)
Currently translated at 99.6% (2251 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-07-11 11:32:22 +00:00
Florian Renaud 68bd55fef5 Merge branch 'develop' into feature/fre/start_dm_on_first_msg
* develop: (156 commits)
  adding test case for showing html entities are processed
  adding tests around the event html rendering - the test helper is a little hacky in order to covert the spans to something human readable
  removing extra line
  adding changelog entry
  overriding the default list handler with an implementation that takes into account the initial starting position
  trigger CI
  Use executeTransactionAwait (need realm refresh in this case)
  Bump flipper from 0.152.0 to 0.153.0
  Use executeTransactionAwait (need realm refresh in this case)
  generating 1.4.27 changelog and updating version
  Fixing crash when sharing plain text, such as a url
  Fix crashes when opening Thread (#6463)
  Timeline: fix validation of timeline event changes
  Fix ConcurrentModificationException on BackgroundDetectionObserver
  Fix crashes when opening Thread (#6463)
  suppressing unused string resource
  Changelog
  Fix ConcurrentModificationException on BackgroundDetectionObserver
  Fix typo
  adding changelog entry
  ...
2022-07-11 12:03:24 +02:00
Ihor Hordiichuk b7b1a96bc2 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2260 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-07-09 19:32:25 +00:00
LinAGKar b9b261a3a3 Translated using Weblate (Swedish)
Currently translated at 100.0% (2260 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-07-09 19:32:25 +00:00
Johan Smits 40949aaf7e Translated using Weblate (Dutch)
Currently translated at 100.0% (2260 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-07-09 19:32:23 +00:00
Mya Rohit 94567510ca Translated using Weblate (Bulgarian)
Currently translated at 66.6% (1507 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/bg/
2022-07-09 19:32:22 +00:00
Adam Brown 5a378383f5
Merge pull request #6454 from vector-im/feature/adm/ftue-edit-server-bug
FTUE - Homeserver edits not updating the selected server UI
2022-07-08 11:35:17 +01:00
Adam Brown bdc370474e migrating the previous orphaned rooms settings in order to fix the inconsistent value
- only uses the previous value if the key exists, otherwise we end up defaulting to true instead of false (which the preferences screen expects)
- manually deletes the key after migrating the value
2022-07-08 11:20:49 +01:00
Nikita Epifanov 6acd37e457 Translated using Weblate (Russian)
Currently translated at 100.0% (2260 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-07-07 20:32:22 +00:00
Priit Jõerüüt 07f2d9b449 Translated using Weblate (Estonian)
Currently translated at 99.6% (2252 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-07-07 20:32:21 +00:00
Benoit Marty 9a059ead44 Add a VectorFeatures to force usage of the library OpusEncoder 2022-07-07 18:29:02 +02:00
Benoit Marty 95f4d88461 Do not alter the app name for the nightly, and finally use `initWith release` to avoid too many copy paste. 2022-07-07 17:45:18 +02:00
Adam Brown ead8cec4a6 adding test case for showing html entities are processed 2022-07-07 13:54:42 +01:00
Adam Brown cfb1e09d64 adding tests around the event html rendering
- the test helper is a little hacky in order to covert the spans to something human readable
2022-07-07 13:47:42 +01:00
Adam Brown a0f86d270b removing extra line 2022-07-07 13:47:42 +01:00
Adam Brown d904ebbd70 overriding the default list handler with an implementation that takes into account the initial starting position 2022-07-07 13:47:42 +01:00
Benoit Marty e3b3617b1a Add dependency to opusencoder and remove module from this project 2022-07-06 17:54:57 +02:00
Nui Harime 7d800dd8e0 Translated using Weblate (Russian)
Currently translated at 99.5% (2250 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-07-06 15:32:25 +00:00
Daimar Stein c7a7a4db16 Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (2257 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-07-06 15:32:25 +00:00
Mateus Rodrigues Costa d8533b0abf Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (2257 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-07-06 15:32:24 +00:00
John Doe de0c4f3f67 Translated using Weblate (Spanish)
Currently translated at 98.8% (2233 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2022-07-06 15:32:23 +00:00
Benoit Marty b3e86129e9 `initWith release` does not take care of `postprocessing` block, so rather do some copy paste, to avoid a warning about values being replaced 2022-07-06 17:00:09 +02:00
Benoit Marty 11b2cd3dc0 Configure Firebase appdistribution plugin 2022-07-06 15:37:21 +02:00
Benoit Marty 388a380101 Add "-nightly" suffix to version name 2022-07-06 15:37:21 +02:00
Benoit Marty 5793a38774 Add label for rageshake to know the build type, in particular to know if it's a nightly build. 2022-07-06 15:37:21 +02:00
Benoit Marty a030769aea Change icon background color for nightly build 2022-07-06 15:37:21 +02:00
Benoit Marty ea5b2b3433 Add sources for nightly. Use release version, change AnalyticsConfig.kt and shortcuts.xml. 2022-07-06 15:37:21 +02:00
ericdecanini c6728dde38 Changes string format of space parents to maintain parity with web 2022-07-06 13:36:17 +01:00
Adam Brown 169ac9d0a0 updating the known SDK mimetypes and making use of them for the intent switches 2022-07-06 12:06:17 +01:00
Adam Brown 59ef8e10c8 injecting the context directly to the handler 2022-07-06 12:02:45 +01:00
Adam Brown d19346b9c6 fixing formatting 2022-07-06 11:58:55 +01:00
Adam Brown ad76cbbc40 adding tests around share intent handling 2022-07-06 11:58:55 +01:00
Adam Brown 89348995c2
Merge pull request #6467 from vector-im/feature/adm/share-text-crash
Crash - Sharing text
2022-07-06 11:24:56 +01:00
Benoit Marty 7616912411
Merge pull request #6436 from vector-im/feature/bma/activity_fragment_1_5_0
Upgrade androidx activity and fragment to 1.5.0
2022-07-06 11:44:22 +02:00
Benoit Marty 8434fb9a64 Add fallback for submodules 2022-07-05 16:11:44 +02:00
Benoit Marty 586c227816 Add google-services.json for nightly builds 2022-07-05 16:09:18 +02:00
Benoit Marty f469450ca4 Setup `nightly` buildType 2022-07-05 16:07:12 +02:00
Benoit Marty d957e24747
Merge pull request #6458 from vector-im/feature/bma/android_services
Rename Android Service to use `AndroidService` suffix
2022-07-05 14:07:36 +02:00
Nui Harime 568052c4ce Translated using Weblate (Russian)
Currently translated at 99.5% (2250 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-07-05 10:32:24 +00:00
Daniil Omelchenko c9e93d695b Translated using Weblate (Russian)
Currently translated at 99.5% (2250 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-07-05 10:32:23 +00:00
Didek 61f19d5bde Translated using Weblate (Polish)
Currently translated at 99.1% (2241 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-07-05 10:32:22 +00:00
Jeanne Lavoie d055d5e5df Translated using Weblate (French (Canada))
Currently translated at 79.7% (1802 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr_CA/
2022-07-05 10:32:22 +00:00
Auri B. P bf95ece5c8 Translated using Weblate (Catalan)
Currently translated at 100.0% (2260 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-07-05 10:32:21 +00:00
Adam Brown 03202080b3 suppressing unused string resource 2022-07-05 11:17:10 +01:00
Benoit Marty f0c8c3fd63 Rename Android Service to use `AndroidService` suffix to limit confusion with our Matrix SDK Services 2022-07-04 21:39:01 +02:00
Benoit Marty 293a177148 Quick rework, better to search for expected MenuItem 2022-07-04 21:27:28 +02:00
Benoit Marty 3e42cec4ec Fix detekt issue. 2022-07-04 21:15:38 +02:00
Benoit Marty 57f42ed0f5
Fix copy paste issue 2022-07-04 21:10:51 +02:00
Adam Brown 2c444527bd
Merge pull request #6447 from cloudrac3r/fix-html-entities
Fix HTML entities being displayed in messages
2022-07-04 17:31:34 +01:00
Adam Brown dd397b9a48 splitting the share intent handling from the attachments helper
- decouples the attachment callback
2022-07-04 17:14:49 +01:00
Benoit Marty 1355178fee Fix compilation issue for Fragment 2022-07-04 17:42:58 +02:00
Benoit Marty 81505d3802 Menu: extract management to a common interface / Migrate Fragments 2022-07-04 17:30:06 +02:00
Adam Brown 8811f752e5 converting if/else to when 2022-07-04 16:15:01 +01:00
Benoit Marty be099dcae0 Menu: extract management to a common interface / Migrate Activities 2022-07-04 17:10:12 +02:00
Adam Brown 6cd05c899e fixing homeserver edits not updating the selected server UI 2022-07-04 12:05:31 +01:00
Adam Brown abf35d730d
Merge pull request #6157 from vector-im/feature/adm/ftue-msisdn-confirmation
[FTUE] MSISDN / Phone number confirmation
2022-07-04 11:29:39 +01:00
Maxime NATUREL f3e7d0daff
Merge pull request #6431 from vector-im/fix/mna/closed-poll-visible-votes
[Poll] - Wrong votes in closed poll after removing 2 previous polls (PSG-590)
2022-07-04 11:33:26 +02:00
Maxime NATUREL 906fe8be76
Merge pull request #6425 from vector-im/fix/mna/undisclosed-poll-description
[Poll] - Add a description under undisclosed poll when not ended (PSB-134)
2022-07-04 11:20:59 +02:00
ericdecanini 654eede21b Adds VersioningStateTest 2022-07-04 10:06:00 +01:00
Adam Brown 2a36dc8ee5 using confirmation copy for the confirmation code entry field 2022-07-04 09:44:45 +01:00
ericdecanini e003bc973a Adds clearing to directParentNames 2022-07-04 09:37:36 +01:00
Adam Brown daecd7d43a returning the error result directly from the when 2022-07-04 09:21:15 +01:00
Maxime NATUREL 26aaf84806 Renaming field to votesStatus 2022-07-04 10:14:15 +02:00
Cadence Ember a53ad39e1a Add comments for the EventHtmlRenderer file 2022-07-04 01:07:38 +12:00
Cadence Ember 84bb11c1bf Fix HTML entities being displayed in messages
Initially reported in #6445. Fixes #6445.
This was a regression from #6357.

The fix is to enable Markwon's HTML entities processor.
2022-07-04 01:07:14 +12:00
Jeff Huang 227f6ffa58 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2260 of 2260 strings)

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

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-07-02 13:32:30 +00:00
LinAGKar ca565ea3d9 Translated using Weblate (Swedish)
Currently translated at 98.8% (2235 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-07-02 13:32:29 +00:00
Jozef Gaal 5108b5dccb Translated using Weblate (Slovak)
Currently translated at 100.0% (2260 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-07-02 13:32:29 +00:00
Nui Harime 1c03162357 Translated using Weblate (Russian)
Currently translated at 98.6% (2230 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-07-02 13:32:27 +00:00
Przemysław Romanik 67d595dbf1 Translated using Weblate (Polish)
Currently translated at 98.8% (2233 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-07-02 13:32:27 +00:00
random 6f610b134e Translated using Weblate (Italian)
Currently translated at 100.0% (2260 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-07-02 13:32:27 +00:00
Linerly 0241a21674 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2260 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-07-02 13:32:25 +00:00
Glandos 063b017f42 Translated using Weblate (French)
Currently translated at 100.0% (2260 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-07-02 13:32:24 +00:00
Danial Behzadi 61d8af62d5 Translated using Weblate (Persian)
Currently translated at 99.6% (2253 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-07-02 13:32:22 +00:00
Priit Jõerüüt 6dbdc34f0f Translated using Weblate (Estonian)
Currently translated at 99.2% (2242 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-07-02 13:32:21 +00:00
waclaw66 6c2574c99e Translated using Weblate (Czech)
Currently translated at 100.0% (2260 of 2260 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-07-02 13:32:20 +00:00
Benoit Marty f7a0615105 Fix warning on `onMultiWindowModeChanged` method overriding. 2022-07-01 17:35:01 +02:00
Valere 8dc57fe2f0
Merge pull request #5853 from vector-im/feature/aris/crypto_share_room_keys_past_messages
Share Megolm session keys when inviting a new user
2022-07-01 17:33:43 +02:00
Benoit Marty 397614121c Fix warning on `onPictureInPictureModeChanged` method overriding. 2022-07-01 17:30:48 +02:00
Benoit Marty 944b447d93 Fix regression when closing the screen to create a DM from the toolbar. Rework this part a bit. 2022-07-01 17:06:02 +02:00
Benoit Marty aae6e20f9c Migration to activity 1.5.0. Rework menu management 2022-07-01 17:06:02 +02:00
Eric Decanini bdb49f5946
Merge pull request #5398 from vector-im/bugfix/eric/softlogout-ux-broken
Fixes broken SoftLogout UX for homeservers that support both Password and SSO
2022-07-01 15:52:48 +01:00
ericdecanini b437996208 Merge remote-tracking branch 'origin/develop' into task/eric/replace_flatten_with_direct_parent 2022-07-01 15:47:30 +01:00
Maxime NATUREL d5b375e82b
Merge pull request #6414 from vector-im/feature/mna/reply-to-lls
[Location sharing] - Reply action on a live message (PSG-343)
2022-07-01 16:03:02 +02:00
ericdecanini ed3a201f0b Changes directParentName to a list 2022-07-01 13:34:55 +01:00
Adam Brown 82feda476d removing unused imports 2022-07-01 13:18:09 +01:00
Adam Brown 5e9e65e10f using clear error on change extension 2022-07-01 13:05:26 +01:00
Adam Brown be3d419290 adding phone number confirmation resending 2022-07-01 12:14:34 +01:00
Adam Brown e6e079a071 adding barebone phone confirmation fragment, copied from the phone number input 2022-07-01 12:14:02 +01:00
Adam Brown bfa50f186a formatting 2022-07-01 11:14:25 +01:00
Adam Brown f2db4be479 fixing formatting/unused imports 2022-07-01 11:14:25 +01:00
Adam Brown 0bbc74b193 injects the phonenumberutil and adds testcases around the parsing 2022-07-01 11:14:25 +01:00
Adam Brown 27b1bc9e66 handling msisdn 401 errors as success within the registration wizard delegate 2022-07-01 11:14:25 +01:00
Adam Brown 7617309058 hooking up, styling and applying copy to the phone number fragment 2022-07-01 11:14:24 +01:00
Adam Brown a8b73f0cf9 applying autofill hints for phonenumber and email entry 2022-07-01 11:13:57 +01:00
Adam Brown df6ebcacd1 adding msisdn fragment and layout, copied from email input 2022-07-01 11:12:45 +01:00
Benoit Marty 1297ccd45c Fix first compilation errors 2022-07-01 11:58:01 +02:00
Artjom König 03da067e44 fixed issues with reporting sync state events from different threads 2022-07-01 11:03:29 +02:00
Florian Renaud c25edfada4 Remove unused imports 2022-07-01 10:09:26 +02:00
Florian Renaud 7415623c2f Update room description style 2022-07-01 09:48:12 +02:00
Florian Renaud c7db89613c Split code in MergedRoomCreationItem 2022-07-01 09:48:11 +02:00
Florian Renaud 71320e42d0 Show date separator in local room timeline 2022-07-01 09:48:11 +02:00
Valere b0907de582 Fix migration 2022-07-01 09:43:17 +02:00
Valere 8e829c6aad Add lab flag and more tests 2022-07-01 09:43:17 +02:00
Florian Renaud 33a19c1ef5 Merge branch 'develop' into feature/fre/start_dm_on_first_msg
* develop: (91 commits)
  Remove unused import
  Update versions
  Update CHANGES
  Improve readability.
  Weblate: also clean trads
  Changelog
  Format file
  Add android:hasFragileUserData="true" to the manifest. See details in #2352
  Clean the TODO delete (UnusedResource not compatible with string template)
  showing a toast on password reset confirmation
  lifting duplicated event_base layout to the base class, with the option for children to override
  using vector model for consistency
  Replace 5 manual steps to 1 command line step
  Translated using Weblate (Italian)
  Translated using Weblate (Swedish)
  Translated using Weblate (Swedish)
  Translated using Weblate (Russian)
  extracting common breaker background selection to ftue extensions
  removing unused imports
  adding changelog entry
  ...
2022-07-01 09:35:40 +02:00
Benoit Marty e2a55fb6f6
Merge pull request #4364 from vector-im/yostyle/open_url_on_browser_task
Open URL on external browser task
2022-06-30 22:36:26 +02:00
Benoit Marty 58580f1e6a
Merge pull request #6413 from vector-im/feature/bma/room_member_loading
Show a loader if all the Room Member are not yet loaded.
2022-06-30 17:13:50 +02:00
Benoit Marty 98a7f7df4d
Merge pull request #6429 from vector-im/feature/bma/fragile_data
Add `android:hasFragileUserData="true"` in the manifest
2022-06-30 17:11:27 +02:00
ganfra 6d1dd089f0 Update versions 2022-06-30 16:58:51 +02:00
Adam Brown 72c4af0026
Merge pull request #6263 from vector-im/feature/adm/ftue-forgot-password
[FTUE] Forgot password
2022-06-30 15:40:09 +01:00
Adam Brown ea71a8b5c2
Merge pull request #6415 from vector-im/feature/adm/replacing-epoxy-layout-id
Replacing epoxy item annotation layout references with getDefaultLayoutId
2022-06-30 14:58:46 +01:00
Maxime NATUREL a8d43538f1 Explicitely hiding votes when disclosed poll 2022-06-30 14:51:07 +02:00
ganfra 88346ffc68 Weblate: also clean trads 2022-06-30 14:36:52 +02:00
Benoit Marty 2118eaea90 Format file 2022-06-30 14:19:20 +02:00
Benoit Marty 52b07021a7 Add android:hasFragileUserData="true" to the manifest. See details in #2352 2022-06-30 14:19:04 +02:00
ganfra 4bdde101b8 Clean the TODO delete (UnusedResource not compatible with string template) 2022-06-30 12:26:51 +02:00
Florian Renaud 3f087eb632 Merge branch 'develop' into feature/fre/start_dm_on_first_msg
* develop: (174 commits)
  Bump libphonenumber from 8.12.50 to 8.12.51
  LoadRoomMember: fix presence
  Cleanup
  LoadRoomMembers: add changelog
  LoadRoomMembers: handle room member event a bit more efficiently
  LoadRoomMembers: exclude Membership.Leave
  LoadRoomMembers: divide by chunk
  Bump soloader from 0.10.3 to 0.10.4
  Code review fix.
  Try no using the gradle daemon on CI
  Harmonize values of `CI_GRADLE_ARG_PROPERTIES`
  removing unused dependencies and marking soloader and ignored from dependency check (as it's dynamic)
  Remove non necessary prefix in logs
  Adding changelog entry
  Updating the unit tests
  Stopping existing active live when starting a new one
  Avoid multiple PR from Dependabot when Flipper is upgraded.
  Change context inside the get live summary use case
  Use a TestDispatcher in the FakeSession
  Code review fixes.
  ...
2022-06-30 11:48:55 +02:00
Adam Brown 0d084648a3 showing a toast on password reset confirmation 2022-06-30 10:44:06 +01:00
Weblate 53a8098caa Merge branch 'origin/develop' into Weblate. 2022-06-30 09:34:40 +00:00
Adam Brown d0e5b3eb21 lifting duplicated event_base layout to the base class, with the option for children to override 2022-06-30 09:46:20 +01:00
Adam Brown a815ac996b using vector model for consistency 2022-06-30 09:45:56 +01:00
Maxime NATUREL 9fb19af39c Adding a description under undisclosed poll when not yet ended 2022-06-30 10:13:41 +02:00
dependabot[bot] 5a02bca442
Bump libphonenumber from 8.12.50 to 8.12.51
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.50 to 8.12.51.
- [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.50...v8.12.51)

---
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-06-29 23:09:57 +00:00
LinAGKar fabb345107 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-29 19:32:19 +00:00
Nui Harime 45cb013e1a Translated using Weblate (Russian)
Currently translated at 99.7% (2233 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-06-29 19:32:19 +00:00
Adam Brown c603b780cf extracting common breaker background selection to ftue extensions 2022-06-29 17:47:28 +01:00
Adam Brown 7df7df7541 removing unused imports 2022-06-29 17:40:25 +01:00
Adam Brown 33ca5753f1 replacing epoxy item annotation layout references with getDefaultLayoutId override 2022-06-29 17:21:05 +01:00
ericdecanini 9350053214 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/RealmSessionStoreMigration.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/migration/MigrateSessionTo030.kt
2022-06-29 17:05:28 +02:00
ericdecanini 4cf97d48c9 Merge remote-tracking branch 'origin/develop' into bugfix/eric/softlogout-ux-broken
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/DefaultAuthenticationService.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/registration/DefaultRegistrationWizard.kt
#	vector/src/main/java/im/vector/app/features/login/LoginActivity.kt
#	vector/src/main/java/im/vector/app/features/signout/soft/SoftLogoutController.kt
2022-06-29 15:53:22 +02:00
Benoit Marty e75070be91 Use a DataSrouce instead of a Task and return a non Optional Boolean. 2022-06-29 15:35:00 +02:00
Adam Brown 1361852721 triggering an initial enabled state when using associateContentStateWith and extracts the resetting of errors on content change to an extension 2022-06-29 14:15:39 +01:00
Maxime NATUREL f5d3bcbb94 Sending a reply to a live location share 2022-06-29 15:04:57 +02:00
Maxime NATUREL 65b949071a Introducing a use case to check if a message can have reply action 2022-06-29 15:04:57 +02:00
Adam Brown 7c0d340bd0 formatting 2022-06-29 13:39:36 +01:00
Adam Brown 80ec0aaf05 removing new password isEnabled check using the isEmail validator, this check is wrong but also not needed due to associateContentStateWith above 2022-06-29 13:39:17 +01:00
Adam Brown 382a936e0a fixing method call grouping 2022-06-29 13:35:02 +01:00
Onuray Sahin abea68557b
Merge pull request #6350 from vector-im/feature/ons/promote_live_location_labs_flag
Promote live location labs flag [PSF-959]
2022-06-29 15:26:39 +03:00
Benoit Marty e91be2b599 Show a loader if all the Room Member are not yet loaded. 2022-06-29 12:19:17 +02:00
ericdecanini e87d97083f Merge remote-tracking branch 'origin/develop' into bugfix/eric/upgrade-room-deduplication
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/model/VersioningState.kt
2022-06-29 12:02:34 +02:00
dependabot[bot] bbe3613aa6
Bump soloader from 0.10.3 to 0.10.4
Bumps [soloader](https://github.com/facebook/soloader) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/facebook/soloader/releases)
- [Commits](https://github.com/facebook/soloader/compare/v0.10.3...v0.10.4)

---
updated-dependencies:
- dependency-name: com.facebook.soloader:soloader
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-29 08:33:21 +00:00
Benoit Marty 2a32a780cf
Merge pull request #6399 from vector-im/feature/bma/flipper_version
Avoid multiple PR from Dependabot when Flipper is upgraded.
2022-06-29 10:32:24 +02:00
Maxime NATUREL e7a68907f9
Merge pull request #6365 from vector-im/feature/mna/start-lls-from-other-device
[Location sharing] - Stop any active live before starting a new one (PSF-942)
2022-06-29 09:47:26 +02:00
Maxime NATUREL d112f860a2
Merge pull request #6356 from vector-im/fix/mna/stop-lls-from-other-device
[Location sharing] - Make stop of a live from another device possible (PSF-1060)
2022-06-29 09:45:44 +02:00
Adam Brown 1a986e7437
Merge pull request #6385 from vector-im/dependabot/gradle/com.autonomousapps.dependency-analysis-1.9.0
Bump com.autonomousapps.dependency-analysis from 1.8.0 to 1.9.0
2022-06-28 19:16:25 +01:00
Onuray Sahin 3ec8c77d17 Code review fix. 2022-06-28 17:12:52 +03:00
Benoit Marty 6fda2cc7b3
Merge pull request #6101 from chagai95/native-lookup-fixes
Native lookup fixes
2022-06-28 15:43:35 +02:00
Nui Harime 9941281107 Added translation using Weblate (Rusyn) 2022-06-28 13:31:32 +00:00
Adam Brown f17129b660 removing unused dependencies and marking soloader and ignored from dependency check (as it's dynamic) 2022-06-28 14:05:01 +01:00
Maxime NATUREL 7b0878daf9 Remove non necessary prefix in logs 2022-06-28 14:49:35 +02:00
Maxime NATUREL c2c58f81d8 Stopping existing active live when starting a new one 2022-06-28 14:36:36 +02:00
Benoit Marty 667db71fb9 Avoid multiple PR from Dependabot when Flipper is upgraded. 2022-06-28 14:27:55 +02:00
Benoit Marty 80b94821a0
Merge pull request #6387 from vector-im/dependabot/gradle/com.facebook.flipper-flipper-network-plugin-0.151.1
Bump flipper-network-plugin from 0.150.0 to 0.151.1
2022-06-28 14:21:59 +02:00
Benoit Marty 87c650bcba
Merge pull request #6386 from vector-im/dependabot/gradle/com.facebook.flipper-flipper-0.151.1
Bump flipper from 0.150.0 to 0.151.1
2022-06-28 14:21:36 +02:00
Maxime NATUREL 70996655e1 Change context inside the get live summary use case 2022-06-28 14:15:41 +02:00
Maxime NATUREL 8476fba5ff Use a TestDispatcher in the FakeSession 2022-06-28 14:15:00 +02:00
Valere a2aa0471c5
Merge pull request #6328 from vector-im/feature/bca/verif_resist_no_age
Feature/bca/verif resist no age
2022-06-28 14:13:37 +02:00
Onuray Sahin 2fe03a0016 Code review fixes. 2022-06-28 15:06:42 +03:00
Maxime NATUREL 5b3711b634 Mutualizing mock of asFlow extension 2022-06-28 14:04:50 +02:00
Onuray Sahin 320915e0a1 Code review fixes. 2022-06-28 14:52:01 +03:00
Valere 86b888c336 Display specific message when verif code malformed 2022-06-28 12:17:18 +02:00
Valere 82e68472dc code review update 2022-06-28 11:28:06 +02:00
Maxime NATUREL af3718d202
Merge pull request #6376 from vector-im/fix/mna/geo-uri-pattern
[Location Share] - Adding missing prefix "u=" for uncertainty in geo URI (PSF-945)
2022-06-28 09:24:55 +02:00
dependabot[bot] 0e463875f9
Bump flipper-network-plugin from 0.150.0 to 0.151.1
Bumps [flipper-network-plugin](https://github.com/facebook/flipper) from 0.150.0 to 0.151.1.
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.150.0...v0.151.1)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 23:12:39 +00:00
dependabot[bot] a8c1214417
Bump flipper from 0.150.0 to 0.151.1
Bumps [flipper](https://github.com/facebook/flipper) from 0.150.0 to 0.151.1.
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.150.0...v0.151.1)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 23:11:59 +00:00
Benoit Marty a398391908
Merge pull request #6366 from vector-im/feature/ons/poll_view_state_unit_tests
Poll view state unit tests [PSF-1130]
2022-06-27 19:59:13 +02:00
Adam Brown 2a46fbe77c ignoring negative margin required by the checkbox alignment 2022-06-27 17:54:45 +01:00
Onuray Sahin 863cc7e0fc Code review fix. 2022-06-27 18:37:03 +03:00
Maxime NATUREL 1df71d31e2 Small improvements in tests 2022-06-27 17:27:27 +02:00
Maxime NATUREL 4c3f6db55c Fix code quality issues 2022-06-27 16:39:46 +02:00
Adam Brown ef4889a1b3 fixing missing fake given 2022-06-27 15:19:29 +01:00
Maxime NATUREL 0488ce822f Updating location tracker tests 2022-06-27 16:13:02 +02:00
Benoit Marty 43f4dae62b
Bump android-embedded_fcm_distributor from 2.0.0 to 2.1.1 (#6331)
* Bump android-embedded_fcm_distributor from 2.0.0 to 2.1.1

Bumps [android-embedded_fcm_distributor](https://github.com/UnifiedPush/android-embedded_fcm_distributor) from 2.0.0 to 2.1.1.
- [Release notes](https://github.com/UnifiedPush/android-embedded_fcm_distributor/releases)
- [Commits](https://github.com/UnifiedPush/android-embedded_fcm_distributor/compare/2.0.0...2.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Fix compilation issue

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2022-06-27 15:51:53 +02:00
Maxime NATUREL 3b09323ee4 Avoid stopping location service twice 2022-06-27 15:10:54 +02:00
Maxime NATUREL 353a8a70eb Using SharedFlow instead of callback for location updates to remove the need of synchronization 2022-06-27 15:07:09 +02:00
Onuray Sahin 30115fa2b9 Code review fixes. 2022-06-27 15:43:21 +03:00
Onuray Sahin 8100a2e674 Remove duplicated unit tests. 2022-06-27 15:19:26 +03:00
Adam Brown 5bb397f35e using next instead of done copy when confirming reset email link 2022-06-27 13:08:32 +01:00
Adam Brown 0a0c322963 adding extra padding between reset button and checkbox to match designs 2022-06-27 13:08:32 +01:00
Adam Brown 7971a74614 fixing code quality warnings 2022-06-27 13:08:32 +01:00
Adam Brown eb84072a05 updating test names to read better 2022-06-27 13:08:32 +01:00
Adam Brown f40f838a9f making the new password visibility toggleable 2022-06-27 13:08:32 +01:00
Adam Brown 1d3b4e9829 formatting 2022-06-27 13:08:31 +01:00
Adam Brown 0d80bdfd41 updating xml ids to reflect their context 2022-06-27 13:06:43 +01:00
Adam Brown 16481df0f7 handling the reset password completion step within the view model and emitting view events to move the flow forwards 2022-06-27 13:06:42 +01:00
Onuray Sahin 4f9b361346 Fix ready poll unit test. 2022-06-27 15:06:08 +03:00
Adam Brown 47cedfb522 hiding the reset password input by default 2022-06-27 13:05:27 +01:00
Adam Brown 7ef8193a93 fixing reset fragments not removing previous screens when moving to the next step 2022-06-27 13:05:26 +01:00
Adam Brown 3c03bae4c5 adding test around resending reset password email 2022-06-27 12:55:51 +01:00
Adam Brown 4200b4b5e9 taking into account the servers ability to sign out all devices 2022-06-27 12:55:50 +01:00
Adam Brown 7a4a6030db adding a password entry confirmation page for the reset password flow 2022-06-27 12:54:32 +01:00
Onuray Sahin d7c2dbe83f Fix voted poll unit test. 2022-06-27 14:48:58 +03:00
Adam Brown 9abf6e37d1 adding updated forgot password email input and breaker screens 2022-06-27 12:43:54 +01:00
Johannes Marbach c3ae0c2251
Merge pull request #6369 from vector-im/johannes/expose-profile-tag
Expose pusher profile tag in advanced settings
2022-06-27 13:33:36 +02:00
Adam Brown dcffc35041 adding forgot password button to login screen 2022-06-27 12:28:54 +01:00
Onuray Sahin 6f4e079a2e Fix undisclosed poll unit test. 2022-06-27 14:07:26 +03:00
Adam Brown 1d573e3f5d
Merge pull request #6357 from cloudrac3r/fix-formatted-message-display
Fix formatted_body being parsed as Markdown
2022-06-27 12:07:18 +01:00
Onuray Sahin 1a668da077 Fix ended poll unit test. 2022-06-27 13:57:35 +03:00
Onuray Sahin a9358e98b2 Fix sending poll unit test. 2022-06-27 13:39:21 +03:00
Valere 9929d6a4eb Update button design 2022-06-27 10:13:18 +02:00
Valere 142c87314c show option to accept other verif not ready 2022-06-27 09:14:20 +02:00
Robin NICOLE abc0e51f1e Translated using Weblate (English (United Kingdom))
Currently translated at 0.8% (19 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/en_GB/
2022-06-27 02:32:24 +00:00
Ihor Hordiichuk d342a86cbc 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-27 02:32:21 +00:00
Nui Harime 7e4b8ac868 Translated using Weblate (Russian)
Currently translated at 98.8% (2213 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-06-27 02:32:20 +00:00
Arusekk 484657ccf9 Translated using Weblate (Polish)
Currently translated at 99.9% (2238 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-06-27 02:32:18 +00:00
Szimszon 0e94bffd5c 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-27 02:32:17 +00:00
iaiz 838b9477ef Translated using Weblate (Spanish)
Currently translated at 99.5% (2228 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2022-06-27 02:32:17 +00:00
Glandos bed5f28c2f 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-25 11:32:17 +00:00
Cadence Ember e940736938
Combine plugin creation and configuration
As requested in PR feedback.
2022-06-25 15:27:56 +12:00
Maxime NATUREL d3fb12da19 Copy lists/maps when iterating to avoid concurrent exceptions 2022-06-24 17:37:17 +02:00
Maxime NATUREL c581564bb1 Remove non necessary main Handler in LocationSharingService 2022-06-24 17:09:33 +02:00
Maxime NATUREL f57c46de9a Remove non necessary @Synchronized annotations in LocationSharingServiceConnection 2022-06-24 17:08:14 +02:00
Onuray Sahin e63fa2d83f Move epoxy related poll functions back to MessageItemFactory. 2022-06-24 17:28:59 +03:00
Adam Brown e655a54064 removing duplicate fake method 2022-06-24 15:08:48 +01:00
Adam Brown c6ef972e3c adding missing fullstop and removing unused import 2022-06-24 15:08:48 +01:00
Adam Brown 4f09160697 adding logout_devices parameter to the password change sdk api, matching reset password 2022-06-24 15:08:48 +01:00
Adam Brown 6e3283cb34 moving homeserver feature for logout all devices to the selected homeserver state via the LoginFlowResult 2022-06-24 15:08:48 +01:00
Adam Brown a2646c56cf adding the logout all devices state to the reset state in preparation for the UI to take it into account 2022-06-24 15:05:18 +01:00
Adam Brown c10254dbfa exposing if the homeserver supports signing out all devices when starting the reset process 2022-06-24 15:05:18 +01:00
Adam Brown 924e668023 adding missing loading state when confirming password reset
- adds reset test cases to the onboarding view model
2022-06-24 15:05:18 +01:00
Onuray Sahin 532bc18b1e Refactor poll item view state factory. 2022-06-24 16:52:16 +03:00
Maxime NATUREL 945026730c Use ActiveSessionHolder in stop live use case 2022-06-24 15:12:38 +02:00
Maxime NATUREL 519d43ceb7 Simplify loop to remove room args 2022-06-24 14:33:19 +02:00
Maxime NATUREL 81e14c7c3b Observing live status in DB from location sharing Android service 2022-06-24 10:45:49 +02:00
Maxime NATUREL 3cffedd353 Changing in API to get livedata on a live of a given id 2022-06-24 10:45:49 +02:00
Maxime NATUREL 785ce03e67 Synchronizing access to map of roomArgs 2022-06-24 10:45:48 +02:00
Maxime NATUREL 9a39354332 Adding use case to retrieve flow on live summaries given a list of event ids 2022-06-24 10:45:48 +02:00
Maxime NATUREL d50b0fbb6b Adding unit tests for the stop live use case 2022-06-24 10:45:48 +02:00
Maxime NATUREL 8406b2a4eb Adding use case to stop live location share
WIP
2022-06-24 10:45:48 +02:00
Adam Brown 84ece3b575 ignoring inferred registration disabled when going through the sign in flow 2022-06-23 18:17:33 +01:00
Maxime NATUREL a4cae9ef07 Fixing missing "u=" in geo URI pattern for uncertainty 2022-06-23 17:40:16 +02:00
Johannes Marbach 231bd6292a Remove empty textStyle properties
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-06-23 12:14:02 +02:00
Johannes Marbach ec073552bd Expose pusher profile tag in advanced settings
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-06-23 10:56:28 +02:00
Onuray Sahin 2be43e9294 Test isVotable function. 2022-06-22 17:18:17 +03:00
Onuray Sahin aab558af09 Test ended poll option view states. 2022-06-22 16:40:11 +03:00
Onuray Sahin d0d2929a84 Test undisclosed option view states. 2022-06-22 16:29:19 +03:00
dependabot[bot] 4e6e5041d8
Bump flipper from 0.149.0 to 0.150.0
Bumps [flipper](https://github.com/facebook/flipper) from 0.149.0 to 0.150.0.
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.149.0...v0.150.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-22 13:04:17 +00:00
Benoit Marty 29d4916a2e
Cleanup of #5187 (#6326)
Update design and behaviour on widget permission bottom sheet
2022-06-22 15:04:02 +02:00
Benoit Marty c4e578a653
Merge pull request #6344 from vector-im/dependabot/gradle/com.facebook.flipper-flipper-network-plugin-0.150.0
Bump flipper-network-plugin from 0.149.0 to 0.150.0
2022-06-22 15:02:46 +02:00
Benoit Marty 03d6ace3ae
Merge pull request #6359 from vector-im/dependabot/gradle/com.kgurgul.flipper-flipper-realm-android-2.2.0
Bump flipper-realm-android from 2.1.0 to 2.2.0
2022-06-22 14:54:52 +02:00
Adam Brown 0aacde9d9d updating version for next development cycle
- also fixes wrong version in changes doc
2022-06-22 13:48:56 +01:00
Onuray Sahin 8bb421a916 Test poll voted option view states. 2022-06-22 15:44:28 +03:00
Onuray Sahin 0f0492db3b Test ready option view states. 2022-06-22 15:27:04 +03:00
Onuray Sahin 2cf40cbcf2 Test sending option view states. 2022-06-22 14:05:42 +03:00
Onuray Sahin 5a948891f0 Test ready poll state. 2022-06-22 13:27:52 +03:00
Onuray Sahin 2c5ddca821 Test voted poll state. 2022-06-22 13:21:50 +03:00
Onuray Sahin 0fe4b9f07f Test undisclosed poll state. 2022-06-22 12:57:50 +03:00
Onuray Sahin 8854b81977 Test ended poll state. 2022-06-22 12:34:52 +03:00
Onuray Sahin a886e93c7e Test sending poll state. 2022-06-22 12:13:53 +03:00
Johan Smits 6da4245efb 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-22 06:32:16 +00:00
Priit Jõerüüt cd6d06529e 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-22 06:32:16 +00:00
Cadence Ember 216de6c050
Lint (import ordering) 2022-06-22 13:10:30 +12:00
dependabot[bot] c81866f34e
Bump flipper-realm-android from 2.1.0 to 2.2.0
Bumps [flipper-realm-android](https://github.com/kamgurgul/Flipper-Realm) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/kamgurgul/Flipper-Realm/releases)
- [Commits](https://github.com/kamgurgul/Flipper-Realm/compare/2.1.0...2.2.0)

---
updated-dependencies:
- dependency-name: com.kgurgul.flipper:flipper-realm-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 23:41:39 +00:00
Onuray Sahin 77dfd5f826 Create initial test class. 2022-06-21 17:26:26 +03:00
Cadence Ember 592f890fac
Fix formatted_body being parsed as Markdown
Background: Clients write Markdown and convert it to HTML before
sending the event. All events are formatted as HTML. However, if an
HTML formatted event happened to include markdown characters, Element
Android would incorrectly render that markdown.

For example, an event with formatted_body: "*test*" should be
displayed as literally *test* with no effects, but Element Android
incorrectly displayed it as test in italics.

This commit fixes this behaviour, making Element Android not parse
Markdown in HTML messages.

From the perspective of most users it will appear that backslash
escapes now work properly (even though this wasn't the real issue).
2022-06-22 02:24:07 +12:00
Onuray Sahin bd9fa48312 Refactor poll item factory to make it testable. 2022-06-21 17:03:56 +03:00
Adam Brown a76b6e522b splitting unit and instrumentation test tasks so that we can configure the android plugin testCoverage parameter
- there's a bug that causes the output to be invalid for unit tests
2022-06-21 09:15:27 +01:00
Jorge Martín b5aedd4626 Re-implement lock screen feature using our own implementation. 2022-06-20 17:38:05 +02:00
Onuray Sahin 80abe1f675 Show live location promotional bottom sheet. 2022-06-20 17:04:56 +03:00
Onuray Sahin 13144f078a Implement live location promotional bottom sheet. 2022-06-20 15:41:43 +03:00
Onuray Sahin b37dce7da7 Create layout for promoting live location labs flag. 2022-06-20 15:19:22 +03:00
Maxime NATUREL 32c6281dd2
Merge pull request #6316 from vector-im/fix/mna/crash-offline-lls
[Location sharing] Fix crash when starting/stopping a live when offline (PSF-1124)
2022-06-20 14:00:56 +02:00
Maxime NATUREL 0948cab31f
Merge pull request #6304 from vector-im/feature/mna/location-sharing-service-api
[SDK] Improve location sharing service api (PSF-1004)
2022-06-20 13:48:13 +02:00
Onuray Sahin 9641ff132d Show live location sharing option even if labs flag is disabled. 2022-06-20 13:58:28 +03:00
Jorge Martin Espinosa 65bc4acbab
Fix flaky tests for voice recording feature (#6330) 2022-06-20 09:23:02 +00:00
Maxime NATUREL 9047d9d62c Fixing coding style issues 2022-06-20 11:17:30 +02:00
Maxime NATUREL 6c0b7f7b43 Renaming a variable to be more precise 2022-06-20 11:17:30 +02:00
Maxime NATUREL fc98057042 Forward error to UI in map screen 2022-06-20 11:17:30 +02:00
Maxime NATUREL 31bb9eaac8 Forward error to UI in timeline screen 2022-06-20 11:17:30 +02:00
Maxime NATUREL 9eba3034db Catching crash when offline during stop of a live location share 2022-06-20 11:17:30 +02:00
Maxime NATUREL e55c378683 Catching crash when offline during start of a live location share 2022-06-20 11:17:30 +02:00
Maxime NATUREL 7b159c5b71 Send live location API 2022-06-20 09:28:35 +02:00
Maxime NATUREL 9b61c1aead Send static location API 2022-06-20 09:28:35 +02:00
Maxime NATUREL 632064ffde Stop live location share API 2022-06-20 09:28:33 +02:00
Maxime NATUREL 29f48249e2 Start live location share API 2022-06-20 09:26:51 +02:00
Auri B. P 61ff944994 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-19 20:32:15 +00:00
dependabot[bot] 3db8e0b045
Bump flipper-network-plugin from 0.149.0 to 0.150.0
Bumps [flipper-network-plugin](https://github.com/facebook/flipper) from 0.149.0 to 0.150.0.
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.149.0...v0.150.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 23:18:10 +00:00
Florian Renaud d42a3da5b7 Reduce code smell 2022-06-18 00:49:28 +02:00
Florian Renaud a46d7ed8dd Hide unwanted events from local room timeline 2022-06-18 00:49:28 +02:00
Florian Renaud b144bac578 Update wordings for local room timeline 2022-06-18 00:49:28 +02:00
Florian Renaud e86f9193dd Display timeline from the top of the screen for local rooms 2022-06-18 00:49:28 +02:00
Florian Renaud 7ea2d0a86d Delete the local rooms when the room list is shown 2022-06-18 00:49:24 +02:00
Florian Renaud 10d683ad5d Start DM - display a local room before creating the real one
Add CreateLocalRoomTask interface and remove DI annotations
2022-06-18 00:48:35 +02:00
Florian Renaud 26d1a12b74 Start DM - Rename action button to "go" 2022-06-18 00:09:58 +02:00
Florian Renaud ba3d350127 Fix VectorFeature pref key 2022-06-18 00:09:58 +02:00
Florian Renaud c9ab0927f0 Start DM - Add feature flag 2022-06-18 00:09:58 +02:00
Benoit Marty 3dcec85dea
Merge pull request #6340 from vector-im/feature/bma/test_flipper
Add link to the Matrix room.
2022-06-17 18:02:19 +02:00
Maxime NATUREL cd74f09d70
Merge pull request #5923 from vector-im/fix/mna/issue-5913-location-tracker
[Location tracker] - Fix some location tracking issues (PSF-1000)
2022-06-17 17:53:48 +02:00
Benoit Marty ba0898831b Fix compilation issue 2022-06-17 17:22:31 +02:00
Maxime NATUREL dee5dfd187 Add synchronized annotations to protect from concurrent access to callbacks 2022-06-17 17:04:54 +02:00
Benoit Marty 706e8e7627 Ensure the test is less flaky... 2022-06-17 16:54:18 +02:00
Benoit Marty 705b55c57a Use handy kotlin.time.Duration.Companion and remove default value. 2022-06-17 16:53:33 +02:00
random 9bf147e5b6 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-17 13:32:14 +00:00
Danial Behzadi a278483f1c 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-17 13:32:14 +00:00
Maxime NATUREL 162fd0a840 Call unmockAll after each test 2022-06-17 11:34:33 +02:00
Maxime NATUREL a1aa337edb Stop location tracking only when callbacks list is empty to avoid non wanting stop 2022-06-17 11:34:33 +02:00
Maxime NATUREL 1b88cc39a9 Use method reference when sorting providers 2022-06-17 11:34:32 +02:00
Maxime NATUREL 755d743b06 Encapsulate callbacks calls into try/catch block 2022-06-17 11:34:32 +02:00
Maxime NATUREL 260f73b0c2 Adding unit tests for LocationTracker 2022-06-17 11:34:32 +02:00
Maxime NATUREL 45d3fe7c07 Call no provider available callback only providers list is empty 2022-06-17 11:34:32 +02:00
Maxime NATUREL b686d30b1c Prioritise providers: Fused, GPS and then others 2022-06-17 11:34:32 +02:00
Maxime NATUREL a8c36e5e70 Using Debouncer to debounce location updates 2022-06-17 11:34:32 +02:00
Maxime NATUREL c61412520d Debouncing location updates 2022-06-17 11:34:32 +02:00
Maxime NATUREL 7860173fa2 Notify of the latest known location among all last known locations 2022-06-17 11:34:32 +02:00
Onuray Sahin 242cc28daa
Merge pull request #6320 from vector-im/feature/ons/poll_unit_tests
CreatePollViewModel unit tests [PSF-1122]
2022-06-17 12:14:01 +03:00
Eric Decanini 674e538131
Merge pull request #6154 from vector-im/bugfix/eric/fix-upgrade-room
Fixes /upgraderoom command not doing anything
2022-06-17 10:55:26 +02:00
dependabot[bot] a3774c1161
Bump android-embedded_fcm_distributor from 2.0.0 to 2.1.1
Bumps [android-embedded_fcm_distributor](https://github.com/UnifiedPush/android-embedded_fcm_distributor) from 2.0.0 to 2.1.1.
- [Release notes](https://github.com/UnifiedPush/android-embedded_fcm_distributor/releases)
- [Commits](https://github.com/UnifiedPush/android-embedded_fcm_distributor/compare/2.0.0...2.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 23:08:07 +00:00
Onuray Sahin 712a38e26a Apply Maxime's fix to get latest state. 2022-06-16 18:27:00 +03:00
Benoit Marty 8238cd7f57
Merge pull request #6319 from vector-im/feature/bma/stateEventQuery
Enforce query on state event
2022-06-16 17:13:17 +02:00
Benoit Marty fe7515761a
Merge pull request #6300 from vector-im/feature/bma/flipper
Setup Flipper
2022-06-16 16:44:05 +02:00
Onuray Sahin 14a4a8edd7 Workaround for mavericks bug (https://github.com/airbnb/mavericks/issues/599). 2022-06-16 17:30:17 +03:00
Benoit Marty 16ca26569f
Merge pull request #6228 from vector-im/feature/bma/unifiedPush2
UnifiedPush
2022-06-16 16:09:31 +02:00
Adam Brown d37b273eee
Merge pull request #6271 from vector-im/feature/adm/full-matrix-id-homeserver-switching
[FTUE] Switch homeserver on full matrix id entry
2022-06-16 14:23:12 +01:00
Benoit Marty 7bd2184b26 Rename fun. 2022-06-16 13:42:48 +02:00
Onuray Sahin a1d35ae9e4 Move fake class into the right package. 2022-06-16 14:23:25 +03:00
Onuray Sahin f13dfb8291 Test poll view state when poll option is deleted. 2022-06-16 14:11:17 +03:00
Adam Brown 4f86ad0934
Merge pull request #6297 from vector-im/feature/adm/opt-in-screenshots-in-bug-report
Making bug report screenshots opt in instead of opt out
2022-06-16 12:08:25 +01:00
Onuray Sahin 841b63b819 Test poll view events when poll is edited. 2022-06-16 13:40:39 +03:00
Onuray Sahin b558d14a48 Create fake room services. 2022-06-16 13:40:00 +03:00
Onuray Sahin 94c0a020fb Rename test data class. 2022-06-16 13:39:32 +03:00
Adam Brown c6bae6812d adding unavailable homeserver error messaging in the registration page 2022-06-16 11:18:38 +01:00
Adam Brown d71d37c1ce adding tests around the result _on_ helper callbacks 2022-06-16 11:18:38 +01:00
Adam Brown b25fd4a540 adding tests around the login error parsing 2022-06-16 11:18:38 +01:00
Adam Brown f89b9305e8 handling the unavailable homeserver error case in the error formatting as this is now possible via full matrix id handling# 2022-06-16 11:18:38 +01:00
Adam Brown 3a97cfcc36 updating the selected homeserver when we detect a full matrix id within the username field in the login/register input fields 2022-06-16 11:18:37 +01:00
Benoit Marty e0fe91f54b Remove alias. 2022-06-16 12:17:54 +02:00
Benoit Marty 90f16c6736 Remove unused dep. 2022-06-16 12:16:07 +02:00
Adam Brown 17f8009ce0 only removing the edit server fragment when homeserver edits are complete 2022-06-16 11:08:08 +01:00
Adam Brown 825f14d919 ignoring text suggestions on username inputs, to avoid the spell checker introducing word breaks 2022-06-16 11:08:07 +01:00
Adam Brown d8814974c5 makes the bug report screenshot preview always visible 2022-06-16 10:58:28 +01:00
Benoit Marty d978d0a6b4 Delete obsolete comment. 2022-06-16 11:56:30 +02:00
Adam Brown b78fb532ff
Merge pull request #6091 from vector-im/feature/adm/ftue-register-test-cases
FTUE - Stage selection and Registration action testing
2022-06-16 10:54:10 +01:00
Eric Decanini 2f2dae89f7
Merge pull request #6290 from vector-im/bugfix/eric/fix-large-image-crash
Fixes large images crashing when opened in timeline
2022-06-16 11:04:00 +02:00
Adam Brown baae7375af
Merge pull request #6296 from vector-im/feature/adm/attach-ics
Allow sharing text mimetype content via android's share menu
2022-06-16 09:33:21 +01:00
Jeff Huang 373a3008a9 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-16 04:32:15 +00:00
Ihor Hordiichuk 5e5dc41088 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-16 04:32:15 +00:00
Jozef Gaal 450e917a1f 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-16 04:32:15 +00:00
lvre c1a8183a54 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-16 04:32:15 +00:00
Linerly 2612c02ef1 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-16 04:32:15 +00:00
Thomas Bertels cbd0a12422 Translated using Weblate (French)
Currently translated at 99.9% (2238 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-06-16 04:32:14 +00:00
Danial Behzadi fb2c9fb002 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-16 04:32:14 +00:00
Priit Jõerüüt d545ed82ec 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-16 04:32:14 +00:00
waclaw66 c43eda932b 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-16 04:32:14 +00:00
Auri B. P 0736e41ea7 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-16 04:32:14 +00:00
Onuray Sahin ec3248d714 Lint fixes. 2022-06-15 21:34:04 +03:00
Benoit Marty a4dd279352 Ensure we do not use `QueryStringValue.NoCondition` or `QueryStringValue.IsNull` to query for State Event.
Also remove default value for those parameters.
2022-06-15 19:20:26 +02:00
Onuray Sahin 24d59eba87 Test poll view events when create poll is requested. 2022-06-15 17:51:13 +03:00
Benoit Marty e12103387d Setup Flipper
Move getLastSession() to the SessionManager
Create `DebugService`
Move `logDbUsageInfo()` to `DebugService`
2022-06-15 16:14:20 +02:00
Onuray Sahin 0ed9a1885c Test poll view state with a question and max number of options. 2022-06-15 15:55:02 +03:00
ericdecanini 7f3325e8df Fixes wrong user id in search room summary item 2022-06-15 14:47:26 +02:00
ericdecanini d5c5c5734f Merge remote-tracking branch 'origin/develop' into task/eric/replace_flatten_with_direct_parent 2022-06-15 14:22:24 +02:00
ericdecanini 385720b89d Replaces flatten parents with direct parent name in RoomSummary 2022-06-15 11:46:57 +02:00
Jorge Martín c204f41bec Try to fix tests, address review comments. 2022-06-15 11:37:50 +02:00
Jorge Martín 64334c3437 Add some tests 2022-06-15 11:34:23 +02:00
Jorge Martín 2fbec133b6 Address review comments, fix quality check issues. 2022-06-15 11:34:23 +02:00
Jorge Martín b993bd9aef Fix crash when asking for Mic permissions, stopRecord is called with no codec 2022-06-15 11:34:23 +02:00
Jorge Martín fa2d9e90ed Fix copyright in C++ files 2022-06-15 11:34:23 +02:00
Jorge Martín 6fc278eb2b Replace ffmpeg-kit with libopus and libopusenc. 2022-06-15 11:34:23 +02:00
Benoit Marty 0147eb4b22 Fix test 2022-06-14 16:44:21 +02:00
Benoit Marty 2174b1105f Move companion at the bottom of the class. 2022-06-14 16:36:56 +02:00
Benoit Marty 279b9b5d6a Be lenient on the Json format for received data in a Push. 2022-06-14 16:33:04 +02:00
Adam Brown ded7b1e0d0 updating current version 2022-06-14 15:16:56 +01:00
Adam Brown 2eeba285e8 only hide the connect to server option when the new FTUE journey is enabled 2022-06-14 14:54:33 +01:00
chagai95 c2707d4538
Wrong import order 2022-06-14 14:08:22 +02:00
Weblate ba0c7abfc5 Merge branch 'origin/develop' into Weblate. 2022-06-14 09:56:35 +00:00
Adam Brown 11b0ed99b5
Merge pull request #6223 from vector-im/feature/adm/exit-onboarding-copy
Avoid manual line breaks in exit onboarding dialog copy
2022-06-14 10:54:19 +01:00
Ihor Hordiichuk 134e86ecdd 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-14 09:50:21 +00:00
ericdecanini c10d4a7382 Slight formatting improvement 2022-06-14 10:21:45 +02:00
Adam Brown 979dec75de making bugreport screenshots opt in instead of optout 2022-06-13 18:06:53 +01:00
Adam Brown 9725396582 allowing text content types to be shared via android share menu 2022-06-13 17:42:30 +01:00
Adam Brown 01c70e165d
Merge pull request #6293 from vector-im/feature/adm/ftue-tweaks
FTUE - Minor tweaks
2022-06-13 16:35:47 +01:00
Onuray Sahin 2fbbee2d65
Merge pull request #6264 from vector-im/feature/ons/fix_flickering_location_bottom_bar
Fix flickering bottom bar of live location item [PSF-1057]
2022-06-13 18:23:10 +03:00
Onuray Sahin 1f04e73fcb Test poll view state with a question and enough number of options. 2022-06-13 17:49:57 +03:00
Benoit Marty 56e6f512fc Rename setting key for clarity 2022-06-13 16:38:07 +02:00
Benoit Marty d1e2a903b4 Add test for the notification settings. 2022-06-13 16:36:32 +02:00
Benoit Marty 55bac9ba0f Give time to the tests to perform 2022-06-13 16:29:45 +02:00
Onuray Sahin 0bf37abca1 Test poll views state with enough number of options but without a question. 2022-06-13 15:58:13 +03:00
Onuray Sahin 5b35534c3d Test poll view state without enough options. 2022-06-13 15:54:33 +03:00
Onuray Sahin 19de21535b Test initial poll view state. 2022-06-13 15:53:25 +03:00
Onuray Sahin cffa3270dd Create dummy data for poll view states. 2022-06-13 15:49:54 +03:00
Yaron Shahrabani b4723414a2 Translated using Weblate (Hebrew)
Currently translated at 96.2% (2155 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-06-13 12:32:13 +00:00
Benoit Marty 4ea4990177 Merge remote-tracking branch 'origin/develop' into develop 2022-06-13 14:12:00 +02:00
Benoit Marty aac2df85bb Version++ 2022-06-13 14:10:48 +02:00
Benoit Marty d876690fc7 Merge branch 'hotfix/1.4.20' into develop 2022-06-13 14:08:49 +02:00
Benoit Marty c7d021ece6 Extract parser to its own file and add unit test. 2022-06-13 13:59:16 +02:00
Onuray Sahin eb49ceb803
Merge pull request #6280 from vector-im/feature/ons/live_location_sharing_report
Add report action for live location messages [PSF-1067]
2022-06-13 14:23:11 +03:00
Benoit Marty 4fa8e70276 Prepare hotfix 1.4.20 2022-06-13 12:37:39 +02:00
Adam Brown b3adad8543 hiding connect to server button in favour of handling as part of the FTUE v2 work 2022-06-13 11:33:51 +01:00
Valere 65bb1a7ddc Fix space orphan filtering 2022-06-13 12:33:14 +02:00
ericdecanini 978de65124 Fixes large images crashing when opened 2022-06-13 12:01:21 +02:00
Adam Brown fca06bd167 always showing the celebration confetti on account creation
- previously we would wait until after personalisation but we don't know if users will go through that flow
2022-06-13 08:55:43 +01:00
bmarty ad787d3914 Sync analytics plan 2022-06-13 00:03:16 +00:00
swag 90c78ac401 Translated using Weblate (Croatian)
Currently translated at 32.6% (731 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hr/
2022-06-10 16:32:13 +00:00
Benoit Marty 88d2853a31
Merge pull request #6281 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.50
Bump libphonenumber from 8.12.49 to 8.12.50
2022-06-10 18:13:25 +02:00
dependabot[bot] 5689006c81
Bump libphonenumber from 8.12.49 to 8.12.50
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.49 to 8.12.50.
- [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.49...v8.12.50)

---
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-06-10 13:38:47 +00:00
Michael Kaye 027619aa01
Merge pull request #6248 from vector-im/michaelk/sonar_on_vector
Improve Sonar coverage, including im.vector tests
2022-06-10 14:38:06 +01:00
Benoit Marty 990a6832bd
Merge pull request #6247 from vector-im/feature/ons/fix_static_map_copyright_size
Fix copyright attributions of map views [PSF-1058] - [PSF-1072]
2022-06-10 13:56:24 +02:00
Onuray Sahin d8947f5c0b Add report action for live location messages. 2022-06-10 14:01:43 +03:00
Michael Kaye d1a3e02faf Ignore all failing tests 2022-06-09 21:40:22 +01:00
Michael Kaye 38126c6b4f Refactor test to be more lenient in timing 2022-06-09 21:39:43 +01:00
Adam Brown 6681d4fe17 formatting 2022-06-09 17:39:15 +01:00
Benoit Marty b1e062a204 Fix small issue on the settings. 2022-06-09 17:19:52 +02:00
rebok dev f4f58703d3 Translated using Weblate (Polish)
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/pl/
2022-06-09 13:32:11 +00:00
Onuray Sahin f9f1b3e39a Code review fix. 2022-06-09 13:09:10 +03:00
Benoit Marty 2f2ee1b894 Format project (only modified files, there are other fomatting issues). 2022-06-09 10:38:38 +02:00
Benoit Marty c43122a6f8 Explain why the data are different when received from Firebase and from UnifiedPush.
Author: @p1gp1g
2022-06-09 10:18:06 +02:00
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