Commit graph

4479 commits

Author SHA1 Message Date
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
Benoit Marty
7869d731d4 Fix the rotate screen issue 2020-12-07 10:38:34 +01:00
Benoit Marty
c603ec0b38 Format files 2020-12-07 09:55:11 +01:00
random
19524eaa82 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-06 14:50:08 +00:00
Hivaa
9bbae825e2 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-06 14:50:05 +00:00
SpiritCroc
3defe44eff Increment version
Change-Id: Ic7a599e412c312fb5489500d2eb7ee1808a0b6bb
2020-12-05 11:02:41 +01:00
Nikita Epifanov
dacb9cd86c Translated using Weblate (Russian)
Currently translated at 99.8% (1983 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2020-12-04 17:50:05 +00:00
Hivaa
b9d7333998 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-04 17:50:04 +00:00
@a2sc:matrix.org
e14b507b27 Translated using Weblate (German)
Currently translated at 97.3% (1933 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2020-12-04 17:50:04 +00:00
Benoit Marty
431ac5aa2d Fix layout issue 2020-12-04 15:23:59 +01:00
Benoit Marty
78fe7e5c16 No need to create a Set to remove an item from it 2020-12-04 14:56:26 +01:00
Benoit Marty
c2c9e37a36 PreviewUrl: fix layout issue and add more tests 2020-12-04 14:36:11 +01:00
Benoit Marty
5d3682cd44 More cleanup 2020-12-04 14:19:36 +01:00
Benoit Marty
2a19726e49 Cleanup and changelog 2020-12-04 14:19:24 +01:00
Benoit Marty
c08c652080 PreviewUrl: handle close (in memory) 2020-12-04 12:41:26 +01:00
Benoit Marty
9089c54990 Ripple effect 2020-12-04 11:53:37 +01:00
Benoit Marty
679d9bae1c Fix bad image rendering 2020-12-04 11:45:05 +01:00
Benoit Marty
19315fc65e PreviewUrl: handle click 2020-12-04 11:08:06 +01:00
Benoit Marty
770041eceb PreviewUrl: setting and e2e room 2020-12-04 09:48:48 +01:00
SpiritCroc
852b715c61 Easy mode: Hide room directory button in room search
Change-Id: I58f4fca9b2e03f7e4a8d7ddbe7fef66ac0f8cd0c
2020-12-04 09:19:18 +01:00
Benoit Marty
fa7b0a24a7 PreviewUrl: Application part - bugfix 2020-12-04 08:01:00 +01:00
Benoit Marty
48354c7793 PreviewUrl: Application part - WIP 2020-12-04 07:46:09 +01:00
Benoit Marty
fcd9fe7d5a PreviewUrl: layout for a single PreviewUrl 2020-12-03 19:32:49 +01:00
LinAGKar
5faaabf2f4 Translated using Weblate (Swedish)
Currently translated at 97.3% (1933 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2020-12-03 14:50:05 +00:00
Keij0
1933fc948c Translated using Weblate (Polish)
Currently translated at 76.8% (1526 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2020-12-03 14:50:04 +00:00
quidje
83df430d17 Translated using Weblate (Dutch)
Currently translated at 55.6% (1106 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2020-12-03 14:50:04 +00:00
Hivaa
ec60d7d0b6 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-03 14:50:04 +00:00
Benoit Marty
f9ccb0e8de Translated using Weblate (Spanish)
Currently translated at 97.2% (1932 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2020-12-03 14:50:04 +00:00
Onuray Sahin
a6724b5f75 EventTypeFilter implementation to allow hiding member events. 2020-12-03 16:10:50 +03:00
Hivaa
e5cbf9e3a3 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-03 11:10:27 +00:00
Benoit Marty
d889598b20 Fix DefaultLocale lint issue 2020-12-02 17:04:54 +01:00
Benoit Marty
c4577f28b2 Remove unnecessary dependency (we have -ktx dependency) 2020-12-02 16:43:52 +01:00
Benoit Marty
f5af15454e Create a generic class for ViewModel 2020-12-02 15:47:21 +01:00
Benoit Marty
ee96d5c68f Remove useless Factories 2020-12-02 15:41:31 +01:00
Benoit Marty
6c56b5f45b Fix warnings after library upgrade 2020-12-02 14:39:33 +01:00
Benoit Marty
1058bfecf4 Kotlinification 2020-12-02 13:54:59 +01:00
Benoit Marty
f0afd5ceea Update deprecated code 2020-12-02 13:49:07 +01:00
Benoit Marty
9881c9f61c Fix compilation issue after library upgrade 2020-12-02 13:34:34 +01:00
Benoit Marty
89a7ec6d4b Use fragment-ktx and preference-ktx dependencies (fix lint issue KtxExtensionAvailable) 2020-12-02 12:46:15 +01:00
Benoit Marty
42bc4d2445 Upgrade some dependencies and Kotlin version 2020-12-02 12:09:56 +01:00
Benoit Marty
2cc5d46cd3
Merge pull request #2474 from vector-im/feature/bma/remove_status_theme
Remove Status theme
2020-12-02 11:43:23 +01:00
Benoit Marty
3feb67ad32
Merge pull request #2470 from vector-im/feature/ons/fix_text_input_cursor
Move cursor to the end to fix the jumping cursor bug.
2020-12-02 11:23:53 +01:00
SpiritCroc
fb42a6a89d Pad content also to the right, not only to the left
Fixes:
- messages going directly to the right of the screen in no-bubble layout
- different padding of incoming and outgoing bubbles in dual-bubble
  layout

Change-Id: I7ac3ec72fed6dd925392eda0a96a2beadc8ff496
2020-12-02 10:30:51 +01:00
Benoit Marty
aa6c7afbbd Remove Status theme and handle migration or current status theme to light theme (#2424) 2020-12-01 16:20:11 +01:00
Benoit Marty
c6ba296028 Create an extension to apply the fix at several places 2020-12-01 14:50:13 +01:00
Jeff Huang
3b21400bb8 Translated using Weblate (Chinese (Traditional))
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/zh_Hant/
2020-12-01 12:50:15 +00:00
sr093906
1c3a279b8a Translated using Weblate (Chinese (Simplified))
Currently translated at 96.7% (1921 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2020-12-01 12:50:12 +00:00
HolgerHuo
6236b01189 Translated using Weblate (Chinese (Simplified))
Currently translated at 96.7% (1921 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2020-12-01 12:50:12 +00:00
Nikita Epifanov
e42906f08a Translated using Weblate (Russian)
Currently translated at 99.3% (1973 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2020-12-01 12:50:11 +00:00
Kaede
b53ba2b98e Translated using Weblate (Japanese)
Currently translated at 49.8% (991 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2020-12-01 12:50:09 +00:00
Danial Behzadi
7bd8d54d5c Translated using Weblate (Persian)
Currently translated at 99.4% (1976 of 1986 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2020-12-01 12:50:07 +00:00
SpiritCroc
d6ea5648b6 Re-arrange room profile
- Show encryption status also in easy mode again
- Move encryption action down - it's a one-time action and not important
  enough to show prevalent on top
- Hide encryption action if permission missing
- TODO: hide encryption action when it's a public room (it's already
  hidden on room creation in that case)

Change-Id: I544704191fd7e3573ef35fa9de2f7023a01c4a04
2020-12-01 11:23:22 +01:00
Benoit Marty
b78f1dbb93 Hide the icon area if there is no icon to display 2020-11-30 17:52:16 +01:00
Benoit Marty
056b9df65e Add title to the new two bottom sheets 2020-11-30 17:52:16 +01:00
Benoit Marty
589c301606 Fix bad copyright 2020-11-30 17:52:16 +01:00
Benoit Marty
476f721f5e Cleanup 2020-11-30 17:52:16 +01:00
Benoit Marty
a813610c04 Room setting: update join rules and guest access (#2442) 2020-11-30 17:52:16 +01:00
Benoit Marty
41dd67f1c1 Renaming 2020-11-30 17:47:54 +01:00