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
Daniel Gultsch
e43a01159c
deactive grace period when receiving screen on action
2016-06-01 21:51:46 +02:00
Daniel Gultsch
45cc33ca36
deactivate grace period when coming to foreground
2016-06-01 21:30:50 +02:00
Daniel Gultsch
ea6a008b39
execute phone contact changes in singlethreadexecutor
2016-05-31 17:20:21 +02:00
Daniel Gultsch
9321ccc775
handle app links for conferences
2016-05-30 21:12:04 +02:00
Daniel Gultsch
bc326efd2c
schedule first idle ping on service creation
2016-05-28 16:07:16 +02:00
Daniel Gultsch
bc36f1950f
added idle ping in 10min intervals
2016-05-28 14:44:22 +02:00
Daniel Gultsch
f70fcc7bb8
use first letter to draw tiles for avatars
...
some users or conferences might have emojis in their names
2016-05-27 11:34:12 +02:00
Daniel Gultsch
44833c1499
don't push default muc conf twice
2016-05-27 10:35:00 +02:00
Daniel Gultsch
21ebb35e44
add 'create conference' dialog
2016-05-26 22:53:55 +02:00
Daniel Gultsch
d9ff61ea2e
show contact avatar in muc users unless that contact has its own avatar
2016-05-26 22:37:00 +02:00
Daniel Gultsch
841e718d6a
make newly created conferences private by default
2016-05-26 12:39:31 +02:00
Daniel Gultsch
277e3d59c8
update ui after affiliation changes
2016-05-21 09:25:37 +02:00
Daniel Gultsch
0eb8d4226e
also save form elements in disco storage
2016-05-19 10:41:56 +02:00
Daniel Gultsch
61726f4994
refactored muc item parsing to also parse muc status messages
2016-05-17 14:25:58 +02:00
Daniel Gultsch
fc5304c6fe
change affiliation for in memory users that are currently not joined in a conference
2016-05-16 19:58:36 +02:00
Daniel Gultsch
8d0693ed6a
keep conference members in memory and show them in conference details
2016-05-16 19:58:36 +02:00
Daniel Gultsch
540f6f3d7a
send caps hash in muc join
...
this prevents desktop clients from iq'ing use when they join
2016-05-15 09:54:49 +02:00
Daniel Gultsch
b756d61c45
show presence of other resources as template
2016-05-13 10:45:30 +02:00
Daniel Gultsch
b8c1bd2cba
reset attempt count when reconnecting because of timeout
2016-05-12 21:57:07 +02:00
Daniel Gultsch
7113e21a43
use 'phone' or 'tablet' as default resource
2016-05-12 18:47:41 +02:00
Daniel Gultsch
c37b5af2ca
add lock domain and magic create domain to known hosts
2016-05-10 10:53:44 +02:00
Daniel Gultsch
27b245ac35
do not show last-seen metric in UI
2016-05-10 09:41:30 +02:00
Daniel Gultsch
6e0ec9b924
republish pgp signature when changing status
2016-05-05 13:17:04 +02:00
Daniel Gultsch
12704fa640
refactor captcha response handling to avoid network on main thread exception
2016-05-05 09:58:35 +02:00
klemens
7047d68165
spelling fixes
2016-05-04 10:29:29 +02:00
Daniel Gultsch
06a561743a
ping all accounts at the same time
2016-05-02 14:31:30 +02:00
Daniel Gultsch
9c3e910dc4
prevent user from accidentally changing password after using magic create
2016-04-26 23:23:48 +02:00
Daniel Gultsch
a363e0a5d8
don't create templates for empty status messages
2016-04-23 15:10:35 +02:00
Daniel Gultsch
1901abd05f
expert setting to manually change presence
2016-04-22 21:25:06 +02:00
Daniel Gultsch
1a073ca454
added magic create welcome screen
2016-04-19 18:03:24 +02:00
Daniel Gultsch
eb63cdb9ad
removed unnecessary call to stopSelf() after logging out
2016-04-14 21:45:36 +02:00
Daniel Gultsch
39e717ed94
removed unused call to cancel events
2016-04-14 00:16:59 +02:00
Daniel Gultsch
c53c6cb6b6
create Config varibale to show the disable foreground service button
2016-04-13 18:00:12 +02:00
Daniel Gultsch
594e65bb2b
hacky workaround to determine if uri points to private file on < lolipop
2016-04-13 11:14:36 +02:00
Daniel Gultsch
2a4db01709
reverse order in contact chooser
2016-04-12 18:29:41 +02:00
Daniel Gultsch
7223b5b274
minor code cleanup
2016-04-12 17:52:58 +02:00
Daniel Gultsch
7ff890e513
republish avatar if server offers non-persistent pep :-(
2016-04-11 22:20:32 +02:00
Daniel Gultsch
83fab06508
introduced setting to turn of notification led
2016-04-09 21:48:06 +02:00
Daniel Gultsch
65548ddccb
use startdate as lower bound when querying archive with after=x
2016-04-09 12:31:08 +02:00
Daniel Gultsch
2713fd50c8
use last received message id when querying archive
2016-04-09 10:29:34 +02:00
Daniel Gultsch
0460702710
check file owner when attaching files or using them as avatar
2016-04-07 20:29:40 +02:00
Daniel Gultsch
ecaf75e5ec
better detect broken pep
...
mark pep as broken when publishing bundle or device list failed
reset 'brokenness' when account is getting disabled
2016-04-05 13:31:03 +02:00
Daniel Gultsch
5787687997
removed unnecessary wait for disconnect
2016-04-04 20:07:09 +02:00
Daniel Gultsch
2549ce89b0
check max http file size when attaching files
2016-04-01 00:03:14 +02:00
Daniel Gultsch
74c496fe3e
add methods to check max file size for http upload
2016-03-31 21:56:59 +02:00
Daniel Gultsch
e074104004
save otr fingerprint in message
2016-03-31 21:15:49 +02:00
Christian S
1d458e8ab3
Update ShortcutBadger to version 1.1.4
2016-03-27 20:17:51 +02:00
licaon-kter
6ba90ec43c
Typo attempt
2016-03-22 11:54:45 +02:00
Daniel Gultsch
7df24407dc
be more careful to avoid creating multiple connections
2016-03-20 17:24:41 +01:00
Daniel Gultsch
bc5f64bffe
moved avatarfetcher reset code to bind
2016-03-03 13:33:02 +01:00
Daniel Gultsch
4cb2d0ca93
avoid unnecessary disconnect. prevent NetworkOnMainThreadException
2016-03-03 13:31:59 +01:00
Daniel Gultsch
aaf64732b0
expert option to treat vibrate as silent mode for XA. fixes #1530
2016-03-01 19:00:18 +01:00
Daniel Gultsch
134c75ae01
use correct jid when leaving a conference. fixes #1732
2016-02-29 16:32:24 +01:00
Daniel Gultsch
9e0466d1e6
refactored omemo to take multiple recipients
2016-02-29 13:18:07 +01:00
Daniel Gultsch
3cf21e2d37
Merge pull request #1721 from fiaxh/export_logs_storage_permission
...
Request WRITE_EXTERNAL_STORAGE for ExportLogsPreference in >= M
2016-02-27 11:25:56 +01:00
Daniel Gultsch
7fd6a37e67
disallow message correction by default. fixes #1720
2016-02-26 09:48:58 +01:00
Daniel Gultsch
dc00a92499
execute pending mam queries every time we come online
2016-02-26 09:46:25 +01:00
fiaxh
a88c2d48c0
No possibility of multiple invocation of log export
2016-02-24 15:10:41 +01:00
Daniel Gultsch
d1a456f3e3
made hard coded choice for encryptions more flexible and disable parsing
2016-02-24 14:47:49 +01:00
Daniel Gultsch
17b1fcc3ea
set noMessagesLeftOnServer before conference configuration fetch
2016-02-23 16:15:55 +01:00
Daniel Gultsch
a0d0ed34ae
turned muc errors into enum. added error codes for service shutdown
2016-02-22 20:19:58 +01:00