Commit Graph

2706 Commits

Author SHA1 Message Date
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