Commit Graph

8745 Commits

Author SHA1 Message Date
Adam Brown
d99a2f8d14 creating and passing stored user properties on post hog initialisation
- this allows information captured during the onboarding to be sent once the user has opt'd in
2022-02-15 16:03:21 +00:00
Adam Brown
3236d87323 inlining posthog creation and removing eager optout and identify calls as the backing values are null which means they aren't actually being called 2022-02-15 15:39:05 +00:00
Adam Brown
e36e67c54c adding unit tests around the analytics impl 2022-02-15 15:16:24 +00:00
Adam Brown
837caabcec providing the posthog creation and analytics config via hilt in order to make the analytics impl testable 2022-02-15 12:51:21 +00:00
Adam Brown
f1f8f51805 lifting the global scope to a provide to allow for unit testing the analytics impl 2022-02-15 12:30:55 +00:00
Adam Brown
580ecc9c44 adding lateinit user property factory for use when calling the initial identify tracking
- this will allow us send the pending onboarding properties once consent is given
2022-02-15 12:19:39 +00:00
Benoit Marty
6c4f389342
Merge pull request #5203 from vector-im/feature/dla/fix_consult_transfer
Call transfer with consult fails to make outgoing consultation call.
2022-02-14 19:54:09 +01:00
Benoit Marty
ffd2a762af Let the Activity that created the result intent deserialize it. 2022-02-14 17:07:52 +01:00
Benoit Marty
88ecfa3678 Fix compilation issue, Screen has been renamed to MobileScreen
Also manually delete WebScreen, which does not compile. Will have to fix that upstream.
2022-02-14 16:40:11 +01:00
Adam Brown
fd2d9287e7 creating separate creator for the matrix instance to avoid ambiguous non singleton/duplicated singleton usages
- also documents the static methods
2022-02-14 12:46:16 +00:00
Adam Brown
674aea97a8 injecting the room name provider as we're within hilts scope 2022-02-14 12:30:47 +00:00
Benoit Marty
3547926c25
Merge pull request #5172 from vector-im/sync-emojis
Sync Emojis
2022-02-14 11:43:21 +01:00
Benoit Marty
36d841b884
Merge pull request #5196 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.43
Bump libphonenumber from 8.12.42 to 8.12.43
2022-02-14 11:19:41 +01:00
bmarty
c89a107ca6 Sync analytics plan 2022-02-14 00:05:49 +00:00
bmarty
ff1c307ca0 Sync Emojis 2022-02-14 00:03:37 +00:00
Adam Brown
ea13f1c879
Merge pull request #5189 from vector-im/arb/issues/4640
#4640 : The notification badge jumps around
2022-02-11 14:18:41 +00:00
ganfra
f1376eac82
Merge pull request #5204 from vector-im/feature/fga/reactions_ui_improvements
Feature/fga/reactions UI improvements
2022-02-11 15:17:44 +01:00
ganfra
0a52651e40 Reactions: update after remarks 2022-02-11 13:01:34 +01:00
David Langley
6fd47594d4 formatting 2022-02-11 11:15:16 +00:00
Ahmed Radhouane Belkilani
a9a1532e01 #4640
- change unread counter badge view in item_room to be in consistent place on the screen, to left of date/time.
 - change unread badge color state for dark and light theme to align with iOS.
 - add changelog file related to the issue.

Signed-off-by: Ahmed Radhouane Belkilani <arbelkilani@gmail.com>
2022-02-11 11:45:39 +01:00
random
617a03abf6 Translated using Weblate (Italian)
Currently translated at 100.0% (2785 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-02-10 23:27:22 +00:00
Linerly
300040cee9 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2785 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-02-10 23:27:17 +00:00
Ihor Hordiichuk
f767770739 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2785 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-02-10 23:27:13 +00:00
Danial Behzadi
6c5a900935 Translated using Weblate (Persian)
Currently translated at 100.0% (2785 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-02-10 23:27:10 +00:00
Priit Jõerüüt
72d742f8c7 Translated using Weblate (Estonian)
Currently translated at 99.9% (2783 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-02-10 23:27:07 +00:00
a73435
3146ede690 Translated using Weblate (Russian)
Currently translated at 100.0% (2785 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-02-10 23:27:02 +00:00
Vladyslav Stepanov
4b7bd2ba06 Translated using Weblate (Russian)
Currently translated at 100.0% (2785 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-02-10 23:27:02 +00:00
Kagami Sascha Rosylight
ad0dcc726a Translated using Weblate (Korean)
Currently translated at 47.4% (1322 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2022-02-10 23:26:56 +00:00
waclaw66
12fb26fb38 Translated using Weblate (Czech)
Currently translated at 100.0% (2785 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-02-10 23:26:50 +00:00
LinAGKar
4d8f09c96c Translated using Weblate (Swedish)
Currently translated at 99.9% (2784 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-02-10 23:26:47 +00:00
noantiq
265e9d4879 Translated using Weblate (German)
Currently translated at 99.6% (2775 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-02-10 23:26:44 +00:00
Jozef Gaal
e46eeaa5d3 Translated using Weblate (Slovak)
Currently translated at 96.0% (2676 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-02-10 23:26:41 +00:00
lvre
2b050ed320 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2785 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-02-10 23:26:27 +00:00
Besnik Bleta
736d3ab842 Translated using Weblate (Albanian)
Currently translated at 99.5% (2772 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2022-02-10 23:26:24 +00:00
Jeff Huang
79d58fb178 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2785 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-02-10 23:26:20 +00:00
David Langley
74e72ed7a0 lint 2022-02-10 19:34:14 +00:00
David Langley
8e492cf98d lint 2022-02-10 19:20:40 +00:00
David Langley
cb37bc56a6 Move call transfer actions back to callViewModel via result from callTransferActivity 2022-02-10 19:07:32 +00:00
ganfra
56338c22dd
Merge pull request #5195 from abaker/fix_crash_detection
Set PREFS_CRASH_KEY synchronously
2022-02-10 19:21:17 +01:00
ganfra
c690bada0d Clean code and add changelog. 2022-02-10 19:13:35 +01:00
David Langley
11986ec9ef Intent information that is pass to attachViewRenderers is not present on intent then onNewIntent called. 2022-02-10 17:23:38 +00:00
ganfra
31fa43b5bd Reactions: fix direction for outgoing bubble 2022-02-10 17:52:10 +01:00
ganfra
0244fea222 Reactions: more refinements 2022-02-10 17:51:49 +01:00
fedrunov
00ada6748a
Merge pull request #5171 from vector-im/sync-analytics-plan
Sync analytics plan
2022-02-10 15:47:32 +01:00
NIkita Fedrunov
ba5c7a530c another sync with analytics repo 2022-02-10 13:22:00 +01:00
fedrunov
06b5563ff6
join and leave methods moved from MembershipService to RoomService an… (#5183) 2022-02-10 10:05:03 +01:00
dependabot[bot]
002332496a
Bump libphonenumber from 8.12.42 to 8.12.43
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.42 to 8.12.43.
- [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.42...v8.12.43)

---
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-02-09 23:11:56 +00:00
Alex Baker
a4b50d2a78 Set PREFS_CRASH_KEY synchronously
Sometimes the app dies before this preference gets written to disk, and
then the crash dialog is not displayed to the user

Signed-off-by: Alex Baker <alex@beeper.com>
2022-02-09 17:09:48 -06:00
ganfra
911ee97122 Reactions: start handling show more, show less and add more actions in timeline. 2022-02-09 21:29:03 +01:00
Onuray Sahin
e71063222b
Merge pull request #5179 from vector-im/feature/ons/fix_poll_option_animation
Remove redundant highlight on add poll option button
2022-02-09 22:24:54 +03:00
NIkita Fedrunov
761b8031f6 Merge branch 'develop' into sync-analytics-plan
# Conflicts:
#	vector/src/main/java/im/vector/app/features/analytics/impl/DefaultVectorAnalytics.kt
#	vector/src/main/java/im/vector/app/features/analytics/plan/Composer.kt
#	vector/src/main/java/im/vector/app/features/onboarding/OnboardingViewModel.kt
2022-02-09 16:27:33 +01:00
NIkita Fedrunov
cc4228ed26 use new screen name constants 2022-02-09 16:07:47 +01:00
NIkita Fedrunov
e196b01038 synced with latest changes in analytics repo 2022-02-09 15:55:22 +01:00
NIkita Fedrunov
f78446c1e7 Click replaced with Compose on message sent
Identity replaced with UserProperty
added missing param for JoinedRoom
2022-02-09 14:23:45 +01:00
ganfra
c28a20dce3 Bump versions to 1.4.2 2022-02-09 12:55:33 +01:00
ganfra
a6bf921d64 Release: update versions 2022-02-09 11:18:03 +01:00
Onuray Sahin
f6a24e964e Code review fix. 2022-02-08 23:23:03 +03:00
ganfra
e72593304f UITests: remove search menu item test case (not visible anymore in E2E room) 2022-02-08 19:35:33 +01:00
ganfra
a19642cd8e Analytics: fix always null identity property 2022-02-08 19:34:41 +01:00
ganfra
33648963c4 Merge branch 'develop' into feature/ons/fix_turkish_translations 2022-02-08 18:06:10 +01:00
Adam Brown
5ff420f4f0 marking the matrix provision as a singleton to avoid reinitialising 2022-02-08 15:56:07 +00:00
Adam Brown
0390994e14 removing unused import 2022-02-08 15:51:30 +00:00
Adam Brown
8dc8c209d3 using injected matrix instance for the bug reporting to avoid directly calling getInstance 2022-02-08 15:38:18 +00:00
Adam Brown
a63e79bad5 initialising a new matrix instance for android tests, ideally this would also be backed back the test module instead of the singleton state 2022-02-08 15:36:23 +00:00
Adam Brown
c160f5dff1 always providing matrix via the singleton module -
allows the matrix configuration to also contain dependencies
2022-02-08 15:09:38 +00:00
Weblate
d06a0af947 Merge branch 'origin/develop' into Weblate. 2022-02-08 14:47:47 +00:00
Linerly
67be89bad2 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-02-08 14:29:29 +00:00
Adam Brown
2d80c6bc4e avoiding using the matrix getInstance internally within the sdk to allow us to inject a consistent instance 2022-02-08 14:02:39 +00:00
ganfra
49a0555704
Merge pull request #5176 from vector-im/feature/ons/map_wellknown_support
Retrieve map style url from .well-known
2022-02-08 11:57:48 +01:00
LinAGKar
64a0c53405 Translated using Weblate (Swedish)
Currently translated at 99.9% (2751 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-02-08 04:26:32 +00:00
Jozef Gaal
12f495c9b8 Translated using Weblate (Slovak)
Currently translated at 91.2% (2512 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-02-08 04:26:32 +00:00
ganfra
b75fd18959
Merge pull request #5142 from vector-im/feature/adm/set-usecase-on-account-creation
Aligning use case tracking with iOS
2022-02-07 19:04:07 +01:00
Onuray Sahin
22a03abdc4 Code review fix. 2022-02-07 20:08:31 +03:00
Onuray Sahin
457a6a2dd0 Lint fix. 2022-02-07 17:44:27 +03:00
Onuray Sahin
7e182ed662 Remove redundant highlight on add poll option button. 2022-02-07 17:35:26 +03:00
Onuray Sahin
9d83bafa7b Retrieve map style url from .well-known. 2022-02-07 13:38:54 +03:00
bmarty
1369d1fa2f Sync analytics plan 2022-02-07 00:02:21 +00:00
LinAGKar
0c43bffb2e Translated using Weblate (Swedish)
Currently translated at 99.9% (2751 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-02-06 16:26:52 +00:00
Jozef Gaal
00e8cd4fb9 Translated using Weblate (Slovak)
Currently translated at 84.2% (2318 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-02-06 16:26:51 +00:00
Nikita Epifanov
4bc0dc204a Translated using Weblate (Russian)
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-02-06 16:26:26 +00:00
Danial Behzadi
ab0c00df74 Translated using Weblate (Persian)
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-02-06 16:26:17 +00:00
Zet
6283598da0 Translated using Weblate (Arabic)
Currently translated at 38.1% (1051 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-02-06 16:26:16 +00:00
Benoit Marty
ef3baee35b Split long lines 2022-02-04 16:59:20 +01:00
Benoit Marty
150d557d39
Merge pull request #5145 from vector-im/feature/ons/fix_failed_maps_rendering
Fix location rendering in timeline if map cannot be loaded
2022-02-04 16:58:04 +01:00
Onuray Sahin
fbc8866394 Merge branch 'develop' into feature/ons/fix_failed_maps_rendering
* develop: (54 commits)
  Bubbles: add CHANGELOG file
  Bubble: get LayoutDirection (RTL) from current Locale
  Version++
  fastlane
  towncrier
  Version 1.3.18
  changelog
  Improve missing state event detection to missing state events only one joined rooms (ignore LEFT room) Should reduce the number of initial sync Co-authors: ganfra and billcarsonfr
  Changelog added.
  taking the use case screen into account when accessing the sign up flows in the sanity tests
  updating copy split to match designs
  applying design feedback
  promoting use case strings for translation
  enabling the use case feature by default
  Code review fixes.
  ktlint
  Bubbles: clean up after review
  Sync: avoid deleting root event of CurrentState on gappy sync
  Code review fixes.
  Support generic location pin.
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageLocationItem.kt
#	vector/src/main/res/layout/item_timeline_event_location_stub.xml
2022-02-04 14:54:39 +03:00
Hasan
7b08a55294 Translated using Weblate (Turkish)
Currently translated at 74.9% (2062 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/tr/
2022-02-04 11:26:30 +00:00
Fjoerfoks
d133aeb88c Translated using Weblate (Frisian)
Currently translated at 48.0% (1321 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2022-02-04 11:26:15 +00:00
Aris Kotsomitopoulos
077c0eea98
Revert "AGP 7.1.0" 2022-02-04 12:20:20 +02:00
ganfra
02de636955 Bubbles: add CHANGELOG file 2022-02-03 17:57:10 +01:00
ganfra
04234318e5 Bubble: get LayoutDirection (RTL) from current Locale 2022-02-03 17:53:25 +01:00
ganfra
2e2da16a6b Bubbles: merge develop 2022-02-03 17:10:13 +01:00
Adam Brown
dbfd7e6703
Merge pull request #5106 from vector-im/feature/adm/enable-use-case-feature
Enabling FTUE Use Case
2022-02-03 15:14:49 +00:00
Benoit Marty
dba9a47c63
Merge pull request #5127 from vector-im/feature/ons/generic_location_pin
Support generic location pin
2022-02-03 16:02:38 +01:00
Benoit Marty
aa12a73a05 Version++ 2022-02-03 15:51:04 +01:00
Onuray Sahin
a7678241f2 Fix location rendering in timeline if map cannot be loaded. 2022-02-03 16:17:33 +03:00
Adam Brown
227c93b014 avoiding tracking the use case until account creation, also means we no longer need to reset the tracking value 2022-02-03 11:29:09 +00:00
Adam Brown
48b339075b filtering null values from the identify properties
- resetting values to null may cause inconsistent cross device tracking
2022-02-03 11:29:09 +00:00
Adam Brown
63a937c096 taking the use case screen into account when accessing the sign up flows in the sanity tests 2022-02-03 11:28:33 +00:00
Adam Brown
9b3af7cfc9 updating copy split to match designs 2022-02-03 11:28:33 +00:00
Adam Brown
bac60677d5 applying design feedback 2022-02-03 11:28:33 +00:00
Adam Brown
5ed1f34df3 promoting use case strings for translation 2022-02-03 11:28:33 +00:00
Adam Brown
61bc443bdf enabling the use case feature by default 2022-02-03 11:28:33 +00:00
Onuray Sahin
c590bbdb9b Code review fixes. 2022-02-03 12:53:59 +03:00
Maxime Naturel
8e0f7ca373 Issue-4641: Show search menu item only if available 2022-02-03 09:38:06 +01:00
Benoit Marty
3e212655eb
Merge pull request #5117 from vector-im/feature/adm/use-case-store-crash
Handling use case screen in sanity tests
2022-02-03 00:53:20 +01:00
Benoit Marty
6ebba4e3dd
Merge pull request #5131 from vector-im/feature/nfe/spaces_promo_removal
spaces restricted promo removed
2022-02-03 00:44:07 +01:00
Benoit Marty
c66849834a
Merge pull request #5051 from vector-im/feature/bma/cleanup
Remove some usage of MatrixCallback
2022-02-03 00:25:54 +01:00
Hasan
75b2b5146d Translated using Weblate (Turkish)
Currently translated at 67.6% (1863 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/tr/
2022-02-02 20:26:26 +00:00
LinAGKar
dc37e9236b Translated using Weblate (Swedish)
Currently translated at 99.9% (2751 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-02-02 20:26:20 +00:00
Johan Smits
6acaaf9347 Translated using Weblate (Dutch)
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-02-02 20:26:17 +00:00
libexus
4120170dae Translated using Weblate (German)
Currently translated at 99.6% (2741 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-02-02 20:26:14 +00:00
ganfra
9e0086742c Bubbles: clean up after review 2022-02-02 19:56:21 +01:00
Benoit Marty
9c72c61fc6
Merge pull request #5133 from vector-im/feature/nfe/obsolete_filter_class_removed
removed obsolete room list filter class
2022-02-02 18:42:21 +01:00
Onuray Sahin
c2daab4211 Code review fixes. 2022-02-02 19:33:34 +03:00
Adam Brown
0db38567ed adding javadoc to the data store provider 2022-02-02 16:04:22 +00:00
Adam Brown
3212bc2266 ensuring we use the application context for the datastore to avoid any local activity leaks 2022-02-02 16:04:22 +00:00
Adam Brown
d77e18f810 allowing nullable posthog properties to be submitted
- fixes crash when attempting to identify with empty properties
- will need rebasing with https://github.com/matrix-org/matrix-analytics-events/pull/20
2022-02-02 16:04:22 +00:00
Adam Brown
741f9fabbb providing a way to lazily read dynamic datastore instances
- fixes crash where multiple session store instances attempt to read from the same datastore backing file
2022-02-02 15:53:04 +00:00
Benoit Marty
2ffc89d863
Merge pull request #5125 from vector-im/feature/nfe/space_card_layout
space and room card layout changed in explore rooms, space invite dia…
2022-02-02 16:08:24 +01:00
Benoit Marty
c479073583
Merge pull request #5129 from vector-im/feature/aris/threads_fallback_permalink
Fix fallback permalink when threads are disabled
2022-02-02 16:06:34 +01:00
NIkita Fedrunov
10f7673be7 removed obsolete room list filter class 2022-02-02 15:53:20 +01:00
NIkita Fedrunov
440c5f7516 spaces restricted promo removed 2022-02-02 15:42:28 +01:00
NIkita Fedrunov
c64c204878 code quality changes 2022-02-02 15:19:48 +01:00
ganfra
1bf2523437 Merge branch 'develop' into feature/fga/message_bubbles 2022-02-02 13:01:43 +01:00
fedrunov
65fd5489a3
"Invite users to space" dialog now closed when user choose invite method (#5126) 2022-02-02 12:54:45 +01:00
ariskotsomitopoulos
36f0283d96 Fix fallback permalink when threads are disabled 2022-02-02 13:51:45 +02:00
Onuray Sahin
a131d28b3e Merge branch 'develop' into feature/ons/generic_location_pin
* develop: (146 commits)
  exhaustive not needed anymore
  Invert if condition and split long line
  Use kotlin string builder
  Same issue but in the test
  Format
  Fix a crash: java.util.IllegalFormatPrecisionException https://github.com/matrix-org/element-android-rageshakes/issues/33398
  add changelog file for threads feature
  add changelog file for threads feature
  Formatting
  Improve hidden events for threads
  Add TODO for the next Weblate sync
  ktlint format
  PR remarks
  Fix a lint false positive? Anyway this was not used. Restricted API ../../../matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/job/SyncWorker.kt:61: ListenableWorker.getTaskExecutor can only be called from within the same library group (referenced groupId=androidx.work from groupId=element-android)
  It seems that now lint rule `MissingQuantity` is an error and not a warning by default.
  Whitelist group 'org.webjars' on MavenCentral to fix lint execution
  Fix conflicts
  Formating & remove unused comments
  Fix error in unit test
  ktlint format
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/navigation/Navigator.kt
2022-02-02 14:35:30 +03:00
Onuray Sahin
37d35c9a7f Support generic location pin. 2022-02-02 14:25:54 +03:00
Benoit Marty
ecf356f6eb
Merge pull request #5124 from vector-im/feature/bma/fix_timber_crash
Fix timber crash
2022-02-02 12:25:30 +01:00
Benoit Marty
407e065b90
Merge pull request #5041 from vector-im/feature/nfe/qr_scanner_fragments_merge
qr scanner fragments merged into one
2022-02-02 12:24:28 +01:00
Benoit Marty
10841ab0a1 exhaustive not needed anymore 2022-02-02 12:24:02 +01:00
Benoit Marty
54fb28c912
Merge pull request #5089 from vector-im/feature/dla/fix_incorrect_call_status
CallTileTimelineItem.CallStatus.MISSED renders both missed and reject…
2022-02-02 12:06:11 +01:00
Benoit Marty
a78d88fc0a Invert if condition and split long line 2022-02-02 12:03:38 +01:00
Benoit Marty
1a8c31f926 Inject the context to simplify the API
And more cleanup
2022-02-02 11:38:09 +01:00
Benoit Marty
4893429d73 Remove usage of MatrixCallback 2022-02-02 11:38:09 +01:00
NIkita Fedrunov
9dccc398b4 space and room card layout changed in explore rooms, space invite dialog, room invite dialog 2022-02-02 10:45:43 +01:00
Benoit Marty
cd16d3f19b Same issue but in the test 2022-02-02 10:42:39 +01:00
ganfra
cfda76b2d4 Timeline: avoid overflow on getViewType 2022-02-01 20:31:09 +01:00
ganfra
50810065a2 Bubbles: update media sizing (including LocationItem) 2022-02-01 20:19:35 +01:00
Aris Kotsomitopoulos
3d5f8ed7e7
Merge pull request #4746 from vector-im/feature/aris/threads
Threads P0 Release
2022-02-01 15:58:32 +02:00
Benoit Marty
79b4c76a09
Merge pull request #5082 from vector-im/feature/bma/agp_7_1_0
AGP 7.1.0
2022-02-01 13:57:15 +01:00
ariskotsomitopoulos
ed992ddc72 Formatting 2022-02-01 14:40:00 +02:00
ariskotsomitopoulos
877c9bec97 Improve hidden events for threads 2022-02-01 14:07:16 +02:00
Timuçin Boldt
5fe270fc9c
adapt strings for space creation 2022-02-01 12:07:53 +01:00
Benoit Marty
8db5b76676 Add TODO for the next Weblate sync 2022-02-01 11:41:59 +01:00
ariskotsomitopoulos
cfa52d83b4 ktlint format 2022-02-01 12:16:52 +02:00
ariskotsomitopoulos
fcc095a239 PR remarks 2022-02-01 12:13:10 +02:00
ganfra
825c2ca989 Merge branch 'develop' into feature/fga/message_bubbles 2022-02-01 10:05:51 +01:00
Benoit Marty
c18a614e72 It seems that now lint rule MissingQuantity is an error and not a warning by default. 2022-02-01 00:26:10 +01:00
ganfra
38f1bbdab2 RTL: better support for some TextViews 2022-01-31 19:20:00 +01:00
ganfra
820bc644b6 Bubble: introduce CornersRadius 2022-01-31 19:18:42 +01:00
Benoit Marty
3a040aaee2
Update vector/build.gradle 2022-01-31 17:17:37 +01:00
dependabot[bot]
3caf81d07e
Bump ucrop from 2.2.7 to 2.2.8-native
Bumps [ucrop](https://github.com/Yalantis/uCrop) from 2.2.7 to 2.2.8-native.
- [Release notes](https://github.com/Yalantis/uCrop/releases)
- [Commits](https://github.com/Yalantis/uCrop/compare/2.2.7...2.2.8-native)

---
updated-dependencies:
- dependency-name: com.github.yalantis:ucrop
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 15:22:21 +00:00
ariskotsomitopoulos
15fe9edfbd Fix conflicts 2022-01-31 16:21:46 +02:00
Adam Brown
986d9f92e9
Merge pull request #5009 from vector-im/feature/adm/storing-use-case
Storing and tracking the onboarding messaging use case
2022-01-31 14:15:39 +00:00
ariskotsomitopoulos
d509b3324c Merge branch 'develop' into feature/aris/threads 2022-01-31 15:58:12 +02:00
Benoit Marty
7dad08654b Revert "Downgrade the version to 1.3.17 to prepare a corrective release."
This reverts commit 2efa67e587.
2022-01-31 14:53:43 +01:00
Benoit Marty
2efa67e587 Downgrade the version to 1.3.17 to prepare a corrective release. 2022-01-31 14:48:54 +01:00
Benoit Marty
91e444ca73
Merge pull request #5084 from vector-im/feature/bma/location_crash
Fix location crash
2022-01-31 14:42:53 +01:00
ariskotsomitopoulos
f07c23fdda Formating & remove unused comments 2022-01-31 14:52:09 +02:00
ariskotsomitopoulos
ec9b6aa993 Fix error in unit test 2022-01-31 14:50:57 +02:00
Onuray Sahin
b3288c5acc Fix translation errors. 2022-01-31 15:49:18 +03:00
Onuray Sahin
a584cb876b Fix translation errors. 2022-01-31 15:26:54 +03:00
Adam Brown
9119cf059f adding extra logging around the push rules to help determine if we're incorrectly filter out valid notifications 2022-01-31 12:06:21 +00:00
ariskotsomitopoulos
26eaa843b3 ktlint format 2022-01-31 13:56:17 +02:00
ariskotsomitopoulos
14e56b8f7d MessageComposerViewModel format 2022-01-31 13:53:49 +02:00
Benoit Marty
8ee23c1e6a Merge branch 'develop' into feature/bma/location_crash 2022-01-31 12:49:17 +01:00
Benoit Marty
ecd41d3826 network "not live" lcoation can be more accurate than GPS "not live" location. So do not ignore them. Not sure how if this is a universal rule... 2022-01-31 12:47:17 +01:00
ariskotsomitopoulos
d91f3d2de6 Enhance SlashCommandNotSupportedInThreads 2022-01-31 13:42:20 +02:00
ariskotsomitopoulos
cb3501ea17 Lazy load notSupportedThreadsCommands to improve performance 2022-01-31 13:08:15 +02:00
ariskotsomitopoulos
5ff5f762d4 Revert the use of coerceIn 2022-01-31 12:24:28 +02:00
ariskotsomitopoulos
32a982c287 Improve coerceIn format 2022-01-31 12:19:12 +02:00
Benoit Marty
14c4233cdc Fix some typos 2022-01-31 11:01:29 +01:00
ariskotsomitopoulos
cdd36ce034 Fix IndexOutOfBound crashes while clicking permalinks 2022-01-31 11:56:26 +02:00
Weblate
45360e8d18 Merge branch 'origin/develop' into Weblate. 2022-01-31 08:46:22 +00:00
Weblate
da7edde0a2 Merge branch 'origin/develop' into Weblate. 2022-01-31 08:41:51 +00:00
Jozef Gaal
6564146e91 Translated using Weblate (Slovak)
Currently translated at 72.6% (1999 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-01-31 08:41:44 +00:00
Timuçin Boldt
90c502b16a Make Space creation screens more consistent
Signed-off-by: Timuçin Boldt <timucin.boldt@udo.edu>
2022-01-31 09:24:24 +01:00
bmarty
b2bc92eebb Sync analytics plan 2022-01-31 00:02:22 +00:00
Hasan
ed21744402 Translated using Weblate (Turkish)
Currently translated at 64.0% (1763 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/tr/
2022-01-29 09:26:29 +00:00
Szimszon
c3b4e4f2f9 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-01-29 09:26:17 +00:00
Paragoumba
45c0761b74 Translated using Weblate (French)
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-01-29 09:26:14 +00:00
libexus
fee155ba1e Translated using Weblate (German)
Currently translated at 99.6% (2741 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-01-29 09:26:14 +00:00
Benoit Marty
2fbb434099 Format 2022-01-29 08:52:20 +01:00
Benoit Marty
a8c251f6f5 Avoid taking into account any provider location if we have gps location. 2022-01-29 08:51:30 +01:00
Benoit Marty
99f82d9691 Avoid taking into account network location if we have gps location. 2022-01-29 08:34:20 +01:00
Benoit Marty
303a858423 Create an extension, improve the parsing algorithm, add robustness and unit test it 2022-01-29 08:13:11 +01:00
Benoit Marty
83ed80e6d8 Rename fun for clarity 2022-01-29 07:40:41 +01:00
Benoit Marty
b14e557c36 Use the existing item click mechanism 2022-01-29 07:39:55 +01:00
Benoit Marty
2ce3894562 Create a UrlMapProvider for a better handling of RTL languages, and build the URLs in the controllers 2022-01-28 22:46:58 +01:00
ganfra
fd99d6d7d8 Bubbles: start fixing RTL 2022-01-28 19:53:07 +01:00
Benoit Marty
eff6942f82 Use a MaterialCarView 2022-01-28 18:56:09 +01:00
Benoit Marty
e0ac8ee8b8 No need for an extra FrameLayout 2022-01-28 18:53:30 +01:00
Benoit Marty
0dce0342b3
Merge pull request #5093 from vector-im/feature/adm/test-code-quality-warnings
UI test clean ups
2022-01-28 18:49:03 +01:00
Onuray Sahin
2dc52da30c Use static map image in bottom sheet. 2022-01-28 20:48:53 +03:00
ganfra
c425701c20 Bubbles: handle ripple effect 2022-01-28 17:55:32 +01:00
Onuray Sahin
50279e3183 Use static map image in timeline. 2022-01-28 18:51:28 +03:00
ganfra
35674ad401 Bubbles: handle location sharing (need updates) 2022-01-28 15:10:13 +01:00
ganfra
b79a5fd4f4 Bubble: move overlay view to MessageBubbleView (and fix corner radius) 2022-01-28 15:09:43 +01:00
Adam Brown
f66bd4ffe9 waiting for the emoji to become visible instead of a hardcoded sleep 2022-01-28 13:20:56 +00:00
Adam Brown
d6f0e065aa fixing missing when branches warning 2022-01-28 12:49:28 +00:00
Adam Brown
0c2116a95d using espresso long click instead of barista helper and waiting for reaction before interacting
- the non barista long pressing works for the menu opening, maybe this will fix the CI
2022-01-28 12:48:26 +00:00
Onuray Sahin
4026ddb34f Fix multiple pin rendering. 2022-01-28 15:07:51 +03:00
Adam Brown
22b64a3e9a resetting text futures when updating recycled text 2022-01-28 12:05:12 +00:00
Onuray Sahin
0f8c3bcc17 Try to get location by using all available providers. 2022-01-28 14:17:07 +03:00
NIkita Fedrunov
f56991f077 code review and lint fixes 2022-01-28 11:02:10 +01:00
Benoit Marty
0b66419927
Merge pull request #5086 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.42
Bump libphonenumber from 8.12.41 to 8.12.42
2022-01-28 10:19:57 +01:00
David Langley
235f2c78f8
Merge pull request #5083 from vector-im/feature/dla/hold_call_for_transfer_selection
Hold call for transfer selection
2022-01-28 09:14:26 +00:00
David Langley
e9ae76da9c CallTileTimelineItem.CallStatus.MISSED renders both missed and rejected calls. Logic should be !answered. 2022-01-28 08:57:19 +00:00
NIkita Fedrunov
dff0b5dce5 Add all screens about Spaces in allScreensTest 2022-01-28 09:40:00 +01:00
dependabot[bot]
c07b09c727
Bump libphonenumber from 8.12.41 to 8.12.42
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.41 to 8.12.42.
- [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.41...v8.12.42)

---
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-01-27 23:11:05 +00:00
Benoit Marty
26c0fee56d Add a loader waiting for the user location to be known 2022-01-27 22:27:43 +01:00
Benoit Marty
55ed7373f5 Rework the location code - WIP 2022-01-27 22:20:53 +01:00
Benoit Marty
1f53945031 Rework the location code - WIP 2022-01-27 22:10:19 +01:00
Benoit Marty
e9b9406bf1 Rework the location code - WIP 2022-01-27 21:11:31 +01:00
ganfra
c14eb050b1 Merge branch 'develop' into feature/fga/message_bubbles 2022-01-27 18:59:10 +01:00
ganfra
ed9adf8367 Bubbles: fix paddings 2022-01-27 18:18:39 +01:00
ganfra
881b063d45 Bubbles: remove emote from bubble (keep right/left alignment) 2022-01-27 18:18:29 +01:00
ganfra
4de421d663 Timeline html rendering: better reply and pill 2022-01-27 18:17:56 +01:00
ganfra
a9fe21e583 Timeline html rendering: handle code tags 2022-01-27 18:17:23 +01:00
ariskotsomitopoulos
78dfac52a7 ktlint format 2022-01-27 18:39:43 +02:00
ariskotsomitopoulos
bac6d271ca Merge develop into this branch 2022-01-27 18:13:05 +02:00
Benoit Marty
e3242f0deb Prevent the dialog from being cancellable, since OK button finish the Activity. 2022-01-27 16:40:49 +01:00
David Langley
f449b99548 lint 2022-01-27 15:24:39 +00:00
Benoit Marty
db3f60b4b1 Inform the user when the location provider is disabled. 2022-01-27 16:23:39 +01:00
David Langley
3ecc73b42a remove line break 2022-01-27 15:19:08 +00:00
Benoit Marty
7242f1c2f1 Fix a crash when disabling the location on the device
`LocationListener` does not have default implementation for some methods for Android versions below R
2022-01-27 16:18:40 +01:00
David Langley
79b11623b5 Call transfer should put other side on hold while the transfer is being selected and unhold when the user cancels selection. 2022-01-27 15:16:46 +00:00
ariskotsomitopoulos
b2a2fe2710 Merge branch 'develop' into feature/aris/threads
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/model/relation/RelationService.kt
#	tools/check/forbidden_strings_in_code.txt
#	vector/build.gradle
#	vector/src/main/java/im/vector/app/core/di/FragmentModule.kt
#	vector/src/main/java/im/vector/app/core/resources/UserPreferencesProvider.kt
#	vector/src/main/java/im/vector/app/features/command/Command.kt
#	vector/src/main/java/im/vector/app/features/command/CommandParser.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewState.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/search/SearchResultItem.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/TimelineEventController.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
#	vector/src/main/java/im/vector/app/features/navigation/Navigator.kt
#	vector/src/main/java/im/vector/app/features/notifications/NotificationUtils.kt
#	vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt
#	vector/src/main/res/layout/fragment_timeline.xml
#	vector/src/main/res/xml/vector_settings_labs.xml
2022-01-27 17:11:26 +02:00
Benoit Marty
4aff1ab017 AGP 7.1.0 2022-01-27 16:08:47 +01:00
ariskotsomitopoulos
b83872d5f0 When show all threads developer mode option is enabled, prevent reply in thread to those events 2022-01-27 16:38:14 +02:00
Benoit Marty
ff6810f1f4
Merge pull request #5062 from vector-im/feature/bma/location_sharing_fix
Ensure mapbox legal mention are displayed on the map
2022-01-27 15:35:52 +01:00
Jeff Huang
bce49e04cd Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-01-27 14:26:43 +00:00
Ihor Hordiichuk
d31818c1b3 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-01-27 14:26:40 +00:00
Besnik Bleta
6ceb2c4824 Translated using Weblate (Albanian)
Currently translated at 99.4% (2738 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2022-01-27 14:26:37 +00:00
lvre
f4af074148 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-01-27 14:26:34 +00:00
random
2c50cd16b1 Translated using Weblate (Italian)
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-01-27 14:26:31 +00:00
Linerly
5319f03592 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-01-27 14:26:28 +00:00
Paragoumba
2f96b6ef55 Translated using Weblate (French)
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-01-27 14:26:25 +00:00
Danial Behzadi
4a799786f5 Translated using Weblate (Persian)
Currently translated at 99.3% (2733 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-01-27 14:26:22 +00:00
Priit Jõerüüt
8f288990de Translated using Weblate (Estonian)
Currently translated at 99.9% (2750 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-01-27 14:26:20 +00:00
artevaeckt
0d29859fab Translated using Weblate (German)
Currently translated at 99.2% (2732 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-01-27 14:26:17 +00:00
waclaw66
f1288e53b1 Translated using Weblate (Czech)
Currently translated at 100.0% (2752 of 2752 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-01-27 14:26:15 +00:00
Benoit Marty
2e36ca5650
Merge pull request #5070 from vector-im/feature/bma/test_screens
Test screens in the settings
2022-01-27 14:21:10 +01:00
ariskotsomitopoulos
554ece724e - Remove counter from thread notifications
- Fix red dot on user mentioning
2022-01-27 14:55:34 +02:00
ariskotsomitopoulos
f53b711e0d When thread disabled add thread replies within threads ( to the users with threads enabled ) 2022-01-27 13:49:03 +02:00
ariskotsomitopoulos
358a7d0ec4 Handle latest thread message & root thread edition to update thread summary and thread list appropriately 2022-01-27 13:22:04 +02:00
Benoit Marty
eacdf7f55d
Merge pull request #5071 from vector-im/feature/bma/wording
Instruction for the next weblate sync
2022-01-27 10:00:03 +01:00
Adam Brown
19a46afe7b untracking activities during espresso runs as soon as they're idle
- Sometimes activities are instantly idle without going through the lifecycleChanged callback which means we were registering callsbacks which were duplicated and triggering for later waits
2022-01-26 18:47:24 +00:00
Adam Brown
cbdeb54fdb using md5 hash of the userId to normalise the usage as a key 2022-01-26 18:43:09 +00:00