Commit graph

374 commits

Author SHA1 Message Date
Daniel Gultsch 132f81df23 double check that activity is not null in updateSend button 2019-05-22 17:30:04 +02:00
Daniel Gultsch 7c35f28633 do not synchronize twice when adding status and date bubbles 2019-04-27 15:24:37 +02:00
Daniel Gultsch bcab77a044 wait with presence selection until attachment commit 2019-04-27 14:41:43 +02:00
Daniel Gultsch b2ea91909b introduced type private_file_message to handle attachments in PMs. fixes #3372 2019-04-27 11:46:43 +02:00
Daniel Gultsch b55d4bc62f do not jump out of whispher mode when selecting attach 2019-04-26 17:53:00 +02:00
Daniel Gultsch d2c9ce7bf0 store correcting message in db 2019-04-26 11:18:16 +02:00
Daniel Gultsch 8a1a9f4f55 put PM hint above edittext. fixes #3432 2019-04-26 10:23:26 +02:00
Daniel Gultsch a04b7a1c0f keyboard event callbacks shoud run on ui thread. fixes #3441 2019-04-25 12:27:38 +02:00
Daniel Gultsch d95b904b5b show file too large instead of generic delivery failed 2019-02-20 21:44:06 +01:00
Daniel Gultsch b648c482f3 allow corrections in all mucs 2019-02-07 18:11:07 +01:00
Daniel Gultsch ad64058d25 hide lock icon in channels; modify muc user context 2019-02-07 13:18:42 +01:00
Daniel Gultsch 2b913f367d provide the same fab submenu for both tabs. rename tab to bookmark 2019-02-06 14:45:51 +01:00
Daniel Gultsch 8bc9f9a7c8 fixed context menu on self contact 2019-01-27 18:57:41 +01:00
Daniel Gultsch 20e731c956 show context menu when long pressing own account picture 2019-01-27 11:38:20 +01:00
Daniel Gultsch b532f5ed1f add context menu for muc user adapter 2019-01-26 20:31:52 +01:00
Daniel Gultsch 18982174ce ask for permissions before opening restore backup. use insert or ignore for messages 2019-01-23 11:20:36 +01:00
Daniel Gultsch c5e35dc4b3 extend open with to audio files 2019-01-12 10:29:41 +01:00
Daniel Gultsch d2b8134cdf check if we have storage permission before marking a file as deleted on resend 2019-01-12 10:09:45 +01:00
Daniel Gultsch a38cd88702 offer 'open with' in context menu for geo uris 2019-01-11 10:13:25 +01:00
Daniel Gultsch 7cabb2c377 check if encrypted pgp file get deleted 2019-01-10 21:24:24 +01:00
Daniel Gultsch 8ab4ca7138 fixed downloading of deleted files 2019-01-10 21:23:53 +01:00
Daniel Gultsch 52afcac230 mark deleted files in database and not query them when querying for media 2019-01-10 14:52:27 +01:00
Daniel Gultsch 6ac1c00d00 clear conversationsuuid and pending attachments when opening new conversation 2019-01-02 09:36:22 +01:00
Daniel Gultsch 5c920a9362 fixed some rare crashes caused by race conditions 2018-12-17 19:35:08 +01:00
Daniel Gultsch ae9bfe1643 limit video transcoding to api >= 18 and other api 16 fixes 2018-12-10 13:58:05 +01:00
Daniel Gultsch 1a1bfb3246 show warning snackbar before joining anon-non-private room. fixes #3306 2018-12-09 18:25:11 +01:00
Daniel Gultsch fa5ba9e02b fixed some rare NPE caused by race for saveInstanceState() 2018-12-05 09:27:10 +01:00
Daniel Gultsch c01bd38d00 show context menu when long clicking avatar in 1:1 2018-12-04 12:23:14 +01:00
Daniel Gultsch c02676ea4c implement self healing omemo
after receiving a SignalMessage that can’t be decrypted because of broken sessions
Conversations will attempt to grab a new pre key bundle and send a new PreKeySignalMessage
wrapped in a key transport message.
2018-12-02 14:41:29 +01:00
Daniel Gultsch f1e1c4a78d keep track of previously edited ids 2018-12-01 15:52:44 +01:00
Daniel Gultsch 40e46ed8fa make sure that conversation is 1:1 before offering to select presence on file resend 2018-11-23 13:11:51 +01:00
Daniel Gultsch 300006a529 offer to copy error message to clipboard. fixes #3277 2018-11-18 11:45:24 +01:00
Daniel Gultsch cf18bd08fc provide option to reject subscription request when long pressing 'allow' 2018-11-18 10:34:14 +01:00
Daniel Gultsch a3744ce4f8 improve openkeychain error reporting 2018-10-25 18:16:02 +02:00
Daniel Gultsch bb6ddae76b ask for permission when committing attachments. fixes #3248 2018-10-24 20:00:06 +02:00
Daniel Gultsch 7177c523a1 Do not insert text shared over XMPP uri when already drafting message
XMPP uris in the style of `xmpp:test@domain.tld?body=Something` can be used to
directly share a message with a specific contact. Previously the text was
always appended to the message currently in draft. The message was never send
automatically. Essentially those links where treated like normal text share
intents (for example when sharing a URL from the browser) but without the
contact selection.

There is a concern (CVE-2018-18467) that when this URI is invoked automatically
and the user is currently drafting a long message to that particular contact
the text could be inserted in the draft field (input box) without the user
noticing.

To circumvent that the text shared over XMPP uris that contain a particular
contact is now appended only if the draft box is currently empty.

Sharing text normally (**with** manual contact selection) is still treated the
same; meaning the shared text will be appended to the current draft. This is
intended behaviour to make the
'Hey I have this cool link here;' *open browser*, *share link* - secenario
work.
2018-10-19 15:39:31 +02:00
Daniel Gultsch 2edab21423 render 'read up to this point' in 1:1 when followed by date bubble
fixes #3237
2018-10-16 12:18:28 +02:00
Daniel Gultsch 7c5af89c89 offer either 'cancel download' or 'delete file' but not both
fixes #3221
2018-10-11 04:33:14 +02:00
Daniel Gultsch 57fe153ef1 make 'cancelled' work for jingle ft 2018-10-08 10:31:41 +02:00
Daniel Gultsch bdb8d98eb1 show snackbar for remote server timeout in mucs 2018-10-08 10:31:11 +02:00
Daniel Gultsch fd165e5106 add confirmation dialog for deleting files
fixes #3202, closes #3193, closes #3214
2018-10-06 14:59:28 +02:00
Daniel Gultsch 04ac2264e8 Do weOwnFile security check only when attaching
The general security check is recommend so a third party can not ask us to send an internal file. But we don’t need to do this for files we attach ourself from within Conversations
2018-10-04 17:17:20 +02:00
Daniel Gultsch 657b1cae9d use fab.hide() and fab.show() - this will animate the process 2018-10-04 16:46:35 +02:00
Daniel Gultsch a34033dea3 run through sendMessage() procedure instead of taking shortcut after returning from TrustKeys
The shortcut didn’t take care of message edits and some other things
2018-10-03 23:23:47 +02:00
Daniel Gultsch 1985f6bdec store avatars received over muc presence in contact 2018-09-21 12:27:58 +02:00
Daniel Gultsch 53cd58c955 fixed text sharing in direct sharing 2018-09-18 17:03:08 +02:00
Daniel Gultsch c5fcd03489 check omemo keys when attachments are commit instead of before 2018-09-16 15:58:05 +02:00
Daniel Gultsch 6a6287bbd7 commit next message (draft) when input box gets emptied. causes tablet view to update 2018-09-16 15:26:33 +02:00
Daniel Gultsch b8474941c7 clear parent activities pending view intent before calling startAcitvityForResult() 2018-09-16 10:09:22 +02:00
Daniel Gultsch e0266d0efb fix media preview in tablet mode 2018-09-13 18:48:21 +02:00