Commit Graph

10295 Commits

Author SHA1 Message Date
Adam Brown 137fe89938 hiding username/password fields when the homeserver doesn't support them and showing SSO options when available 2022-05-25 10:22:27 +01:00
Adam Brown bc2a99c3cf matching variable name with type 2022-05-25 10:22:27 +01:00
Adam Brown 610c1d1150 extracting sso buttons render method to reduce duplication 2022-05-25 10:22:27 +01:00
Adam Brown d86c12dc7a extracting duplicated field resetting logic 2022-05-25 10:22:27 +01:00
Adam Brown fb1a686f90 extracting the login error handling to its own class 2022-05-25 10:22:27 +01:00
Adam Brown d1bafc531e removing input footer fields, they're only needed for sign up, not login 2022-05-25 10:22:27 +01:00
Adam Brown b2af918969 using correct copy for the login validation errors
- extracts helpers to make the logic more declarative
2022-05-25 10:22:27 +01:00
Adam Brown 25b81c2952 creating subtype for register/login authentication types 2022-05-25 10:22:26 +01:00
Adam Brown c3ce887e33 minor refactors
- extracting login fields validation
- renaming xml fields to login
- renaming direct login property to matrixId
2022-05-25 10:17:51 +01:00
Adam Brown b3bbb0329e directing to the combined login after homeserver check
- also removes the subtitle view which is not needed for login
2022-05-25 10:17:51 +01:00
Adam Brown 4b6f74364d adding dedicated login action 2022-05-25 10:17:51 +01:00
Adam Brown 34e97112a4 adding feature flag and redirecting the sign in flow
- temporarily to the combined register fragment
2022-05-25 10:17:51 +01:00
Adam Brown ae9922a731
Merge pull request #6136 from vector-im/feature/adm/foss-avoid-gms-location-provider
Excluding the gms play-service-location from maplibre for fdroid builds
2022-05-25 08:59:18 +01:00
Glandos 71706bc6a6 Translated using Weblate (French)
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-05-25 07:14:58 +00:00
Jean-Luc KABORE-TURQUIN d0628129f5 Translated using Weblate (French)
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-05-25 07:14:56 +00:00
Adam Brown b4b2b97eb1
Merge pull request #6068 from vector-im/dependabot/gradle/vanniktechEmoji-0.12.0
Bump vanniktechEmoji from 0.9.0 to 0.12.0
2022-05-24 16:26:06 +01:00
Johannes Marbach f95853a7b3 Prevent widget web view from reloading on screen / orientation change (PSF-1034)
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-05-24 16:29:38 +02:00
ericdecanini 6c21a6b48d Separates some method parameters 2022-05-24 15:26:24 +02:00
Adam Brown bec72264cd excluding the gms play-service-location optional transistive dependency for the fdroid variant
- fixes fdroid being unable to compile the project due to a non foss dependency
2022-05-24 10:10:03 +01:00
Jeremy b131848b72
Fix grammar in strings in strings.xml
`room_list_people_empty_body` and `room_list_rooms_empty_body`
2022-05-24 14:12:49 +12:00
Adam Brown a59b8bf50c
Merge pull request #6065 from vector-im/feature/adm/matrix-org-ordering
FTUE - Only override sign up steps for `matrix.org`
2022-05-23 21:24:48 +01:00
Maxime NATUREL b05fc763ae Rely only on isActive field on UI side 2022-05-23 17:34:52 +02:00
ericdecanini a07c1b8afa Removes top bar back arrow 2022-05-23 13:46:53 +01:00
ericdecanini f831252e35 Fixes UpgradeRoom command not working 2022-05-23 14:09:29 +02:00
ericdecanini b9b0e84704 Adds set method to MutableDataSource 2022-05-23 14:09:18 +02:00
Maxime NATUREL 9a38d59f9a
Merge pull request #6092 from vector-im/feature/mna/PSF-888-navigation
[Location sharing] - Navigation to Map view from live location message (PSF-888)
2022-05-23 13:54:04 +02:00
Benoit Marty fd252dbaff
Merge pull request #5856 from ofalvai/bugfix/ofa/read-recept-text-scale
Use fixed text size in read receipt counter
2022-05-23 13:41:03 +02:00
ericdecanini 3f3662e605 Changes code style method parameters new line around parentheses to true 2022-05-23 12:30:42 +02:00
Adam Brown 98999c754f
Merge pull request #5868 from vector-im/feature/adm/ftue-email-verification
[FTUE] - Email input and verification
2022-05-23 11:14:46 +01:00
Maxime NATUREL 7bb73ffb57 Making the layout file more generic 2022-05-23 11:41:33 +02:00
Maxime NATUREL b331521e93 Improving code in Fragment 2022-05-23 11:30:57 +02:00
Maxime NATUREL 721d7cb6a0 Remove commented code 2022-05-23 11:30:35 +02:00
Maxime NATUREL c46aaa24a5 Using @AndroidEntryPoint in Fragment 2022-05-23 10:40:52 +02:00
Benoit Marty 71e14ea43b
Merge pull request #6110 from vector-im/defect/jorgem/PSE-613-fix-multi-invites-to-room
Fix sending multiple invites to a room reaching only one or two people
2022-05-23 09:39:47 +02:00
Jorge Martín 96e3544a47 Fix sending multiple invites to a room reaching only one or two people 2022-05-23 08:14:32 +02:00
Auri B. P 76fc3b5336 Translated using Weblate (Catalan)
Currently translated at 83.3% (1855 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-05-22 20:32:05 +00:00
anoloth 9779e9b9a5 Translated using Weblate (Lao)
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lo/
2022-05-21 17:32:31 +00:00
Jeff Huang 7d9cb1dc0c Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2225 of 2225 strings)

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

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-05-21 17:32:13 +00:00
LinAGKar 3826b7ba28 Translated using Weblate (Swedish)
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-05-21 17:32:13 +00:00
Jozef Gaal 096e51951a Translated using Weblate (Slovak)
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-05-21 17:32:12 +00:00
homocomputeris 79858a6560 Translated using Weblate (Russian)
Currently translated at 97.6% (2172 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-05-21 17:32:12 +00:00
lvre b12e0cd9f3 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-05-21 17:32:10 +00:00
Didek 946353aeb9 Translated using Weblate (Polish)
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-05-21 17:32:10 +00:00
Piotr Strebski 9710447ea3 Translated using Weblate (Polish)
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-05-21 17:32:09 +00:00
random 165b8d1b93 Translated using Weblate (Italian)
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-05-21 17:32:09 +00:00
Linerly d307349ae2 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-05-21 17:32:09 +00:00
Danial Behzadi 7ff9566788 Translated using Weblate (Persian)
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-05-21 17:32:08 +00:00
Priit Jõerüüt 49acc6704f Translated using Weblate (Estonian)
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-05-21 17:32:08 +00:00
John Doe aac075fa89 Translated using Weblate (Spanish)
Currently translated at 99.8% (2221 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2022-05-21 17:32:08 +00:00
waclaw66 422487ea9f Translated using Weblate (Czech)
Currently translated at 100.0% (2225 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-05-21 17:32:07 +00:00
Auri B. P 97b2dd3d14 Translated using Weblate (Catalan)
Currently translated at 83.3% (1854 of 2225 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-05-21 17:32:07 +00:00
Benoit Marty 6e3979a32d Fix test compilation 2022-05-20 21:14:42 +02:00
Benoit Marty ede784684f Change in KeysBackupService: `isEnabled` and `isStucked` are now fun, and `state` has been renamed to `getState` and is now a fun. 2022-05-20 21:14:42 +02:00
Benoit Marty 1ab4ae9eac Extract KeyRef to its own file 2022-05-20 21:14:42 +02:00
Benoit Marty d3d17ebbcb Extract HttpPusher to its own file 2022-05-20 21:14:42 +02:00
Benoit Marty 768df330b5 Rename `currentThreePid` to `getCurrentThreePid` 2022-05-20 21:14:42 +02:00
Benoit Marty e6c8ffd1b8 Change `val` to `fun` on the SDK interfaces.
Dokka will generate a better documentation (`Functions` and `Properties` are 2 distinct tab), and for Service it's better to have only `fun`
2022-05-20 21:14:42 +02:00
Onuray Sahin 109b381e2e
Merge pull request #6103 from vector-im/feature/ons/fix_live_location_flickering
Glide - Use current drawable while loading new static map image
2022-05-20 18:36:12 +03:00
Adam Brown 2d351aa60f applying api changes 2022-05-20 15:20:24 +01:00
Adam Brown c71f9c81cd provides a dedicated job for the email verification polling to allow it to be cancelled when resetting the auth flow
- extracts an auto cancelling job delegate
2022-05-20 13:10:03 +01:00
Adam Brown 2378643071 adding missing punctuation 2022-05-20 12:13:09 +01:00
Adam Brown 4bcdaa309e removing unused imports 2022-05-20 12:11:44 +01:00
Adam Brown 9fddd09f1c using direct string reference for design preview 2022-05-20 12:11:44 +01:00
Adam Brown 47635aae6e avoiding cancelling the polling job when resending verification email 2022-05-20 12:11:44 +01:00
Adam Brown bc5ebb20b5 adding gradient background to xml preview 2022-05-20 12:11:44 +01:00
Adam Brown 0979d56a36 inlining single use extension function 2022-05-20 12:11:44 +01:00
Adam Brown 4dc8d23826 removing unneeded state reacting when entering email address for verification 2022-05-20 12:11:44 +01:00
Adam Brown 641c06f10d removing this usage for project consistency 2022-05-20 12:11:44 +01:00
Adam Brown 80b6b77a3a reusing editText unboxing extension 2022-05-20 12:11:44 +01:00
Adam Brown c414f80fa6 adding listener suffix for consistency 2022-05-20 12:11:44 +01:00
Adam Brown c4834a44d1 aligning the carousel listener removal with the viewLifecycleOwner
- fixes crash where the scheduled callbacks can attempt to trigger after the view has been destroyed
2022-05-20 12:11:44 +01:00
Adam Brown a4b5d1819d renaming sdk model to matrix 2022-05-20 12:11:44 +01:00
Adam Brown 8136f57b5e making use of the view lifecycle scope for the view based fragment logic 2022-05-20 12:11:44 +01:00
Adam Brown c0efd9f1af updating ignored result register action as the one being used is now consumed 2022-05-20 12:11:44 +01:00
Adam Brown 8e7ae5e9d2 removing extra end of file lines 2022-05-20 12:11:44 +01:00
Adam Brown 350643c8a4 resetting authentication state when the viewmodel resets whilst in the email entry step - matching legacy flow 2022-05-20 12:11:44 +01:00
Adam Brown 9cc646760a removing copied back behaviour, isn't needed for the email entry screen 2022-05-20 12:11:44 +01:00
Adam Brown 8a53eafa72 adding gradient background to the waiting for verification screen, matching designs
- renames drawable which redirects to the attribute colorBackground
2022-05-20 12:11:44 +01:00
Adam Brown eb4d31e955 extracting reusable logic for styling terminating full stops and applying to the waiting for verification title 2022-05-20 12:11:44 +01:00
Adam Brown 817d692471 renaming xml ids to the email verification domain and attaching the click logic for resending verification emails 2022-05-20 12:11:44 +01:00
Adam Brown 4964c9f151 showing loading spinner when returning to the email verification waiting screen 2022-05-20 12:11:44 +01:00
Adam Brown 02b6916487 adding UI for updated email verification waiting screen 2022-05-20 12:11:44 +01:00
Adam Brown b2d8163aad adding unit test around polling for email verification 2022-05-20 12:11:44 +01:00
Adam Brown 074e5bcfb6 porting registration email verification polling to the registration action handler instead of the fragment 2022-05-20 12:11:44 +01:00
Adam Brown d4a5b71a4d adding email input FTUE screen
- lifts the threepid email error handling to the RegistrationActionHandler rather than having the UI infer success from a 401
2022-05-20 12:11:44 +01:00
Onuray Sahin 2b681a43c8 Use current drawable while loading new map image. 2022-05-20 12:16:35 +03:00
Benoit Marty f5d0663b06 Remove non needed extra spaces 2022-05-20 09:48:17 +02:00
Benoit Marty 51fe7b9a93 Detekt: Fix OutdatedDocumentation 2022-05-20 09:48:05 +02:00
ClaireG b379ef46ec
Revert: Use member name instead of room name in DM creation item (#6049) 2022-05-19 14:14:58 +00:00
Olivér Falvai f036d35829 Merge branch 'develop' into dependency-cleanup 2022-05-19 12:27:09 +02:00
Onuray Sahin 2e2dffd9c9 Merge branch 'develop' into live_location_labs_flag
* develop:
  Space explore rooms screen alignment with design in figma (#5834)
  leaving space aligned with ios (#5942)
  Fix usage of System.currentTimeMillis(). This a bit mocky but anyway it's better to use SystemClock.elapsedRealtime() for this case.
2022-05-19 12:52:05 +03:00
fedrunov a30912f688
Space explore rooms screen alignment with design in figma (#5834) 2022-05-19 11:49:20 +02:00
fedrunov 18842b5e3d
leaving space aligned with ios (#5942) 2022-05-19 11:49:08 +02:00
Onuray Sahin 51ac6f22d7 Labs flag added for enabling live location sharing. 2022-05-19 12:01:42 +03:00
ericdecanini 93264812c0 Adds back navigation to spaces 2022-05-19 10:20:46 +02:00
Michael Kaye 5260e729ac
Merge pull request #6095 from vector-im/michaelk/correct_well_known_behaviour
Well known lookups should be to port 443 only.
2022-05-18 16:50:43 +01:00
Benoit Marty 12644e9915
Merge pull request #5947 from vector-im/feature/bma/renaming
Small changes
2022-05-18 16:27:48 +02:00
Michael Kaye e66284fbd3 Rename 'getDomain' to 'getServerName'.
In the context of matrix IDs, this removes the leading @name: leaving the hostname or hostname and port.
2022-05-18 15:21:33 +01:00
Benoit Marty 7ae3f6ea40
Merge pull request #6083 from vector-im/feature/bma/remove_badge
Remove ShortcutBadger lib and usage (it was dead code)
2022-05-18 16:19:37 +02:00
Maxime NATUREL 738ce18a2f
Merge pull request #5989 from vector-im/feature/mna/PSF-884-location-view
[Location sharing] - Message for live sharing in timeline (PSF-884)
2022-05-18 15:39:51 +02:00
Benoit Marty 3a6c03a895 Ah it was used in Gplay variant. Anyway I think we can still remove this now. 2022-05-18 15:05:23 +02:00
Maxime NATUREL 5265856772 Remove unused imports 2022-05-18 14:44:44 +02:00
Maxime NATUREL 4864980a5a Enable navigation only from running state item 2022-05-18 14:44:44 +02:00
Maxime NATUREL 23e8cad10f Rollback to Fragment to be able to use Maverick capabilities 2022-05-18 14:44:44 +02:00
Maxime NATUREL 26cddd2d0d Use SupportMapFragment instead of custom fragment 2022-05-18 14:44:44 +02:00
Maxime NATUREL 54d7d47dfc Updating the title of the map view screen 2022-05-18 14:44:44 +02:00
Maxime NATUREL 52c0fa41c6 Creation of map view screen and basic navigation 2022-05-18 14:44:44 +02:00
Olivér Falvai 388e35e828 Remove even more deps 2022-05-18 14:19:11 +02:00
Olivér Falvai 2dcc120cf7 Merge remote-tracking branch 'origin/develop' into dependency-cleanup
# Conflicts:
#	build.gradle
#	dependencies.gradle
2022-05-18 11:47:21 +02:00
ericdecanini d12ab17516 Fixes lint errors 2022-05-18 11:29:23 +02:00
Michael Kaye f7303789a0
Merge pull request #6025 from vector-im/michaelk/skip_tests_failing_on_ci
Improve test handling in CI
2022-05-18 09:51:17 +01:00
Maxime NATUREL e9d93194f1 Adding comments on some strings and removing non necessary plural 2022-05-18 09:48:34 +02:00
Benoit Marty adb537006a Remove ShortcutBadger lib and usage (it was dead code) 2022-05-18 09:06:04 +02:00
Benoit Marty 8f7789f269 Version++ 2022-05-17 21:28:11 +02:00
ericdecanini 03acf4505a Uses second layout to center room summary item title 2022-05-17 18:03:34 +02:00
Benoit Marty 553f8aa37e Remove empty translations 2022-05-17 16:31:15 +02:00
Benoit Marty ff46791df9 Let's keep this one even if not used. 2022-05-17 16:23:48 +02:00
Benoit Marty b33d8fe5e1 Remove unused string `location_share` 2022-05-17 16:04:45 +02:00
Benoit Marty 23d86b55fe Remove unused string `a11y_location_share_icon` 2022-05-17 16:03:51 +02:00
Benoit Marty d2ec615e2f Remove unused string `settings_flair` 2022-05-17 16:02:04 +02:00
Benoit Marty c0c5d21d4f
Merge pull request #6075 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-05-17 15:59:37 +02:00
Benoit Marty 57ae714cbe
Merge pull request #6072 from vector-im/feature/bma/fix_typing
Feature/bma/fix typing
2022-05-17 15:34:15 +02:00
Maxime NATUREL cbf8306c6f Removing live location share data from MessageInformationData structure 2022-05-17 15:09:27 +02:00
Weblate 52a1fcb397 Merge branch 'origin/develop' into Weblate. 2022-05-17 12:51:46 +00:00
Szimszon bc567fd45c Translated using Weblate (Hungarian)
Currently translated at 100.0% (2224 of 2224 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-05-17 12:51:38 +00:00
Benoit Marty 5df0488cf2 Apply ouchadam's suggestion. It's only accessed by the main thread. 2022-05-17 14:44:43 +02:00
Benoit Marty 46e8737426
Merge pull request #6039 from vector-im/feature/dla/fix-sip-on-unhold
Direction and track need to be set for hold/unhold
2022-05-17 14:33:02 +02:00
Benoit Marty 32573881e4 Renames ids for clarity 2022-05-17 13:42:53 +02:00
ericdecanini 4adaa20f72 Fixes default visibilities in fragment_home_detail 2022-05-17 12:16:45 +02:00
Benoit Marty 2e189a1ab0 Fix typing rendering #6063 2022-05-17 11:53:44 +02:00
Adam Brown 5f2cb671e2 making comparator override non null as kotlin guards against this 2022-05-17 10:35:14 +01:00
Adam Brown 1ec99ee89e renaming comparator to only specify the matrix.org domain 2022-05-17 10:31:32 +01:00
ericdecanini bc500a567a Adds back button implementation of navigating up spaces 2022-05-17 11:28:37 +02:00
ericdecanini e706c5a3c8 Adds up navigation from spaces 2022-05-17 11:09:14 +02:00
ariskotsomitopoulos 324856d700 Merge branch 'develop' into feature/aris/threads_post_release_ui_improvements
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
2022-05-17 11:55:07 +03:00
Benoit Marty ea1607cf3f Improve preview of the layout in the IDE 2022-05-17 10:28:02 +02:00
Auri B. P 2f03526d37 Translated using Weblate (Catalan)
Currently translated at 81.8% (1821 of 2224 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-05-17 02:56:52 +00:00
John Doe 41edd88d03 Translated using Weblate (Spanish)
Currently translated at 99.8% (2221 of 2224 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2022-05-16 17:59:45 +00:00
Ihor Hordiichuk baa5c1319d Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2224 of 2224 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-05-16 17:59:44 +00:00
Adam Brown 444980395e inlining single use extension 2022-05-16 17:26:12 +01:00
Adam Brown 51ffe26a91 renaming comparator to give more context to its usage 2022-05-16 17:17:15 +01:00
Adam Brown 6c3150edb7 using compareTo instead of direct subtraction 2022-05-16 17:16:37 +01:00
Maxime NATUREL 1d6083b2c7 Fix missing dot at end of code documentation 2022-05-16 18:07:08 +02:00
Michael Kaye 010be9184c Fix threading UI test failure by adding a sleep 30s. 2022-05-16 15:59:41 +01:00
Benoit Marty afd2804ed3
Merge branch 'develop' into feature/mna/PSF-884-location-view 2022-05-16 14:42:38 +02:00
Adam Brown a893f5acdb applying the manual reordering of the sign up stages only when matrix.org is selected
- lifts the logic up to the view model
2022-05-16 12:33:54 +01:00
Benoit Marty 12eb23b198
Merge branch 'develop' into feature/bma/detekt_end_period 2022-05-16 13:14:37 +02:00
ariskotsomitopoulos 72a945ac13 PR remarks 2022-05-16 13:32:30 +03:00
Benoit Marty 480a60a655 Exclude some files from check 2022-05-16 12:23:10 +02:00
Benoit Marty 9e106990c8 Setup knit 2022-05-16 12:23:10 +02:00
Benoit Marty f1995503ff Small improvement on lint.xml file 2022-05-16 12:23:10 +02:00
Benoit Marty 3fc4083aca Make the constructor public 2022-05-16 12:23:10 +02:00
Benoit Marty 92c0d97110 Rename API 2022-05-16 12:22:18 +02:00
Benoit Marty 90035de5f2
Merge pull request #6047 from chagai95/add-presence-indicator-busy-and-away
add presence indicator busy and away
2022-05-16 11:26:11 +02:00
Benoit Marty c25845b959 Detekt: enable and fix EndOfSentenceFormat for analytics plan
Will require https://github.com/matrix-org/matrix-analytics-events/pull/63 for long term solution
2022-05-16 10:56:29 +02:00
chagai95 c27958d772
Add Busy string and change Unavailable to Away 2022-05-16 10:50:58 +02:00
Maxime NATUREL 3d136112b2 Fix filename 2022-05-16 10:39:46 +02:00
Maxime NATUREL b0773514ee Extracting LocationLiveMessageBannerViewState into separated file 2022-05-16 10:32:34 +02:00
ericdecanini 7c1d1c3464 Adds centering of items with no subtitles 2022-05-16 10:26:28 +02:00
Maxime NATUREL 2aeee79c63 Using existing common When case for NoticeItem to handle location data 2022-05-16 10:14:39 +02:00
Benoit Marty 4c95aafe10 Detekt: enable and fix EndOfSentenceFormat 2022-05-16 08:54:07 +02:00
Didek 1e1205d3b6 Translated using Weblate (Polish)
Currently translated at 100.0% (2224 of 2224 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-05-14 13:59:45 +00:00
Piotr Strebski 23a874c674 Translated using Weblate (Polish)
Currently translated at 100.0% (2224 of 2224 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-05-14 13:59:45 +00:00
Benoit Marty 9234c60155
Merge pull request #6038 from vector-im/feature/bma/detekt
Detekt
2022-05-13 23:40:53 +02:00
Valere d40f8b0c56
Merge pull request #5939 from vector-im/feature/bca/fix_5906
Desynchronized 4S | Megolm backup causing Unusable backup
2022-05-13 15:43:18 +02:00
chagai95 9f033ed623
add presence indicator busy and away 2022-05-13 13:55:10 +02:00
ericdecanini 21fe5a23fb Adds vertical centering of title when no subtitle is present 2022-05-13 13:07:20 +02:00
Benoit Marty 03ec9946ff Detekt: fix ConstructorParameterNaming
UserProperties fix is also in https://github.com/matrix-org/matrix-analytics-events/pull/62
2022-05-12 22:17:56 +02:00
Adam Brown cad9d443be
Merge pull request #6013 from vector-im/feature/adm/hide-ftue-ems
FTUE - Temporarily hide EMS section
2022-05-12 18:09:28 +01:00
Valere 8077406cba code review 2022-05-12 18:45:35 +02:00
Valere 22e0506814 Prevent 4S / megolm backup desync + sign with MSK 2022-05-12 18:45:35 +02:00
David Langley 44e8974c02 direction and track need to be set for hold/unhold 2022-05-12 17:01:44 +01:00
Benoit Marty 6f3b9c78b0 Detekt: fix FunctionParameterNaming 2022-05-12 17:56:05 +02:00
Benoit Marty c303b9afd3 Ignore more rules 2022-05-12 17:54:30 +02:00
Benoit Marty f02bad5c79 Detekt: fix ArrayPrimitive 2022-05-12 17:54:15 +02:00
Benoit Marty c3b5ba5639 Detekt: fix MatchingDeclarationName 2022-05-12 17:44:44 +02:00
Benoit Marty 3bc84f0d38 Detekt: fix MaxLineLength
@ouchadam your test fun names are too long!
2022-05-12 17:38:49 +02:00
Benoit Marty 21904054a5 Detekt: ignore EmptyCatchBlock 2022-05-12 17:29:10 +02:00
Benoit Marty cdbc9db890 Detekt: fix EmptyDefaultConstructor 2022-05-12 17:25:16 +02:00
Benoit Marty 824f029e20 "TODO:" is forbidden by Detekt 2022-05-12 17:06:52 +02:00
Ahmed Radhouane Belkilani 6a523ccc38 Allow using the latest user avatar and display name for all messages in the timeline
Signed-off-by: Jorge Martín Espinosa <jorgem@element.io>
2022-05-12 15:43:20 +02:00
Suguru Hirahara bea8b3d8d1 Translated using Weblate (Japanese)
Currently translated at 96.7% (2152 of 2224 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2022-05-12 12:59:44 +00:00
Stefan Schmidt 284fb639bf Translated using Weblate (German)
Currently translated at 97.3% (2166 of 2224 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-05-12 12:59:43 +00:00
Sveinn í Felli b95ca0ae53 Translated using Weblate (Icelandic)
Currently translated at 81.9% (1823 of 2224 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/is/
2022-05-12 12:59:43 +00:00
ericdecanini 52c404ac9c Merge remote-tracking branch 'origin/develop' into feature/eric/replace-search-room-subheader 2022-05-12 14:36:04 +02:00
ariskotsomitopoulos 40de685f1a Merge branch 'develop' into feature/aris/threads_post_release_ui_improvements
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/search/SearchResultController.kt
2022-05-12 14:41:38 +03:00
Benoit Marty 4309fdba7e
Merge pull request #6021 from vector-im/feature/bma/finish_remove_flair
Remove remaining dead code about flair
2022-05-12 11:31:42 +02:00
Benoit Marty cd509accdb
Merge pull request #5936 from hanthor/develop
Added themed icon for Android 13
2022-05-11 17:34:38 +02:00
Benoit Marty deb0f1ad1b
Merge pull request #6000 from vector-im/dependabot/gradle/androidx.preference-preference-ktx-1.2.0
Bump preference-ktx from 1.1.1 to 1.2.0
2022-05-11 16:17:17 +02:00
Benoit Marty 1ef5416b50 Use the correct lint rule to ignore. 2022-05-11 15:02:01 +02:00
Benoit Marty 2ec86fe9e6 Remove remaining dead code about flair
Finish the work started at #5664
2022-05-11 10:52:55 +02:00
Maxime NATUREL b2099b6b31 Updating the no location map background 2022-05-11 10:34:54 +02:00
Maxime NATUREL cb5c6ec35e Decreasing alpha of bottom banner in message view 2022-05-11 09:53:42 +02:00
Valere 12ab4787f1 Merge branch 'develop' into feature/bca/crypto_better_key_share 2022-05-10 19:30:52 +02:00
Benoit Marty 04cadb94cf
Merge pull request #5987 from vector-im/dependabot/gradle/org.jetbrains.kotlin-kotlin-gradle-plugin-1.6.21
Bump kotlin-gradle-plugin from 1.6.0 to 1.6.21
2022-05-10 18:23:51 +02:00
Benoit Marty f54aa60803 Fix test compilation warning after bump kotlin-gradle-plugin from 1.6.0 to 1.6.21 2022-05-10 17:00:54 +02:00
Benoit Marty fe8648c7f8 Fix compilation warning after bump kotlin-gradle-plugin from 1.6.0 to 1.6.21 2022-05-10 16:19:53 +02:00
Benoit Marty 67cd82385a Fix warning: w: '-Xopt-in' is deprecated and will be removed in a future release, please use -opt-in instead 2022-05-10 16:07:24 +02:00
Benoit Marty 5ad2567633 Fix compilation error after bump preference-ktx from 1.1.1 to 1.2.0 2022-05-10 15:00:44 +02:00
Benoit Marty eafe65b417
Merge pull request #5831 from emotionalamoeba/develop
Updated copy and moved override in profile screen
2022-05-10 14:40:40 +02:00
Onuray Sahin 185cd316c9
Merge pull request #5911 from vector-im/feature/ons/voip_screen_sharing
Screen sharing over WebRTC
2022-05-10 13:06:33 +03:00
Adam Brown 33c1e1ea11 EMS section is temporarily hidden whilst we sync with marketing 2022-05-10 10:55:46 +01:00
Onuray Sahin bb862cc509 Lower alpha of video button while screen sharing. 2022-05-10 11:35:38 +03:00
Johan Smits 05662d1c94 Translated using Weblate (Dutch)
Currently translated at 100.0% (2224 of 2224 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-05-10 07:59:43 +00:00
Benoit Marty 396d13c3f9
Merge pull request #6001 from vector-im/dependabot/gradle/androidx.media-media-1.6.0
Bump media from 1.4.3 to 1.6.0
2022-05-10 09:58:06 +02:00
dependabot[bot] 71b45947cb
Bump emoji2 from 1.0.1 to 1.1.0
Bumps emoji2 from 1.0.1 to 1.1.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 23:10:49 +00:00
dependabot[bot] 427a548e8b
Bump media from 1.4.3 to 1.6.0
Bumps media from 1.4.3 to 1.6.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 23:08:08 +00:00
Benoit Marty 07c22e7a19
Merge pull request #5988 from vector-im/dependabot/gradle/com.arthenica-ffmpeg-kit-audio-4.5.1-1
Bump ffmpeg-kit-audio from 4.5.LTS to 4.5.1-1
2022-05-09 22:04:19 +02:00
Maxime NATUREL 738d486f9d Moving the light "no location" background into default folder 2022-05-09 17:46:15 +02:00
Benoit Marty e35bb772c1
Merge pull request #5941 from vector-im/feature/bma/konfetti_speed
No animation -> no chat effect
2022-05-09 17:05:53 +02:00
Benoit Marty 96b0a3f760
Merge pull request #5986 from vector-im/dependabot/gradle/com.nulab-inc-zxcvbn-1.7.0
Bump zxcvbn from 1.5.2 to 1.7.0
2022-05-09 17:02:10 +02:00
Onuray Sahin 3a02e8405d Disable video toggle button during screen sharing. 2022-05-09 17:26:35 +03:00
Benoit Marty c9677c8b5a
LTS version 2022-05-09 15:36:20 +02:00
Benoit Marty 9b4c861545
(try to) ensure LTS version will not be removed by mistake 2022-05-09 15:36:10 +02:00
dependabot[bot] d567796928
Bump ffmpeg-kit-audio from 4.5.LTS to 4.5.1-1
Bumps [ffmpeg-kit-audio](https://github.com/tanersener/ffmpeg-kit) from 4.5.LTS to 4.5.1-1.
- [Release notes](https://github.com/tanersener/ffmpeg-kit/releases)
- [Commits](https://github.com/tanersener/ffmpeg-kit/commits)

---
updated-dependencies:
- dependency-name: com.arthenica:ffmpeg-kit-audio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 13:26:46 +00:00
Maxime NATUREL 59567e39b4 Fix code quality issues 2022-05-09 15:25:45 +02:00
dependabot[bot] 24e36eb8af
Bump zxcvbn from 1.5.2 to 1.7.0
Bumps [zxcvbn](https://github.com/nulab/zxcvbn4j) from 1.5.2 to 1.7.0.
- [Release notes](https://github.com/nulab/zxcvbn4j/releases)
- [Changelog](https://github.com/nulab/zxcvbn4j/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nulab/zxcvbn4j/compare/1.5.2...1.7.0)

---
updated-dependencies:
- dependency-name: com.nulab-inc:zxcvbn
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 13:25:08 +00:00
dependabot[bot] 718516a0c3
Bump lazythreetenbp from 0.9.0 to 0.10.0
Bumps [lazythreetenbp](https://github.com/gabrielittner/lazythreetenbp) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/gabrielittner/lazythreetenbp/releases)
- [Changelog](https://github.com/gabrielittner/lazythreetenbp/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gabrielittner/lazythreetenbp/compare/0.9.0...0.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 13:24:03 +00:00
Maxime NATUREL 16be69ebae Fix tint of banner icon for start and inactive message 2022-05-09 15:15:34 +02:00
Maxime NATUREL 4862f8e7c9 Dark mode support for no location map background 2022-05-09 15:15:34 +02:00
Maxime NATUREL 82cbc351e5 Fix background color of bottom banner 2022-05-09 15:15:34 +02:00
Maxime NATUREL 6622651a90 Fix send of the first location after start 2022-05-09 15:15:33 +02:00
Maxime NATUREL 0a21bd4b78 Fix crash when mixing static and live location 2022-05-09 15:15:33 +02:00
Maxime NATUREL f2b66c5fb5 Fix pin position in static map 2022-05-09 15:15:33 +02:00
Maxime NATUREL c10b2a405c Show inactive message item when a live is inactive 2022-05-09 15:15:33 +02:00
Maxime NATUREL a37edb591b Adding xml layout for inactive state 2022-05-09 15:15:33 +02:00
Maxime NATUREL 370b6a81bc Checking inactive state before loading to handle timed out live without location 2022-05-09 15:15:33 +02:00
Maxime NATUREL b0c1ca87df Reducing period of location update to 2 seconds 2022-05-09 15:15:33 +02:00
Maxime NATUREL 4a4ec47c49 Binding stop button of emitter view 2022-05-09 15:15:33 +02:00
Maxime NATUREL d341611e54 Format location event for debugging purpose 2022-05-09 15:15:33 +02:00
Maxime NATUREL 3a36762632 Fix some namings after rebase 2022-05-09 15:15:33 +02:00
Maxime NATUREL b577f6ab8e Fix display in Bubble mode 2022-05-09 15:15:33 +02:00
Maxime NATUREL 077977b8bf Show running live state item 2022-05-09 15:15:33 +02:00
Maxime NATUREL adbc430ac8 Renaming userId into locationUserId in message location item 2022-05-09 15:15:33 +02:00
Maxime NATUREL 8b628229ed Do not append 0 values when formatting duration 2022-05-09 15:15:33 +02:00
Maxime NATUREL c432985cb4 Adding countDownTimer for emitter view 2022-05-09 15:15:33 +02:00
Maxime NATUREL 11d9579036 Adding currentUserId attribute 2022-05-09 15:15:33 +02:00
Maxime NATUREL 93634cd7af Removing TODO 2022-05-09 15:15:33 +02:00
Maxime NATUREL 8c012145f9 Creating a dedicated live location item 2022-05-09 15:15:33 +02:00
Maxime NATUREL bbec3a7c2e Integration into location message item 2022-05-09 15:15:33 +02:00
Maxime NATUREL 3acc139307 Fix format of the duration 2022-05-09 15:15:33 +02:00
Maxime NATUREL a412b2128d Rendering method 2022-05-09 15:15:33 +02:00
Maxime NATUREL df1ba8ec88 Custom view for the banner 2022-05-09 15:15:33 +02:00
Maxime NATUREL 431d86166f Building correct item depending on the state of the live 2022-05-09 15:15:33 +02:00
Maxime NATUREL d44a6c50f1 Fixes in DateProvider 2022-05-09 15:15:33 +02:00
Maxime NATUREL 68a44c4cc7 Renaming message item factory 2022-05-09 15:15:31 +02:00
Maxime NATUREL d89d6bc162 Adding view state class 2022-05-09 15:14:47 +02:00
Maxime NATUREL 0561fe5b08 Using information data in message factory 2022-05-09 15:14:44 +02:00
Maxime NATUREL 90aad44edf Adding live location summary data into MessageInformationData 2022-05-09 15:12:39 +02:00