Commit graph

11433 commits

Author SHA1 Message Date
SpiritCroc
bcb7ff01bb Avoid incomplete downloads in cache
Previously, when a download was aborted (e.g. due to a bad internet
connection), a partly downloaded file was remaining in cache, which
would then be delivered upon later requests.
This can lead e.g. to chats where images aren't loading.

To avoid this, first download files to a temporary file that is not the
final cache file, and only rename/move it on finish.

Note that if you already have broken downloads, you still need to clear
cache once to get rid of them after this commit, but it should not
occur anymore afterwards.

Change-Id: Ic4fb58853f04f8239c639814031e9ef00c091995
2021-07-10 10:52:02 +02:00
SpiritCroc
00c2f271b3 Fix unread messages marker being hidden in collapsed membership item
Scenario: the last read event in a chat is a membership change. After
that, at least two new membership changes were added, followed by normal
messages. Due to the membership changes being collapsed by default, in
this scenario the read marker would not show, since in the loop, we
would overwrite the appendReadMarker with the value for the last eventId
of the merged item, instead of showing it if any of the items matched.

Change-Id: I791627df6776ebf791310eb082b648701936d565
2021-07-10 10:45:37 +02:00
Ali KARABAK
1888588377 Translated using Weblate (Turkish)
Currently translated at 64.2% (1603 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/tr/
2021-07-10 08:25:04 +00:00
libexus
debc3645ba Translated using Weblate (German)
Currently translated at 99.8% (2491 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-07-10 08:25:03 +00:00
Benoit Marty
c5b8755bab Trick for a better alignment of voice message in the timeline. 2021-07-09 23:16:43 +02:00
Benoit Marty
0382ae8273 Swipe to reply on voice message 2021-07-09 22:35:44 +02:00
Benoit Marty
e391a1371c Merge branch 'develop' into feature/ons/voice_message 2021-07-09 22:19:50 +02:00
Benoit Marty
db80ea6432 Prefer testing attachment.waveform to see if it's a voice message 2021-07-09 22:17:04 +02:00
Benoit Marty
984112e83f Also copy waveform when sending again 2021-07-09 22:15:50 +02:00
Benoit Marty
963eb9daf4 Fix missing duration in audio event, and move AudioWaveformInfo to the proper package 2021-07-09 22:06:09 +02:00
Benoit Marty
2ca0a99dce Follow the spec
https://github.com/matrix-org/matrix-doc/blob/travis/msc/voice-messages/proposals/3245-voice-messages.md#unstable-prefix
2021-07-09 21:49:37 +02:00
Benoit Marty
79f4053ab4 Use DimensionConverter 2021-07-09 21:33:54 +02:00
Benoit Marty
a69ac965b6 Fix bad timer display 2021-07-09 21:21:45 +02:00
Benoit Marty
2c1335a2f5 Theme for Toast 2021-07-09 21:06:13 +02:00
Benoit Marty
a2671bc0d3 Fix touchable area to delete the voice message 2021-07-09 18:26:58 +02:00
ganfra
74915c1e9e Jitsi: add Jitsi call alert (not branched) 2021-07-09 18:23:52 +02:00
Benoit Marty
2792d736f0 Apply missing tint 2021-07-09 18:22:52 +02:00
Benoit Marty
9dea519d0c Fix issue with play / pause button alignment 2021-07-09 18:05:41 +02:00
Benoit Marty
7a1c6b78d4 Move the style to the layout, for code clarity. Style are not reused, and it's better to have layout attr in the layout itself 2021-07-09 17:49:27 +02:00
Benoit Marty
558cd6f376 Cleanup 2021-07-09 17:18:56 +02:00
Benoit Marty
b400f3c83f Small cleanup 2021-07-09 16:31:26 +02:00
ganfra
8e2a1d3bcd Jitsi call: implement RemoveJitsiWidgetView 2021-07-09 13:23:07 +02:00
Benoit Marty
910c0ff326
Merge pull request #3648 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.27
Bump libphonenumber from 8.12.26 to 8.12.27
2021-07-09 09:47:45 +02:00
SpiritCroc
7d377ea418 Change power level username colors
Change-Id: If49dbc83268f04bba923838eda1fb7aa461c23cd
2021-07-08 20:11:45 +02:00
SpiritCroc
b0206cbc6e Scroll to the real bottom
the element at the bottom might be larger than the display...

Change-Id: I52ac882b1b192f9d55c12549c82de46db025c12e
2021-07-08 18:22:57 +02:00
libexus
402e3bde83 Translated using Weblate (German)
Currently translated at 99.8% (2491 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-07-08 11:39:40 +00:00
Dwaris
0545009b0a Translated using Weblate (German)
Currently translated at 99.8% (2491 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-07-08 11:39:40 +00:00
libexus
8a588abc69 Translated using Weblate (German)
Currently translated at 99.8% (2490 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-07-08 11:39:08 +00:00
Dwaris
fe81fc8f93 Translated using Weblate (German)
Currently translated at 99.8% (2490 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-07-08 11:39:08 +00:00
libexus
941735b4d3 Translated using Weblate (German)
Currently translated at 99.7% (2489 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-07-08 11:38:47 +00:00
Dwaris
5cb26fab4d Translated using Weblate (German)
Currently translated at 99.7% (2489 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-07-08 11:38:46 +00:00
libexus
1c80f0045f Translated using Weblate (German)
Currently translated at 99.7% (2488 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-07-08 11:38:24 +00:00
Dwaris
1346fd3077 Translated using Weblate (German)
Currently translated at 99.7% (2488 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-07-08 11:38:23 +00:00
HelaBasa
14dcd8a875 Translated using Weblate (Sinhala)
Currently translated at 0.2% (6 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/si/
2021-07-08 10:35:00 +00:00
libexus
05643e522a Translated using Weblate (German)
Currently translated at 100.0% (23 of 23 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2021-07-08 10:35:00 +00:00
Joe Sagawa
a1d5501215 Translated using Weblate (Japanese)
Currently translated at 62.9% (1570 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2021-07-08 10:34:59 +00:00
libexus
c6e6fc7ecb Translated using Weblate (German)
Currently translated at 99.7% (2487 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-07-08 10:34:50 +00:00
Benoit Marty
2948f03978
Merge pull request #3551 from vector-im/feature/bca/room_upgrade
Feature/bca/room upgrade
2021-07-08 10:00:01 +02:00
dependabot[bot]
76890a3b26
Bump libphonenumber from 8.12.26 to 8.12.27
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.26 to 8.12.27.
- [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.26...v8.12.27)

---
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>
2021-07-07 23:06:17 +00:00
S1m
15c3bb7fc3 exclude firebase analytics 2021-07-07 23:11:18 +02:00
Onuray Sahin
3372177b0e Design review fixes. 2021-07-07 16:44:42 +03:00
Onuray Sahin
a9beded589 Lint fix. 2021-07-07 11:54:23 +03:00
Onuray Sahin
b1c7cb3219 Lint fixes. 2021-07-07 11:37:01 +03:00
Benoit Marty
5bbb45de68
Merge pull request #3636 from vector-im/feature/bma/cleanup_interface
Decorelate interfaces for code clarity
2021-07-07 10:08:15 +02:00
Onuray Sahin
8452f7564c Lint fix. 2021-07-07 10:28:08 +03:00
Onuray Sahin
5856e563c5 Put voice message preference under labs. 2021-07-07 10:23:22 +03:00
S1m
a223ddc48a up pr: lint 2021-07-07 04:02:08 +02:00
S1m
7ead76c8ca up: moshi to parse json 2021-07-07 03:35:16 +02:00
S1m
4ac4755868 up pr: code reviewed 2021-07-07 01:49:39 +02:00
S1m
6c153d04da Merge remote-tracking branch 'upstream/develop' into unifiedpush 2021-07-07 00:49:54 +02:00