Commit graph

4096 commits

Author SHA1 Message Date
SpiritCroc
10e67bd5df Remember expand status for all categories except invite
We did remember low priority before. We might want to remember other
categories as well, but let's better keep the invite category expanded
by default.

Change-Id: Ia351de35751ce5a13f3739ed5f7a3528e315261f
2020-11-06 14:24:03 +01:00
SpiritCroc
eecbdde2fb Fix some colors (and fix compile)
Change-Id: I2cb3d144afbb9af306774bf3d763d1f299133517
2020-11-05 13:58:41 +01:00
SpiritCroc
2590f8f690 Resolve required manual intervention in german strings
This reverts commit 85b77f6555.

Change-Id: I4f0056cdfd099205899f46b19962799052a6b461
2020-11-05 13:27:39 +01:00
SpiritCroc
5a4907362a Automatic SchildiChat string correction
Change-Id: I2b19a9bd837a14a3aaf5830bcde6af5026ff9c05
2020-11-05 13:16:03 +01:00
SpiritCroc
58d99e10a0 Merge remote-tracking branch 'upstream/master' into sc
Change-Id: I004362e70c17eba5828e10ec9bf8b37568f64f01

Conflicts:
	vector/src/main/java/im/vector/app/features/home/room/list/RoomListViewModel.kt
	vector/src/main/res/menu/menu_timeline.xml
2020-11-05 13:15:55 +01:00
SpiritCroc
3837ce4204 Revert "Automatic SchildiChat string correction"
This reverts commit 835bde286c.
2020-11-05 13:14:16 +01:00
SpiritCroc
85b77f6555 Revert "Revert "Revert "Revert "Revert "Revert "Revert "Revert "Revert "Resolve required manual intervention in german strings"""""""""
This reverts commit bde0020305.
2020-11-05 13:14:16 +01:00
Weblate
f3b8bb066c Merge branch 'origin/develop' into Weblate. 2020-11-04 13:43:47 +00:00
LinAGKar
b879be2b02 Translated using Weblate (Swedish)
Currently translated at 100.0% (1929 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2020-11-04 13:43:37 +00:00
Hivaa
52e699e125 Translated using Weblate (Persian)
Currently translated at 98.4% (1899 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2020-11-04 13:43:36 +00:00
Benoit Marty
b15fa7c0d7 Two elements in the task switcher (#2299) 2020-11-04 14:32:54 +01:00
Benoit Marty
d1d2c5f117
Merge pull request #2327 from vector-im/feature/bma/keysbackupcrash
Feature/bma/keysbackupcrash
2020-11-04 00:02:48 +01:00
SpiritCroc
600674e871 Room topic: tweak collapse behaviour some more
One could argue that collapsing is only useful if we have more than 2
lines to hide.
Also, @su-ex wants more lines, so let's go for 5+3.

Change-Id: I5f3580171d4b1544fd8f91f1de48cea85023b60a
2020-11-03 10:46:25 +01:00
Benoit Marty
0db1095373
Merge pull request #2334 from vector-im/feature/bca/crypto_db_clean
Feature/bca/crypto db clean
2020-11-03 10:31:53 +01:00
SpiritCroc
56b84a5201 Move footer time slighlty down in the bubble
Change-Id: I0d61691ca56a44a6c8efb01d2c447bac9d50c9cb
2020-11-03 09:49:53 +01:00
Benoit Marty
d4963dfb31 Use the same name for the 2 db log methods 2020-11-03 09:17:07 +01:00
Valere
3c7f61e45c Clean oldest gossiping entries on open
Add a dump of DB size on bug report
2020-11-02 17:45:08 +01:00
Corentin Noël
ac0418c796 Translated using Weblate (French)
Currently translated at 100.0% (1929 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2020-11-02 15:49:57 +00:00
Alexia Ŭerner
86b0094cdb Translated using Weblate (Esperanto)
Currently translated at 99.1% (1913 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/eo/
2020-11-02 15:49:56 +00:00
zeritti
c0f07bc0a5 Translated using Weblate (Czech)
Currently translated at 100.0% (1929 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2020-11-02 15:49:56 +00:00
Valere
c3b8ed223d Increase log level of file logger 2020-11-02 16:39:06 +01:00
Benoit Marty
51ae2ce1e0
Merge branch 'develop' into feature/fix_sync_after_call_invite 2020-11-02 14:45:05 +01:00
Benoit Marty
9ff78051a9 Cleanup 2020-11-02 14:15:27 +01:00
Benoit Marty
0f21d80154
Merge branch 'develop' into fix_2100_2 2020-11-02 14:03:40 +01:00
SpiritCroc
07e6cf2a8d Increment version
Change-Id: I4a7d9c5fdd0cfa93a614fb214ddd953de6bbffaa
2020-11-02 13:20:05 +01:00
SpiritCroc
4d269c586d Room summary: Increase number of topic lines before collapsing
Change-Id: I1e86a5a14a5598b25ef315e23d6752540eaeac4e
2020-11-02 12:30:39 +01:00
SpiritCroc
65c365a157 Don't crash language selection just because we are in debug
Change-Id: I429dfee9ad08bd2578a9e24d0662ad60cdd7c917
2020-11-02 12:25:10 +01:00
SpiritCroc
44355109d7 Improve direct chat handling
We show less information in direct chats in dual chat bubble layout, as
we assume that the senders know themselves, and see the chat partner
from  the action bar at the top.

However, there are some limitations:
- A directChat might actually include more members, due to helper bots,
  multiple accounts, or misconfigurations
- Even if a direct chat has exactly two members, there might have been
  some membership changes in the past

To account for this, we do the following:
- Only enable the direct message layout if there are exactly two members
  in the room currently (in addition to the isDirect-flag being set)
- Before hiding sender information, check if the sender is actually the
  expected chat partner. If not, fallback to showing avatar and name for
  this message.

Possible improvement for the future: if we have a message in a direct
chat by a non-member, following messages by the dm chat partner might
benefit from showing member name either way.

Change-Id: Ie4a204510990301175339e60469048b06669d36b
2020-11-02 12:25:10 +01:00
SpiritCroc
be2983053a For bottom timestamps, we can hide member names also when hiding avatars
Member names not really important in direct chats or for outgoing
messages.

Change-Id: I1d3328444daf571488b1d9b4d2d188d695c515b3
2020-11-02 12:25:09 +01:00
SpiritCroc
0b2d98b116 Don't reserve space for the expand text button if we need just one more line
Test: view Room summary with 1, 2, 3, 4 lines

Change-Id: Ic8a5e197f78ffeb8c1410d6ac3c859fd522decaa
2020-11-02 12:25:09 +01:00
SpiritCroc
12e97fbed2 Hide redactions by default
Change-Id: I498ca35464f7f42b70e21ca451b94702aefee8d6
2020-11-02 12:25:09 +01:00
SpiritCroc
d538ee4dcb Fix ic_send for attachments on fab
Floating action button has accent color background, so better not have
the icon accent color as well.

Change-Id: Ie5cd49a3e4631425c14183e022a16dde76d40004
2020-11-02 12:25:09 +01:00
SpiritCroc
056c27a270 Overlay image/video items with footer
Change-Id: I353ab5223b60677486d590d7c38a8186e3a8c3db
2020-11-02 12:23:35 +01:00
SpiritCroc
8602f1345b Message bubble footer area
For use with
- bottom timestamps in message bubbles
- unpersonal read receipts: maybe in the future, as we can not really
  update all relevant messages with the current db update mechanism.
  But we can use it for send-status for now.

Change-Id: I2de909362394e336f9aaba9f0d157e7c6fe8f9b1
2020-11-02 12:08:38 +01:00
Graeme Power
bd36c67bf2
satisfy ktlint demand for spacing around "*"
Signed-off-by: Graeme Power <gjpower@tcd.ie>
2020-10-31 17:43:21 +01:00
Graeme Power
fd4bfaea1f
Considerably faster QR-code bitmap generation
Directly assign colours to a colour buffer then use that buffer to
generate the bitmap. This is much faster than using Bitmap.setPixel for
every pixel.

Signed-off-by: Graeme Power <gjpower@tcd.ie>
2020-10-31 16:50:58 +01:00
Hakim Oubouali
3dfdb9cba0 Translated using Weblate (Central Atlas Tamazight)
Currently translated at 0.3% (6 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/tzm/
2020-10-31 12:50:08 +00:00
Jeff Huang
f527dcf1fc Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1929 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2020-10-31 12:50:07 +00:00
Besnik Bleta
ae05305e52 Translated using Weblate (Albanian)
Currently translated at 99.4% (1919 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2020-10-31 12:50:06 +00:00
Nikita Epifanov
386546dd21 Translated using Weblate (Russian)
Currently translated at 99.8% (1926 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2020-10-31 12:50:05 +00:00
Marcelo Filho
88021dbf5e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1929 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2020-10-31 12:50:05 +00:00
random
a99de88709 Translated using Weblate (Italian)
Currently translated at 100.0% (1929 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2020-10-31 12:50:03 +00:00
notramo
3fe677986e Translated using Weblate (Hungarian)
Currently translated at 95.1% (1835 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2020-10-31 12:50:03 +00:00
ynerant
8990089c65 Translated using Weblate (French)
Currently translated at 99.8% (1926 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2020-10-31 12:50:01 +00:00
Hivaa
f70efa2852 Translated using Weblate (Persian)
Currently translated at 75.6% (1460 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2020-10-31 12:50:00 +00:00
Priit Jõerüüt
caa29bf7da Translated using Weblate (Estonian)
Currently translated at 100.0% (1929 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2020-10-31 12:49:55 +00:00
Tirifto
d05a394134 Translated using Weblate (Esperanto)
Currently translated at 99.1% (1912 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/eo/
2020-10-31 12:49:54 +00:00
Nikolai Zahariev
18cc689209 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1929 of 1929 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/bg/
2020-10-31 12:49:53 +00:00
Markus
aa2a24e68a Changes requested by BillCarsonFs review. Thanks for the comments! 2020-10-31 13:17:25 +01:00
Hakim Oubouali
e3eccf48a3 Added translation using Weblate (Central Atlas Tamazight) 2020-10-31 07:37:35 +00:00