Commit Graph

10764 Commits

Author SHA1 Message Date
Benoit Marty cf4e603f09 Fix background color of voice message recorder 2021-07-13 16:14:02 +02:00
Benoit Marty 6530440069 Fix an issue in the color 2021-07-13 16:12:54 +02:00
Benoit Marty 14dbbee1e3 Fix background color of voice message item 2021-07-13 16:10:51 +02:00
Benoit Marty 4c5be39f46 Fix background color of Play/Pause button 2021-07-13 16:08:54 +02:00
Benoit Marty a52d5f6d12 Renaming 2021-07-13 15:57:35 +02:00
Benoit Marty 6283846108 Cleanup 2021-07-13 15:54:09 +02:00
Benoit Marty bff2c6ea93 Better handling of Paused/Play state 2021-07-13 15:47:52 +02:00
Benoit Marty 7937c9945b Untrack 2021-07-13 15:26:06 +02:00
Benoit Marty bf14fa90a2 Fix rendering issue of time when playing in the timeline - still buggy
And fix timer not cancelled properly when at the end of the playback
2021-07-13 15:15:07 +02:00
Benoit Marty fa7c1a763f Render the wave form more often 2021-07-13 14:29:05 +02:00
Benoit Marty cae927b863 Use CountUpTimer 2021-07-13 14:18:57 +02:00
Benoit Marty 78e9a4ffe7 Use CountUpTimer 2021-07-13 14:13:35 +02:00
Benoit Marty c69bc12637 Be more precise if the timer is paused and resume. 2021-07-13 14:13:35 +02:00
Benoit Marty 83bf48dfff Fix denied permission issue
And remove dead code
2021-07-13 11:02:22 +02:00
Benoit Marty 9df874c975 Merge branch 'develop' into feature/ons/voice_message 2021-07-13 10:36:05 +02:00
Benoit Marty c08bd664ab
Merge pull request #3667 from vector-im/feature/bma/permission
Permission rework
2021-07-13 10:33:40 +02:00
Benoit Marty 34723ce4f7 Cleanup 2021-07-13 10:27:29 +02:00
S1m ff0c98e8fa lint 2021-07-13 08:29:05 +02:00
Benoit Marty 0f27971c96
Merge pull request #3661 from SpiritCroc/emoji_reaction_top_row
Fix top row of emoji reaction picker on small displays
2021-07-13 01:10:15 +02:00
dependabot[bot] b0ea022eea
Bump kluent-android from 1.67 to 1.68
Bumps [kluent-android](https://github.com/MarkusAmshove/Kluent) from 1.67 to 1.68.
- [Release notes](https://github.com/MarkusAmshove/Kluent/releases)
- [Changelog](https://github.com/MarkusAmshove/Kluent/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MarkusAmshove/Kluent/commits)

---
updated-dependencies:
- dependency-name: org.amshove.kluent:kluent-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 23:07:08 +00:00
Benoit Marty 76ab34f1a6 Cleanup 2021-07-13 00:41:26 +02:00
Benoit Marty 59e3b421bb Cleanup 2021-07-13 00:33:29 +02:00
Benoit Marty cc042f2d7a Fail fast 2021-07-13 00:31:05 +02:00
Benoit Marty b553ee2a76 changelog 2021-07-13 00:26:21 +02:00
Benoit Marty 067349f602 Fix some misunderstanding about the permissions request - step 2 2021-07-13 00:22:23 +02:00
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
S1m dbfa5e1fd5 test on new endpoint 2021-07-12 18:14:46 +02: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
Benoit Marty 039ebdac7e Fix top row of emoji reaction picker on small displays v2
Change-Id: I4294cd48000503f83748deb0dd41a73d05fafc8e
2021-07-12 17:53:24 +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
SpiritCroc 15249ebe1b Some RTL/LTR mixture alignment improvements
Change-Id: I2174b75f378cd09290d9d32bd39ebf15e577ab23
2021-07-11 12:24:29 +02:00
SpiritCroc 62a8865dbc Fix top row of emoji reaction picker on small displays
Emojis were not showing if not enough space, so allow scrolling there.

Change-Id: I75c73132ff4479782953f5401db2ca8037f751e9
2021-07-11 11:13:02 +02:00
TheWayOfTheWarrior 995f9d87bb
Typo in InitializeCrossSigningTask.kt
Typo in comment. Was "userSigningKey" instead of "selfSigningKey".
2021-07-10 22:17:17 +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
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