Commit Graph

11067 Commits

Author SHA1 Message Date
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
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 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
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 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