Commit graph

4836 commits

Author SHA1 Message Date
Flat Earth Israel Association
6b605b2e98 Translated using Weblate (Hebrew)
Currently translated at 7.4% (150 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2021-01-08 13:23:58 +00:00
Flat Earth Israel Association
cf0242f23a Translated using Weblate (Hebrew)
Currently translated at 6.4% (130 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2021-01-08 13:20:04 +00:00
אבי טייב
56e8325efe Translated using Weblate (Hebrew)
Currently translated at 6.4% (130 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2021-01-08 13:20:02 +00:00
ganfra
d91ed2985d Sync: fix initial sync is not retried correctly when there is some network error. [#2632] 2021-01-08 12:42:36 +01:00
Benoit Marty
5f9f69b4dc Simplify signatures 2021-01-08 12:27:40 +01:00
Benoit Marty
da33cbedda Introduce LocalFilesHelper to avoid using the Context directly 2021-01-08 12:23:02 +01:00
Benoit Marty
2d91865277
Merge pull request #2624 from vector-im/feature/bma/avoidEventBus2
Remove dependency to org.greenrobot.eventbus library
2021-01-08 10:04:38 +01:00
Flat Earth Israel Association
003f5fab1f Added translation using Weblate (Hebrew) 2021-01-07 19:44:32 +00:00
Onuray Sahin
55f5f90c45 Use ContentResolver and DocumentFile instead of legacy File.
Fixes #409.
2021-01-07 19:32:04 +03:00
Benoit Marty
bd3bdd6996
Merge pull request #2594 from vector-im/feature/ons/fix_room_topic_scroll
Disable scroll effect when click to a link in the topic.
2021-01-07 15:20:47 +01:00
Benoit Marty
75e06d43c5 Cover room settings screens by the sanity unit test 2021-01-07 12:29:34 +01:00
Onuray Sahin
60b92b7d32 Fix membership event visibility condition.
Change-Id: I1a7ad10f845356c9056bb3f6842935a393e75e23
2021-01-07 09:51:15 +01:00
SpiritCroc
7c1361a223 Revert "Fix member state setting filter"
Upstream uses a different fix: https://github.com/vector-im/element-android/pull/2581

This reverts commit 8c2dbc342b.

Change-Id: I8e89dbffca2288a08c0ca95abd8e87890a3801b2
2021-01-07 09:51:12 +01:00
Benoit Marty
ae55ee82a7 Cleanup 2021-01-07 00:07:40 +01:00
Benoit Marty
037e53f385 Split permissions between useful ones and the others 2021-01-06 23:24:25 +01:00
Benoit Marty
a28dfdc48e Improve UI and UX when permission are not editable 2021-01-06 23:03:09 +01:00
Benoit Marty
f253aa6b37 Remove unused field 2021-01-06 18:45:24 +01:00
Benoit Marty
0702eee179 Improve code 2021-01-06 18:38:06 +01:00
Benoit Marty
c4a019f0d3 Edit room permissions (#2471) 2021-01-06 17:42:28 +01:00
Onuray Sahin
e948e9d85a Lint fixes. 2021-01-06 16:28:45 +03:00
Benoit Marty
22c10f5ada Prefer immutable type 2021-01-06 12:24:47 +01:00
Onuray Sahin
869eb262f3 Lint fixes. 2021-01-06 12:49:11 +03:00
Benoit Marty
963c30a275 Remove dependency to org.greenrobot.eventbus library 2021-01-05 18:56:24 +01:00
Onuray Sahin
474ade01cf
Merge branch 'develop' into feature/ons/fix_room_topic_scroll 2021-01-05 15:08:15 +03:00
Onuray Sahin
18d4b66c97 Fix copy topic on long click. 2021-01-05 15:06:50 +03:00
Onuray Sahin
fa311f4ce2 Fix bug reporter progress. 2021-01-05 14:44:02 +03:00
Benoit Marty
3a9b80127f Warn user when he is leaving a not public room (#1460) 2021-01-05 11:46:59 +01:00
Valere
4ee34126bd Persist outbound group session 2021-01-05 10:04:34 +01:00
Benoit Marty
4f59ec37ca Tapping drawer having more than 1 room in notifications gives "malformed link" error (#2605) 2021-01-04 18:18:34 +01:00
Benoit Marty
c34fea2932 Do not defien Element Stuff in the SDK 2021-01-04 18:16:12 +01:00
Benoit Marty
c11a50f7ff Malformed matrix.to link: display a dialog instead of a toast 2021-01-04 18:07:47 +01:00
Onuray Sahin
23623b8895 Migrate to Android 11, API 30. 2021-01-04 17:12:49 +03:00
Danial Behzadi
868c056ddd Translated using Weblate (Persian)
Currently translated at 100.0% (2018 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-01-03 12:35:41 +00:00
Ngô Ngọc Đức Huy
0106adf36c Translated using Weblate (Vietnamese)
Currently translated at 13.0% (263 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-01-02 03:35:43 +00:00
Dat Ng
b6a93be611 Translated using Weblate (Vietnamese)
Currently translated at 13.0% (263 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-01-02 03:35:43 +00:00
sr093906
61291f7337 Translated using Weblate (Chinese (Simplified))
Currently translated at 95.0% (1919 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-01-02 03:35:40 +00:00
Onuray Sahin
3240cadb94 Fix membership event visibility condition. 2020-12-30 12:08:27 +03:00
LinAGKar
61bc19fc96 Translated using Weblate (Swedish)
Currently translated at 100.0% (2018 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2020-12-29 22:35:43 +00:00
SpiritCroc
5640d5bebf Remove removed string from translation to fix lint
Change-Id: I45819a0da6e60d4dced58159ff001382d298bcea
2020-12-29 10:07:12 +01:00
Benoit Marty
f1f1613f00 Cleanup and format 2020-12-29 09:56:15 +01:00
Benoit Marty
68dd206140
Merge pull request #2592 from vector-im/feature/bma/fix_viwe_bindings
Fix crash after migration to view bindings
2020-12-29 09:49:49 +01:00
Benoit Marty
17e8581ef0
Merge pull request #2597 from Tigermouthbear/develop
Add System theme option and set as default
2020-12-29 09:47:58 +01:00
Benoit Marty
7ff45738e0
Merge pull request #2543 from vector-im/feature/ons/wait_members_before_sending_event
Make sure to load all members in the room before sending the event
2020-12-29 09:31:30 +01:00
Tigermouthbear
c9eacec449 Fix formatting in ThemeUtils 2020-12-29 00:22:12 -05:00
Tigermouthbear
3e78098c43 Add System theme option and set as default; closes #904, closes #2387 2020-12-28 23:32:06 -05:00
SpiritCroc
cfbe6c753a Refactor misleading "default"
This used to be the default, but was changed upstream to default
to something similar to our UNREAD_KIND_CONTENT.

Change-Id: Id0e46eebcd3505071f200cafd603fb9828c9a919
2020-12-28 16:27:01 +01:00
SpiritCroc
0c37405278 Room summary preview / unread kind depending on DMs vs groups
Closes https://github.com/SchildiChat/SchildiChat-android/issues/32

Change-Id: I4f4e3078e940dc80046d5d08628a1bdbed4fd55e
2020-12-28 16:17:42 +01:00
SpiritCroc
a365850516 Emoji-only messages big also when spaces included
Same behaviour as on desktop.

Fixes https://github.com/SchildiChat/SchildiChat-android/issues/31

Change-Id: I221e226cdebfc1e7b7d38ab439801ec542c969bf
2020-12-28 15:44:34 +01:00
Onuray Sahin
cbdacc199a Disable scroll effect when click to a link in the topic. 2020-12-28 17:17:01 +03:00
SpiritCroc
dee1971814 Workaround for wrongly aligned textView for RTL locales
Change-Id: I77e48dbc8a0c93337d9c2d2c56025ae222d291d8
2020-12-28 14:20:30 +01:00
SpiritCroc
813d3679cd Fix footer when text does not match the locale's RTL status
Change-Id: Iaaf3d5fc2f2bd1b635974494362ed6569962e67e
2020-12-28 14:00:37 +01:00
Benoit Marty
d1bec21759 Fix crash after migration to view bindings
Also rename some layouts to follow convention
2020-12-28 12:23:06 +01:00
Ngô Ngọc Đức Huy
761d8d89b0 Translated using Weblate (Vietnamese)
Currently translated at 10.8% (218 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2020-12-27 22:35:44 +00:00
Marcelo Filho
9ccb22015a Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2018 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2020-12-27 22:35:39 +00:00
SpiritCroc
2aaca9cea9 Add missing divider
Change-Id: Ib0884b131af664a6cd18226056c8ee09df208495
2020-12-27 15:01:32 +01:00
SpiritCroc
c61a909c71 Use AppCompatEditText instead of EmojiEditText
This avoids different emojis from the editText compared to other
messages and the system keyboard.
When using the inbuilt emoji picker, we get slightly different emojis
to the rest of the system and messages either way, so we might as well
start in the editText, to keep at least that one equal to the rest.

Change-Id: If4cf1dec0513ed725a3bb098cc05a5cd267860b0
2020-12-27 14:07:14 +01:00
SpiritCroc
7ecf8073ef Increment version
Change-Id: Icd9bbfe6db69fc8a7b2de5626f4292d3664f4c5e
2020-12-27 11:29:47 +01:00
SpiritCroc
fcf623ce06 Disable setting for url previews in encrypted chats for disabled previews
Change-Id: I6af98d60a2c73ddccf6fd6b3e729689e601c185d
2020-12-27 09:44:54 +01:00
SpiritCroc
8c2dbc342b Fix member state setting filter
What we want with that setting:
- When enabled, include all member state events
- When disable, exclude all member state events

What it did:
- When enabled, exclude all member state events except from the
  logged-in user
- When disabled, include all member state events

Change-Id: I86eec2188163dc3265444e121d230ce0cb9c7f7a
2020-12-26 14:28:42 +01:00
Ngô Ngọc Đức Huy
6d1c53c7ed Translated using Weblate (Vietnamese)
Currently translated at 7.2% (147 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2020-12-26 11:35:47 +00:00
Thomas Jensen
df3bb5b212 Translated using Weblate (Norwegian Bokmål)
Currently translated at 53.2% (1075 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2020-12-26 11:35:38 +00:00
Ngô Ngọc Đức Huy
5768e45809 Added translation using Weblate (Vietnamese) 2020-12-25 10:31:01 +00:00
LinAGKar
ba6dffc0bf Translated using Weblate (Swedish)
Currently translated at 95.8% (1934 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2020-12-24 19:35:58 +00:00
eman luff
d3acf7e862 Translated using Weblate (Polish)
Currently translated at 98.5% (1988 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2020-12-24 19:35:57 +00:00
Thomas Jensen
5c6d710f2d Translated using Weblate (Norwegian Bokmål)
Currently translated at 52.5% (1061 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2020-12-24 19:35:50 +00:00
SpiritCroc
7c5d49909c Apply rebrand to open_source_licenses.html
Change-Id: I6b6ceb77a1d964ecceaab9833309e4fcb2fc0bf4
2020-12-24 12:29:12 +01:00
SpiritCroc
2542247d6a Update link to privacy policy
Change-Id: I8e69b0b3b8a6a68bcc80c871988cf6edf4af8eb9
2020-12-24 12:21:48 +01:00
SpiritCroc
1a6d8398aa Fix incomplete reactions bubble alignment
Related to:
fa5acb49c Align reactions better with message bubbles

We do not want to change the alignment for views that draw actual
bubbles, but also pseudo-bubbles, such as media items.

Change-Id: Ie6e0e8d9145239d284ee4e35987459a9184e48ff
2020-12-24 12:08:46 +01:00
SpiritCroc
b6f2ca85f7 Fix hiding attachment-button, not emoji-button for replies
Broken in f5054106e8:
"Exchange emoji and attachments button back to familiar layout"

We cannot animate attachments view out to the side as elegantly as before,
but we can move it out at the bottom.

Change-Id: I1060a95ee583bb1e73259bb86f85741ef5b27f31
2020-12-24 11:54:27 +01:00
SpiritCroc
a5c84c4f32 Slightly smaller emoji and attachments buttons for more typing space
Change-Id: If43b6ed01e8ead20d8757c8e6172fb562acc40c8
2020-12-22 19:46:59 +01:00
SpiritCroc
f5054106e8 Exchange emoji and attachments button back to familiar layout
Also drop the layout_goneMarginEnd attribute.

Change-Id: I0782a92947a470e233e2596a721d7a652fa37c7e
2020-12-22 19:44:26 +01:00
SpiritCroc
12eb1ea68d Hide empty URL previews
Change-Id: I10a2f78e7efa96249adb7cd4849e54150a08001a
2020-12-22 14:26:20 +01:00
SpiritCroc
9e99fcb7ff Fix german translation again
Change-Id: Ib51fd445cae5b6ad741ae611d56651b07c040274
2020-12-22 12:35:15 +01:00
SpiritCroc
99b943c737 Automatic SchildiChat string correction
Change-Id: I6647eaab5a272cc6450f55df83f1278a632af28b
2020-12-22 12:28:32 +01:00
SpiritCroc
4a726db856 Revert "Automatic SchildiChat string correction"
This reverts commit 40e3f9f097.

Change-Id: I319a351be0ad367102ec3aacaeb0f41c78da6dff
2020-12-22 12:18:00 +01:00
Rachida S
ab23d9b715 Translated using Weblate (Kabyle)
Currently translated at 96.8% (1955 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/kab/
2020-12-22 10:36:04 +00:00
Ihor Hordiichuk
b082a009a7 Translated using Weblate (Ukrainian)
Currently translated at 48.4% (977 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2020-12-22 10:35:59 +00:00
eman luff
cdeb2663fe Translated using Weblate (Polish)
Currently translated at 92.6% (1869 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2020-12-22 10:35:57 +00:00
aka. nils on element-translations
a5e979b763 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 43.3% (874 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nn/
2020-12-22 10:35:39 +00:00
reg4xp
be0cadb3c7 Translated using Weblate (Persian)
Currently translated at 99.7% (2013 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2020-12-22 10:35:37 +00:00
SpiritCroc
d3700cecc3 Properly reserve space in URL-previews for time footer
Change-Id: Iee60d34086a8b1e2b9b70674eb77df2220dff1e5
2020-12-22 11:27:15 +01:00
SpiritCroc
c01d4cdc9c Fix tertiary color with sc dark themes
Change-Id: I643110fd429f62381f84905bcb1cd8384c935f8f
2020-12-22 10:06:54 +01:00
SpiritCroc
40e3f9f097 Automatic SchildiChat string correction
Change-Id: I5a0039645e21bf4132f1d707d7a7774500450bec
2020-12-22 09:25:30 +01:00
SpiritCroc
8da4044de6 Merge tag 'v1.0.13' into sc
Change-Id: Ica0f7dfed8acda02772a90e30bfba3f9d284c538
2020-12-22 09:24:31 +01:00
SpiritCroc
15f3974b89 Revert "Automatic SchildiChat string correction"
This reverts commit 77bfa1a687.
2020-12-22 09:14:00 +01:00
SpiritCroc
fa5acb49ca Align reactions better with message bubbles
Change-Id: I128a23009b1636ce10619e17fccc507fc39028d4
2020-12-21 18:29:48 +01:00
SpiritCroc
794325f74e Unify compose area icon colors
Change-Id: I55b197eb15296f0b47565e50e2c2f90178799453
2020-12-21 18:03:56 +01:00
SpiritCroc
a5d96b729e Make composer layout smaller (as before 1.0.12 merge)
Change-Id: I39de8014a113b9673e3899669e72adf0e6cbcb7a
2020-12-21 16:43:54 +01:00
SpiritCroc
4b279f78a3 Replace insert-emoji icon
Change-Id: I78a80dee129c0f86573e45505a7dde52b3584b3f
2020-12-21 16:23:49 +01:00
SpiritCroc
04aadb6e5b SC ic_send does not need background drawable
Change-Id: Id4ed497bc7f6deaca9e700269cb1fafc50b92b7b
2020-12-21 16:21:51 +01:00
SpiritCroc
6307bc9909 Notification test: no in-app bug reports for Schildi yet
Change-Id: I803e4fbe3c71da87e0d91df767f77c302cc11e37
2020-12-21 16:21:24 +01:00
SpiritCroc
4cb69860fc Schildify test notification
Change-Id: Iaa31d1c00b2cfbd88e259423feeb8549ad5f9ddf
2020-12-21 16:21:20 +01:00
Benoit Marty
36a553a886 Let the Matrix SDK compute the Fallback urls 2020-12-21 12:08:49 +01:00
Benoit Marty
13938f2ab3 Let the Matrix SDK compute the SSO url 2020-12-21 11:26:57 +01:00
Onuray Sahin
a755536a2f
Merge branch 'develop' into feature/ons/wait_members_before_sending_event 2020-12-21 12:41:24 +03:00
Benoit Marty
4a5dbde8d3
Merge pull request #2558 from aqulu/fix/bottomsheet-viewbinding
Release VectorBaseBottomSheetDialogFragment bindings when view destroyed
2020-12-20 20:44:37 +01:00
Benoit Marty
5744939c05
Merge pull request #2561 from SpiritCroc/url_preview_visibility
Properly hide preview URLs for messages that don't support previews
2020-12-20 20:40:19 +01:00
Rachida S
3e420033c5 Translated using Weblate (Kabyle)
Currently translated at 91.6% (1849 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/kab/
2020-12-20 19:35:42 +00:00
strix aluco
4e73705378 Translated using Weblate (Ukrainian)
Currently translated at 47.7% (963 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2020-12-20 19:35:41 +00:00
Nikita Epifanov
611e1185c8 Translated using Weblate (Russian)
Currently translated at 100.0% (2018 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2020-12-20 19:35:41 +00:00
Nils Haugen
b90d8e6238 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 40.8% (824 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nn/
2020-12-20 19:35:41 +00:00
notramo
ad3573226c Translated using Weblate (Hungarian)
Currently translated at 92.3% (1864 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2020-12-20 19:35:40 +00:00
reg4xp
1cc0825b54 Translated using Weblate (Persian)
Currently translated at 99.2% (2002 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2020-12-20 19:35:38 +00:00
Priit Jõerüüt
87ac4ec5d4 Translated using Weblate (Estonian)
Currently translated at 100.0% (2018 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2020-12-20 19:35:37 +00:00
The one with the braid
8344506b05 Translated using Weblate (German)
Currently translated at 97.0% (1958 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2020-12-20 19:35:36 +00:00
SpiritCroc
f689576fbf Allow to enable URL preview in encrypted rooms
Change-Id: Iac2fff47cc86bd77203c44ce0f39ff131c60a16c
2020-12-20 09:33:08 +01:00
SpiritCroc
d5e76c515e Enable URL-previews for notices
Desktop has those too.
2020-12-20 09:10:37 +01:00
SpiritCroc
9fcf7263b5 Properly hide preview URLs for messages that don't support previews
Notices and formatted messages don't have imageContentRenderer and
previewUrlRetriever set.
Accordingly, when recycling messages that previously had an URL preview,
we do not want to keep that preview, but actually hide it, instead of
returning early (without rendering any update).
2020-12-20 09:05:15 +01:00
aqulu
0059fdf174 Release VectorBaseBottomSheetDialogFragment bindings when view destroyed
Signed-off-by: aqulu <dev@aqu.lu>
2020-12-20 13:55:32 +09:00
SpiritCroc
997fcf8fff Enable URL-previews for m.notice
Desktop has those too.

Change-Id: I14fd4b3afff17b23e34ea78a4cd7948b85816a2f
2020-12-19 20:17:25 +01:00
SpiritCroc
5f30336542 Properly hide preview URLs for notices
Notices don't have imageContentRenderer and previewUrlRetriever set.
Accordingly, when recycling messages that previously had an URL preview,
we do not want to keep that preview, but actually hide it, instead of
returning early.

Change-Id: I245d4bf5006ffc756fa35196351decb9cdabfb8a
2020-12-19 19:56:47 +01:00
SpiritCroc
002edb5e36 [WIP] PreviewUrl-fixes for bubble layout
- Always use maximum available width for the preview
- TODO reserve footer for time
- TODO fix upstream bug which comes more apparent on Schildi:
    fast scrolling leads to previews attached to wrong messages

Change-Id: Ie8447b7a9dbace54e38c14fc7d281b7f3887736c
2020-12-19 11:37:15 +01:00
Onuray Sahin
5d8f365520 Load room members seamlessly when timeline is starting. 2020-12-18 16:00:32 +01:00
Benoit Marty
2b780a8b76
Merge pull request #2542 from vector-im/feature/bma/view_bindings
View bindings
2020-12-18 15:57:34 +01:00
Benoit Marty
0518e5f18d Version++ 2020-12-18 11:03:01 +01:00
Benoit Marty
68cd06f1fb Improve redirect url, which can be visible to the user: "element://element" -> "element://connect" 2020-12-17 12:11:30 +01:00
Benoit Marty
c7afcf4ff2 Fix compilation issue 2020-12-17 12:10:55 +01:00
Travis Ralston
ea6fde3ed0 Make MSC2858 implementation match the unstable policy of the spec
See https://github.com/matrix-org/matrix-doc/pull/2858/files#r543567196
2020-12-17 12:09:34 +01:00
Benoit Marty
267a7a36ff Translated using Weblate (Slovenian)
Currently translated at 0.3% (7 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sl/
2020-12-17 06:35:49 +00:00
Jeff Huang
d095784bfc Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2018 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2020-12-17 06:35:46 +00:00
Ihor Hordiichuk
1ac1d32b3a Translated using Weblate (Ukrainian)
Currently translated at 47.7% (963 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2020-12-17 06:35:44 +00:00
Besnik Bleta
518b207f63 Translated using Weblate (Albanian)
Currently translated at 99.6% (2010 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2020-12-17 06:35:44 +00:00
Nikita Epifanov
16ba5d2416 Translated using Weblate (Russian)
Currently translated at 100.0% (2018 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2020-12-17 06:35:42 +00:00
Marcelo Filho
ac6e7652bd Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.1% (2000 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2020-12-17 06:35:40 +00:00
random
cc3e090855 Translated using Weblate (Italian)
Currently translated at 100.0% (2018 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2020-12-17 06:35:39 +00:00
Priit Jõerüüt
30e4fdebd7 Translated using Weblate (Estonian)
Currently translated at 100.0% (2018 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2020-12-17 06:35:37 +00:00
Benoit Marty
27e5626fcf Test has been passed! 2020-12-16 16:07:18 +01:00
Benoit Marty
8878cb41ee Fix issue with not clickable item 2020-12-16 16:04:57 +01:00
Benoit Marty
10575698de Avoid blink effect 2020-12-16 15:51:30 +01:00
Benoit Marty
451750f08a Improve code (items still not clickable) 2020-12-16 15:48:39 +01:00
Benoit Marty
929d711149 Split long lines and cleanup 2020-12-16 14:33:44 +01:00
Benoit Marty
b52f8b1dbf Fix crash 2020-12-16 14:31:14 +01:00
Benoit Marty
aa0a851b35 Restore waiting view management 2020-12-16 13:32:49 +01:00
Benoit Marty
4ddc8e706d Fix issue with coordinator Layout 2020-12-16 13:23:42 +01:00
Benoit Marty
da2a0abf45 Provide CoordinatorLayout when available 2020-12-16 12:39:22 +01:00
Benoit Marty
53a0e0ce10 Remove useless @Inject 2020-12-16 12:22:28 +01:00
Benoit Marty
7f02c0596e Fix strange crash 2020-12-16 12:21:25 +01:00
Benoit Marty
e081c3b249 Add TODO 2020-12-16 12:09:23 +01:00
Benoit Marty
8db4da5473 Fix crash 2020-12-16 11:45:06 +01:00
Benoit Marty
d389581d96 Better binding 2020-12-16 11:18:25 +01:00
Benoit Marty
018574a21e Rename some view ids 2020-12-16 11:10:49 +01:00
Benoit Marty
9e3eb993ee Fix some crashes 2020-12-16 10:36:33 +01:00
Benoit Marty
6c64fb2169 Fix some crashes 2020-12-16 10:16:33 +01:00
Benoit Marty
2e70808bbd Fix some crashes 2020-12-16 04:16:34 +01:00
Benoit Marty
18bf9856fe Migrate to ViewBindings (#1072) - WIP 2020-12-16 03:57:19 +01:00
Benoit Marty
f09ee5016a Migrate to ViewBindings (#1072) - WIP 2020-12-16 03:41:02 +01:00
Benoit Marty
4d3c4b5afc Migrate to ViewBindings (#1072) - WIP 2020-12-16 03:38:07 +01:00
Benoit Marty
7de2494af2 Migrate to ViewBindings (#1072) - WIP 2020-12-16 03:25:17 +01:00
Benoit Marty
409d7e50bb Migrate to ViewBindings (#1072) - WIP 2020-12-16 02:59:03 +01:00
Benoit Marty
c1222737d6 Migrate to ViewBindings (#1072) - WIP 2020-12-16 02:49:22 +01:00
Benoit Marty
a8c6b1cdf7 Migrate to ViewBindings (#1072) - WIP 2020-12-16 02:33:52 +01:00
Benoit Marty
dba65dcd22 Migrate to ViewBindings (#1072) - WIP 2020-12-16 02:05:38 +01:00
Benoit Marty
706736273c Migrate to ViewBindings (#1072) - WIP 2020-12-16 00:46:52 +01:00
Benoit Marty
838340bbc8 Remove dependency to Butterknife 2020-12-15 20:33:55 +01:00
Benoit Marty
75ec9ba3d9 Reduce dependency on Butterknife: remove usage of @BindView 2020-12-15 20:32:26 +01:00
Benoit Marty
876359539f Reduce dependency on Butterknife: remove usage of @OnClick and @OnTextChange 2020-12-15 18:52:36 +01:00
SpiritCroc
77bfa1a687 Automatic SchildiChat string correction
Change-Id: Ib449487f435c24214e5856311683d857844d3047
2020-12-15 16:18:37 +01:00
SpiritCroc
a35e246c4d Automatic color correction
Change-Id: I83f5aed8537cf48dc2f9317b1481b84d63625e64
2020-12-15 15:55:57 +01:00
SpiritCroc
38b82fb823 Merge tag 'v1.0.12' into sc
Conflicts:
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
	vector/src/main/java/im/vector/app/features/home/HomeActivity.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/MessageTextItem.kt
	vector/src/main/java/im/vector/app/features/roomdirectory/createroom/CreateRoomController.kt
	vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsController.kt
	vector/src/main/java/im/vector/app/features/themes/ActivityOtherThemes.kt
	vector/src/main/java/im/vector/app/features/themes/ThemeUtils.kt
	vector/src/main/res/drawable/ic_attachment.xml
	vector/src/main/res/layout/item_bottom_sheet_action.xml
	vector/src/main/res/layout/item_timeline_event_base.xml
	vector/src/main/res/layout/item_timeline_event_text_message_stub.xml
	vector/src/main/res/values-v23/theme_status.xml
	vector/src/main/res/values/array.xml
	vector/src/main/res/values/theme_status.xml

Note to self: need to check if URL preview works with wrap_content

Change-Id: I028b2873a33bb1a770f2da96d576b97202b5bcf9
2020-12-15 15:55:14 +01:00
SpiritCroc
310b7a262c Automatic revert to unchanged upstream strings, pt.1
Change-Id: I77578d6304946bb60a67134b1b2e034c919d0e73
2020-12-15 15:00:31 +01:00
Benoit Marty
6cdb192955 Version++ 2020-12-15 14:18:35 +01:00
Benoit Marty
bb9a08d429 /confetti /snow commands: send emote if text is blank (iso Element Web) 2020-12-15 12:19:31 +01:00
Benoit Marty
88a4dfd094 Ensure the message is understood as a debug indication (#2509) 2020-12-15 12:19:31 +01:00
Benoit Marty
7828e3f501
Merge pull request #2485 from vector-im/feature/ons/fix_hide_state_events
Fix UTD when hiding member state events.
2020-12-15 12:16:27 +01:00
Benoit Marty
487ef870f9 Add /snow command 2020-12-15 10:56:05 +01:00
Benoit Marty
6957768567 PR Review 2020-12-15 10:21:12 +01:00
Valere
7da8b13cde Chat Effects 2020-12-15 09:39:16 +01:00
Benoit Marty
a027ef29e5
Merge pull request #2484 from vector-im/feature/bca/social_login
Social Login
2020-12-14 18:19:23 +01:00
Benoit Marty
2d4eeb64c5 Translated using Weblate (French)
Currently translated at 98.2% (1982 of 2018 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2020-12-14 16:37:12 +00:00
Weblate
3813f6d659 Merge branch 'origin/develop' into Weblate. 2020-12-14 15:45:20 +00:00
Ihor Hordiichuk
545e13c843 Translated using Weblate (Ukrainian)
Currently translated at 48.0% (955 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2020-12-14 15:35:35 +00:00
Besnik Bleta
995ec25990 Translated using Weblate (Albanian)
Currently translated at 99.4% (1975 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2020-12-14 15:35:35 +00:00
Benoit Marty
09040b7095 Clear history (#1933) 2020-12-14 16:22:22 +01:00
Benoit Marty
5a69b33600 Move style for social login to a dedicated file 2020-12-14 15:53:16 +01:00
Benoit Marty
c8c4e10822 Cleanup layout 2020-12-14 15:46:31 +01:00
Benoit Marty
2f616cb6c5 Add some constants 2020-12-14 15:41:33 +01:00
Benoit Marty
776d7699bc Do not modify the DB in debug mode, and add to history only if valid 2020-12-14 15:33:32 +01:00
Benoit Marty
f3578e2538 Cleanup 2020-12-14 15:17:07 +01:00
Benoit Marty
8022430f0d Remove useless override 2020-12-14 15:14:46 +01:00
Benoit Marty
eb72d0c6d3 Revert formatting change 2020-12-14 15:13:08 +01:00
Benoit Marty
ae29cbdc34 Better name 2020-12-14 15:11:02 +01:00
Benoit Marty
cf59c7db95 Cleanup 2020-12-14 15:09:10 +01:00
Benoit Marty
b31dfcfe4f IdentityProvider -> SsoIdentityProvider 2020-12-14 14:32:20 +01:00
Benoit Marty
bba2daf0fc Capital H for GitHub 2020-12-14 14:13:50 +01:00
Valere
0fd8641cf6 Fix copyright + lint 2020-12-14 14:05:57 +01:00
Valere
26c01d46a7 Code review + Completion layout res 2020-12-14 14:05:57 +01:00
Valere
42d1bf57f6 Refactor + fix sso in LoginFragment 2020-12-14 14:05:57 +01:00
Valere
351793d456 Fix / support sso_with_password flow when no providers 2020-12-14 14:05:57 +01:00
Valere
03428ea9f5 Social Login
And new custom homeserver completion (and remember history)
2020-12-14 14:05:57 +01:00
Onuray Sahin
b321838502
Merge branch 'develop' into feature/ons/fix_hide_state_events 2020-12-14 12:03:49 +03:00
strix aluco
f83b478008 Translated using Weblate (Ukrainian)
Currently translated at 48.0% (955 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2020-12-13 14:35:36 +00:00
Ihor Hordiichuk
2bdb425085 Translated using Weblate (Ukrainian)
Currently translated at 48.0% (955 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2020-12-13 14:35:36 +00:00
Nikita Epifanov
45a0586329 Translated using Weblate (Russian)
Currently translated at 100.0% (1986 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2020-12-13 14:35:33 +00:00
Ihor Hordiichuk
74283e7d50 Translated using Weblate (Ukrainian)
Currently translated at 45.7% (908 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2020-12-13 00:55:11 +00:00
AlexanderLevchenkoTechs
6f4c307854 Translated using Weblate (Ukrainian)
Currently translated at 45.2% (898 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2020-12-13 00:34:33 +00:00
Ihor Hordiichuk
69cd0e3ea2 Translated using Weblate (Ukrainian)
Currently translated at 45.2% (898 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2020-12-13 00:34:31 +00:00
SpiritCroc
1f35c3619c Fix a wrong upstream German translation
Change-Id: I4752afdbee74a57c1cc0d8c883504d9e64d22add
2020-12-12 14:29:29 +01:00
AlexanderLevchenkoTechs
a5094f97d5 Translated using Weblate (Ukrainian)
Currently translated at 43.1% (857 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2020-12-11 22:07:47 +00:00
Benoit Marty
903936368d
Merge branch 'develop' into feature/bca/fix_mxto 2020-12-11 21:43:56 +01:00
Benoit Marty
5b74eb3bca
Merge branch 'develop' into feature/state_service_coroutines 2020-12-11 16:54:41 +01:00
Benoit Marty
5461fd4060 Some cleanup up 2020-12-11 16:35:04 +01:00
Benoit Marty
989f1c6268
Merge branch 'develop' into feature/bma/url_preview 2020-12-11 15:39:20 +01:00
Valere
bd9da8eaa6 element:// support + basic peeking + fix join via server 2020-12-11 15:06:39 +01:00
Benoit Marty
68a5ba9a01
Merge pull request #2524 from vector-im/feature/bma/fix_rtl
Fix rtl
2020-12-11 14:06:33 +01:00
Benoit Marty
9b0c2e420d Reorder Views (no other change) 2020-12-11 13:18:22 +01:00
Onuray Sahin
60aaa2a39c Code review fixes. 2020-12-11 15:08:32 +03:00
Benoit Marty
8d30658fa5 Bigger touch area for the other buttons 2020-12-11 12:46:44 +01:00
Benoit Marty
32fd3be732 Better alignment of button and animation, bigger touch area for send button 2020-12-11 12:41:35 +01:00
Benoit Marty
705b6176f1 Fix Layout issue (visible only on RTL) (#2523) 2020-12-11 12:17:23 +01:00
Benoit Marty
d996c77c03 Fix typo 2020-12-11 12:09:08 +01:00
Benoit Marty
49cad8feec Rename files. 2020-12-11 11:49:46 +01:00
Benoit Marty
ca75eae0aa Create MimeTypes object 2020-12-11 11:24:42 +01:00
Benoit Marty
439029467a Attachment preview also for Gif files 2020-12-11 11:22:36 +01:00
Benoit Marty
eb30b9fae9 Show preview when sending attachment from the keyboard (#2440)
It's actually a revert of a3b205b310
2020-12-11 11:22:36 +01:00
Benoit Marty
38843f74ab No need for WRITE_EXTERNAL permission to send attachment to the app (anymore?) 2020-12-11 11:21:49 +01:00
Benoit Marty
91c86c1a45
Merge branch 'develop' into feature/bma/url_preview 2020-12-11 09:47:57 +01:00
Benoit Marty
f2ba236130
Merge branch 'develop' into feature/bma/fix_span 2020-12-11 09:46:36 +01:00
Jadran Prodan
4cb7754b77 Translated using Weblate (Slovenian)
Currently translated at 0.3% (7 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sl/
2020-12-11 07:35:34 +00:00
Nikita Epifanov
c9535509e8 Translated using Weblate (Russian)
Currently translated at 100.0% (1986 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2020-12-11 07:35:33 +00:00
Hivaa
3d578c147c Translated using Weblate (Persian)
Currently translated at 100.0% (1986 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2020-12-11 07:35:33 +00:00
Benoit Marty
5e2f091ec1 Remove useless parameter id 2020-12-10 13:36:00 +01:00
Jadran Prodan
e6949c85fb Added translation using Weblate (Slovenian) 2020-12-10 10:28:31 +00:00
Onuray Sahin
c1cb23d728 Fix ripple effect of the send button. 2020-12-10 13:12:19 +03:00
Onuray Sahin
a9f5ed3869 Add emoji license. 2020-12-10 12:56:09 +03:00
Onuray Sahin
08964d8548 Fix emoji keyboard orientation bug. 2020-12-10 12:51:15 +03:00
Uumas
280d3f22a7 Translated using Weblate (Finnish)
Currently translated at 80.2% (1593 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2020-12-09 16:15:48 +00:00
Mitja Sorsa
a19ca8a820 Translated using Weblate (Finnish)
Currently translated at 80.2% (1593 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2020-12-09 16:15:48 +00:00
@a2sc:matrix.org
7ba1116349 Translated using Weblate (German)
Currently translated at 98.1% (1949 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2020-12-09 16:15:47 +00:00
Onuray Sahin
e8862b3aaa Add emoji keyboard, remove profile picture from composer. 2020-12-09 18:48:14 +03:00
Onuray Sahin
a96cc19eb6 Update composer layout by adding emoji icon. 2020-12-09 18:47:34 +03:00
Onuray Sahin
3d975b7fba Update composer icons. 2020-12-09 18:46:33 +03:00
Onuray Sahin
d54571d0a6 Emoji library added with Google style. 2020-12-09 18:45:33 +03:00
SpiritCroc
8d55c5ef9a Fix too wide message bubbles when hiding information
Change-Id: I8507bf146a415237bef95683eb7a2f031bee9b7e
2020-12-09 15:03:20 +01:00
SpiritCroc
455d48ea6a Hide "mark unread" functionality in labs
Not many other clients support this yet

Change-Id: I37c618a592fec834f6376802434a5c8a20d1bbb1
2020-12-09 15:03:14 +01:00
SpiritCroc
3e4f6a4689 Possibility to mark rooms as unread
Using com.famedly.marked_unnread, as per MSC2867
(https://github.com/matrix-org/matrix-doc/pull/2867)

TODO:
- Currently, when upgrading from an older version, already existing
  unread flags are ignored until cache is cleared manually

Change-Id: I3b66fadb134c96f0eb428afd673035d790c16340
2020-12-09 15:03:10 +01:00
Benoit Marty
75071cf1d9 Cleanup 2020-12-09 13:50:14 +01:00
Benoit Marty
0956baecf9 Delete unencrypted files each time the app is started 2020-12-09 12:27:37 +01:00
Benoit Marty
ca7796114c DefaultFileService: better management of the files and the filenames 2020-12-09 10:50:21 +01:00
aqulu
ed822becc6 Fix try-catch behavior of sendStateEvent actions
Signed-off-by: aqulu <dev@aqu.lu>
2020-12-09 08:39:00 +09:00
Benoit Marty
7057b2970b Improve FileService API: add facility methods to deal with MessageWithAttachment object 2020-12-08 19:31:29 +01:00
Benoit Marty
42ab7f1b4f Add space between image and text
And remove useless `apply` block
2020-12-08 17:42:42 +01:00
Benoit Marty
8e11ba21ed Glide: No Disk cache for encrypted images 2020-12-08 17:37:24 +01:00
Benoit Marty
24a9ddaa5e FileService: remove useless FileService.DownloadMode 2020-12-08 17:25:37 +01:00
Kaede
2d9043fbed Translated using Weblate (Japanese)
Currently translated at 50.1% (996 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2020-12-08 15:50:10 +00:00
random
682dff9c1c Translated using Weblate (Italian)
Currently translated at 100.0% (1986 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2020-12-08 15:50:09 +00:00
Jeanne Lavoie
9339b7e31d Translated using Weblate (French)
Currently translated at 100.0% (1986 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2020-12-08 15:50:09 +00:00
OLIVIER Thomas
7667ef686d Translated using Weblate (French)
Currently translated at 100.0% (1986 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2020-12-08 15:50:07 +00:00
Uumas
4d4fe687ac Translated using Weblate (Finnish)
Currently translated at 79.9% (1587 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2020-12-08 15:50:07 +00:00
aqulu
c889deaab1 Remove unused imports
Signed-off-by: aqulu <dev@aqu.lu>
2020-12-08 22:25:28 +09:00
aqulu
c7efd1feb9 Convert StateService to suspend functions
Signed-off-by: aqulu <dev@aqu.lu>
2020-12-08 19:21:10 +09:00