Daniel Gultsch
1dc55f72e3
don't use fileprovider when opening files on android M and below
2016-09-04 22:59:40 +02:00
Daniel Gultsch
d2c475d501
don't crash when correcting waiting pgp encrypted messages
2016-09-04 22:59:15 +02:00
Daniel Gultsch
aca7054174
fixed recreation issues in StartConversationActivity
2016-08-31 17:04:43 +02:00
Daniel Gultsch
f7d8580969
fixed typo
2016-08-31 17:02:50 +02:00
Daniel Gultsch
f14ab4c391
don't show duplicate nofications on android 4
2016-08-31 17:02:42 +02:00
Daniel Gultsch
7917c19d18
broader exception catchers
2016-08-30 13:15:00 +02:00
Daniel Gultsch
3685c8cd2a
use file provider for taking pictures
2016-08-30 13:14:38 +02:00
Daniel Gultsch
d32cbcc70d
don't show up navigation in startConversation when there are no open conversations
2016-08-30 13:13:06 +02:00
Daniel Gultsch
af329eff46
add more logging to pgp engine
2016-08-30 13:12:09 +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
78e962ce67
don't overwrite edited information in editaccount on rotate
2016-08-26 21:48:14 +02:00
Daniel Gultsch
ea0e6d0619
don't set notification mode to background when on pause
2016-08-26 21:13:33 +02:00
Daniel Gultsch
fd54dc5aff
wrap dynamic tags into multiple lines. fixes #2003
2016-08-26 16:34:42 +02:00
Daniel Gultsch
76cbb4f727
some multi-window optimizations. set min width to 300
2016-08-26 16:05:38 +02:00
Daniel Gultsch
e33d8451a8
attach contact to notification
2016-08-26 13:35:01 +02:00
Daniel Gultsch
f931c08da7
add snackbar for request presence subscription
2016-08-26 10:19:59 +02:00
Daniel Gultsch
b52f079292
always display allow contact perm dialog after intro
2016-08-26 10:19:42 +02:00
Daniel Gultsch
9e0145a8f6
survive rotation in editaccount
2016-08-26 09:10:59 +02:00
Daniel Gultsch
e98ab37c9d
made payment required error standard compliant
2016-08-25 23:42:42 +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
f1ecbf2ff8
made image preview size smaller for low res images
2016-08-25 13:46:33 +02:00
Daniel Gultsch
8927ba8065
various null pointer checks
2016-08-20 10:44:50 +02:00
Daniel Gultsch
a0038565c5
pulled translations from transifex
2016-08-19 21:47:51 +02:00
Daniel Gultsch
285d86b375
display error status for missing internet permission
2016-08-19 21:47:08 +02:00
Daniel Gultsch
cf909afc60
check for rare null pointer platform bug in share intent handling
2016-08-19 21:46:47 +02:00
Daniel Gultsch
2a139a4b47
Merge pull request #1987 from licaon-kter/patch-2
...
Make 'export log' option function clearer
2016-08-16 10:49:04 +02:00
Daniel Gultsch
0528a47b8a
pulled translations from transifex
2016-08-16 10:45:52 +02:00
Daniel Gultsch
b5d3859b22
add payment required error
2016-08-16 10:39:59 +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
4736d12e99
make lastMessageTransmitted return max(clear_date,last_message)
2016-08-13 12:36:30 +02:00
Daniel Gultsch
eb8b6165d7
be more careful in recursive file observer. limit depth
2016-08-13 12:35:10 +02:00
licaon-kter
81b0f60860
Clear export option function
2016-08-11 21:07:25 +03:00
Daniel Gultsch
08725ba2bb
use direct ssl when port was manually set to 5223
...
this should create a work around for the oracle xmpp server
2016-08-10 12:34:05 +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
a51de9fcd9
explictly set account status to offline when waiting for push
2016-08-09 17:25:45 +02:00
Daniel Gultsch
121312d103
catch all throwables when parsing xml
2016-08-02 10:58:54 +02:00
Daniel Gultsch
d02e24248f
catch platform bug when getting ringer mode
2016-08-02 10:58:31 +02:00
Daniel Gultsch
8b331895d1
catch NPE in getVideoPreview() because getFrame sometimes returns null
2016-08-02 10:57:50 +02:00
Daniel Gultsch
ed2fa20414
handle invalid prekey ids in bundle
2016-08-02 10:40:24 +02:00
Daniel Gultsch
9dc8e3db9d
set tablet, phone or pc identity
2016-07-31 22:32:51 +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
3c48b14448
catch exception when trying to get video preview of pgp encrypted file
2016-07-31 22:31:47 +02:00
Daniel Gultsch
0e96e0a796
show identity type for device selection
2016-07-28 22:58:37 +02:00
Daniel Gultsch
04976fe333
pulled translations from transifex
2016-07-28 22:41:14 +02:00
Daniel Gultsch
178229ac60
add OS to version response
2016-07-27 20:58:13 +02:00
Daniel Gultsch
dbab43e423
fixed rare null pointer in avatar creation
2016-07-27 20:11:22 +02:00
Daniel Gultsch
cf7df84cab
add trillian to html otr parsing fixes #1963
2016-07-27 20:11:02 +02:00
Daniel Gultsch
701140fe92
pulled translations from transifex
2016-07-27 20:01:09 +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
3409399ef1
display specific error message when password is too weak on registration
2016-07-25 15:57:47 +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
3d372cb339
feed version response from app name instead of static variable
2016-07-22 18:22:21 +02:00
Daniel Gultsch
6dcce76568
don't crash when opening 'xmpp:' uris
2016-07-22 16:33:09 +02:00
Daniel Gultsch
3a5735e717
provide black background video thumbnail if preview couldn't be generated
2016-07-22 16:32:38 +02:00
Daniel Gultsch
e9c00c0427
push file offered notification when initial HTTP HEAD req. fails
2016-07-21 19:17:26 +02:00
Daniel Gultsch
c8188ee52c
offer back/cancel button when using magic create
2016-07-21 19:16:41 +02:00
Daniel Gultsch
2843a0af26
announce OTR support as per XEP-0378
2016-07-17 22:51:40 +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
eb3ac1c326
additional null pointer checks when verifying otr keys
2016-07-17 22:02:08 +02:00
Daniel Gultsch
3e50d4831f
show toast hint when touching inactive omemo fingerprints
2016-07-17 20:31:04 +02:00
Daniel Gultsch
baa149924a
show error notification in connecting state as well
2016-07-14 23:23:13 +02:00
Daniel Gultsch
1db85e582e
add more error states for stream errors
2016-07-14 17:05:43 +02:00
Daniel Gultsch
2803d342e1
include pgp and omemo fallback message only when unencrypted is enabled
2016-07-14 16:06:05 +02:00
Daniel Gultsch
223d50c1a0
don't take stanza-id into account when deduping muc pms
2016-07-14 09:01:15 +02:00
Daniel Gultsch
27690865a6
respond to XEP-0202: Entity Time
2016-07-13 18:10:10 +02:00
Daniel Gultsch
58d5d2a1be
don't time out disco request but just send bind request
2016-07-13 00:20:57 +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
be4aa2afc9
show a preview for video files
2016-07-11 21:24:33 +02:00
Daniel Gultsch
57e51bc735
don't crash when tabbing through muc user list with offline users
2016-07-08 13:24:14 +02:00
Daniel Gultsch
cdee91363c
simplified muc users ordering
2016-07-04 19:30:19 +02:00
Daniel Gultsch
ac8aa63916
do not crash on jingle connection when contact doesn't use disco
2016-07-04 19:29:46 +02:00
Daniel Gultsch
09aba0a062
pulled translations from transifex
2016-07-01 13:08:44 +02:00
Daniel Gultsch
9efa242d96
use direct invites to re-invite muc members
2016-06-30 23:09:16 +02:00
Daniel Gultsch
30110431ba
use dnd as overriding status
2016-06-30 23:08:55 +02:00
Daniel Gultsch
91c3732c63
don't show 'disable foreground service' button. fixes #1933
2016-06-29 17:20:27 +02:00
Daniel Gultsch
f7933c26d7
don't crash on broken base64 in omemo messages. fixes #1934
2016-06-29 17:18:57 +02:00
Daniel Gultsch
1d79a677c8
support jingle ft:4 to be compatible with swift
...
Conversations and Gajim both have an implementation bug that sends the jingle session id instead of the transport id (compare XEP-260 2.2). This commit has a work around for this that remains buggy when using ft:3. If gajim is ever to fix this we will be incompatbile. gajim should implement ft:4 instead. (gajim to gajim is broken as well)
2016-06-29 17:16:40 +02:00
Daniel Gultsch
b5caa8fa35
don't show 'create conference' toast on invite
2016-06-28 10:34:43 +02:00
Daniel Gultsch
8882c6b6fd
parse §5.1.2 full jids from muc archives for OMEMO messages
2016-06-28 10:33:46 +02:00
Daniel Gultsch
e63d6b4bf2
only keep offline members in members only conferences
2016-06-28 10:32:06 +02:00
Daniel Gultsch
e52f662569
pulled translations from transifex
2016-06-25 13:07:22 +02:00
Daniel Gultsch
72a2622c84
introduced share button in contact details. remove show qr
2016-06-24 15:16:01 +02:00
Daniel Gultsch
97fe14c4be
code cleanup in jingle socks5 transport
2016-06-24 13:36:37 +02:00
Daniel Gultsch
78e3afc1af
show error toasts on ui thread
2016-06-24 13:36:06 +02:00
Daniel Gultsch
d2ca0c7fe8
catch exceptions when retrieving uri file extension
2016-06-24 13:35:39 +02:00
Daniel Gultsch
4d5e0c291e
remove white spaces from hostname
2016-06-22 12:23:11 +02:00
Daniel Gultsch
982a20fef5
refactor code that reads real jid from muc
2016-06-22 12:22:57 +02:00
Daniel Gultsch
4ba5472d0c
respond to block list push
2016-06-22 12:22:36 +02:00
Daniel Gultsch
d28d968985
make sure that we always release wake lock even after throwing exception
2016-06-22 12:22:03 +02:00
Daniel Gultsch
34454ef2ec
synchronize stanza count increment and write
2016-06-22 12:21:33 +02:00
alexxthehood
e88f01923f
Update create_conference_dialog.xml
...
Updated to the text color attribute so it fits to the bright and dark theme appropriately.
2016-06-21 19:08: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
85c82d9b3b
remove ascii control chars when creating xml
2016-06-19 00:07:15 +02:00
Daniel Gultsch
f91d16cbe7
don't fail on missing jid in bookmarks
2016-06-16 20:38:35 +02:00
Daniel Gultsch
b92b3863b9
don't handle chat states in muc or from archive
2016-06-16 20:38:02 +02:00
Daniel Gultsch
fc3aefd56e
show toast when connection to openkeychain could not be made
2016-06-16 20:37:32 +02:00
Daniel Gultsch
dcc13d7a3d
log download failure caused by missing content length
2016-06-16 20:36:51 +02:00
Daniel Gultsch
48a7818e88
mark used otr fingprint in contact details and highlight pgp
2016-06-16 12:12:24 +02:00
Daniel Gultsch
1eb776f39c
synchronize message body changes for message correction
2016-06-16 11:47:40 +02:00
Daniel Gultsch
f8b1e8098c
extract relevant extension from file name when processing share intent
2016-06-16 11:46:25 +02:00
Daniel Gultsch
60588af825
replace corrected messages in decryption queue
2016-06-15 14:29:25 +02:00
Daniel Gultsch
f99f21ab9b
pulled translations from transifex
2016-06-15 14:11:27 +02:00
Daniel Gultsch
5f4471a45e
only dismiss sent message after encryption
2016-06-15 13:53:34 +02:00
Daniel Gultsch
cb5393c32f
refresh UI to redraw message hint after switching to pgp
2016-06-15 13:52:49 +02:00
Daniel Gultsch
5f40a7042d
delay notification until after pgp decryption
2016-06-15 12:44:29 +02:00
Daniel Gultsch
e0575642b5
log all fail reasons
2016-06-15 12:33:59 +02:00
Daniel Gultsch
73679b97f1
show xep-0172 nick only for contacts with mutual presence subscription
2016-06-15 09:44:01 +02:00
Daniel Gultsch
49de43b364
clear muc tiles when avatar of member changes
2016-06-14 17:11:31 +02:00
Daniel Gultsch
f9600b950f
sort muc users by affiliation, name. fixes #1913
2016-06-14 14:41:32 +02:00
Daniel Gultsch
95a51ea2e0
synchronize access to stanza queue
2016-06-14 10:17:37 +02:00
Daniel Gultsch
39ad426ca9
remove messages from decryption queue when trimming a conversation
2016-06-13 19:06:09 +02:00
Daniel Gultsch
40f81f19df
make sure tagwriter is clear before force closing socket
2016-06-13 19:05:32 +02:00
Daniel Gultsch
587fb3cca3
refactored pgp decryption
2016-06-13 13:32:14 +02:00
Daniel Gultsch
ea667a1a73
pulled translations from transifex
2016-06-12 14:49:21 +02:00
Daniel Gultsch
f4e3cd5098
actually do add fall back message for omemo
2016-06-12 14:49:04 +02:00
Daniel Gultsch
c4680e3198
make text color of last-seen match theme
2016-06-12 13:15:28 +02:00
Daniel Gultsch
31dd7b5a21
parse real jid from muc mam messages. (disabled)
...
parsing this is dangerous if server doesn't filter properly
thus it is disabled in config
2016-06-12 12:50:53 +02:00
Daniel Gultsch
74d376be68
close db cursor after reading cert
2016-06-12 12:50:31 +02:00
Daniel Gultsch
5017e8564c
made background color of swiped conversations darker
2016-06-10 23:22:16 +02:00
Daniel Gultsch
a70f57358e
use darker green as background for chat bubbles in dark theme
2016-06-10 22:39:02 +02:00
Daniel Gultsch
4bf9a1e809
use darker colors for actionbar on dark theme
2016-06-10 20:15:09 +02:00
Daniel Gultsch
4b9b7257a9
pulled translations from transifex
2016-06-09 21:00:51 +02:00
Daniel Gultsch
cb7c47bc62
catch conversations sort exception. not vital at this point
2016-06-09 14:50:13 +02:00
Daniel Gultsch
33a02faad9
fixed spelling in last activity summary
2016-06-08 21:36:29 +02:00
Daniel Gultsch
a018935b23
pulled translations from transifex
2016-06-08 20:17:10 +02:00
Steffen Keiper
7932244c51
Dark theme, theme switch, icons, style, strings
...
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-06-08 20:07:40 +02:00
Daniel Gultsch
b88128241e
Merge pull request #1895 from pp3345/right-alt
...
Do not treat Right Alt key as a modifier for key combos
2016-06-05 23:19:56 +02:00
Yussuf Khalil
92bad0fa1e
Do not treat right alt key as a modifier for key combos
2016-06-05 20:21:44 +02:00
Daniel Gultsch
36ae840d76
log all background stanzas when background logging is enabled
2016-06-05 02:04:31 +02:00
Daniel Gultsch
7a97da6d21
swap sending presence and csi
2016-06-04 22:42:12 +02:00
Daniel Gultsch
794353ad0c
renamed last activity to last user interaction
2016-06-04 22:37:14 +02:00
Daniel Gultsch
71e9117176
opt-in to send last userinteraction in presence
2016-06-04 16:16:14 +02:00
Daniel Gultsch
7398424f3b
trim nick from bookmark before checking if it's empty
2016-06-03 19:24:11 +02:00
Daniel Gultsch
e26d842549
don't use a bookmarks name if it's empty
2016-06-03 18:43:45 +02:00
Andreas Straub
17c62b5991
Fix typo
2016-06-03 18:16:44 +02:00
Daniel Gultsch
161fdf7340
throw writeexecption in downloader if flush fails
2016-06-03 14:27:05 +02:00
Daniel Gultsch
e402348f9b
disconnect account in background after deletion. fixes #1861
2016-06-03 14:18:43 +02:00
Daniel Gultsch
583aba1b44
print specific toast when download failed because of write error
2016-06-02 21:37:52 +02:00
Daniel Gultsch
594aab56db
fixed regression that would not show clear devices
2016-06-02 20:46:01 +02:00
Daniel Gultsch
25211f13b3
make grace period configurable
2016-06-02 00:24:37 +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
20ba1add1e
pulled translation from transifex
2016-06-01 11:38:57 +02:00
Daniel Gultsch
91732b89ea
log background msgs not foreground msgs
2016-06-01 11:37:03 +02:00
Daniel Gultsch
add8e2cb74
don't replace \n\t\r
2016-06-01 09:04:08 +02:00
Daniel Gultsch
15316e6a7f
only log inner stanza but display isCarbon
2016-06-01 09:03:21 +02:00
Daniel Gultsch
5c5d5cc4e3
don't show empty templates
2016-06-01 00:25:14 +02:00
Daniel Gultsch
24ea66c9fc
display invite again menu item for offline members
2016-06-01 00:12:14 +02:00
Daniel Gultsch
ffba53777c
check if session is optional
2016-05-31 23:09:45 +02:00
Daniel Gultsch
ea6a008b39
execute phone contact changes in singlethreadexecutor
2016-05-31 17:20:21 +02:00
Daniel Gultsch
1838023c88
log failure reason in http upload on wrong response code
2016-05-31 17:19:56 +02:00
Daniel Gultsch
b3337c4ad7
don't scroll to pos 0 when uuid wasn't found
2016-05-31 16:44:59 +02:00
Daniel Gultsch
6d0e5f4354
pulled translation from transifex
2016-05-30 21:16:04 +02:00
Daniel Gultsch
5b9ba79495
use whitespace as message seperator
2016-05-30 21:12:19 +02:00
Daniel Gultsch
9321ccc775
handle app links for conferences
2016-05-30 21:12:04 +02:00
Daniel Gultsch
8eb1640a26
remove unicode control chars before sending
2016-05-30 21:11:34 +02:00
Daniel Gultsch
be0fc59314
handle app links with @ in them
2016-05-30 13:06:42 +02:00
Daniel Gultsch
272cffe797
Revert "always notify by default in conferences"
...
This reverts commit e9494af098
.
Now that new conferences are private by default this setting makes more sense
2016-05-29 22:55:01 +02:00
Daniel Gultsch
ea18ceae4a
avoid npe when sending omemo messages to group
2016-05-29 21:25:27 +02:00
Daniel Gultsch
49cefd1c0c
handle app links
...
invites in the form of https://conversations/i/localpart/domainpart
2016-05-29 20:44:58 +02:00
Daniel Gultsch
9afafe387a
fix creation of conferences with 1 participant
2016-05-29 20:21:53 +02:00
Daniel Gultsch
d89d7ade84
pulled translations from transifex
2016-05-29 13:00:02 +02:00
Daniel Gultsch
c3ec3ea70a
don't merge messages over the char limit
2016-05-29 10:32:07 +02:00
Daniel Gultsch
2c55954ddd
show in ui when text was shortened
2016-05-29 01:14:45 +02:00
Daniel Gultsch
aaf5233efe
limit text size in message adapter to 2k and also limit text size in conversations adapter
2016-05-28 23:48:39 +02:00
Daniel Gultsch
422fd1847f
only rendering first 5k chars of each message
2016-05-28 23:13:47 +02:00
Daniel Gultsch
fde27f447f
count xmpp uris when disableing text selection
2016-05-28 17:01:05 +02:00
Daniel Gultsch
b3f50d1ad0
Merge branch 'master' of https://github.com/gjedeer/Conversations into gjedeer-master
2016-05-28 16:07:25 +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
ae7543bbfc
put bug report jid in config. include package signature in report
2016-05-28 11:04:18 +02:00
Daniel Gultsch
06bef5de8d
use EOT as message seperator
2016-05-28 11:03:29 +02:00
Daniel Gultsch
25f6651848
pulled translations from transifex
2016-05-27 20:07:39 +02:00
Daniel Gultsch
29bd1103c0
refactored toasts shown when adhoc creating mucs
2016-05-27 20:05:40 +02:00
Daniel Gultsch
a241ab66de
use activity title 'choose participants' when doing that
2016-05-27 19:17:57 +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
GDR!
82c3cbaf2a
Add geo: link support in longer messages
2016-05-26 23:26:38 +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
c4e82eb3f8
change hint in edit subject dialog
2016-05-26 12:39:04 +02:00
Daniel Gultsch
c06e2787c7
sending warning to receiving client if that client doesn't support omemo.
...
fixes #1873
2016-05-25 23:24:36 +02:00
Daniel Gultsch
83adbb6052
hide fingerprints in UI if encryption is disabled
2016-05-25 22:12:13 +02:00
Daniel Gultsch
5137837f6d
only publish keys if omemo is enabled
2016-05-25 21:55:01 +02:00
Daniel Gultsch
c65c314801
only subscribe to omemo pep events if omemo is enabled
2016-05-25 21:54:46 +02:00
Daniel Gultsch
79796b0079
don't respond to otr messages in muc pms
2016-05-25 21:05:51 +02:00
Daniel Gultsch
b69ab65b12
show regitration failed try again later in UI
2016-05-24 13:26:30 +02:00
Daniel Gultsch
abbdf232c6
show hint in subject quick edit. only show subject as preset
2016-05-22 18:20:57 +02:00
Daniel Gultsch
d84cf4e6d1
pulled translations from transifex
2016-05-22 17:53:10 +02:00
Daniel Gultsch
e5b8302fd9
show first unread message on top after reinit
2016-05-22 17:52:27 +02:00
Daniel Gultsch
a8420c9ad0
disable stanza logging
2016-05-21 10:45:10 +02:00
Daniel Gultsch
277e3d59c8
update ui after affiliation changes
2016-05-21 09:25:37 +02:00
Daniel Gultsch
e1cf7b8cb6
refactore exceptionhandler to have one line file writer
2016-05-21 08:54:29 +02:00
Daniel Gultsch
9ce2cfa3d2
resetting fetch status error when mutual subscription is reestablished
2016-05-19 10:47:27 +02:00
Daniel Gultsch
8d595c1fc2
sync around individual calls instead of synchronizing entire object
2016-05-19 10:47:03 +02:00
Daniel Gultsch
ef27055434
show password dialog when account was magic created
2016-05-19 10:46:19 +02:00
Daniel Gultsch
3f65b0e985
access disco over caching mechanism instead of querying db
2016-05-19 10:44:16 +02:00
Daniel Gultsch
70497318dd
remove unwanted 'use previous encryption' lookup
2016-05-19 10:42:57 +02:00
Daniel Gultsch
0eb8d4226e
also save form elements in disco storage
2016-05-19 10:41:56 +02:00
Daniel Gultsch
627bf18f8c
don't NPE on rare race condition while fetching MAM
2016-05-19 10:40:03 +02:00
Daniel Gultsch
afa3883089
synchronize around identity key generation
2016-05-19 10:39:47 +02:00
Daniel Gultsch
b478eca315
improved ordering of muc participants
2016-05-17 15:01: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
14952ba5e5
offer offline members to be invited again
2016-05-17 10:43:48 +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
d7c5264ad0
cap exponential backoff at 300s (10 attempts)
2016-05-16 19:58:24 +02:00
Daniel Gultsch
331cbf3696
cap messages after 256 lines in UI
2016-05-16 19:52:10 +02:00
Daniel Gultsch
6f1a4494eb
use the same typo in both saving disco and reading disco
2016-05-15 12:35:51 +02:00
Daniel Gultsch
cf5ca27a06
escape HTML in OTR messages if other client is Pidgin
2016-05-15 12:35:31 +02:00
Daniel Gultsch
c9e9dc2ef2
include name in locations received in MUCs
2016-05-15 11:08:00 +02:00
Daniel Gultsch
a25912c32c
log incoming iq requests
2016-05-15 09:55:06 +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
6a28b5a9fa
don't show duplicate status message in contact details
2016-05-13 11:57:02 +02:00
Daniel Gultsch
e41a9483bd
only default to omemo when all our devices support it
2016-05-13 11:47:29 +02:00
Daniel Gultsch
aced9d2697
do not process self presence
...
we don't want our own resource show up in the self contact
2016-05-13 11:20:27 +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
2014f388b1
interrupt XMPPConnection Thread
...
in some cases the the DNS query might take too long (even though we specified a timeout)
if that happens we need a secondary solution (besides killing the socket) to stop the thread
2016-05-12 21:54:46 +02:00
Daniel Gultsch
cbdb413613
prefer IPv4 DNS servers
...
some devices might have problems contacting the IPv6 DNS server while in sleep mode
2016-05-12 21:39:47 +02:00
Daniel Gultsch
f4369b29ae
improve keyboard handling. fixes #1387
...
* start a new Conversations by pressing mod+space
* automatically start searching when pressing keys in StartConversationsActivity
* when hitting enter when number of search results == 1 open that conversation
2016-05-12 18:49:54 +02:00
Daniel Gultsch
7113e21a43
use 'phone' or 'tablet' as default resource
2016-05-12 18:47:41 +02:00
Daniel Gultsch
908aa19a36
make omemo default when all resources support it
2016-05-12 14:20:11 +02:00
Daniel Gultsch
09e20f6e01
check if pgpengine is still bound before using it
2016-05-12 11:30:53 +02:00
Daniel Gultsch
1bc92482e9
scroll to bottom after sending multi-line message
2016-05-12 10:39:04 +02:00
Daniel Gultsch
cc209afc51
stop processing PreKeyWhisperMessage if there is no PreKeyId
...
fixes #1832
2016-05-10 18:11:13 +02:00
Daniel Gultsch
8e3948e495
don’t let attempt count fall below zero
2016-05-10 17:48:09 +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
e542dd3923
always show download button when link is encrypted
...
dont check for known mime type
2016-05-10 10:32:25 +02:00
Daniel Gultsch
549be9bb3d
report host-account as account state in UI
2016-05-10 10:29:02 +02:00
Daniel Gultsch
27b245ac35
do not show last-seen metric in UI
2016-05-10 09:41:30 +02:00
Daniel Gultsch
488780d2ce
fix logging wrong variable for failed resume
2016-05-08 21:53:45 +02:00
Daniel Gultsch
6f3b8f64d1
check for h attribute in 'failed' nonza
2016-05-08 21:45:18 +02:00
Daniel Gultsch
fb7525e0b9
catch all exceptions thrown by xml pull parser
2016-05-07 11:34:45 +02:00
Daniel Gultsch
76889b9c58
handle invalid base64 is SASl SCRAM response
2016-05-07 11:34:17 +02:00
Daniel Gultsch
e2d3bef739
Merge pull request #1829 from sebastianv89/patch-1
...
Remove copy of innerkey
2016-05-05 20:23:03 +02:00
Daniel Gultsch
a7cd05bd4e
report bind failure as account state
2016-05-05 20:22:47 +02:00
Daniel Gultsch
0157039e87
log more information about HTTP’s max upload size
2016-05-05 19:34:44 +02:00
Sebastian
544e1dee65
Remove copy of innerkey
...
The line overwrites this.innerkey with the value that was already there.
2016-05-05 17:09:01 +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
Daniel Gultsch
c27663c456
clear password field before setting new one
2016-05-04 18:23:36 +02:00
Daniel Gultsch
fb41a4ffaa
fixed npe when calling changepassword activity directly
2016-05-04 18:22:17 +02:00
Daniel Gultsch
16eb1bfbd0
pulled translations from transifex
2016-05-04 13:19:07 +02:00
klemens
7047d68165
spelling fixes
2016-05-04 10:29:29 +02:00
Sebastian
cf374ec4ef
Renaming of variable
...
Was probably just a copy/paste typo.
2016-05-03 23:35:57 +02:00
Daniel Gultsch
cef2eb58a7
fixed presence template dedup for 'online' status
2016-05-03 22:16:51 +02:00
Daniel Gultsch
fad8b702aa
use app name in resource suggestions
2016-05-03 12:41:37 +02:00
Daniel Gultsch
06a561743a
ping all accounts at the same time
2016-05-02 14:31:30 +02:00
Daniel Gultsch
bf92ef6cd3
pulled translations from transifex
2016-05-02 11:05:31 +02:00
Daniel Gultsch
d23178acb9
show only username when registering account with magic create
2016-05-02 10:37:28 +02:00
Daniel Gultsch
98ecac0ffa
removed unnecessary logging
2016-04-30 13:34:20 +02:00
Daniel Gultsch
936006173c
properly cancel avatar tasks
2016-04-29 20:38:23 +02:00
Daniel Gultsch
d5608cb4f3
catch ActivityNotFoundException when requesting battery op
2016-04-29 13:58:37 +02:00
Daniel Gultsch
c7882b7225
port all android drop down list items to our own
2016-04-29 13:48:30 +02:00
Daniel Gultsch
6d9ca25915
catch rare NPE when determining max http size
2016-04-29 13:24:26 +02:00
Daniel Gultsch
252d015b71
synchronize around thumbnail cache to avoid loading images twice
2016-04-28 20:15:28 +02:00
Daniel Gultsch
1d2e2f71c2
cancel potential tasks when receiving image preview from cache
2016-04-28 20:14:53 +02:00
Daniel Gultsch
51753a1d39
cleaned up captcha dialog
2016-04-28 20:13:58 +02:00
Daniel Gultsch
5021b9a5dd
don't request disco from self
2016-04-28 19:02:20 +02:00
Daniel Gultsch
29616d02a8
removed unused config variables
2016-04-27 16:43:02 +02:00
Daniel Gultsch
ebcb13c8eb
made it possible to go back to welcome screen from edit account
2016-04-27 10:35:08 +02:00
Daniel Gultsch
e6b526230a
renamed welcome header to untranslatable 'Start your Conversations'
2016-04-27 09:59:25 +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
59652ecaf2
fixed table creation
2016-04-25 11:06:17 +02:00
Daniel Gultsch
a363e0a5d8
don't create templates for empty status messages
2016-04-23 15:10:35 +02:00
Daniel Gultsch
cd1fbf60ec
add change prescence to manage account context menu
2016-04-23 12:33:56 +02:00
Daniel Gultsch
a9c1768107
show status messages in contact details
2016-04-23 12:19:00 +02:00
Daniel Gultsch
1901abd05f
expert setting to manually change presence
2016-04-22 21:25:06 +02:00
Daniel Gultsch
195b745efc
put welcome screen in scrollview
2016-04-22 00:17:08 +02:00
Daniel Gultsch
1a073ca454
added magic create welcome screen
2016-04-19 18:03:24 +02:00
Daniel Gultsch
e9494af098
always notify by default in conferences
2016-04-14 22:37:05 +02:00
Daniel Gultsch
eb63cdb9ad
removed unnecessary call to stopSelf() after logging out
2016-04-14 21:45:36 +02:00
Daniel Gultsch
72aa10b536
add setting for quick sharing
2016-04-14 21:12:44 +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
4332b0df44
return own jid as true counterpart on self messages in muc
2016-04-13 11:13:47 +02:00
Daniel Gultsch
3e654bea0e
added share uri button to conference details
2016-04-12 18:30:02 +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
77f4513862
pulled translations from transifex
2016-04-10 21:19:50 +02:00
Daniel Gultsch
5786e75374
don't throw IO exception at end of stream
2016-04-10 00:19:53 +02:00
Daniel Gultsch
91b17c6925
fixed 'connecting…' button
2016-04-10 00:19:20 +02:00
Daniel Gultsch
607b7d1593
moved authentication into seperate method. force close socket before changing status
2016-04-10 00:18:14 +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
b99d70bfe7
don't show contact details when in conversations with self
2016-04-09 10:59:54 +02:00
Daniel Gultsch
2713fd50c8
use last received message id when querying archive
2016-04-09 10:29:34 +02:00
Daniel Gultsch
14b46c3ee7
transform nimbuzz workaround into a more general 'waitForDisco' condition
2016-04-09 08:53:58 +02:00
Daniel Gultsch
a8ebc5fafc
add required disco#items query to timeout list
2016-04-08 20:20:37 +02:00
Daniel Gultsch
db0301310b
removed ernoexception in exchange for a regular exeption to prevent verify error on <5.0
2016-04-08 18:28:40 +02:00
Daniel Gultsch
c55f7645a4
pulled translations from transifex
2016-04-08 10:41:37 +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
290f0a123e
prevent null pointer when checking http upload max size
2016-04-07 19:20:45 +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
0385e3a8d6
switched around info and items query to avoid race condition
2016-04-04 20:35:40 +02:00
Daniel Gultsch
e94e06246b
pulled translations from transifex
2016-04-04 20:21:00 +02:00
Daniel Gultsch
5787687997
removed unnecessary wait for disconnect
2016-04-04 20:07:09 +02:00
Daniel Gultsch
61997912fd
made sure the disco#items query has returned before finalizing the bind
2016-04-04 20:06:07 +02:00
Daniel Gultsch
701742f550
don't ask for resource when server uses http upload v0.1
2016-04-02 18:07:38 +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
Daniel Gultsch
867d0ef191
include form fields into caps hash calculation
2016-03-31 14:21:56 +02:00
Daniel Gultsch
8d98c52803
closed some cursors under error conditions
2016-03-31 13:55:46 +02:00
Daniel Gultsch
343a6b4e6b
made setting aes keys in DownloadableFile more readable
2016-03-31 13:55:25 +02:00
Christian S
1d458e8ab3
Update ShortcutBadger to version 1.1.4
2016-03-27 20:17:51 +02:00
Daniel Gultsch
a9b66e3ea5
allow to delete attachments. fixes #1539
2016-03-23 19:23:22 +01:00
Daniel Gultsch
281cb65046
only add image files to media scanner
2016-03-23 12:20:09 +01:00
licaon-kter
6ba90ec43c
Typo `attempt`
2016-03-22 11:54:45 +02:00
Daniel Gultsch
135c8567a5
show room nick for /me command in sent muc messages. fixes #1773
2016-03-20 17:33:42 +01:00
Daniel Gultsch
ac09011690
be less strict when sharing EXTRA_TEXT intents
2016-03-20 17:25:16 +01:00
Daniel Gultsch
7df24407dc
be more careful to avoid creating multiple connections
2016-03-20 17:24:41 +01:00
Daniel Gultsch
b51ce43d36
don't show v\omemo keys as such if not enabled
2016-03-20 17:24:15 +01:00
Daniel Gultsch
b17ca3543f
made it possible to share text files
2016-03-16 18:09:19 +01:00
Daniel Gultsch
48be5af55f
reworked sharewith activity to stay open during sharing
...
closing the activity prematuraly caused uri permissions to be revoked
2016-03-16 10:46:33 +01:00
fiaxh
eaddfa7fd1
Check if path for URI is accessible
...
The path extracted from the Cursor might not be accessible for Conversations. FileUtils accesses URI information through the ContentProvider, so this wouldn't be noticed.
Fixes sharing from open-keychain's TemporaryContentProvider
2016-03-15 11:42:13 +01:00
Daniel Gultsch
815c534da8
pulled translations from transifex
2016-03-13 17:43:43 +01:00
Daniel Gultsch
0af8ee341c
simplified getUsers(max) code
2016-03-13 17:42:17 +01:00
Daniel Gultsch
1153e6120d
added logging in case fragment wasn't attached
2016-03-13 17:41:38 +01:00
Daniel Gultsch
290f53f4a6
fixed recursive call instead of call to super in PublishProfileActivity
2016-03-13 17:39:13 +01:00
Daniel Gultsch
817d344521
log reason for bind failure
2016-03-11 09:01:40 +01:00
Daniel Gultsch
9548f43998
close cursor in caps db query
2016-03-11 09:01:27 +01:00
Daniel Gultsch
24aefa109c
pulled translations from transifex
2016-03-06 21:35:59 +01:00
Daniel Gultsch
e6a9829dd2
don't show opt-out of battery optimization dialog when push is enabled
2016-03-06 15:53:49 +01:00
Daniel Gultsch
86fff5839a
warn in conversations when account is disabled
2016-03-06 12:16:29 +01:00
Daniel Gultsch
d3542202b5
Merge branch 'Mess' of https://github.com/tarun018/Conversations into tarun018-Mess
2016-03-04 21:31:54 +01:00
Daniel Gultsch
e9b4a2a021
show host in file size checker
2016-03-04 21:30:34 +01:00
Daniel Gultsch
09d87965fb
mark oob messages and always display download button
2016-03-04 20:09:21 +01:00
Daniel Gultsch
aa24a0f779
don't automatically crop avatar
2016-03-04 14:32:38 +01:00
Daniel Gultsch
89eea3636f
add a few more know file extensions
2016-03-04 11:24:53 +01:00
Daniel Gultsch
07263370d9
allow to copy original url even while downloading. fixes #1743
2016-03-04 11:24:40 +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
c9e4b332bf
don't break with srcoll events on empty message lists
2016-03-03 11:14: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
15a1873d97
removed unused config variable
2016-03-01 18:58:33 +01:00
Daniel Gultsch
fd246f7e5a
properly persist accepted crypto targets
2016-03-01 12:22:20 +01:00
Daniel Gultsch
198dc2c6b4
let users confirm each member in a conference even if that contact is already trusted
2016-03-01 11:26:59 +01:00
Tarun
df7b399e04
Fix Issue #1634 : Shows XMPP URI as links.
...
Shows XMPP URI as links, other than Web URL's and Email Addresses. Also performs respective actions on clicking XMPP URI.
2016-02-29 23:35:50 +05:30
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
199ae3a4d8
rename purge keys positive button to 'purge keys'
2016-02-28 23:10:50 +01:00
Daniel Gultsch
4ba41540fd
made hashtable in roster store jids instead of strings
2016-02-28 20:45:50 +01:00
Daniel Gultsch
24a9ac2908
always search offline contacts as well. fixes #1653
2016-02-27 15:41:34 +01:00
Daniel Gultsch
2c224d0f18
Merge branch 'master' of github.com:siacs/Conversations
2016-02-27 11:26:09 +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
60ab03afb1
changed single_account config into more simple lock_settings
2016-02-27 10:25:31 +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
Daniel Gultsch
5d3ee60ca4
hide add account icons when single_account is set to true
2016-02-24 17:12:29 +01:00
Daniel Gultsch
bbede8bbeb
optionally lock conference domains as well and hide known domains in ui
2016-02-24 16:53:19 +01:00
fiaxh
e1a2f248af
Request WRITE_EXTERNAL_STORAGE for ExportLogsPreference in >= M
2016-02-24 16:35:26 +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
ddafa65849
Merge pull request #1715 from fiaxh/gpg_decryption_failed
...
PGP Retry decryption from message menu
2016-02-24 09:23:30 +01:00
Daniel Gultsch
17b1fcc3ea
set noMessagesLeftOnServer before conference configuration fetch
2016-02-23 16:15:55 +01:00
Daniel Gultsch
34f2a63190
update notification after message correction
2016-02-23 16:15:23 +01:00
Daniel Gultsch
0298f0181e
reset pending subscription request when receiving roster update
2016-02-23 16:14:55 +01:00
fiaxh
894b5892a9
Retry decryption from message menu
2016-02-23 16:05:42 +01:00
Daniel Gultsch
beb216c300
made presences object final in contact
2016-02-23 14:25:01 +01:00
Daniel Gultsch
689ded1607
properly trigger show load more messages in mucs
2016-02-22 20:28:58 +01:00
Daniel Gultsch
a0d0ed34ae
turned muc errors into enum. added error codes for service shutdown
2016-02-22 20:19:58 +01:00
Daniel Gultsch
d2cfac222e
show load more messages when auto loading is disabled and messages are still left on server
2016-02-21 17:32:46 +01:00
Daniel Gultsch
b00c561f81
check for uuid change when decrypting pgp messages
2016-02-21 11:43:03 +01:00
Daniel Gultsch
ed740b4868
some mucs may grant voice to visitors in unmoderated rooms
2016-02-21 11:42:41 +01:00
Daniel Gultsch
43b466704a
pulled translations from transifex
2016-02-20 10:25:23 +01:00
Daniel Gultsch
3bde4dbedb
change uuid when replacing messages
2016-02-20 00:01:39 +01:00
Daniel Gultsch
e6f8b7d9fa
decrypt pgp message corrections
2016-02-19 21:02:33 +01:00
Daniel Gultsch
a2cb009f4c
skip avatar ui when pep is not available. fixes #1706
2016-02-19 20:54:53 +01:00
Daniel Gultsch
df992d2566
don't reset whisper on reInit. fixes #1637
2016-02-19 20:54:43 +01:00
Daniel Gultsch
ad60bc002c
pulled translations from transifex
2016-02-19 11:14:16 +01:00
Daniel Gultsch
49a3f6f281
never parse show in presences as offline
2016-02-19 11:09:28 +01:00
Daniel Gultsch
ac687d6bbd
don't log start reason
2016-02-17 16:52:57 +01:00
Daniel Gultsch
59978e157c
only offer message correction for the very last message
2016-02-17 16:51:36 +01:00
Daniel Gultsch
3626e4b3a0
fixed regression that caused messages in muc not being send
2016-02-17 16:50:48 +01:00
Daniel Gultsch
c2fbdbde83
log reason why otr message won't be parsed
2016-02-16 14:22:47 +01:00
Daniel Gultsch
86b1865eec
fixed regression that caused ui to redraw a lot
2016-02-16 14:22:21 +01:00
Daniel Gultsch
349dd8291d
made clear that archiving preferences are server side
2016-02-16 12:52:31 +01:00
Daniel Gultsch
a9b957e8a2
added setting to opt-out of message correction. renamed preferences and options to settings
2016-02-16 09:57:59 +01:00
Daniel Gultsch
0ca4a33bfb
added some OTR logging
2016-02-16 09:15:41 +01:00
Daniel Gultsch
c0b3a3ff0c
basic support for XEP-0308: Last Message Correction. fixes #864
2016-02-15 23:15:04 +01:00
Daniel Gultsch
335058b78b
removed unnecessary conditions when sending read marker
2016-02-15 23:09:42 +01:00
Daniel Gultsch
c4b1df1bf3
add missing type='submit' attribute to enable push form
2016-02-15 22:12:39 +01:00
Daniel Gultsch
c3f0503a91
pulled translations from transifex
2016-02-15 12:35:35 +01:00
Daniel Gultsch
8ccb2005b3
only show load more messages button when mam is available
...
also update ui after that button has been pressed. fixes #1695
2016-02-14 23:53:17 +01:00
Daniel Gultsch
356199978e
fixed server info push not showing up when unavailable
2016-02-14 18:19:11 +01:00
Daniel Gultsch
251f2479c2
optional mode to close tcp connection when going into background
...
acts only when push is available. disable all non-push accounts to test properly
2016-02-14 13:20:23 +01:00
Daniel Gultsch
6f9f871928
send push enable to server. simplified logging
2016-02-13 14:20:07 +01:00
Daniel Gultsch
c7a14092a8
fixed compile bug in free version
2016-02-13 00:03:57 +01:00
Daniel Gultsch
c430848ade
push gcm token on bind instead of every connect
2016-02-12 23:37:42 +01:00
Daniel Gultsch
32da65f910
client side support for XEP-0357: Push Notifications
2016-02-12 11:39:27 +01:00
Daniel Gultsch
93dad9b737
pulled translations from transifex
2016-02-11 22:45:40 +01:00
Daniel Gultsch
f37098a54f
catch all axolotl parse exception at once. fixes #1692
2016-02-11 12:26:43 +01:00
Daniel Gultsch
1bb38e25f2
send muc messages after join
2016-02-10 09:53:48 +01:00
Daniel Gultsch
f16690ae1f
allow user to set MAM preferences
2016-02-09 13:01:17 +01:00
Daniel Gultsch
91ec4839ac
prepend instead off append mam messages to conversations when going in reverse
2016-02-04 16:40:18 +01:00
Daniel Gultsch
28733e052f
fixed performance regression in on scroll listener
2016-02-04 16:29:17 +01:00
Daniel Gultsch
4fdb0d92fe
prevent previoulsly cleared messages from reloading. fixes #1110
2016-02-04 14:39:16 +01:00
Daniel Gultsch
f88b8c703e
add more fault tolerant checks for messages left on server
2016-02-04 11:55:42 +01:00
Daniel Gultsch
17791a703e
removed unecessary logging when muc tiles update
2016-02-04 10:27:38 +01:00
Daniel Gultsch
7dd9545ea3
use TLSv1.2 as SSL context on supported plattforms
2016-02-03 18:17:16 +01:00
Daniel Gultsch
1d572c61d0
cache server caps
2016-02-03 17:19:05 +01:00
Daniel Gultsch
0911669b07
count all messages in a query
2016-02-03 16:04:21 +01:00
Daniel Gultsch
1274b0ef39
Revert "get rid of broken totalMessageCount for mam queries"
...
This reverts commit 58c6f9bfb2
.
2016-02-03 10:40:44 +01:00
Daniel Gultsch
f0798216d5
refactored disco cache. avoid making duplicate call. check hash
2016-02-03 10:40:02 +01:00
Daniel Gultsch
4a1a59f0c8
Merge branch 'disco-caps' of https://github.com/singpolyma/Conversations into singpolyma-disco-caps
2016-02-02 18:19:26 +01:00
Daniel Gultsch
01bad12708
fixed 'unencrypted' not showing up for conferences when encryption is forced
2016-02-02 18:15:57 +01:00
Daniel Gultsch
58c6f9bfb2
get rid of broken totalMessageCount for mam queries
2016-02-02 15:39:46 +01:00
Daniel Gultsch
fab0a45955
re-read common name from certificates on startup
2016-02-02 13:43:20 +01:00
Daniel Gultsch
ba9ba8ffe2
avoid npe when accessing the pgp connection service
2016-02-02 11:21:29 +01:00
Daniel Gultsch
f30df7a535
catch a few NPE when parsing invalid pep nodes
2016-02-02 11:21:07 +01:00
Daniel Gultsch
3978c04782
respect autojoin setting on newly created bookmarks as well
2016-02-01 14:22:52 +01:00
Daniel Gultsch
1e7647e385
opt out handling of the autojoin flag. fixes #1666
2016-02-01 13:54:08 +01:00
Daniel Gultsch
336daea875
made create context menu call in StartConversationsActivity more failsafe
2016-02-01 12:31:46 +01:00
Daniel Gultsch
a3e11415ec
refactored user handling in conferences. show try again button when conference has errors
2016-02-01 12:11:40 +01:00
Daniel Gultsch
2eef37174e
fixed false set of subject in conference with empty body tag
2016-01-31 14:42:35 +01:00
Daniel Gultsch
82870b27ed
prefer dns servers from networsk with the default route
2016-01-29 12:12:23 +01:00
Daniel Gultsch
c416948f8b
be more careful with resetting the stream id
2016-01-29 12:09:55 +01:00
Daniel Gultsch
28ebf927fb
try to make in-valid-session detection work for pgp
2016-01-29 12:09:31 +01:00
Daniel Gultsch
d2c5a939ed
show values in formfieldwrappers and allow form to be set to read only
2016-01-26 17:23:24 +01:00
Daniel Gultsch
edc6ce4ff2
hide jid row in list item list when jid is null
2016-01-26 14:47:34 +01:00
Daniel Gultsch
7c0eae8059
expert setting to trigger extended connection options
2016-01-25 21:17:53 +01:00
Stephen Paul Weber
ae84ff2f0c
Do disco for caps hashes we have never seen
...
Then cache it
2016-01-24 17:46:08 -05:00
Stephen Paul Weber
000f59d614
Fetch cached caps result on new presence
2016-01-24 17:46:08 -05:00
Stephen Paul Weber
bf5b2f73f5
Use a Presence class for presence information
...
Only has status for now, but doing it so I can add disco to it
2016-01-24 17:46:08 -05:00
Daniel Gultsch
31fd425c9a
changed FileBackend API to allow files instead of messages to be copied and resized
2016-01-24 12:17:00 +01:00
Daniel Gultsch
8850a1fbe3
added FormWrapper and form field validation
2016-01-23 20:32:00 +01:00
Stephen Paul Weber
ad36a4ba89
Persisitence and loading for ServiceDiscoveryResult
2016-01-23 10:53:56 -05:00
Stephen Paul Weber
56f8fff935
Implement toJSON on ServiceDiscoveryResult
2016-01-23 10:52:45 -05:00
Stephen Paul Weber
1e335d527b
Generate capHash from any discovery result
2016-01-23 10:52:44 -05:00
Stephen Paul Weber
fccce229c6
Factor out a representation of XEP-0030 results
...
And the parser from Element to this representation.
2016-01-23 10:52:40 -05:00
Daniel Gultsch
0569a1e769
introduced boolean form field wrapper
2016-01-23 16:23:23 +01:00
Daniel Gultsch
39fdf4a333
added support for field types jid-single and text-private
2016-01-23 12:44:08 +01:00
Daniel Gultsch
6140861143
reset stanza queue when resetting xmppconnection
2016-01-23 11:40:32 +01:00
Daniel Gultsch
43521891f0
show fetch errors in trust keys activity
2016-01-23 11:39:02 +01:00
Daniel Gultsch
ba98fe4f86
use extract account from intent method and final EXTRA_ACCOUNT variable
2016-01-22 20:46:24 +01:00
Daniel Gultsch
a6c5430cdd
added UI wrapper for (some) form fields
2016-01-22 20:22:47 +01:00
Daniel Gultsch
a47430c2f7
added convenience method to extract account from intent
2016-01-22 20:21:45 +01:00
Daniel Gultsch
40005cec1b
added config variable to allow non-tls connections
2016-01-22 11:20:31 +01:00
Daniel Gultsch
77c0fb0b2a
changed spacing in create dialogs and notify user when no accounts are activated
2016-01-22 11:14:56 +01:00
Daniel Gultsch
3ff40a9733
increased padding in create contact/conference dialog
2016-01-21 18:10:19 +01:00
Daniel Gultsch
eacc7ed1e6
add convenience to get an account object from a spinner
2016-01-21 17:57:24 +01:00
Daniel Gultsch
20f6a4704c
pulled translations from transifex
2016-01-20 17:18:53 +01:00
Daniel Gultsch
e71acdef29
catch security exception when user prevents access to address book
2016-01-20 16:18:15 +01:00
Daniel Gultsch
0619685e55
add intent!=null check in onActivityResultin PublishProfilePicture
2016-01-20 16:11:17 +01:00
Daniel Gultsch
ba143a2730
Merge branch 'master' of github.com:siacs/Conversations
2016-01-16 22:48:27 +01:00
Daniel Gultsch
0b239243d9
Merge pull request #1655 from adithyaphilip/pgp-fix
...
Fixes having to choose PGP twice, upgrades openpgp-api to 10
2016-01-16 21:35:38 +01:00
Daniel Gultsch
3acaec7bcd
pulled translations from transifex
2016-01-16 21:21:14 +01:00
Daniel Gultsch
a83365ee95
make ConversationsActivity more resistent against being restarted
2016-01-16 21:18:59 +01:00
Daniel Gultsch
7b1efe15cd
reuse same xmppconnection for reconnects
2016-01-16 19:21:11 +01:00
Daniel Gultsch
41ae4af1b8
made constructor private in Account entity
2016-01-16 18:57:47 +01:00
Daniel Gultsch
ad5bcb7d43
removed some unused methods from db backend
2016-01-16 18:57:19 +01:00
Adithya Abraham Philip
a9a3ef0f67
fixed PGP having to be selected twice
2016-01-16 04:26:01 +05:30
Daniel Gultsch
494a04ffb1
hide prepare image toasts when attaching multiple images
2016-01-15 23:47:55 +01:00
Daniel Gultsch
d85854b686
show toast when image cropper get oom
2016-01-15 23:47:16 +01:00
Daniel Gultsch
943d0391d4
catch exception when reading message id from database
2016-01-15 23:46:52 +01:00
Daniel Gultsch
c5743067ad
nimbuzz.com: don't wait for disco replies to set account to online
2016-01-15 14:26:23 +01:00
Daniel Gultsch
635210d278
pulled translations for 1.9.0 release from transifex
2016-01-14 21:52:17 +01:00
Daniel Gultsch
aa6955a0d6
fixed typo when reading battery_op setting
2016-01-14 20:38:16 +01:00
Daniel Gultsch
12fd5c46ef
show /me messages in conference notifications without the name of the sender
2016-01-13 17:36:04 +01:00
Daniel Gultsch
14428da108
show key fetch error in activity when there are no keys to be used
2016-01-13 12:19:56 +01:00
Daniel Gultsch
571eb2f7f9
check for file storage permission before selecting avatar
2016-01-13 12:05:59 +01:00
Dheeraj CVR
ffb49c7217
use batch transactions when writing roster
...
Fixes https://github.com/siacs/Conversations/issues/1648
2016-01-13 11:56:35 +04:00
Daniel Gultsch
3e9fd0185a
throw security exception instead of going to next srv entry
2016-01-12 23:42:47 +01:00
Daniel Gultsch
da298cfe59
Merge branch 'master' of github.com:siacs/Conversations
2016-01-12 23:41:35 +01:00
Sam Whited
a6b729df43
s/TOR/Tor/g
2016-01-12 15:41:39 -06:00
Daniel Gultsch
d122d224bb
pulled translations from transifex
2016-01-12 16:43:38 +01:00
Daniel Gultsch
893751a1d2
move some ssl socket modifiers into a seperate helper class
2016-01-12 16:33:15 +01:00
Daniel Gultsch
5f1e30288a
Merge branch 'master' of https://github.com/moparisthebest/Conversations into moparisthebest-master
2016-01-12 15:35:50 +01:00
Daniel Gultsch
921d567dcb
use match_parent as height in conversations overview
2016-01-12 15:35:23 +01:00
Daniel Gultsch
da6076028f
Revert "Add additional warnings to OMEMO purge key function"
...
This reverts commit 3bea5b25cd
.
2016-01-12 09:48:49 +01:00
Andreas Straub
3bea5b25cd
Add additional warnings to OMEMO purge key function
...
People continue to press the "don't press this" button. Maybe adding
some warnings indicating that this button will not fix their problems
will help...
2016-01-12 09:33:54 +01:00
moparisthebest
217f6603c0
Implement XEP-0368: SRV records for XMPP over TLS
2016-01-11 17:25:16 -05:00
Daniel Gultsch
20ec9ff2c6
reworked that loop that iterates over various servers
2016-01-11 19:05:25 +01:00
Daniel Gultsch
a85bba0010
new art renders
2016-01-11 18:29:02 +01:00
Daniel Gultsch
7f1de73784
don't use the word phone in strings
2016-01-11 15:34:26 +01:00
Daniel Gultsch
4d38ba906f
pulled translations from transifex
2016-01-11 11:19:41 +01:00
Daniel Gultsch
c296d6f446
ask to be excluded from battery optimization
2016-01-11 11:17:45 +01:00
Daniel Gultsch
4ab8fe13de
let the user decide on whether or not to compress pictures
2016-01-09 16:17:39 +01:00
Daniel Gultsch
708d7c5b98
automatically adjust image compression to keep files under 512MiB
2016-01-09 16:16:18 +01:00
Daniel Gultsch
6acb80a83a
added Config.java variable to change the default notification behaviour to always
2016-01-08 22:07:23 +01:00
Daniel Gultsch
9dce42ac7f
don't show snackbar when notifications are disabled or paused
2016-01-08 21:35:20 +01:00
Daniel Gultsch
a3e136b550
show per conference notification settings in details activity
2016-01-08 21:30:46 +01:00
Daniel Gultsch
0bb3ae37f0
show icon in conversations overview when notifications are disabled
2016-01-08 14:41:55 +01:00
Daniel Gultsch
5dd5685885
Merge pull request #1641 from fiaxh/uuid-fix
...
Correct uuid check according to RFC 4122
2016-01-08 00:17:21 +01:00
Daniel Gultsch
c59eb75a59
avoid duplicate messages when sending files to mucs. fixes #1635
2016-01-06 12:59:13 +01:00
fiaxh
62d0eebe5c
Correct uuid check according to RFC 4122
2016-01-05 20:07:29 +01:00
Daniel Gultsch
c3e2d2cfba
added missing synchronize when pushing messages from mam backlog
2016-01-04 20:14:29 +01:00
Daniel Gultsch
fb97f9d18f
null check in getOriginalPath
2016-01-04 20:14:08 +01:00
Daniel Gultsch
501034fe0e
Allow entering a JID from 'choose contact'. thanks @singpolyma
...
fixes #1611
fixes #1602
2016-01-04 17:27:54 +01:00
Daniel Gultsch
fdb6b0e30d
only report error after third unsuccesful attempt to connect
2016-01-04 15:33:11 +01:00
Daniel Gultsch
f815a7cd26
properly rotate avatars
2016-01-04 15:17:02 +01:00
Daniel Gultsch
95bf0630f0
show trust keys activties if own keys are undecided
2016-01-04 12:11:58 +01:00
Daniel Gultsch
c116f735dc
add obb url to unencrypted messages
2016-01-03 19:39:06 +01:00
Daniel Gultsch
a319446d41
edit account activity was still showing the omemo key with leading 0x05. fixes #1631
2016-01-03 19:38:48 +01:00
Daniel Gultsch
d875061407
removed xhtml body. fixes #1594
2016-01-01 16:52:32 +01:00
Daniel Gultsch
73e2389eee
use actual message timestamp instead of delay when updating last seen. fixes #1618
2015-12-31 18:06:11 +01:00
Andreas Straub
58d213f291
Fix OMEMO session creating loggin
...
Now prints the correct JID to the log when finding devices without
sessions.
2015-12-31 15:48:43 +01:00
Daniel Gultsch
cfccf5e90d
handle null names in getColorForName
2015-12-29 10:32:54 +01:00
Daniel Gultsch
7bb67ee660
strip leading 0x05 off omemo fingerprints
2015-12-27 18:37:31 +01:00
Daniel Gultsch
703d95fcf8
lower case all fingerprints. fixes #1521
2015-12-27 18:37:12 +01:00
Daniel Gultsch
c3bdec1ce9
dedublicate bookmarks
2015-12-27 17:29:32 +01:00
Daniel Gultsch
bcf99db3df
fixed stuck at omemo encryption when x509 verification is being used
2015-12-27 17:29:19 +01:00
Daniel Gultsch
f49158a44b
register context menu long click listener on message text. fixes #1614
2015-12-27 17:28:42 +01:00
Daniel Gultsch
be91c0741f
made text selectable again unless text contains more than 1 link
...
fixes #1615
2015-12-26 19:18:37 +01:00
Daniel Gultsch
c40372fc0d
code cleanup
2015-12-23 22:30:14 +01:00
Daniel Gultsch
f46cbb38a9
show certificate information
2015-12-23 19:18:53 +01:00
Daniel Gultsch
d0bad09f13
save certificate when verifying with x509
2015-12-23 17:41:26 +01:00
Daniel Gultsch
ae491764f2
pulled translations from transifex
2015-12-20 19:37:27 +01:00
Daniel Gultsch
534013fd0c
store identity key in XmppAxolotlSession instead of the fingerprint
2015-12-19 15:44:11 +01:00
Daniel Gultsch
ade89beb96
use presence name not server name when verification is being used
2015-12-19 13:07:38 +01:00
Daniel Gultsch
15c8cb8ac6
add more debugging to certificate checks after new omemo session was established
2015-12-19 12:44:55 +01:00
Daniel Gultsch
e8bf5cada4
only offer plain and omemo encryption when x509 verification is enabled
2015-12-19 12:44:12 +01:00
Daniel Gultsch
f05f97251c
prefer server name over address book name when x509 verification is being used
2015-12-19 12:43:09 +01:00
Daniel Gultsch
20b4e756fe
add 'store' message hint to displayed chat markers
2015-12-17 15:32:03 +01:00
Daniel Gultsch
f510b2ba2d
pulled translations from transifex
2015-12-17 15:20:28 +01:00
Daniel Gultsch
0f9058ffef
throw exception at the end of the stream
2015-12-17 15:20:06 +01:00
Daniel Gultsch
e10a0b0c4c
let message parser not artifically fail on messages with no to attribute
2015-12-17 14:30:00 +01:00
Daniel Gultsch
43dd681239
timeout service discovery after 20s
2015-12-15 19:24:05 +01:00
Daniel Gultsch
85f36e9dbc
default force encryption to false
2015-12-14 10:58:55 +01:00
Daniel Gultsch
f6b22dad20
splite PARANOIA_MODE into three different options
2015-12-14 10:54:55 +01:00
Daniel Gultsch
042939e44d
make message text non-selectable. fixes #1606
2015-12-14 10:44:43 +01:00
Daniel Gultsch
aa472a0098
pulled translations from transifex
2015-12-13 11:09:42 +01:00
Daniel Gultsch
50817956c2
changed order of send presence and execute mam queries
2015-12-12 16:01:33 +01:00
Daniel Gultsch
88523bbb50
more detailed logging
2015-12-12 15:58:22 +01:00
Daniel Gultsch
5e4b55a0ff
notfiy after mam catchup only if message count > 0
2015-12-11 20:43:50 +01:00
Daniel Gultsch
a1ac4fd665
fix cancelation of http downloads and enable resume
2015-12-11 20:33:41 +01:00
Daniel Gultsch
b2c278c91b
set bookmark name to room subject if no subject has been set before
2015-12-11 19:28:44 +01:00
Daniel Gultsch
293e820a58
get rid of lastMessageTransmitted in favor of db query
2015-12-11 13:52:04 +01:00
Daniel Gultsch
61b0681109
pulled translations from transifex
2015-12-11 13:27:33 +01:00
Daniel Gultsch
5ffb87059c
renamed pretty-please-store message hint to store
2015-12-10 23:37:38 +01:00
Daniel Gultsch
15f220747f
some more NPE checks
2015-12-10 23:16:39 +01:00
Daniel Gultsch
55c1129a65
notify on mam catchup messages
2015-12-10 23:05:11 +01:00
Daniel Gultsch
2262921ff4
properly clean up timed out mam queries
2015-12-10 18:28:47 +01:00
Daniel Gultsch
ede92235d7
disable sm logging
2015-12-10 18:26:31 +01:00
Daniel Gultsch
5bd70cfee8
always show conversations with pending subscription requests
2015-12-09 12:18:06 +01:00