Commit graph

7891 commits

Author SHA1 Message Date
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
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
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
Onuray Sahin
f6a24e964e Code review fix. 2022-02-08 23:23:03 +03: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
8dc8c209d3 using injected matrix instance for the bug reporting to avoid directly calling getInstance 2022-02-08 15:38:18 +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
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
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
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
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
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
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
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
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