Commit Graph

194 Commits

Author SHA1 Message Date
link2xt 37e99b659f Linkify commands (#1567)
This makes bot commands similar to /echo clickable.

Patch from @adbenitez
2020-08-20 09:04:19 +02:00
cyberta 72411429cc update archive menu option, rely on core for chat visibility 2020-08-18 12:56:46 +02:00
cyberta 4d7f3c6914 fix lint warning about unchecked assignment 2020-08-12 13:02:57 +02:00
cyberta da436dcb6f check actual result of file attachment initialization 2020-08-12 12:59:44 +02:00
cyberta 449dce216e improve method naming 2020-08-12 12:52:28 +02:00
cyberta 4aa7a0ea39 remove unused method 2020-08-12 12:48:36 +02:00
cyberta 01203c15ee initialize ListenableFuture.Listener only if there is a valid file attachment 2020-08-12 12:40:45 +02:00
cyberta 41ef4a495a simplify share and sendto link handling code 2020-08-12 12:15:02 +02:00
Hocuri 46a14b954c Fix sharing both an image and a text to DC 2020-08-09 15:38:22 +02:00
B. Petersen 99698f29ad handle invitation 2020-07-29 14:00:01 +02:00
B. Petersen 4fa91c6624 make makeSearchMenuVisible() more logical, invalidate menu when leaving search 2020-07-29 14:00:01 +02:00
B. Petersen 95da8c4b9a add videochat icon to menu 2020-07-29 14:00:01 +02:00
cyberta 1a6c816d5e fix messageType for drafted gifs #1425 2020-07-28 13:11:53 +02:00
Angelo Fuchs 254e8ea414 Merge pull request #1483 from deltachat/466_background_image_good_with_keyboard_2
background image scaling good without jumping (2)
2020-07-24 18:03:04 +02:00
B. Petersen b57ad5721c allow sending images uncompressed, remove recoding code that is in the core now 2020-07-19 00:44:33 +02:00
Angelo Fuchs 3446a56a15 #466 manually scaling and cropping of background. 2020-07-13 16:34:03 +02:00
Angelo Fuchs 79b1db70c6 Reintroduce "fixes #466. Setting the background image provides for a image that is sufficiently large to fit portrait and landscape orientations. When displayed the shorter side is scaled to fit, the larger is then centered and cropped."
This reverts commit e8853a4329.
2020-07-13 16:32:42 +02:00
B. Petersen d315362d2d add ephemeral icon to title bar 2020-07-11 16:14:46 +02:00
cyberta 85502c9d05 cleanup 2020-07-06 13:12:51 +02:00
cyberta af2798dd7c keep activity stack intact, of forwarding message was successful, close the current ConversationActivity and go back to the initial chat the message was forwarded from 2020-07-06 12:52:43 +02:00
cyberta 69b587cbfb allow to share images as drafts w/o sending them as before, instead disallow to go back and forth between chat and chat list while sharing 2020-07-06 12:51:11 +02:00
cyberta 7dde6c4d98 fix mailto link handling 2020-07-02 16:53:03 +02:00
cyBerta a2dc69e27e Merge pull request #1341 from deltachat/fix-sharing-multiple
Relay to multiple contacts, rework message relaying
2020-06-30 23:03:37 +02:00
cyberta 4d9f2980ad show ephemeral message menu item also if chat has already ephemeral messages enabled 2020-06-29 23:56:01 +03:00
cyberta 66b33bd7b1 implement dialog for ephemeral message time selection 2020-06-29 23:56:01 +03:00
cyberta 6cb57a4227 show and hide ephemeral message entry in chat menu depending on experimental feature switch 2020-06-29 23:56:01 +03:00
B. Petersen 1a620d6d8f add a landscape default background, toggle on orientation change 2020-06-17 14:44:56 +02:00
B. Petersen e8853a4329 Revert "fixes #466. Setting the background image provides for a image that is sufficiently large to fit portrait and landscape orientations. When displayed the shorter side is scaled to fit, the larger is then centered and cropped."
This reverts commit 16f5c6d889.
2020-06-17 11:50:18 +02:00
Hocuri 23decbe231 Rename SendMessageUtil.java to SendRelayedMessageUtil 2020-06-12 22:38:08 +02:00
Hocuri 0888bf209e Only reset relaying message content after all important infos were retrieved 2020-06-12 22:36:54 +02:00
Hocuri 643432348d Fix sharing both text and image to DC; handleSharing can totally set the draft on its own, initializeDraft() just has to load it then. 2020-06-12 22:36:53 +02:00
Hocuri 7aa4adf34e Code style. Move resetRelayingMessageContent() to the bottom of handleSharing().
It worked just fine before but it disturbed me that it was at the top and as handleSharing() does not return early anymore, it can be as well at the bottom.
2020-06-12 22:35:46 +02:00
Hocuri e0b98f3c5d Never let getSharedUris() return null because the caller had to handle both the case when the returned list was null and when it was empty 2020-06-12 22:35:46 +02:00
Hocuri 2af96ad3d7 Do not use AsyncTask because the core does things async anyway and move sending relayed things to new file (if it turns out that it's still too slow, then there are more useful APIs then AsyncApi).
Also, after sharing to multiple contacts, return to the standard view.
2020-06-12 22:35:45 +02:00
Hocuri 52665b4d61 Fix sending simple text messages 2020-06-12 22:35:45 +02:00
Hocuri 0483d10130 Start implementing logic of multi-sharing (still contains debug logs) 2020-06-12 22:35:45 +02:00
cyberta 3fac74d4f5 clean up, we also don't support message replies yet 2020-06-11 17:37:56 +02:00
cyberta 56d85e01e1 update and adapt signal sources to have the new media keyboard including new emojis 2020-06-11 17:37:43 +02:00
Angelo Fuchs 16f5c6d889 fixes #466. Setting the background image provides for a image that is sufficiently large to fit portrait and landscape orientations. When displayed the shorter side is scaled to fit, the larger is then centered and cropped. 2020-06-04 00:02:34 +02:00
B. Petersen 050c358859 make in-chat-sounds respect notification- and mute-settings 2020-05-25 13:38:57 +02:00
B. Petersen ddc770a9c9 delete handled notifications 2020-05-25 13:38:53 +02:00
B. Petersen 48f1693420 move in-chat sounds to InChatSounds class 2020-05-25 13:38:52 +02:00
B. Petersen 84c35c7483 replace global calls to MessageNotifierCompat with MsgNotificationManager 2020-05-25 13:38:51 +02:00
Hocuri 40e24c3a39 Start transitioning to the mute functions of the core 2020-05-20 23:51:25 +02:00
cyberta 7941fb8172 remove comment 2020-05-06 14:04:14 +02:00
Hocuri 51a443a184 Fix #1305 An object (image), "shared" to Delta Chat once, appears again forever in Chat editors until app is closed
The problem was that the intent still had the share flag and data.

A draft is now initialized (and stays) so that the user can return to sending later.
2020-05-06 13:58:16 +02:00
B. Petersen 06432a3f00 add result counter to in-chat-search 2020-04-07 13:20:45 +02:00
bjoern b7a72032b9 Update src/org/thoughtcrime/securesms/ConversationActivity.java
makes sense

Co-Authored-By: Hocuri <18012815+Hocuri@users.noreply.github.com>
2020-04-05 16:32:41 +02:00
B. Petersen ab6fa55867 add scroll to first/last entry on empty search 2020-04-05 12:14:53 +02:00
B. Petersen 158d272419 hide 'add attachment' in chats that cannot send messages 2020-04-05 11:59:34 +02:00