Commit Graph

10148 Commits

Author SHA1 Message Date
Benoit Marty 80657251a5 Fix some misunderstanding about the permissions request - step 1 2021-07-12 23:47:33 +02:00
Benoit Marty fabbd6da9e Add action to see permission status in the DebugActivity 2021-07-12 22:12:51 +02:00
Benoit Marty cca9a8007c Use new permission request management
I do not know why all has not been migrated in the previous rework
2021-07-12 21:18:01 +02:00
David Langley 727ce7272a update translations 2021-07-12 18:38:56 +01:00
SpiritCroc 9aa37dfbe9 Fix top row of emoji reaction picker on small displays
Emojis were not showing if not enough space, so allow scrolling there.
2021-07-12 17:56:58 +02:00
langleyd 7e156d372f Add checkbox preference, remove PushRulePreference, Split adavanced fragment to new 3 new fragments and inherit common function 2021-07-12 14:08:35 +01:00
langleyd d6f1f276c2 Add checkbox preference, remove PushRulePreference, Split adavanced fragment to new 3 new fragments and inherit common function 2021-07-12 14:07:27 +01:00
Benoit Marty 8b852a2ab2 Fix glitch when opening a room invite
Composer and mic was shown for a few milliseconds
Also hide the mic if the uer cannot send event, or if the room has been tombstoned.
2021-07-12 13:55:44 +02:00
Benoit Marty e49290b8ac Fix mic visible for invite room mode.
We can still view the mic when the screen is resumed, to be improved.
2021-07-12 13:40:59 +02:00
Benoit Marty fbcb2ea8ae
Merge pull request #3655 from SpiritCroc/unread_collapsed
Fix unread messages marker being hidden in collapsed membership item
2021-07-12 13:10:13 +02:00
Benoit Marty 219d56a4b4
Merge pull request #3660 from TheWayOfTheWarrior/patch-1
Typo in InitializeCrossSigningTask.kt
2021-07-12 12:47:58 +02:00
TheWayOfTheWarrior 995f9d87bb
Typo in InitializeCrossSigningTask.kt
Typo in comment. Was "userSigningKey" instead of "selfSigningKey".
2021-07-10 22:17:17 +02:00
Damir Jelić 7650e43362 crypto: Add support to scan QR codes during verification 2021-07-10 20:51:47 +02:00
SpiritCroc 512e1b339d Add changelog.d/3656.bugfix 2021-07-10 11:14:04 +02:00
SpiritCroc 4ef1f5c90f 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.
2021-07-10 11:12:15 +02:00
SpiritCroc a52d1e4312 Add changelog.d/3655.bugfix 2021-07-10 11:07:21 +02:00
SpiritCroc e61fc1a935 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.
2021-07-10 11:01:36 +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
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
Benoit Marty b26aba9fc0 Remove EventDecryptor and inject the cryptoService when needed
Not used anymore in RoomSummaryUpdater, to avoid a DI dependency loop. let's see if this is a problem
2021-07-09 12:50:34 +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
Benoit Marty f609bfaf10 This class is not injected. 2021-07-08 18:39:54 +02:00
Benoit Marty f8ad024f1b Remove some dead code. 2021-07-08 18:38:49 +02:00
Benoit Marty 54c3b4192e Small cleanup and format 2021-07-08 17:14:45 +02:00
Damir Jelić d4090c4b0a crypto: Only add our own devices if we're requesting devices for our own user 2021-07-08 16:52:31 +02:00
Benoit Marty 80e80e07b3 To be reverted: temporarily change appId to 'im.vector.app.corroded' and app name 2021-07-08 16:18:29 +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