Commit Graph

1671 Commits

Author SHA1 Message Date
B. Petersen 8e185e4f26 show permanent hint about server-delete impact
when server-deletion is enabled,
always show a hint about the impact below the option.

the hint is a summary of the conformation-dialog
so that the user is more aware of the impact
if enabling was some time ago
or the option was even enabled by the provider-db.
2020-11-18 21:54:39 +01:00
Hocuri 9beff06fb1 Fix #1726 2020-11-12 14:28:04 +01:00
bjoern 710f0195f4 Merge pull request #1720 from deltachat/quotes-add-on-3
Quotes add on 3
2020-11-09 12:55:53 +01:00
B. Petersen 0cbf31b18a do not use cached value to check for notifications
the 'inboxes' value contains the last lines of notification,
however, if the app is restarted for whatever reasons,
but notifications are persisted,
they do not contain all lines.

for the notification display, this is no big deal,
however, this cached value is not suitable
to check if there is a notification or not for a chat.

even if there is a notification, 'inboxes' may be empty,
this 'speed up' check was introduced
for a workaround of notification removal that requires lots of calls.
meanwhile, however, we have DC_EVENT_MSGS_NOTICED,
so we also remove this workaround.
2020-11-09 01:04:08 +01:00
Hocuri 778718c7b2 Don't cut the document icon in quotes
I also deleted an unnecessary LinearLayout, so you should look at the
diff with --ignore-all-space

Firstly, I lifted quote_attachment_container out of the FrameLayout with
the thumbnail so that quote_attachment_container can be wrap_content
(and enlarge the quote if necessary) while the thumbnail still always
matches the size of the quote.

Then I made the document view itself a little smaller so it does not
enlarge the quote all the times.
2020-11-08 12:55:38 +01:00
Hocuri 90af180ce4 Make the quote animation faster
IIRC it was complained about this in the Testing group and I agree
2020-11-08 12:29:38 +01:00
Hocuri 09e890f443 Keyboard correctly closes when it is open and a quote to another chat is clicked
Reported by Treefit
2020-11-08 11:43:23 +01:00
B. Petersen 488d25a97b add link to upcoming blogpost 2020-11-05 23:58:41 +01:00
bjoern 4f58a4986f device-message translations (#1713)
* update translations, esp. device message translations

* update translations
2020-11-05 20:42:17 +01:00
bjoern 3a50bf05d1 Merge pull request #1710 from deltachat/fix-another-crash
Fix crash in ImageEditor
2020-11-05 19:41:17 +01:00
Hocuri ab77b61d35 Do not display milliseconds when recording a voice message fix #1711 2020-11-04 09:34:54 +01:00
Hocuri 485bfce7b4 Fix crash
For some reason it is not possible to remove `setUri`, when I tried, I
got crashes each time I tried to edit an image.
2020-11-03 19:25:50 +01:00
B. Petersen a1e7388f95 disable forwarding info-messages
i cannot see a usecase for forwarding info-messages as "member added",
so it might also confuse users when the option is offered at all.

as all selected messages are loaded into memory anyway,
this was easy to implement.

tbh, if we would track the selection by message-ids only and
this would have require a larger refactoring or performace issues
(imaging 100 messages to be checked on each new selected message),
i would not have implemented that now :)

i do not think, that sensitive information can be send accidentially this way,
even if Bob can forward an info-message as "Alice invited Claire" -
it is pretty clear to Bob that he forwards exactly that text.
(this is different from adding "Honey" to the group -
where "Honey" is an only locally given name for "Dr. Someone" ;)
2020-11-03 11:04:02 +01:00
B. Petersen 8e724e8a76 update changelog, add device message for 1.14 2020-11-01 01:24:58 +01:00
Hocuri eaa891c8e7 Properly fix the problem 2020-10-31 18:34:50 +01:00
Hocuri 766d50e602 Prevent exception (would be caught but is annoying) 2020-10-31 18:31:14 +01:00
B. Petersen 5cbfd8cdb8 disallow muting saved-messages, there are no notifications for saved-messages 2020-10-26 13:38:30 +01:00
B. Petersen 2f68096b22 hide settings-tab in device-chat 2020-10-26 13:38:30 +01:00
B. Petersen 93de0032e4 hide 'edit', 'block' and 'encrytion info' for device-chat and 'edit' for saved-messages 2020-10-26 13:38:29 +01:00
B. Petersen 7773f2ac79 disable 'disappearing messages' when a chat is not sendable; this is currently the device-chat, but may be others in the future 2020-10-25 01:09:56 +02:00
Hocuri 1bc690679d we should append the result from msg.getText() only if not empty - else use the summary 2020-10-24 11:35:27 +02:00
Hocuri 12339303c4 Copying does not contain the names or "Image - " for single messages
We have replies for this now
2020-10-24 11:29:29 +02:00
bjoern 047f610153 Merge pull request #1683 from deltachat/fab-in-archive
Allow forwarding to multiple archived chats
2020-10-24 01:52:53 +02:00
Hocuri a90e337d66 Allow forwarding to multiple archived chats 2020-10-22 20:48:12 +02:00
Hocuri e40bbf69f6 @r10s' review 2020-10-22 15:34:37 +02:00
Hocuri 1c1300cdff Don't allow quoting system messages and voice message invites
Swipe-to-reply already was disabled for them, now quoting by long-press
is disabled, too.
2020-10-22 15:34:37 +02:00
B. Petersen 36e19c5abb do not hide the title with the number of selected items 2020-10-20 16:23:49 +02:00
B. Petersen 71fefcde39 remove unused resend-option from menu 2020-10-20 15:56:18 +02:00
Hocuri 484f1c80ed "forward" should not go to overflow menu, fix #1656 2020-10-20 10:36:21 +02:00
B. Petersen b8099e8107 reword protection message and make it translatable 2020-10-18 13:13:11 +02:00
bjoern 26cb61c460 Merge pull request #1667 from deltachat/remove-dead-code
remove dead code
2020-10-17 13:30:56 +02:00
B. Petersen 66bb7c372a add an option to access the user-profile from the contact-list 2020-10-17 01:57:41 +02:00
bjoern f51c0771e3 Merge pull request #1665 from deltachat/open-in-external-on-error
If audio failed to play, open it in external app
2020-10-17 01:10:08 +02:00
B. Petersen 8278b337ec remove dead code 2020-10-17 01:04:52 +02:00
Hocuri 2fa048ef9d Use viewtype instead of mimetype for presenting messages
See https://github.com/deltachat/deltachat-core-rust/pull/1973/
2020-10-17 00:46:09 +02:00
bjoern 81658d65d9 Merge pull request #1660 from deltachat/faster-list-load
Faster conversations list load
2020-10-17 00:33:00 +02:00
bjoern 65fba582fa Merge pull request #1659 from deltachat/no-quick-contact
Don't use quickContact in the ConversationListItem
2020-10-17 00:28:17 +02:00
Hocuri ed63538d7e Rename to SetStartingPositionLinearLayoutManager 2020-10-16 18:51:59 +02:00
Hocuri befe953b61 formatting 2020-10-16 18:51:59 +02:00
Hocuri 1634ecf725 Performance tweak 2020-10-16 18:51:59 +02:00
Hocuri 15373f9cc1 move directly to first-unread message fix #1654 2020-10-16 18:51:59 +02:00
Hocuri a3f23d4761 Don't smooth scroll if animations are disabled (@link2xt in testing group) 2020-10-16 18:51:59 +02:00
Hocuri e2ad740d92 If audio failed to play, open it in external app 2020-10-16 18:00:27 +02:00
Hocuri 99d52f0be2 Remove updateDeviceChats (see https://github.com/deltachat/deltachat-core-rust/pull/1957) 2020-10-16 10:22:40 +02:00
B. Petersen 581580a2d5 fixup 2020-10-15 01:06:19 +02:00
B. Petersen f424f49c20 make new stock-strings translatable 2020-10-15 01:04:34 +02:00
Hocuri 4f32411293 Log.i instead of Log.w 2020-10-14 14:08:34 +02:00
Hocuri 287b2d0b83 Don't set a fallback avatar
if it is missing the error avatar will be shown, which is the same, but
so we don't have to call getFallbackAvatarDrawable twice
2020-10-14 14:07:07 +02:00
Hocuri f9771fc546 Also, when one clicked on the contact photo in the contact selection…
…list (the one that appears when the "+" is clicked), nothing happened;
fix that too
2020-10-14 13:43:01 +02:00
Hocuri f60a88b6f7 Don't use quickContact in the ConversationListItem
quickContact means that you get to the contact details screen by
clicking the avatar. In the conversations list this is usually disabled,
just for the search it stayed enabled, which was unexpected
(because it was usually disabled ;-) ).

Even worse, in the search clicking the avatar sometimes got me to the
wrong contact details. No idea why, but I think disabling is better
anyway.
2020-10-14 11:30:34 +02:00