Commit graph

923 commits

Author SHA1 Message Date
Daniel Gultsch f0e48c8af5 use own algorithm to count emoji instead of using emoji-java 2017-09-29 22:56:17 +02:00
Daniel Gultsch 42b4528d03 use emoji compat 2017-09-29 19:44:30 +02:00
Daniel Gultsch acd4b149f5 slight refactoring in MessageAdapter 2017-09-27 10:21:00 +02:00
Daniel Gultsch c3dcc74b23 select presence if necessary when resending file 2017-09-22 11:14:56 +02:00
Daniel Gultsch 2eb7197e04 removed unnecessary padding restrictions around emoji messages 2017-09-20 21:04:41 +02:00
Daniel Gultsch 20b14091d6 play audio files inline 2017-09-20 15:35:35 +02:00
Daniel Gultsch acc78145db unified share with menu. fixes #2630 2017-09-19 16:28:01 +02:00
Daniel Gultsch dbd489cbcb show correct tooltip when long pressing start conversations. fixes #2635 2017-09-19 10:43:25 +02:00
Daniel Gultsch d4c16b5a85 added dedicated 'record video' attachment button. fixes #2592
thank you @BlauerHunger
2017-09-18 11:51:47 +02:00
Daniel Gultsch 22a058ff61 show block menu after long press on allow/add back 2017-09-11 09:53:14 +02:00
Daniel Gultsch 5cc92acbee use 'partial' in server info if publish-options is n/a
fixes #2621
2017-09-09 13:34:51 +02:00
Daniel Gultsch 0f39ad0f04 make filtered list item activity survive roations 2017-08-28 18:30:39 +02:00
Daniel Gultsch ccb47c5727 get rid of uneccessary 'own omemo fingerprint' string. fixes #2599 2017-08-28 18:15:39 +02:00
Daniel Gultsch 617425e7ff link jid in trust keys activity to contact details 2017-08-24 10:09:16 +02:00
Daniel Gultsch 26f7702c39 request storage permission when sending gif. fixes #2589 2017-08-22 16:51:42 +02:00
Daniel Gultsch e0fa820436 improved error messages on missing omemo keys 2017-08-21 14:08:20 +02:00
Daniel Gultsch 4ed74eafc8 reset attempt counts on enable 2017-08-12 22:17:49 +02:00
Daniel Gultsch 699e845e6d default input type to numbers on captcha dialog 2017-08-12 22:17:24 +02:00
Daniel Gultsch 0da2f1ed3f prevent users from editing their account jid after successful login 2017-08-10 22:34:03 +02:00
Daniel Gultsch c3cbb21133 cache some information generated from body like isEmojiOnly, fileParams and isGeoUri 2017-08-03 13:24:41 +02:00
Daniel Gultsch 7bcf173866 remove all whitespaces in emoji only messages 2017-08-03 10:55:14 +02:00
Daniel Gultsch 82c5924434 display messages that only contain emoji slightly larger 2017-07-30 22:04:58 +02:00
yushijinhun 48147b7fd1
Give up PGP decryption when intent is cancelled
When receiving a PGP message which is not encrypted with YOUR key,
OpenKeychain shows a dialog, which tells you the private key to decrypt
the message is unavailable. However, Conversations won't give up
decrypting the message. So whether the subsequent messages are
decryptable or not, the decryption is blocked at the current message.
The commit fixes the bug in this way: Give up the current message when
the decryption intent is cancelled, so that subsequent messages can be
handled.
2017-07-25 15:09:18 +08:00
Daniel Gultsch 74cde1d60a incorporate support for publish-options into server info 2017-07-18 12:51:15 +02:00
Daniel Gultsch ef980ff5cf show date separators. fixes #2271 2017-07-04 11:01:20 +02:00
Daniel Gultsch 2ada4d5cfe allow users to send PMs in mucs w/o voice 2017-07-03 23:58:34 +02:00
Daniel Gultsch f2409ed95e set focusable=false instead of enabled=false for rooms w/o voice 2017-07-03 19:55:21 +02:00
Daniel Gultsch 2b9cdde558 refactored retrieval of default preferences 2017-07-01 13:41:24 +02:00
Daniel Gultsch 311c99bb6d put settings defaults into resource file 2017-06-30 21:22:35 +02:00
Daniel Gultsch 7c1e1132b0 make scan barcode icon survive rotations 2017-06-29 20:23:28 +02:00
Daniel Gultsch b2aae44645 show scan button in TrustKeys only if there is something to scan 2017-06-29 14:01:12 +02:00
Daniel Gultsch 59e39304dd use DND instead of XA when phone is silent 2017-06-27 12:24:26 +02:00
Daniel Gultsch cbce73c301 fixed fingerprint trust (was messed up after library upgrade) 2017-06-25 18:18:13 +02:00
Daniel Gultsch 5d9d725446 offer to open website if ibb offers oob redirect. fixes #2503 2017-06-19 20:02:41 +02:00
Daniel Gultsch 95405fde5f mark message as failed after canceling ft w/o transferable. fixes #2513 2017-06-19 13:23:20 +02:00
Daniel Gultsch 24768d051d upgrade to signal-protocol-java. thanks @ysangkok
fixes #1384
closes #2509
2017-06-18 16:36:30 +02:00
Daniel Gultsch 00bb527333 recreate settingsactivity when theme changed 2017-06-05 14:57:09 +02:00
Daniel Gultsch 012f60be56 use proper alpha for dark themed icons 2017-06-04 00:05:02 +02:00
Daniel Gultsch 51badfa721 enable forground service for sony smartphones by default 2017-06-02 13:00:20 +02:00
Daniel Gultsch 2cf05528b4 add the 4 most frequently contacted contacts as app shortcuts 2017-05-31 16:45:51 +02:00
Daniel Gultsch 5a5eb5bdd3 do not turn send button green unless history is caught up. fixes #1232 2017-05-19 13:39:44 +02:00
Daniel Gultsch 91db2023d3 use mam reference instead of timestamp 2017-05-07 21:05:35 +02:00
Daniel Gultsch b0a8da35db add ability to distrust inactive/trusted keys 2017-05-06 18:38:23 +02:00
Daniel Gultsch 404cf808b0 set catchup flag on mam only when doing that 2017-05-04 22:11:46 +02:00
Daniel Gultsch f98888d796 display open pgp key id in account details and allow to delete. fixes #2470 2017-05-04 13:02:46 +02:00
Daniel Gultsch ef78721f94 fixed regression from previous commit and brought back 'select text' 2017-05-02 10:42:50 +02:00
Daniel Gultsch 7c31a981bb unified copy text and share with context menu entries 2017-04-30 21:03:44 +02:00
Daniel Gultsch a5e15d5a10 code cleanup: made conversation property final in message object 2017-04-26 12:43:52 +02:00
Daniel Gultsch 8e0fb6a23a avoid rare race condition when saving draft message 2017-04-25 18:16:55 +02:00
Daniel Gultsch 4d1308e138 fixed click area for pgp key in contact details 2017-04-25 15:23:01 +02:00
Daniel Gultsch 848c339c8d make sure context is not null before setting content description on send button 2017-04-25 14:11:45 +02:00
Daniel Gultsch 9cc37a7bdb re-add redownload context menu entry for deleted files. fixes #2453 2017-04-20 11:52:54 +02:00
Sam Whited 4a915c60e9 Add content description to send button
This can be used by screen readers and other accessibility aids.
2017-04-16 16:37:32 -05:00
Daniel Gultsch 1ac0c2f453 show 'try again' button when remote server wasn't found in previously active muc 2017-04-15 17:18:15 +02:00
Daniel Gultsch 0904ba42f8 use async message loading only when called from UI 2017-04-13 00:12:23 +02:00
Daniel Gultsch 0229a1605e properly unregister bookmark from conversations when deleting bookmark 2017-04-12 23:41:59 +02:00
cijo-saju 3467a67e75 Removed unused imports from entire project. 2017-04-12 20:24:36 +05:30
cijo-saju 5a27da848b Clean up 2017-04-08 11:04:20 +05:30
cijo-saju 41112d29bd Removed unnecessary string builder 2017-04-08 10:12:40 +05:30
cijo-saju ed8336ee54 Made variable local 2017-04-08 10:08:28 +05:30
cijo-saju 11e26e71f6 Code clean up 2017-04-08 10:05:13 +05:30
Daniel Gultsch e98f7e57b0 be more careful with corner cases when mentioning multiple people 2017-04-07 19:47:33 +02:00
Daniel Gultsch 56f202d4b8 do not linkify urls starting with a dot 2017-04-07 14:29:55 +02:00
Daniel Gultsch d91c314ac2 use comma seperation for multiple mentions 2017-04-06 18:06:07 +02:00
Daniel Gultsch 99565a6876 treat URL as file if URL is in oob or contains key 2017-04-05 22:35:42 +02:00
Daniel Gultsch 26badb7f4c send urls pointing to pgp encrypted files directly in body+oob 2017-04-05 21:01:29 +02:00
Daniel Gultsch f75eb6bc43 unread badge: show >999 as infinity symbol 2017-04-05 18:39:27 +02:00
Daniel Gultsch 75749d7c7b Merge branch 'develop' of https://github.com/cijo7/Conversations into cijo7-develop 2017-03-31 09:34:38 +02:00
Daniel Gultsch 9682f4d454 Merge branch 'deprecated-method' of https://github.com/hareshkh/Conversations into hareshkh-deprecated-method 2017-03-31 09:27:22 +02:00
Daniel Gultsch 4bfc54e51d show file size for files smaller 1024 bytes. fixes #2415 2017-03-31 09:26:55 +02:00
cijo-saju 4e898fa4f2 Run in background instead of writing instantaneously 2017-03-30 16:27:11 +05:30
Haresh Khanna c7912ed7ef Changes the deprecated getColor() method 2017-03-29 22:05:35 +05:30
Daniel Gultsch 2302122d8e made a few exceptions to quote parser for emoticons and quotes 2017-03-26 12:29:12 +02:00
Daniel Gultsch 76b9010c39 rework last activity logic to something that should work pretty well in Conversations only enviroments 2017-03-20 17:58:58 +01:00
Daniel Gultsch c2c6904eda offer to block entire domain in message from stranger snackbar. fixes #2391 2017-03-20 12:55:48 +01:00
Daniel Gultsch 4171e2b90e do not show block stranger snackbar when blocking command is unavailable. fixes #2393 2017-03-20 12:16:25 +01:00
Daniel Gultsch 4d2a1afaf9 call EditText.setText() instead of clear because clear causes problems on some keyboards 2017-03-20 00:09:23 +01:00
Daniel Gultsch 6167ddb4a8 don't mark message as delivery_failed when cancel didn't work. fixes #2387 2017-03-19 20:16:11 +01:00
Daniel Gultsch 30ed6b3cec call messageSent() from UI thread after encrypting pgp message 2017-03-19 20:15:07 +01:00
Daniel Gultsch 91a69d7d85 use qr codes instead of aztec. Barcode Scanner is terrible at reading aztec. fixes #2375 2017-03-17 12:56:55 +01:00
Daniel Gultsch 935ac25cbd update unread counter for image messages. fixes #2376 2017-03-17 12:55:33 +01:00
Daniel Gultsch 1fd3bbfe25 display chat states in conferences 2017-03-09 10:58:44 +01:00
Daniel Gultsch 5ea4322d3f send and parse Chat States to and from conferences 2017-03-09 10:58:44 +01:00
Daniel Gultsch cdf2bd07df use async avatar loading in AccountAdapter 2017-03-09 10:58:11 +01:00
Daniel Gultsch c3b2f33956 hide keyboard after setting up account 2017-03-09 10:57:33 +01:00
Daniel Gultsch 8ca16a6f63 do not interpret grin >< as quote 2017-03-08 20:21:04 +01:00
Daniel Gultsch a3b51f7654 do not show 'block stranger' snackbar in empty conversations 2017-03-08 11:54:52 +01:00
Daniel Gultsch 5fae9465d1 show snackbar in conversations with stranger to block. fixes #2358 2017-03-07 11:07:57 +01:00
Daniel Gultsch 857c761c68 fixed sender label for empty conversations 2017-03-07 09:22:42 +01:00
Daniel Gultsch 79b2f34685 added colon to seperate sender and message preview. only show first name 2017-03-06 19:42:27 +01:00
Daniel Gultsch 9f3543a650 Merge branch 'message-marker' of https://github.com/hareshkh/Conversations into hareshkh-message-marker 2017-03-06 19:07:27 +01:00
Haresh Khanna 633aad3193 Adds a message sender label in each conversation for text messages 2017-03-06 23:25:13 +05:30
Daniel Gultsch 1c56b74e41 closing the corresponding conversations after blocking a contact. fixes #2347 2017-03-06 16:53:54 +01:00
Daniel Gultsch cae993a95f renamed enter jid menu item id 2017-03-05 11:40:48 +01:00
Daniel Gultsch bb7780eae6 Merge branch 'issue_#2336' of https://github.com/vikiCoder/Conversations into vikiCoder-issue_#2336 2017-03-05 08:48:01 +01:00
vikiCoder 72537b76c5 fixes #2336 : added an option to directly add a jid to block list from blocklist activity 2017-03-05 01:01:41 +05:30
Daniel Gultsch cb203f5fd3 Keep draft even when correcting previously sent msg
fixes #1822. Thank you @singhalok641
2017-03-04 08:05:42 +01:00
Haresh Khanna f2d2966b31 Squash : Adds number of unread messages for every conversation. Fixes #2181 2017-03-04 04:26:19 +05:30
Daniel Gultsch 5c789b75cc fixed messages vanishing after pgp raised error on editing a message 2017-03-03 15:21:42 +01:00
Daniel Gultsch 58595fccfe show icons in pop menu with reflection. imagespan was not centred vertically 2017-03-03 12:26:33 +01:00
Daniel Gultsch 768d79c621 Merge branch 'issue_#1200' of https://github.com/vikiCoder/Conversations into vikiCoder-issue_#1200 2017-03-03 12:01:00 +01:00
Daniel Gultsch afa34ce15a block send action while encrypting pgp message 2017-03-03 11:56:08 +01:00
vikiCoder 51ef096e01 fixes #1200 : Added icons for the attach options according to material design guidlines 2017-03-03 16:01:44 +05:30
Daniel Gultsch 8cce653a1f changed default setting for enter_is_send on devices with keyboard 2017-03-02 13:03:30 +01:00
Daniel Gultsch ecd53580c0 show 'show inactive keys' button also when there are no active keys 2017-03-01 12:50:46 +01:00
Daniel Gultsch 4cddf31ad2 properly handle onNewIntent() in StartConversations activity
* fixes a glitch a caused xmpp uris not to open when activiy was already started
2017-02-28 11:48:28 +01:00
Daniel Gultsch 0c0ff882a9 make x509 verification node world readable 2017-02-24 19:58:46 +01:00
Daniel Gultsch abaabae853 only change actionbar display options when changed 2017-02-18 18:08:37 +01:00
Daniel Gultsch 2665c3a1e0 rethink mam catchup strategies 2017-02-14 16:50:33 +01:00
Daniel Gultsch 9116782cdc fixed adhoc conference creation behaviour. properly show errors. fixes #2290 2017-02-13 17:32:26 +01:00
Daniel Gultsch 55e9067b27 do not auto link non-http URLs 2017-02-09 20:14:36 +01:00
Daniel Gultsch 8ab166e817 fixed scrolling and async loading of message of new conversation start 2017-02-07 14:03:23 +01:00
Daniel Gultsch 40ee1a0bfc reset messagesLoaded when changing retention settings 2017-01-25 18:35:22 +01:00
Daniel Gultsch f2d9539d90 share uri for bookmark direclty from Start Conversation 2017-01-25 00:15:50 +01:00
Daniel Gultsch 66457c9f2e transcode videos before sharing. change storage location 2017-01-24 20:17:36 +01:00
Daniel Gultsch 9b6ae6d75f configurable local message retention period. (untested) 2017-01-23 17:14:30 +01:00
Daniel Gultsch b48bf39e08 change behaviour of back button to close finish activity. fixes #704 2017-01-22 18:26:47 +01:00
Daniel Gultsch d53c813408 make sure to set open conversations after connection with background service 2017-01-22 13:08:21 +01:00
Daniel Gultsch 96a6460744 don't quote text when '>' is followed by numeber 2017-01-21 11:07:23 +01:00
Daniel Gultsch 97ba0a0d49 write text in bold when highlighted in received muc message 2017-01-20 14:54:59 +01:00
Daniel Gultsch c324f0c8df modified highlight nick behaviour to better work with quotes 2017-01-20 13:45:09 +01:00
Daniel Gultsch 59f82cbd34 fixed regression introduced in previous commit. 2017-01-20 13:44:29 +01:00
Daniel Gultsch 143ad48be1 don't prematurly mark conversation as read during activity start. fixes #2245 2017-01-20 10:43:50 +01:00
Daniel Gultsch 1dcf804618 fixed pgp encrypted text quick sharing. fixes #2237 2017-01-17 15:56:21 +01:00
Daniel Gultsch b085426d22 fixed linkifier 2017-01-15 18:54:15 +01:00
Daniel Gultsch 8e025cbb9e show doze warning when push is running on prosody 2017-01-12 23:22:02 +01:00
Daniel Gultsch 585a538340 don't show key tile in contact details when there are no keys 2017-01-12 20:50:53 +01:00
Daniel Gultsch bfacc180c5 don't allow to purge keys. offer distrut instead 2017-01-12 15:59:13 +01:00
Daniel Gultsch a994d8f847 fixed typo in variable name 2017-01-09 18:05:58 +01:00
Daniel Gultsch b19572ba8c use 7.1 web url pattern matching on old platforms as well. fixes #2228 2017-01-09 17:58:11 +01:00
Daniel Gultsch d192c529e0 add spaces to otr fingerprints copied to clipboard. fixes #2226 2017-01-09 17:57:37 +01:00
Daniel Gultsch b116926bb1 unify getFileUri across share and open intents 2017-01-09 17:00:08 +01:00
Daniel Gultsch 470d244414 Merge branch 'feature-gboardgifs' of https://github.com/illegalprime/Conversations into illegalprime-feature-gboardgifs 2017-01-03 11:44:14 +01:00
Daniel Gultsch 2bb7bc1455 show offline contacts as grayed out in conference details 2017-01-03 11:40:29 +01:00
Michael Eden 5a670c88b0 Do not compress GIFs, allow GBoard to send GIFs 2017-01-01 16:16:35 -05:00
Daniel Gultsch b8b2051f4c get rid of unecessary config debug paramater that has been replaced by exepert setting 2016-12-30 20:23:50 +01:00
Daniel Gultsch 8c34bb3c6f hide inactive devices by default in contact details 2016-12-30 13:17:45 +01:00
Daniel Gultsch 40a9f70478 always open account details when scanning one of our own keys. fixes #2211 2016-12-29 12:50:18 +01:00
Daniel Gultsch 82c2e89d21 stop using broken parallax distance in sliding pane layout 2016-12-25 18:57:30 +01:00
Daniel Gultsch 87746ca2ba remove own fetch errors from device announcement 2016-12-16 17:12:26 +01:00
Daniel Gultsch da914ba09c make sure to display encryption indicatior 2016-12-16 11:30:51 +01:00
Daniel Gultsch 8abfbf82fa use verified symbol instead of colored lock icons 2016-12-09 18:46:32 +01:00
Daniel Gultsch 8eb292d16a don't show unavailable quick actions in settings 2016-12-06 23:44:39 +01:00
Daniel Gultsch 1e7b4030bb show jid monospaced in verify dialog 2016-12-04 13:39:08 +01:00
Daniel Gultsch 1a89915b31 disable 'show blocklist' if blocklist is empty. fixes #2164 2016-12-03 23:49:00 +01:00
Daniel Gultsch a5b3c579c4 redraw options menu after rotation in muc details. fixes #2161 2016-12-03 23:25:31 +01:00
Daniel Gultsch 56991bbaeb add omemo fingerprints to web links as well 2016-12-03 13:37:26 +01:00
Daniel Gultsch 6e289b8738 show warning dialog beforing verifying keys via a link 2016-12-03 13:19:56 +01:00
Daniel Gultsch 599f7dad2c Merge branch 'feature-quotation' of https://github.com/Mishiranu/Conversations into Mishiranu-feature-quotation 2016-12-02 14:01:26 +01:00
Daniel Gultsch 6b0242523b Merge branch 'master' of https://github.com/Fenisu/Conversations into Fenisu-master 2016-12-02 11:25:14 +01:00