Commit graph

3945 commits

Author SHA1 Message Date
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
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
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
Benoit Marty
e33bc7146b Correction: "Jump to read receipt" available only for members with read receipt info (invited member can have read receipt info from a previous membership)
Not live for the moment, I think it is acceptable.
Also the Activity will finish itself instead of the Fragment
2020-10-08 14:18:30 +02:00
Benoit Marty
6325ee9310 "Jump to read receipt" available only for joined members 2020-10-08 14:18:01 +02:00
Benoit Marty
7952e205b9 Implement "Jump to read receipt" and "Mention" actions on the room member profile screen 2020-10-08 14:18:01 +02:00
Benoit Marty
6872a488de Fix the latest lint issue (will modify the pipeline to let the test compilation pass 2020-10-08 13:04:55 +02:00
LinAGKar
2e5e072631 Translated using Weblate (Swedish)
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/sv/
2020-10-08 10:05:18 +00:00
Benoit Marty
acbd4c3aba Lint: fixes UseCompatTextViewDrawableXml issues 2020-10-08 09:35:24 +02:00
Benoit Marty
e846e30905 Lint: fixes 80 UseAppTint issues 2020-10-08 09:22:55 +02:00
Constantin Wartenburger
efa7c66d98
Skip conversion to radians 2020-10-08 00:56:36 +02:00
Benoit Marty
573ec29829 ktlint cleanup 2020-10-07 19:10:53 +02:00
Benoit Marty
f7e040efd2 F-Droid compilation 2020-10-07 19:08:00 +02:00
Benoit Marty
e67fe1476c Fix the latest warning \o/ 2020-10-07 18:51:51 +02:00
Benoit Marty
e224ae62b4 Do not use deprecated Activity.startActivityForResult anymore - step 3 2020-10-07 18:27:25 +02:00
Benoit Marty
a80f1538c7 Cleanup 2020-10-07 18:08:37 +02:00
Benoit Marty
29d25c377b Do not use deprecated Activity.startActivityForResult anymore - step 2 2020-10-07 18:07:04 +02:00
Benoit Marty
c53f79ca8b Do not use deprecated Fragment.startActivityForResult anymore - step 2 2020-10-07 17:22:43 +02:00
Benoit Marty
ff0f42900d Do not use deprecated Fragment.startActivityForResult anymore 2020-10-07 16:02:01 +02:00
Benoit Marty
05950ec1c8 registerForActivityResult has to be called at Fragment creation 2020-10-07 11:57:38 +02:00
Benoit Marty
a7f034f500 Stop using deprecated API to manage Permissions request from Fragment 2020-10-07 11:01:57 +02:00
rkfg
3182850e19 Translated using Weblate (Russian)
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/ru/
2020-10-06 21:05:11 +00:00
Onuray Sahin
7722e6d8e7
Merge branch 'develop' into feature/ons/fix_email_confirmation_flow 2020-10-06 19:00:19 +03:00
Benoit Marty
32434703d8 onActivityCreated() is deprecated (not tested) 2020-10-06 16:17:54 +02:00
Onuray Sahin
3877b2f58e Delete pending session store and states after session is created. 2020-10-06 17:02:49 +03:00
Benoit Marty
7e3acaa987 False positive 2020-10-06 16:00:29 +02:00
Benoit Marty
250ac42fa3 Fix some compilation warnings 2020-10-06 15:57:31 +02:00
Benoit Marty
9e0ebc94c5 Upgrade other dependencies, and remove unused dependencies 2020-10-06 15:44:30 +02:00
Benoit Marty
1a0dba7422 Upgrade Moshi to 1.11.0, Dagger to 2.29.1, Epoxy to 4.1.0 2020-10-06 14:47:57 +02:00
Benoit Marty
5056615eb0 Upgrade kotlin version from 1.3.72 to 1.4.10 and kotlin coroutines version from 1.3.8 to 1.3.9 2020-10-06 12:33:40 +02:00
Benoit Marty
72a412904d small cleanup 2020-10-06 12:26:18 +02:00
Benoit Marty
2125047ca5
Merge branch 'develop' into feature/bma/open_settings 2020-10-06 12:20:35 +02:00
Benoit Marty
cac3475281
Merge pull request #2158 from vector-im/feature/fix_draft
Feature/fix draft
2020-10-06 12:17:50 +02:00
ganfra
038e6613c0 Draft: update state when saving draft to avoid loosing current text 2020-10-06 10:17:17 +02:00
ganfra
3b8a0f8671 Tint swip reply icon 2020-10-06 10:17:17 +02:00
ganfra
211a8dc272 Draft: fix icon tint 2020-10-06 10:17:17 +02:00
ganfra
91b81af5a8 Draft: handle sharing so it doesn't destroy the previous draft 2020-10-06 10:17:17 +02:00
Onuray Sahin
1f4a360a0c
Merge branch 'develop' into feature/ons/fix_email_confirmation_flow 2020-10-06 11:16:50 +03:00
Onuray Sahin
f9c35e6bcb If there is a pending email validation continue on this step 2020-10-06 11:15:00 +03:00
ganfra
aa0520d47d Start reworking draft (simplify) 2020-10-06 10:13:14 +02:00
Benoit Marty
8d05ef703a
Merge pull request #2196 from vector-im/ons/filter_room_members
Add SearchView to filter room members
2020-10-06 10:08:56 +02:00