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
Daniel Gultsch
0b9d38cf32
send register IQs without full from
2016-08-25 13:50:54 +02:00
Daniel Gultsch
343bb7ff28
don't close otr session on every presence change
2016-08-13 12:43:06 +02:00
Daniel Gultsch
94aee445e7
start file observer in background
2016-08-13 12:40:48 +02:00
Daniel Gultsch
9bfdbc708e
close tcp connection after 30s of inactivity when in push_mode
2016-08-09 19:21:54 +02:00
Daniel Gultsch
856029a611
don't do idle ping if close_tcp option is set
2016-08-09 17:26:18 +02:00
Daniel Gultsch
d02e24248f
catch platform bug when getting ringer mode
2016-08-02 10:58:31 +02:00
Daniel Gultsch
1b114beb0b
add logging when swiping away from recents is being ignored
2016-07-31 22:32:10 +02:00
Daniel Gultsch
0e96e0a796
show identity type for device selection
2016-07-28 22:58:37 +02:00
Daniel Gultsch
dbab43e423
fixed rare null pointer in avatar creation
2016-07-27 20:11:22 +02:00
Daniel Gultsch
58a3ef46ce
fixed regression in file delete detection due to missing !
2016-07-26 20:44:28 +02:00
Daniel Gultsch
82908fb54b
added more logging for file deletion
2016-07-26 20:43:05 +02:00
Daniel Gultsch
198a9f2226
refactored how view intents are handled
...
processing view intents before saved instance caused troubles when the activity was destroyed
fixes #1969
2016-07-25 14:16:09 +02:00
Daniel Gultsch
89a05265ea
refactored deleted file detection to monitor entire sd card. fixes #1968
2016-07-23 16:12:45 +02:00
Daniel Gultsch
e90e333f29
allow message correction by default since security implications are negligible
...
Conversations only allows correction of the *last* message. so nudging a message into oblivion by adding a message correction doesn't work. also conversations checks the fingerprint for encrypted messages
2016-07-17 22:42:37 +02:00
Daniel Gultsch
ff1b23b4d9
call update file params from thread
...
now that file params has more work to do we should make sure we always call it from a sperate thread
2016-07-13 00:20:38 +02:00
Daniel Gultsch
28dc888159
display toast on pgp error
2016-06-19 11:08:17 +02:00
Daniel Gultsch
37e7175a86
log reason for not showing notification
2016-06-19 11:04:59 +02:00
Daniel Gultsch
49de43b364
clear muc tiles when avatar of member changes
2016-06-14 17:11:31 +02:00
Daniel Gultsch
587fb3cca3
refactored pgp decryption
2016-06-13 13:32:14 +02:00
Daniel Gultsch
4bf9a1e809
use darker colors for actionbar on dark theme
2016-06-10 20:15:09 +02:00
Daniel Gultsch
cb7c47bc62
catch conversations sort exception. not vital at this point
2016-06-09 14:50:13 +02:00
Daniel Gultsch
7a97da6d21
swap sending presence and csi
2016-06-04 22:42:12 +02:00
Daniel Gultsch
71e9117176
opt-in to send last userinteraction in presence
2016-06-04 16:16:14 +02:00
Daniel Gultsch
e402348f9b
disconnect account in background after deletion. fixes #1861
2016-06-03 14:18:43 +02:00