Commit Graph

158 Commits

Author SHA1 Message Date
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
B. Petersen 0a3dee4573 implement in-chat-search 2020-04-05 01:40:21 +02:00
B. Petersen 4af6fea84d hide input field and attachment draft when opening in-chat search 2020-04-04 20:23:48 +02:00
B. Petersen e60345d817 add basic in-chat control 2020-04-04 19:49:32 +02:00
B. Petersen 4e3345a912 make in-chat-menu more flexible 2020-04-04 19:06:26 +02:00
B. Petersen e2a5d93adb do not ask on forwarding messages to 'saved messages' 2020-03-10 00:26:32 +01:00
B. Petersen ab81e480ee adapt to new api 2020-02-15 00:35:04 +01:00
B. Petersen c3556f01f2 use tri-state for archived 2020-02-15 00:35:04 +01:00
B. Petersen 1b836af961 do no clear controls on saving drafts, we save drafts in onPause() now and the activity may be resumed 2020-01-25 23:17:18 +01:00
B. Petersen ac65b77de9 fix saving drafts
this is an addition to #1192:

by calling processComposeControls() twice, in onPause() and on Destroy(),
the seccond call gets an empty draft.

as onDestroy() is not guarateed to be executed anyway -
this was the intent of the move in pr #1192 -
we just remove this call and rely on onPause().

see https://developer.android.com/reference/android/app/Activity.html
for lifecycles and killable events.
2020-01-23 11:13:24 +01:00
Angelo Fuchs 9ef895500c #743 storing draft in onPause to keep Draft text even when app is destroyed after being paused 2019-12-28 01:23:33 +01:00
B. Petersen 63b4b91139 do not try to recode videos when attached as files; esp. if the detection with isVideoType() fails (webm may be an image), this gets annoying 2019-12-21 00:37:05 +01:00
B. Petersen fb235b7639 upgrade to androidx support libraries 2019-11-08 01:22:28 +01:00
B. Petersen 7571aac0cc adapt to device-messages api 2019-11-06 00:19:11 +01:00
B. Petersen c6e3d3c12c show email address on forwarding
when forwarding a message to a one-to-one-chat,
it is useful to see the email address
as there may be various chats with the same user having the same name.
2019-10-05 12:32:10 +02:00
cyBerta 2b41c25434 assure that after sharing multiple files sharing state gets properly reset 2019-06-25 23:00:47 +02:00
cyBerta 6af9d59829 share to single contacts (#900) 2019-06-25 23:00:46 +02:00
cyBerta 0cfd44990c fix voice message handling for messages sent from Android 4.X devices #916 2019-06-17 19:42:41 +02:00
cyBerta 5b549fc939 adapt padding for back button in ConversationActivity and ProfileActivity 2019-06-06 18:55:44 +02:00
cyBerta 96814700cb show new message marker #447 2019-06-05 18:24:36 +02:00
cyBerta 35138022e9 notification refactoring 2019-05-28 01:11:40 +02:00
B. Petersen e91bead522 remove dead code 2019-05-25 13:26:40 +02:00
B. Petersen 62ac442a16 remove old entry points for the profile 2019-05-25 13:26:40 +02:00
B. Petersen 5028ae6e82 use profile fast-animation only for the chat-profile, not for contact-profiles in groups 2019-05-25 13:26:40 +02:00
B. Petersen 074ae9f4a3 use a simple fade animation to bind the profile closer to the chat 2019-05-23 20:03:13 +02:00
B. Petersen 6b880244b8 refactor ProfileActivity extras 2019-05-20 20:31:39 +02:00
B. Petersen d80e930e19 rename MediaOverviewActivity to ProfileActivity 2019-05-20 20:31:39 +02:00
B. Petersen a712d0e268 open profile on click of chat title 2019-05-20 20:31:39 +02:00
cyBerta ada024f614 play 'plop' sound on send button click 2019-05-20 14:14:29 +02:00
cyBerta 06e62903ef fix sharing multiple files (#901) 2019-05-15 12:56:34 +02:00
cyBerta 84bdc42c7c * fix back button behavior for sharing and forwarding (#903)
* fix title in archived chats while sharing content
2019-05-15 12:56:33 +02:00
cyBerta 0ea7181b58 * fix sharing of text/urls (fixes #908)
* share single files as drafts
2019-05-15 12:56:33 +02:00
B. Petersen a59f6fd69b be conservative in sending videos 2019-05-13 21:44:38 +02:00
B. Petersen 9d255bc343 implement alternative method to get recorded videos 2019-05-13 21:44:38 +02:00
B. Petersen 582f2d0626 prepare video before recoding starts 2019-05-13 21:44:38 +02:00
B. Petersen b1de21af60 call VideoRecoder class, do not allow VideoRecording if recoding is not available 2019-05-13 21:44:38 +02:00
B. Petersen 885b8e2295 send videos files in original coding 2019-05-13 21:44:38 +02:00