Commit Graph

1768 Commits

Author SHA1 Message Date
adbenitez 0f2e3ff30d update build.gradle and jni/Application.mk 2020-12-06 09:30:52 -05:00
adbenitez 7fe3db1294 Merge remote-tracking branch 'upstream/master' 2020-12-06 08:15:28 -05:00
Hocuri 26c8497509 Fix crash on some device of some friend of Holger 2020-12-04 17:40:32 +01:00
bjoern 1cc0c9d0c1 Merge pull request #1688 from deltachat/fix-tall-images-message-width
Wider messages for tall images
2020-12-01 13:29:43 +01:00
bjoern 321e4c4dab Merge pull request #1732 from deltachat/show-in-chat
add 'show in chat' function, fix enlarge-view-menu-issues
2020-11-28 23:39:59 +01:00
bjoern 7f37d93916 Merge pull request #1744 from deltachat/quote-forwarded-msgs
display forwarded messages also in quotes as such
2020-11-27 13:05:19 +01:00
B. Petersen 12e4d6b30e introduce color 'unknown_sender' and use it for forwarded messages, forwarded quotes, quotes with unknown sender 2020-11-25 20:57:46 +01:00
B. Petersen d4ef19b9cf remove dead code 2020-11-25 10:45:41 +01:00
B. Petersen b284a70ef7 reword no-blocked-contats-hint 2020-11-22 23:06:00 +01:00
B. Petersen ed9921f40e show hint when there are no blocked contacts 2020-11-22 23:06:00 +01:00
B. Petersen 68961fdcd7 remove unused SwipeRefreshLayout and use self-explaining default for contact-list-empty-hint 2020-11-22 22:16:13 +01:00
Hocuri 0f2c3f4791 Remove rounded corners if the message has a quote 2020-11-21 17:19:20 +01:00
B. Petersen 783168549a open correct tab 2020-11-20 13:20:39 +01:00
B. Petersen f8dba0f2d5 fix backstack for 'all media' option
- when called from gallery, this is just the same as 'back'

- otherwise, do not forget to remove self
2020-11-20 13:20:38 +01:00
B. Petersen 658c3af66b add 'show in chat' function 2020-11-20 13:20:38 +01:00
B. Petersen 8853e320c0 remove 'forward' from gallery
- it forwards media together with the text,
  this is unexpected
- if forward is available, reply and reply-privately
  should be available as well, however, this seems to be a bit much.
- the function had issues which would need fixing.

instead, we will add a 'Show in chat' function that is more powerful
and fixes all of the things above.
2020-11-20 13:19:54 +01:00
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
Hocuri 582836bf9a show portrait images cutted to landscape (as now), use square only if the whole device is in portrait mode
that's waaaay less difficult to implement
2020-10-28 17:19:35 +01:00
Hocuri 8a1174b1cf try to do not use the full width for the bubbles (for the text) in device-landscape-mode - this way, also the squares will maybe be small enough. at a first glance this is what whatsapp is doing
Not working as sometimes the ConversationItem would have to determine
the width (i.e. the screen width), sometimes the
ConversationItemThumbnail. Not sure if it's worth it fixing this.
2020-10-28 17:09:20 +01:00
Hocuri 4d6fcf6d46 First half of Björn's review 2020-10-26 20:16:45 +01:00
Hocuri df0196a7cf Wider messages for tall images 2020-10-26 17:21:04 +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