Commit graph

534 commits

Author SHA1 Message Date
Daniel Gultsch 91db2023d3 use mam reference instead of timestamp 2017-05-07 21:05:35 +02:00
Daniel Gultsch 185dac6953 synchronize around adding query to query map 2017-05-07 15:47:18 +02:00
Daniel Gultsch 404cf808b0 set catchup flag on mam only when doing that 2017-05-04 22:11:46 +02:00
Daniel Gultsch 839178b269 suggest bookmarked conferences servers in join conference dialog 2017-05-04 11:28:54 +02:00
Daniel Gultsch cc1402442a don't load signed prekeys on startup 2017-05-04 11:03:58 +02:00
Daniel Gultsch cec9b9b35a send read marker after reading message in android auto 2017-04-30 21:02:50 +02:00
Daniel Gultsch 84baa3ae68 avoid race conditions when downloading files or decrypting pgp messages and waiting for sm catchup 2017-04-30 16:19:39 +02:00
Daniel Gultsch 15e5ccd1f4 avoid race condition that lead to double notification sound 2017-04-30 13:59:45 +02:00
Johannes Morgenroth adff2baa4a Add messages to Notification for Android Auto on Android M and older
In the previous implementation for Android Auto, messages are only added
on Android N and above. In order to support older Android versions, the
messages need to be added always.
2017-04-29 19:25:57 +02:00
Daniel Gultsch a55d0a691c while restoring state deal with conversations that don't have accounts 2017-04-25 18:17:23 +02:00
Daniel Gultsch e6eb58f2d7 send pgp signature when creating ad hoc conferences 2017-04-25 15:22:31 +02:00
Daniel Gultsch 9f5a089d5c reworked unique id generation for notification intents 2017-04-21 15:13:08 +02:00
Daniel Gultsch c33f4b704c Merge branch 'android-auto-support' of https://github.com/morgenroth/Conversations into morgenroth-android-auto-support 2017-04-20 13:03:18 +02:00
Johannes Morgenroth a4454bcff2 Add reply button in wear design
The existing reply button for Android wear has been re-used from the action
bar. Instead of a 'send' icon, a 'reply' icon better matches the intended
action. Moreover, action icons for Android wear are solid white instead of
half transparent.
2017-04-17 12:19:14 +02: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
Johannes Morgenroth 403eff3d19 Add Android Auto support to notifications
This patch adds required additions in order to show notifications
in Android Auto. Messages are read aloud and voice reply is
offered. The functionaliy has been tested with the Android Auto
standalone app as well as with the DHU simulator as describes
here:

https://developer.android.com/training/auto/testing/index.html
2017-04-14 13:32:01 +02:00
Daniel Gultsch 0904ba42f8 use async message loading only when called from UI 2017-04-13 00:12:23 +02:00
Daniel Gultsch 4fd11a4c2b show first instead of last message in notification preview 2017-04-12 20:54:32 +02:00
cijo-saju 3467a67e75 Removed unused imports from entire project. 2017-04-12 20:24:36 +05:30
Daniel Gultsch 99565a6876 treat URL as file if URL is in oob or contains key 2017-04-05 22:35:42 +02:00
Haresh Khanna c7912ed7ef Changes the deprecated getColor() method 2017-03-29 22:05:35 +05:30
Daniel Gultsch 00e8ba00c4 count messages in backlog to not renotify on prior notifications 2017-03-23 15:34:52 +01: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 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 5ea4322d3f send and parse Chat States to and from conferences 2017-03-09 10:58:44 +01:00
Daniel Gultsch 7747fc0ea1 notify for muc messages after mam catchup 2017-03-08 22:02:09 +01:00
Daniel Gultsch 8502d519c1 changed string from unread conversation to messages in notification 2017-03-07 18:12:33 +01:00
Daniel Gultsch 5b17734287 Merge branch 'dev' of https://github.com/badarsh2/Conversations into badarsh2-dev 2017-03-07 17:21:14 +01:00
Daniel Gultsch 3c951ce2cd set last clear date to time of last message 2017-03-07 11:45:35 +01:00
B Adarsh 87f0c4a646 Modifies notification for MUC conversations
Minor fixes

Replaces html.fromHTML with SpannableString
2017-03-07 16:10:45 +05:30
Daniel Gultsch 7306e0286f do not notify for messages from strangers by default 2017-03-07 10:50:46 +01:00
Daniel Gultsch 1c56b74e41 closing the corresponding conversations after blocking a contact. fixes #2347 2017-03-06 16:53:54 +01:00
Daniel Gultsch 5a00b11594 extract stanza-id from muc reflections 2017-03-06 13:30:13 +01:00
Daniel Gultsch f414998307 use default priority notifications. disables heads up notifications 2017-03-04 21:19:55 +01:00
Daniel Gultsch c740386297 rename the Xmlns class to Namespace 2017-03-01 13:01:46 +01:00
Daniel Gultsch 23a91e5019 use priority low when creating notification without sound/vibration.
should prevent notifcations showing up in ambient display
2017-02-28 15:32:57 +01:00
Daniel Gultsch c7ec82679f Merge branch 'master' of github.com:siacs/Conversations 2017-02-24 20:00:54 +01:00
Daniel Gultsch 8e0e81a603 bump notification priority to high as per android design guidelines 2017-02-24 19:59:13 +01:00
Daniel Gultsch 0c0ff882a9 make x509 verification node world readable 2017-02-24 19:58:46 +01:00
Daniel Gultsch a28116753a Merge pull request #2315 from licaon-kter/lecagy-typo
Fix a typo in legacy
2017-02-19 18:43:21 +01:00
licaon-kter d3dd80eec9 Fix a typo in legacy 2017-02-19 15:47:57 +02:00
Daniel Gultsch 0d00ff0c15 migrate domain and host exemption into seperate class 2017-02-19 13:05:40 +01:00
Daniel Gultsch c69ad8f52c npe checks 2017-02-17 10:26:42 +01:00
Daniel Gultsch 4f0e1b71c0 explicitly turn off vibration when disabled. fixes #1255 2017-02-16 13:31:26 +01:00
Daniel Gultsch caa16a8517 experimental mam legacy compat layer 2017-02-15 16:42:35 +01:00
Daniel Gultsch b90a1fe1db bump mam namespace 2017-02-14 17:19:45 +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 6b81ff70e5 clear avatar cache when system name changes 2017-02-10 20:26:21 +01:00
Daniel Gultsch 24fab162e2 renamed omemo:// to aesgcm:// 2017-02-07 20:07:57 +01:00