Commit graph

4484 commits

Author SHA1 Message Date
Victor Cuadrado Juan
cf5d112e31 Translated using Weblate (Spanish)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2020-11-16 23:50:01 +00:00
Pol Gómez Riquelme
b24608891e Translated using Weblate (Catalan)
Currently translated at 60.5% (1171 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2020-11-16 23:49:58 +00:00
Benoit Marty
579efb016a Room creation form: add advanced section to disable federation (#1314) 2020-11-16 18:02:18 +01:00
Benoit Marty
75c105a400 Move "Enable Encryption" from room setting screen to room profile screen (#2394) 2020-11-16 15:08:10 +01:00
Dominic Fischer
0a318f618b Convert RawService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-16 13:48:19 +00:00
Dominic Fischer
574d5055bd Convert DraftService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-16 13:46:24 +00:00
Benoit Marty
4c6996bc09
Merge branch 'develop' into feature/bma/consent 2020-11-16 13:43:02 +01:00
Benoit Marty
6ff12b3a88
Merge pull request #2402 from Dominaezzz/suspend_functions_1
Convert ReportingService to suspend functions
2020-11-16 13:39:47 +01:00
Benoit Marty
babbb82a49
Merge pull request #2401 from Dominaezzz/suspend_functions
Convert TagsService to suspend functions
2020-11-16 13:38:22 +01:00
Dominic Fischer
d67029c42c Convert ReportingService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-16 11:47:18 +00:00
Dominic Fischer
4dff9316c2 Convert TagsService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-16 11:44:30 +00:00
Benoit Marty
a056cbd19f Registration: annoying error message scares every new user when they add an email (#2391) 2020-11-16 10:57:29 +01:00
sr093906
b739aa35f2 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.1% (1917 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2020-11-14 16:50:02 +00:00
LinAGKar
fa3035f9cf Translated using Weblate (Swedish)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2020-11-14 16:50:01 +00:00
notramo
daf1362d28 Translated using Weblate (Hungarian)
Currently translated at 94.9% (1835 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2020-11-14 16:50:01 +00:00
XoseM
8e7d5ddfd4 Translated using Weblate (Galician)
Currently translated at 27.3% (529 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/gl/
2020-11-14 16:50:01 +00:00
François FERREIRA DE SOUSA
71a70ffafa Translated using Weblate (French)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2020-11-14 16:50:00 +00:00
Danial Behzadi
d9ceb32e2f Translated using Weblate (Persian)
Currently translated at 98.4% (1904 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2020-11-14 16:50:00 +00:00
Victor Cuadrado Juan
13f716a395 Translated using Weblate (Spanish)
Currently translated at 97.3% (1881 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2020-11-14 16:50:00 +00:00
Nils Büchner
b9375a1b4e Translated using Weblate (German)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2020-11-14 16:49:58 +00:00
Auri B. P
38a98a51cb Translated using Weblate (Catalan)
Currently translated at 60.5% (1170 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2020-11-14 16:49:57 +00:00
Benoit Marty
8ae0501c22 Try to fix cropped image in timeline (#2126) 2020-11-13 17:52:02 +01:00
Benoit Marty
8dff0b2c5d Cleanup 2020-11-13 15:33:44 +01:00
Benoit Marty
a713b97e36
Merge pull request #2382 from Dominaezzz/suspend_functions_1
Convert RoomPushRuleService to suspend functions
2020-11-13 15:25:31 +01:00
Benoit Marty
b6acc8da70
Merge pull request #2376 from Dominaezzz/suspend_functions
Convert RoomCryptoService to suspend functions
2020-11-13 15:23:06 +01:00
Benoit Marty
b99cdf7367 Handle events of type "m.room.server_acl" - details only in developer mode (#890) 2020-11-13 11:07:50 +01:00
Dominic Fischer
60ce351a27 Convert RoomPushRuleService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-13 00:10:53 +00:00
Benoit Marty
413a55623e Handle events of type "m.room.server_acl" (#890) 2020-11-13 00:39:16 +01:00
Marcelo Filho
5b2f95d270 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2020-11-12 18:50:01 +00:00
Deleted User
44604c2509 Translated using Weblate (Norwegian Bokmål)
Currently translated at 42.2% (816 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2020-11-12 18:50:01 +00:00
Kaede
bf2a7c2efd Translated using Weblate (Japanese)
Currently translated at 48.6% (941 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2020-11-12 18:50:00 +00:00
notramo
ba5c42cc51 Translated using Weblate (Hungarian)
Currently translated at 94.9% (1835 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2020-11-12 18:49:59 +00:00
OLIVIER Thomas
cf2ea0f51c Translated using Weblate (French)
Currently translated at 99.9% (1932 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2020-11-12 18:49:58 +00:00
Valere
9df002fe4e Translated using Weblate (French)
Currently translated at 99.9% (1932 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2020-11-12 18:49:58 +00:00
François FERREIRA DE SOUSA
1a191c7d51 Translated using Weblate (French)
Currently translated at 99.9% (1932 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2020-11-12 18:49:58 +00:00
Hivaa
7ca57d918e Translated using Weblate (Persian)
Currently translated at 98.2% (1899 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2020-11-12 18:49:58 +00:00
Auri B. P
fe40e74809 Translated using Weblate (Catalan)
Currently translated at 60.1% (1162 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2020-11-12 18:49:57 +00:00
Benoit Marty
6020f423f4 Ask for explicit user consent to send their contact details to the identity server (#2375) 2020-11-11 17:51:39 +01:00
Benoit Marty
99bea8f7c3 small change in signature 2020-11-11 16:40:33 +01:00
Benoit Marty
d1e2d06538 Add userConsent UI to the Discovery screen 2020-11-11 16:15:38 +01:00
Dominic Fischer
3ce8deec07 Convert RoomCryptoService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-11 13:01:46 +00:00
Benoit Marty
d1848fd5f7 Fix compilation issue :) 2020-11-10 16:01:19 +01:00
Benoit Marty
f57fc827fe Last cleanup 2020-11-10 15:37:28 +01:00
Benoit Marty
45e534bbf5 DRY again 2020-11-10 15:33:24 +01:00
Benoit Marty
bfcd4b8250 Extract AttachmentProviderFactory to its own file 2020-11-10 15:26:59 +01:00
Benoit Marty
510f8ae0f5 DRY 2020-11-10 15:26:13 +01:00
ganfra
c9defec75d Update CHANGES and clean files 2020-11-10 15:18:41 +01:00
Benoit Marty
ca70ddb810 DRY 2020-11-10 15:15:42 +01:00
ganfra
bf9d80c14c Merge branch 'develop' into feature/fix_user_vs_room_member 2020-11-10 15:15:28 +01:00
Benoit Marty
83467b8597 Fix crash on AttachmentViewer (#2365)
Not sure how to reproduce it, but if the value is -1, it will crash for sure
2020-11-10 15:12:21 +01:00
Benoit Marty
816301bf8d More cleanup 2020-11-10 15:09:49 +01:00
Benoit Marty
345e8a0679 i18n 2020-11-10 15:06:51 +01:00
Benoit Marty
bcd384c31c Small cleanup 2020-11-10 14:46:19 +01:00
Michael Telatynski
bbbaa60ddd
Merge branch 'develop' into fix_draft_sharesheet 2020-11-10 11:34:29 +00:00
Benoit Marty
0150d3961b
Merge pull request #2354 from Dominaezzz/suspend_functions
Convert `AccountService` to suspend functions
2020-11-10 10:36:44 +01:00
Benoit Marty
cedeea13e6 Fix discard change dialog displayed by mistake when avatar has been updated 2020-11-09 23:00:19 +01:00
Benoit Marty
8f78c4a0fb Fix issue of verification banner displayed after logout 2020-11-09 21:08:53 +01:00
Benoit Marty
a37af307f4 Making progress 2020-11-09 20:03:44 +01:00
Dominic Fischer
6207aab19d Remove cancellation handling
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-09 17:20:23 +00:00
Benoit Marty
01a5ec4c41 Go deeper in the settings 2020-11-09 16:56:20 +01:00
Benoit Marty
b09d45718a Make id for recyclerView less generic, and remove unused layout 2020-11-09 16:56:20 +01:00
Benoit Marty
07c805a019 Create sanity test with all screens path
Introduce `com.schibsted.spain:barista`
2020-11-09 16:56:20 +01:00
Benoit Marty
ea4e9b8e5e Fix "Riot is now Element" dialog displayed by mistake, after a logout 2020-11-09 16:56:20 +01:00
SpiritCroc
e1cb8c520a Fix SC theme reaction background colors after last uptsream merge
Change-Id: Ib86accac0a189eabd79f1159452c28d3dfe42e87
2020-11-08 17:36:51 +01:00
Dominic Fischer
dee6f35888 Fix draft bug
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-08 14:57:15 +00:00
Dominic Fischer
62ca9a2a84 Fix misleading identifier
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-08 14:37:02 +00:00
random
ad64651532 Translated using Weblate (Italian)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2020-11-08 10:49:57 +00:00
Auri B. P
edc47b56a4 Translated using Weblate (Catalan)
Currently translated at 59.4% (1149 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2020-11-08 10:49:56 +00:00
Slavi Pantaleev
f39b3365db Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/bg/
2020-11-08 10:49:55 +00:00
SpiritCroc
164848e0aa Increment version
Change-Id: Id0642c0e557b85b4209713028ba7c1d1223a070d
2020-11-07 11:37:55 +01:00
Dominic Fischer
0da4ff7b02 Run ktlint 2020-11-06 19:20:23 +00:00
Dominic Fischer
35768ff7e8 Convert AccountService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-06 16:49:51 +00:00
ganfra
6dfdc77ebd Use room member instead of user when it makes sense 2020-11-06 14:41:43 +01:00
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
Jeff Huang
2a22d71e7c Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2020-11-06 02:49:59 +00:00
Marcelo Filho
eaa7fb7100 Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.7% (1929 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2020-11-06 02:49:58 +00:00
Priit Jõerüüt
9755dd73eb Translated using Weblate (Estonian)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2020-11-06 02:49:58 +00:00
Auri B. P
4c2e62031a Translated using Weblate (Catalan)
Currently translated at 58.9% (1140 of 1933 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2020-11-06 02:49:58 +00:00
Benoit Marty
51a95554d7 Remove useless code. We can now inject element in the Fragment constructors 2020-11-05 18:30:00 +01:00
Benoit Marty
12d8bd1743 Cleanup after rebase - avoid computing twice the existing roomId 2020-11-05 17:34:10 +01:00
Onuray Sahin
458b4259fe Change menu action title for existing rooms. 2020-11-05 17:02:13 +01:00
Onuray Sahin
e7714da8e8 Navigate to an existing DM instead of creating a new one. 2020-11-05 17:02:13 +01:00
Benoit Marty
de39a17247 Fix issue on setting avatar on a room.
We deleted the just added avatar because `withState {}` is asynchronous
2020-11-05 16:09:04 +01:00
Benoit Marty
5c7a5fab94 Improve API: rename the method and return empty list instead of null 2020-11-05 15:47:28 +01:00
Benoit Marty
c9e0aff839 DRY 2020-11-05 15:42:44 +01:00
Benoit Marty
b7a1f96294 Append to file but before the extension 2020-11-05 15:40:12 +01:00
Benoit Marty
15ad351579 Some fixes from Valere about verification 2020-11-05 15:33:28 +01:00
Benoit Marty
6cb4645514 Add a key to the category, to be able to hide it 2020-11-05 15:28:13 +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
Benoit Marty
17fed39b27 Version++ 2020-11-04 16:00: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
Benoit Marty
0bcf42dbb8 KeysBackup: some API parameters are mandatory, so stop considering them as optional and avoid using !!
Also fix an issue with Json name: `hash` -> `etag`
Add some `internal` modifier (not as much as I would like to)
var -> val
Remove unused code
2020-10-30 16:14:33 +01:00
Benoit Marty
0d8a845a21
Merge pull request #2324 from vector-im/feature/bma/search_highlight
Feature/bma/search highlight
2020-10-30 13:57:02 +01:00
Valere
1de1ddd496 Fix / bg sync for received by other session + dismiss full screen intent 2020-10-30 11:53:20 +01:00
Onuray Sahin
33a962b721 Start sync when receive m.call.invite. 2020-10-30 11:53:20 +01:00
Benoit Marty
4791eb85af
Merge pull request #2283 from vector-im/feature/bca/crypto_perf
Crypto cleaning and perf improvement
2020-10-30 11:11:34 +01:00
Benoit Marty
47a9074695 Cleanup 2020-10-30 10:59:11 +01:00
Onuray Sahin
8b7c2b3607 Remove hardcoded size. 2020-10-30 12:13:44 +03:00
Benoit Marty
78170b7052 Self-review 2020-10-30 09:44:47 +01:00
Benoit Marty
46e5d23f7e Fix refresh screen issue 2020-10-30 09:36:58 +01:00
Benoit Marty
316f26ec82 Search: Add "No more results" item (iso Element Web) 2020-10-30 09:33:13 +01:00
Benoit Marty
225a5d4e59 Search Result | scroll jumps after pagination (#2238) 2020-10-30 09:02:29 +01:00
Onuray Sahin
4f41d8b21b
Merge branch 'develop' into feature/ons/fix_emoji_dark_theme 2020-10-29 22:08:33 +03:00
Benoit Marty
5f99eb8c97 Highlight text in the body of the displayed result (#2200) 2020-10-29 19:22:40 +01:00
Benoit Marty
403e18c1b7 Search result: take new content for edited message 2020-10-29 17:30:25 +01:00
Benoit Marty
077bcb3f2a Export the key share trail in rageshake (opt-in) 2020-10-29 16:04:07 +01:00
Benoit Marty
e8dcdc7182 Format date in the exported trail 2020-10-29 15:00:47 +01:00
Valere
909ee2cc85 Fix / bad format of trail item 2020-10-29 14:57:17 +01:00
Onuray Sahin
04126fb0c6 Fix background color of reactions. 2020-10-29 16:44:08 +03:00
aWeinzierl
d46452c580 Translated using Weblate (German)
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/de/
2020-10-29 13:28:26 +00:00
@a2sc:matrix.org
18f87924ad Translated using Weblate (German)
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/de/
2020-10-29 13:28:25 +00:00
Benoit Marty
f48d4c021a Cleanup and split long lines 2020-10-29 14:10:41 +01:00
Valere
794a0bb14b Fix / bad ref to json in filename, it's txt 2020-10-29 12:55:26 +01:00
Valere
a1ed9bb377 Fix / missing new line in secret trail 2020-10-29 12:55:26 +01:00
Valere
c2027be0ee Fix audit freeze, add export, and buffer gossip saves 2020-10-29 12:55:26 +01:00
Valere
5a111af2fe Fix / add close to IncomingRequestManager 2020-10-29 12:55:26 +01:00
Valere
bb000f77f8 Offload self verif todevice off crypto thread 2020-10-29 12:55:26 +01:00
Benoit Marty
a393c4dfae Do not open again the DM if the user is already seeing it 2020-10-29 11:05:09 +01:00
Benoit Marty
d9723387eb We only need the roomId in many cases, so update the API 2020-10-29 11:00:01 +01:00
Benoit Marty
4433436416 Room member profile: Add action to create (or open) a DM (#2310) 2020-10-28 18:13:36 +01:00
Benoit Marty
802f4ea5d8 cleanup 2020-10-28 16:53:45 +01:00
Benoit Marty
fffc8addcf Ask for confirmation if the user quit the screen before creating the room 2020-10-28 15:38:14 +01:00
Benoit Marty
489bddec5b Delete temporary file once the room avatar is uploaded 2020-10-28 15:27:30 +01:00
Benoit Marty
f5e46df309 Delete temporary file if user change again the room avatar 2020-10-28 15:27:30 +01:00
Benoit Marty
4887f678c5 Delete temporary file if user cancel room setting change 2020-10-28 15:27:30 +01:00
Benoit Marty
be2c4597de Fix issue after rebase 2020-10-28 15:27:30 +01:00
Benoit Marty
cd56059a77 Fix a few details 2020-10-28 15:27:30 +01:00
Benoit Marty
03d925b5ab Use new way to start Activity with uCrop - other case 2020-10-28 15:27:30 +01:00
Benoit Marty
487e82df3f Cleanup 2020-10-28 15:27:30 +01:00
Benoit Marty
72bf2f9c1a Use new way to start Activity with uCrop 2020-10-28 15:27:30 +01:00
Benoit Marty
1555c06b21 Use colorProvider instead of context 2020-10-28 15:27:30 +01:00
Benoit Marty
7bebd6151e
Merge pull request #2308 from vector-im/feature/bma/wl
Fix lint issue
2020-10-28 15:27:01 +01:00
Benoit Marty
1e60d6f6e8
Merge pull request #2282 from vector-im/feature/bma/room_settings
Feature/bma/room settings
2020-10-28 13:54:08 +01:00
Benoit Marty
8091e224f7
Merge branch 'develop' into feature/bma/low_priority 2020-10-28 13:53:19 +01:00
Benoit Marty
e84eba23a1 Fix lint issue 2020-10-28 13:49:16 +01:00
Benoit Marty
042c8abac1 Kotlin optimization 2020-10-28 11:22:37 +01:00
Benoit Marty
5c62f29c6f Add a "discard change" warning 2020-10-28 11:22:37 +01:00
Benoit Marty
7a37db84d8 Room profile: BigImageViewerActivity now only display the image. Use the room setting to change or delete the room Avatar - fix bugs 2020-10-28 11:22:37 +01:00
Benoit Marty
b78dac20c0 Room profile: BigImageViewerActivity now only display the image. Use the room setting to change or delete the room Avatar 2020-10-28 11:22:37 +01:00
Weblate
de33f7b3f5 Merge branch 'origin/develop' into Weblate. 2020-10-28 10:09:29 +00:00
Benoit Marty
89fa345140 Revert "Fix issue in Greek resource (also fixed on Weblate)"
This reverts commit c2a81c52
2020-10-28 11:09:04 +01:00
Tirifto
555b9854ef Translated using Weblate (Esperanto)
Currently translated at 99.1% (1902 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/eo/
2020-10-28 10:06:06 +00:00
Tirifto
3ca9c769c6 Translated using Weblate (Esperanto)
Currently translated at 98.3% (1886 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/eo/
2020-10-27 19:50:13 +00:00
Slavi Pantaleev
4c03a2e98a Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/bg/
2020-10-27 19:49:56 +00:00
Graeme Power
013cc53cc0 Make edit image and remove image icons visible in attachments preview menu
Signed-off-by: Graeme Power <gjpower@tcd.ie>
2020-10-27 17:40:27 +01:00
Valere
0399677a01 Add preference to send with enter + keyboard support 2020-10-27 13:47:45 +01:00
Nikita Epifanov
c0c8c67228 Translated using Weblate (Russian)
Currently translated at 99.7% (1914 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2020-10-26 11:51:04 +00:00
Tirifto
00a64bce45 Translated using Weblate (Esperanto)
Currently translated at 81.5% (1564 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/eo/
2020-10-26 11:51:03 +00:00
John
08f1dc7f9e Translated using Weblate (Greek)
Currently translated at 16.1% (309 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/el/
2020-10-26 11:50:01 +00:00
aWeinzierl
0a627e9d0f Translated using Weblate (German)
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2020-10-26 11:49:59 +00:00
Slavi Pantaleev
ba9908e777 Translated using Weblate (Bulgarian)
Currently translated at 95.2% (1826 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/bg/
2020-10-26 11:49:59 +00:00
Corentin Noël
d86190404d Translated using Weblate (French)
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2020-10-24 03:49:51 +00:00
Samu Voutilainen
d764540526 Translated using Weblate (Finnish)
Currently translated at 81.0% (1554 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2020-10-24 03:49:50 +00:00
Corentin Noël
1ff3969cfb Fix missing newline in strings.xml
This leads to wrongly escaped string

Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
2020-10-23 16:06:29 +02:00
Benoit Marty
8d73e8c905 Low priority and favorite are exclusive (iso Element Web) 2020-10-23 15:20:26 +02:00
Benoit Marty
5a6683574c Toggle Low priority tag (#1490) 2020-10-23 14:58:31 +02:00
Besnik Bleta
636f419be1 Translated using Weblate (Albanian)
Currently translated at 99.4% (1908 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2020-10-22 21:49:57 +00:00
Vladislav Povalyaev
8b6a8b45ed Translated using Weblate (Russian)
Currently translated at 99.3% (1906 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2020-10-22 21:49:55 +00:00
call_xz
89b6de0323 Translated using Weblate (Japanese)
Currently translated at 48.3% (928 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2020-10-22 21:49:54 +00:00
Priit Jõerüüt
445dfceb2a Translated using Weblate (Estonian)
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2020-10-22 21:49:53 +00:00
@a2sc:matrix.org
788d1ed7b0 Translated using Weblate (German)
Currently translated at 99.9% (1917 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2020-10-22 21:49:53 +00:00
Slavi Pantaleev
0df4cf70de Translated using Weblate (Bulgarian)
Currently translated at 87.3% (1676 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/bg/
2020-10-22 21:49:52 +00:00
Benoit Marty
60556d0fa0 Version code: apply workaround from https://issuetracker.google.com/issues/171133218 2020-10-22 16:10:08 +02:00
Benoit Marty
6b04e25954 Remove unused resource 2020-10-22 10:26:33 +02:00
Benoit Marty
723a833845 Better formatting 2020-10-22 10:26:33 +02:00
Benoit Marty
f567f92d8f Reset form when user press back 2020-10-22 10:26:33 +02:00
Benoit Marty
613573931e Fix room name reset issue when rotating the screen 2020-10-22 10:26:33 +02:00
Benoit Marty
dc8668b222 Code quality 2020-10-22 10:26:33 +02:00
Benoit Marty
def6758aaa UI tweak 2020-10-22 10:25:53 +02:00
Benoit Marty
c2a81c528f Fix issue in Greek resource (also fixed on Weblate) 2020-10-22 10:25:53 +02:00
Benoit Marty
4b8c31d806 Add Avatar: SDK
Also add remove avatar action, and add Crop UX
2020-10-22 10:25:53 +02:00
Benoit Marty
1f9712d8a2 Add Avatar: UI 2020-10-22 10:25:53 +02:00
Benoit Marty
3276da3912 Fix submit title 2020-10-22 10:25:53 +02:00
Benoit Marty
a969aef582 Use GalleryOrCameraDialogHelper 2020-10-22 10:25:53 +02:00
Benoit Marty
77c5b320d1 Create GalleryOrCameraDialogHelper to factorize code 2020-10-22 10:25:53 +02:00
Benoit Marty
02d3893b6b Cleanup 2020-10-22 10:25:53 +02:00
Benoit Marty
aaa772c749 Android style to validate form 2020-10-22 10:25:53 +02:00
Benoit Marty
99e8f9c6cd Room creation: add topic (#2078) 2020-10-22 10:25:53 +02:00
Benoit Marty
0667c0ce49 Never show the green gear in production 2020-10-22 10:25:53 +02:00
aethralis
0a2b0842b0 Translated using Weblate (Estonian)
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2020-10-22 07:45:11 +00:00
Knugi
f71f717e51 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2020-10-21 10:04:59 +00:00
D4708
191fbf1c9e Translated using Weblate (Ukrainian)
Currently translated at 43.1% (828 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2020-10-21 10:04:59 +00:00
LinAGKar
434b4b5b13 Translated using Weblate (Swedish)
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2020-10-21 10:04:56 +00:00
Ricardo Subtil
5a2df8e038 Translated using Weblate (Portuguese)
Currently translated at 41.5% (797 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt/
2020-10-21 10:04:56 +00:00
Denise Almeida
2ac2711210 Translated using Weblate (Portuguese)
Currently translated at 41.5% (797 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt/
2020-10-21 10:04:56 +00:00
Corentin Noël
a213ecdc43 Translated using Weblate (French)
Currently translated at 99.2% (1903 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2020-10-21 10:04:55 +00:00
Samu Voutilainen
b49d9ff9c6 Translated using Weblate (Finnish)
Currently translated at 81.0% (1554 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2020-10-21 10:04:55 +00:00
Danial Behzadi
0e0588665d Translated using Weblate (Persian)
Currently translated at 70.9% (1360 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2020-10-21 10:04:54 +00:00
dipeve
95786dc9d6 Translated using Weblate (Spanish (Mexico))
Currently translated at 28.9% (555 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es_MX/
2020-10-21 10:04:46 +00:00
Benoit Marty
7bb2899414 Translated using Weblate (Greek)
Currently translated at 14.4% (278 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/el/
2020-10-21 10:04:46 +00:00
@a2sc:matrix.org
94f5b7b987 Translated using Weblate (German)
Currently translated at 99.6% (1912 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2020-10-21 10:04:46 +00:00
Slavi Pantaleev
f8762da246 Translated using Weblate (Bulgarian)
Currently translated at 84.3% (1618 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/bg/
2020-10-21 10:04:44 +00:00
Valere
ace412f9e3 cleaning 2020-10-20 21:41:48 +02:00
Valere
47746d6997 Add event sender in app thread 2020-10-20 21:41:48 +02:00
Markus
42fc47685c Merge tag 'v1.0.9' into fix_2100_2 2020-10-19 14:07:17 +02:00
Benoit Marty
c05147a019 Merge branch 'hotfix/bma/versionCode' into develop 2020-10-19 12:31:35 +02:00
Benoit Marty
a59c92f55a Fix issue with VersionCode 2020-10-19 12:29:20 +02:00
inthepan
2026d93934 Translated using Weblate (German)
Currently translated at 96.9% (1860 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2020-10-18 00:04:46 +00:00
Corentin Noël
85747d2ed4 Translated using Weblate (French)
Currently translated at 98.1% (1883 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2020-10-18 00:04:46 +00:00
Slavi Pantaleev
c0cea9448f Translated using Weblate (Bulgarian)
Currently translated at 74.3% (1426 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/bg/
2020-10-18 00:04:36 +00:00
SpiritCroc
5853709c97 Increment version
Change-Id: Id0f9498606265ff48842ca210358ee1541b18c38
2020-10-17 17:05:03 +02:00
SpiritCroc
863f07cbe4 Fix changing inactive theme
Bug introduced in commit 65716c0ee8.

Fixes:
- Change inactive theme
- Switch to inactive theme -> still the old theme setting

Change-Id: I1b56144ffdb5e0f33efa67702e8aa05065285488
2020-10-17 16:52:47 +02:00
SpiritCroc
db7a82f567 Hide "invite" menu item
We can invite users over the "Participants" menu item as well, and
inviting users isn't something we do too often probably.

Change-Id: I0c4c77371f0b81d39b3ae65992ef0362acf83a7c
2020-10-17 16:47:34 +02:00
SpiritCroc
33d59b3ec6 Hide timeline_settings
This menu item was added upstream, but we already have the menu item
show_room_info which does the same thing, and I prefer its wording to
upstream.

Change-Id: I065eeec4b3fdf4751978776566350823f2da5131
2020-10-17 16:43:52 +02:00
SpiritCroc
c5f59b9752 Fix mismerge
Change-Id: Ieb568d343a568a2b29297fe9824430ab5e8a4a94
2020-10-17 16:20:01 +02:00
SpiritCroc
6eff36c1a7 Fix duplicate resource build error
Move drawable-anydpi-v24 xmls to drawable-v24

Change-Id: I48aa8efb013715802cc87da0c43509dbda4ac5c8
2020-10-17 16:13:16 +02:00
SpiritCroc
bde0020305 Revert "Revert "Revert "Revert "Revert "Revert "Revert "Revert "Resolve required manual intervention in german strings""""""""
This reverts commit c22f2b7a9b.

Change-Id: I4b7ceb45da0ee77301c6323aa2ca12b76ca46738
2020-10-17 15:33:36 +02:00
SpiritCroc
835bde286c Automatic SchildiChat string correction
Change-Id: I44a73d45a7445a11037cbf3d0443147144a7d0ed
2020-10-17 15:28:34 +02:00
SpiritCroc
44d3c0118a Merge remote-tracking branch 'upstream/master' into sc
Change-Id: If0e38334e7e479134cd05283f857e4871bb7692f

Conflicts:
	vector/build.gradle
	vector/src/main/AndroidManifest.xml
	vector/src/main/java/im/vector/app/features/home/RoomListDisplayMode.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailFragment.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageInformationData.kt
	vector/src/main/java/im/vector/app/features/home/room/list/RoomListViewModel.kt
	vector/src/main/java/im/vector/app/features/roomprofile/RoomProfileActivity.kt
	vector/src/main/res/drawable/ic_settings_root_advanced.xml
	vector/src/main/res/drawable/ic_settings_root_call.xml
	vector/src/main/res/drawable/ic_settings_root_flair.xml
	vector/src/main/res/drawable/ic_settings_root_general.xml
	vector/src/main/res/drawable/ic_settings_root_help_about.xml
	vector/src/main/res/drawable/ic_settings_root_ignored_users.xml
	vector/src/main/res/drawable/ic_settings_root_labs.xml
	vector/src/main/res/drawable/ic_settings_root_legacy.xml
	vector/src/main/res/drawable/ic_settings_root_notification.xml
	vector/src/main/res/drawable/ic_settings_root_preferences.xml
	vector/src/main/res/drawable/ic_settings_root_security_privacy.xml
	vector/src/main/res/layout/fragment_home_drawer.xml
	vector/src/main/res/layout/fragment_login_splash.xml
	vector/src/main/res/layout/item_bottom_sheet_action.xml
	vector/src/main/res/layout/item_timeline_event_poll_stub.xml
	vector/src/main/res/layout/item_timeline_event_redacted_stub.xml
	vector/src/main/res/layout/view_avatar_selector.xml
2020-10-17 15:28:18 +02:00
SpiritCroc
25b6357408 Revert "Automatic SchildiChat string correction"
This reverts commit 797e5a0490.
2020-10-17 15:09:01 +02:00
SpiritCroc
c22f2b7a9b Revert "Revert "Revert "Revert "Revert "Revert "Revert "Resolve required manual intervention in german strings"""""""
This reverts commit f9fc7abbd2.
2020-10-17 15:09:00 +02:00
Benoit Marty
1b7158a61d Version++ 2020-10-16 17:34:10 +02:00
Benoit Marty
ca0af0f342 Fix bad cases 2020-10-16 16:38:33 +02:00
Benoit Marty
aa91c41082 Fix lint issue 2020-10-16 16:36:09 +02:00
Weblate
dea994c1fb Merge branch 'origin/develop' into Weblate. 2020-10-16 14:02:54 +00:00
ganfra
9bf615e90c Fix composer: update constraints layout and fix some glitches 2020-10-16 11:24:59 +02:00
Samu Voutilainen
003bffe463 Translated using Weblate (Finnish)
Currently translated at 80.3% (1541 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2020-10-16 09:04:53 +00:00
Marcelo Filho
021c23cd19 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2020-10-16 09:04:53 +00:00
random
821b9dc187 Translated using Weblate (Italian)
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2020-10-16 09:04:50 +00:00
TR_SLimey
ab8c9bd269 Translated using Weblate (Polish)
Currently translated at 79.7% (1529 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2020-10-16 09:04:47 +00:00
linsui
1692a52e0a Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2020-10-16 09:04:46 +00:00
Nikita Epifanov
a086b2001b Translated using Weblate (Russian)
Currently translated at 99.4% (1907 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2020-10-16 09:04:43 +00:00
Priit Jõerüüt
98086f1b6b Translated using Weblate (Estonian)
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2020-10-16 09:04:41 +00:00
ginnyTheCat
c1ea4bc1a7 Translated using Weblate (German)
Currently translated at 96.5% (1852 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2020-10-16 09:04:38 +00:00
@a2sc:matrix.org
7f48604820 Translated using Weblate (German)
Currently translated at 96.5% (1852 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2020-10-16 09:04:38 +00:00
LinAGKar
572b0942ba Translated using Weblate (Swedish)
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2020-10-16 09:04:38 +00:00
Jeff Huang
63dff842f6 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2020-10-16 09:04:35 +00:00
Benoit Marty
93683d026b
Merge pull request #2260 from vector-im/feature/bma/fix_issue
Feature/bma/fix issue
2020-10-15 18:14:17 +02:00
Benoit Marty
6fcfd259b7
Merge pull request #2211 from ginnyTheCat/rainbow-color
Changed rainbow algorithm
2020-10-15 18:13:24 +02:00
Benoit Marty
6c335c7df1
Merge pull request #2257 from ginnyTheCat/share
Ability to share text
2020-10-15 18:12:27 +02:00
Benoit Marty
95142274fa Clear alerts if user sign out 2020-10-15 15:55:55 +02:00
Benoit Marty
f68eb449bd Be robust against StrandHogg task injection 2020-10-15 15:55:55 +02:00
Benoit Marty
7158f49fcb
Merge pull request #2244 from ginnyTheCat/direct_share
Direct share support
2020-10-14 14:27:08 +02:00
Benoit Marty
95df786227 Add a click action at the top of the drawer to open the general settings 2020-10-14 12:21:27 +02:00
Benoit Marty
2b026b6bc6 Fix vector tint compilation error. Tint at runtime.
Also remove unused icon.
2020-10-13 23:15:06 +02:00
Constantin Wartenburger
afe55ae57e
Merge remote-tracking branch 'upstream/develop' into direct_share 2020-10-13 20:26:07 +02:00
Constantin Wartenburger
7bee558e01
Using ApplicationId from BuildConfig 2020-10-13 20:17:56 +02:00
Benoit Marty
35b94d70e2 Fix compilation issue introduced when formatting code :/ 2020-10-13 16:04:44 +02:00
SpiritCroc
ca60a769d2 Increment version
Change-Id: I7ffc24a91c8960d0fdbba2881dc887bb09e43721
2020-10-13 15:42:19 +02:00
SpiritCroc
4d2ad801da Fix bubble min-width in forced timestamp case
Change-Id: I4d486fa2576e9728cda854c61d5e29b177cc3bcd
2020-10-13 15:36:26 +02:00
SpiritCroc
e81a7211b2 Refactor view visibilities
Reduce redundant code when having alternative views for the same
information available for different styles.

While we are at it: fix the setting view timestamps for all messages in
dual-bubble mode (even though it looks bad with the current design).

Change-Id: Id9598c6536c3cb5d93073e9d09485c009a53cd00
2020-10-13 15:36:21 +02:00
Benoit Marty
55a94d9888 Optimize import 2020-10-13 15:04:50 +02:00
Benoit Marty
ede5bb0e90 Format files, in particular align -> 2020-10-13 14:57:45 +02:00
Benoit Marty
ff56414695 Cleanup and log onResume and onPause for VectorAttachmentViewerActivity 2020-10-13 14:44:04 +02:00
Benoit Marty
ca99a52545 Remove dead code 2020-10-13 14:40:23 +02:00
Benoit Marty
0345ca47dd protected 2020-10-13 14:35:33 +02:00
Benoit Marty
db1f129034 Improve detection of encrypted rooms 2020-10-13 11:27:46 +02:00
Benoit Marty
e6d5d0f9c6 There is no more menu in this Fragment 2020-10-12 21:09:28 +02:00
Benoit Marty
b1625838ed Move the attibute to the correct View 2020-10-12 21:09:28 +02:00
Benoit Marty
4ac62bcf51 Display filter only if there are more than 2 members in this room 2020-10-12 21:09:28 +02:00
Benoit Marty
5ef97362cb Fix gravity on topic 2020-10-12 21:09:28 +02:00
Benoit Marty
d0cb5f4212
Merge pull request #2248 from vector-im/feature/bca/detect_reset
Fix / reset cross signing not well supported
2020-10-12 20:49:15 +02:00
Benoit Marty
17e7aedcba Move store data to /fastlane/metadata/android (#812) 2020-10-12 19:09:04 +02:00
Benoit Marty
648462f7f4 Remove unused string labs_merge_e2e_in_timeline 2020-10-12 19:02:54 +02:00
Benoit Marty
cb40485aad Format strings 2020-10-12 19:02:12 +02:00
Benoit Marty
52924d38bf
Merge pull request #2250 from RiotTranslateBot/weblate-element-android-element-app
Update from Weblate
2020-10-12 18:48:49 +02:00
Benoit Marty
dff7f24187
Merge branch 'develop' into feature/ons/add_members_fab 2020-10-12 18:15:59 +02:00
SpiritCroc
e29ca1256f Better align scaled image to message bubbles
Fixes images not aligned to the same side as message bubbles in
following scenarios:
- The image measures are not known before loading it
- The information header (sender name + date) is wider than the image

Change-Id: Id178905e39cfd1b3353946e920e9523c32867851
2020-10-12 18:14:06 +02:00
Weblate
a6817e8281 Merge branch 'origin/develop' into Weblate. 2020-10-12 16:03:26 +00:00
Rob Johnson
19b6898568 Translated using Weblate (Spanish)
Currently translated at 99.4% (1863 of 1874 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/es/
2020-10-12 16:01:04 +00:00
Marcelo Filho
9c6ea95df8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1874 of 1874 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/pt_BR/
2020-10-12 16:01:04 +00:00
Danial Behzadi
8d49121266 Translated using Weblate (Persian)
Currently translated at 64.9% (1216 of 1874 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/fa/
2020-10-12 16:01:00 +00:00
Kahina Messaoudi
2b2a263ba6 Translated using Weblate (Kabyle)
Currently translated at 99.8% (1870 of 1874 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/kab/
2020-10-12 16:00:13 +00:00
Besnik Bleta
1b0049aaf7 Translated using Weblate (Albanian)
Currently translated at 99.5% (1864 of 1874 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/sq/
2020-10-12 16:00:11 +00:00
Constantin Wartenburger
c0a5402684
Removed version check 2020-10-12 17:54:02 +02:00
Constantin Wartenburger
741f3f4066
Merge remote-tracking branch 'upstream/develop' into direct_share 2020-10-12 17:52:01 +02:00
Onuray Sahin
d6b94802d8 Benoit code review fixes. 2020-10-12 18:32:31 +03:00
ganfra
d8e9d363fa Cross signing: update CHANGES and clean 2020-10-12 17:15:38 +02:00
Valere
840c8e0b91 Fix / reset cross signing not well supported 2020-10-12 17:10:46 +02:00
ganfra
69e624df41 Cross signing: we should not show the verify with other sessions when there is not 2020-10-12 17:10:22 +02:00
SpiritCroc
94d422c074 Adapt image round corners to look similar to bubble round corners
Change-Id: I70903cfe0958716877258c9ca37083208493f24c
2020-10-12 15:39:09 +02:00
Markus
a9f7fb46b3 Fix for ticket #2246: Ringtone volume cannot bechanged while ringing
This fix delays the creation of the audioManager until the call is connected. This way the call feature does not takes the focus from the core service (where the ringtone is generated) until the call is esablished. This way the volume can be controled correctly while the phone is ringing (incoming and outgoing).
2020-10-12 15:06:49 +02:00
Benoit Marty
40aa012588
Merge pull request #2215 from vector-im/feature/ons/fix_email_confirmation_flow
If there is a pending email validation continue on this step
2020-10-12 14:54:46 +02:00
Benoit Marty
6f709a1e7c
Merge pull request #2203 from vector-im/feature/bma/pusher_data
Feature/bma/pusher data
2020-10-12 14:51:15 +02:00
Benoit Marty
ff78f378b5 ktlint 2020-10-12 14:49:04 +02:00
Benoit Marty
ea5bcc7c77
Merge pull request #2237 from vector-im/feature/ons/expandable_room_topic
Make long topic expandable.
2020-10-12 14:44:20 +02:00
Benoit Marty
17f0c29264 Fix lint false positive 2020-10-12 14:12:44 +02:00
Onuray Sahin
f8f091fa28 Benoit code review fixes. 2020-10-12 14:26:06 +03:00
Onuray Sahin
f82aee6089 Add fab to the member list screen to invite users. 2020-10-12 13:35:34 +03:00
Constantin Wartenburger
7e5ee8f951
Made it backwards compatible 2020-10-11 22:09:19 +02:00
Constantin Wartenburger
0ae7242e17
Added direct share 2020-10-11 21:09:36 +02:00
Constantin Wartenburger
b00fa69585
Ability to share text 2020-10-11 20:09:35 +02:00
Markus
e6a8fd5b73 Merge tag 'v1.0.8' into fix_2100_2 2020-10-11 09:15:57 +02:00
Benoit Marty
cb1addd5e3 Push test now does not display notification anymore. Add a dedicated test to do it 2020-10-09 20:10:55 +02:00
Onuray Sahin
beeb840436 Do not ellipsize content while expanding. 2020-10-09 15:06:54 +03:00
Onuray Sahin
4f92db7651 Make long topic expandable. 2020-10-09 14:45:36 +03:00
Benoit Marty
3714e4e787 Add a Waiting for user state 2020-10-08 22:08:48 +02:00
Benoit Marty
ab9bbe9a48 Cleanup and cancel request properly 2020-10-08 22:08:48 +02:00
Benoit Marty
dbb77d9dc1 Push test: success if user click on the notification 2020-10-08 22:08:48 +02:00
Benoit Marty
be62d65c98 Some cleanup on the layout 2020-10-08 22:08:48 +02:00
Benoit Marty
f860cfd8a3 Fix compilation issue after rebase 2020-10-08 22:08:48 +02:00
Benoit Marty
5397700ab4 cleanup 2020-10-08 22:08:48 +02:00
Benoit Marty
48ca1384f8 Do some renaming, Sygnal is an implementation of a PushGateway. 2020-10-08 22:08:48 +02:00
Benoit Marty
e926326fca Better handling of network error.
Entering a wrong homeserver URL is now a specific error.
2020-10-08 22:08:48 +02:00
Benoit Marty
02f1dab9b2 Push test: better error handling 2020-10-08 22:08:48 +02:00
Benoit Marty
7d53dfeca4 Add Sygnal API implementation to test is Push are correctly received 2020-10-08 22:08:48 +02:00
Benoit Marty
cb33b9f158 cleanup 2020-10-08 22:08:25 +02:00
Benoit Marty
cee5f8a0fb
Merge pull request #2230 from vector-im/feature/bma/sdk_copyright
Sdk copyright
2020-10-08 22:04:46 +02:00
SpiritCroc
869384f59a Fix isDirect information getting lost
Fixes direct chats looking like group chats after recreation due to
theme change.

Change-Id: Ic3dedf51d63e8e897d83e199c94bca8af520b43c
2020-10-08 16:13:14 +02:00
SpiritCroc
1231e6b0aa Don't invalidate theme if it hasn't changed
Change-Id: I0811218679409ac7e111aa7609736fc19de5236b
2020-10-08 16:13:09 +02:00
SpiritCroc
5e721d55f9 Add labs setting for following system dark mode < Android 10
Fixes https://github.com/SpiritCroc/SchildiChat-android/issues/19.

Change-Id: I4fec536d3b491ef31c4ed51325a8300a5134e96c
2020-10-08 16:13:05 +02:00
Benoit Marty
7b89f1bea7 Add missing Copyright 2020-10-08 15:14:22 +02:00
Benoit Marty
bc339191ea Fix Copyright mention 2020-10-08 15:11:01 +02:00