Daniel Gultsch
7cf360fabf
do not keep files in waiting when file size exceeds http upload limit in groups. fixes #2533
2017-07-01 19:31:48 +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
cbbf6f439b
add publish-options helper class
2017-06-27 22:50:39 +02:00
Daniel Gultsch
59e39304dd
use DND instead of XA when phone is silent
2017-06-27 12:24:26 +02:00
Ferdinand Pöll
f8e031ac86
Added preference to control Heads-up Notifications (turned off by default)
2017-06-24 15:38:16 +02:00
Daniel Gultsch
2e380ed792
upgrade minidns. refactored dns utils
2017-06-21 23:28:01 +02:00
Daniel Gultsch
f7f6e8dfd5
make launching app shortcuts work with disabled accounts
2017-06-05 10:18:02 +02:00
Daniel Gultsch
51badfa721
enable forground service for sony smartphones by default
2017-06-02 13:00:20 +02:00
Daniel Gultsch
ed7882fe69
fix NPE when bookmark jid is null on creating suggestions
2017-06-01 16:44:35 +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
7cd4ed78b2
synchronize on dedicated lock for catchup instead of account
2017-05-19 13:30:57 +02:00
Daniel Gultsch
41b3df0d43
fall back to jingle only in 1:1. fixes #2482
2017-05-13 08:11:24 +02:00
Daniel Gultsch
2f577097d1
work around for brokens ROMs that expose file uris as notification sound
2017-05-13 08:10:47 +02:00
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
Daniel Gultsch
71ad18beb9
support omemo:// style urls
2017-02-07 19:32:12 +01:00
Daniel Gultsch
6313c3c92e
Merge pull request #2270 from moparisthebest/master
...
Stop Conversations force closing over sqlite errors due to long messages
2017-02-07 17:35:25 +01:00
Daniel Gultsch
8ab166e817
fixed scrolling and async loading of message of new conversation start
2017-02-07 14:03:23 +01:00
moparisthebest
2a34ece571
Stop Conversations force closing over sqlite errors due to long messages
2017-01-30 00:03:51 -05:00
Daniel Gultsch
40ee1a0bfc
reset messagesLoaded when changing retention settings
2017-01-25 18:35:22 +01:00
Daniel Gultsch
a86b2fefd9
add database and file migrations for 1.16.0
2017-01-25 13:22:20 +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
4c6ef3b24e
cleaning up crypto targets when conference member is getting removed
2017-01-22 18:58:49 +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
c03e3b5965
don't include 'before' reference in mam queries bound by timestamp
2017-01-12 20:56:55 +01:00
Daniel Gultsch
fd7216b6a0
finish of backlog only for one particular account
2017-01-12 20:56:27 +01:00
Daniel Gultsch
b050ff2576
only call UI thread from downloading thread every 250ms
2017-01-12 16:02:09 +01:00
Daniel Gultsch
2c1d3ef968
fixed avatar republish missing the mime type
2017-01-12 12:20:10 +01:00
Daniel Gultsch
39bb8ad05f
automatically bookmark private, non-anonymous mucs where inviter is trusted. fixes #2035 #937
2017-01-09 19:54:27 +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
Michael Eden
5a670c88b0
Do not compress GIFs, allow GBoard to send GIFs
2017-01-01 16:16:35 -05:00
Daniel Gultsch
fa70bd7536
disable automatic foreground service activation if related config paramaters are set to zero
2016-12-30 20:24:35 +01:00
Daniel Gultsch
75ee14cfdf
don't reconnect accout when system reports no internet connection
2016-12-10 13:20:05 +01:00
Daniel Gultsch
cbc9c1fb20
add support for RFC7711 to MTM
2016-12-05 21:52:44 +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
Daniel Gultsch
f0f2aab92d
made provider authorities relativ to deal with different package ids
2016-12-01 12:09:49 +01:00
Daniel Gultsch
96a992353b
avoid binding multiple times from BarcodeService
2016-12-01 11:34:04 +01:00
Daniel Gultsch
1b9a91eb2f
renamed foreground service preference
2016-11-30 10:45:39 +01:00
Daniel Gultsch
9e7a54849d
better handle the case when same user is joined with multiple nicks in the same room
2016-11-29 13:43:52 +01:00
Daniel Gultsch
a87f7903c6
always force close a connection when disabling from error state
2016-11-24 12:44:24 +01:00
Daniel Gultsch
20d3a41b52
explictly scan for aztec and qr codes only
2016-11-23 11:01:58 +01:00
Daniel Gultsch
839ef8e14b
introduced blind trust before verification mode
...
read more about the concept on https://gultsch.de/trust.html
2016-11-23 10:42:27 +01:00
Daniel Gultsch
07fe434cc7
added share button to account details
2016-11-22 22:31:46 +01:00
Daniel Gultsch
d2268c6a6f
show proper avatar for 'self' contact. fixes #2138
2016-11-22 12:34:16 +01:00
Daniel Gultsch
d76b0a3104
offer verification directly from the trust keys screen
2016-11-22 12:03:21 +01:00
Daniel Gultsch
6631705aea
use constants for some preferences
2016-11-21 11:03:38 +01:00
Daniel Gultsch
7b99346a4b
when swiping don't clean startup counter entirely. just don't count last startup
2016-11-21 10:48:59 +01:00
Daniel Gultsch
40c747660d
removed some unecessary locking
2016-11-19 13:34:27 +01:00
Daniel Gultsch
3bf2876e09
check if thread was interrupted before doing operations on socket
2016-11-19 10:44:40 +01:00
Daniel Gultsch
d68b7cfcfc
issue ping after network change
2016-11-18 14:00:05 +01:00
Daniel Gultsch
fef601b4ae
lower reconnection time
2016-11-18 13:58:01 +01:00
Daniel Gultsch
0303c28ad9
synchronzie on xmpp service around all state changes
2016-11-18 13:58:01 +01:00
Daniel Gultsch
1ed2445c1d
don't reset last connect time on network change
2016-11-18 13:55:02 +01:00
Daniel Gultsch
211354ee26
put omemo fingerprint in own uri (qr code / nfc)
2016-11-17 22:28:45 +01:00
Daniel Gultsch
7e2e42cb11
parse omemo fingerprints from uris
2016-11-17 20:09:42 +01:00
Daniel Gultsch
4d965e96ed
reset startup count when swiped away (only count kills)
2016-11-17 10:58:26 +01:00
Daniel Gultsch
1d3167b520
extract affiliations from unavailable presence
2016-11-13 19:25:58 +01:00
Daniel Gultsch
fe62ef32ae
don't add outcasts or non-members in members-only rooms back to list
2016-11-12 20:21:11 +01:00
Daniel Gultsch
698ddadbee
brought restart threshold down to 8 times in 8h
2016-11-08 21:37:44 +01:00
Daniel Gultsch
bca8f11c9c
add frequent restart detection
2016-11-08 12:20:07 +01:00
Ignacio Quezada
297c0a792f
Private files using a boolean flag from Config.java.
2016-11-08 11:45:20 +01:00
Daniel Gultsch
7978fd768e
fixed regression of showing delivery failed after receipt
2016-11-07 21:57:08 +01:00
Daniel Gultsch
544c5b4a21
removed unnecessary push_mode
2016-11-02 11:04:33 +01:00
Daniel Gultsch
e582b9fc10
leaving low ping timeout mode after coming online
2016-11-02 09:36:14 +01:00
Daniel Gultsch
a44f35ed69
schedule correct wakeup call when in low ping timeout mode
2016-10-29 21:45:01 +02:00
Daniel Gultsch
8557120ef8
add error message to failed messages. accessible via context menu
2016-10-26 12:26:04 +02:00
Daniel Gultsch
8c1bb058da
connect instantly in low ping mode after going offline
2016-10-23 09:03:17 +02:00
Daniel Gultsch
10398cab51
don't leave low timeout mode prematurely
2016-10-20 20:04:16 +02:00
Daniel Gultsch
0f62ff6736
introduced low ping timeout mode after gcm push
2016-10-20 18:02:11 +02:00
Daniel Gultsch
c3423d6ffe
include pgp signature only in non anonymous mucs
2016-10-19 12:31:11 +02:00
Daniel Gultsch
7226fc0010
update conversation in database background thread
2016-10-18 13:06:24 +02:00
Daniel Gultsch
22d13a3dcd
add exception handling when loading default resource
2016-10-17 09:53:08 +02:00
Daniel Gultsch
9e54fd5c92
don't use sending state on muc pms without smacks
2016-10-09 19:40:30 +02:00
Daniel Gultsch
9efef24a04
reset sending to waiting on every error
2016-10-07 14:54:35 +02:00
Daniel Gultsch
1f7f82da7b
respond to chat marker request only when mutual presence subscription exists
2016-10-07 10:05:08 +02:00
Daniel Gultsch
6d5f23213b
refresh error notification after 'try again'
2016-10-06 22:05:40 +02:00
Daniel Gultsch
40e5090bdd
issue ping after push was received
2016-10-06 18:09:55 +02:00
Daniel Gultsch
8d8cb92e43
try to fix messages stuck at sending
2016-10-06 17:23:35 +02:00
Daniel Gultsch
082c06a486
make error notification dismissable. fixes #1815
2016-10-04 11:16:59 +02:00
Daniele Gobbetti
41db773b08
Allow to dismiss the notification from a wear reply.
...
- use different IDs in the same method for the PendingIntent
- fix reply for GPG encrypted replies (untested)
2016-09-27 17:39:23 +02:00
Daniel Gultsch
1339b9c464
don't reset encryption choice to auto on archiving
2016-09-24 21:29:00 +02:00
Daniel Gultsch
343d895a26
don't react to null and empty voice replies
2016-09-21 19:04:16 +02:00
Daniel Gultsch
7eac903277
add support for XEP-0377: Spam Reporting
2016-09-18 23:21:05 +02:00
Daniel Gultsch
7b445bc4c7
use history clear date as minimum date for mam
2016-09-16 11:07:52 +02:00
Daniele Gobbetti
e6e46651c9
Use the last message in the content text instead of the first.
...
This fixes the issue where the first message in the notification was sent to pebble
(and possibly to other wear devices) for every update in the conversation, as
reported in #1249 .
This is the same patch propoed in https://github.com/siacs/Conversations/issues/1249#issuecomment-245878335
2016-09-11 18:42:05 +02:00
Daniel Gultsch
c3b11e515e
download own vcard avatar if none is set. fixes #2008
2016-09-09 11:04:05 +02:00
Daniel Gultsch
416481bb65
be a bit more careful when deleting and deactivating accounts
2016-09-07 14:34:58 +02:00
Daniel Gultsch
e1d2c32e63
show server not found muc error
2016-09-06 12:15:08 +02:00
Daniel Gultsch
257d1e42d8
remove explicit pebble support. treat as wear device
2016-09-06 12:14:49 +02:00
Daniel Gultsch
7e81149869
show reply action on wear devices
2016-09-06 12:13:50 +02:00
Daniel Gultsch
d2c475d501
don't crash when correcting waiting pgp encrypted messages
2016-09-04 22:59:15 +02:00
Daniel Gultsch
f14ab4c391
don't show duplicate nofications on android 4
2016-08-31 17:02:42 +02:00
Daniel Gultsch
2c187d0e7c
mark conversation as read when swiping a notification with quick reply away
2016-08-27 15:25:37 +02:00
Daniel Gultsch
caafd03130
don't automatically download files and avatars when datasaver is on
2016-08-27 13:35:52 +02:00
Daniel Gultsch
3d5940cb76
bring back connectivity changed events on android n
2016-08-27 12:15:25 +02:00
Daniel Gultsch
e33d8451a8
attach contact to notification
2016-08-26 13:35:01 +02:00
Daniel Gultsch
910b38ec13
add file provider to share files on android n
2016-08-25 22:41:33 +02:00
Daniel Gultsch
2e4713897d
offer quick reply on android N
2016-08-25 17:30:44 +02:00
Daniel Gultsch
542626758d
use N style stacked notifications
2016-08-25 15:20:06 +02:00