Commit Graph

9975 Commits

Author SHA1 Message Date
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
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
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
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
Onuray Sahin 9a1dbb27d4 Stop proximity sensor while sharing screen. 2022-05-09 13:25:00 +03:00