Daniel Gultsch
f47cf7ae67
make jingle implementation send file hash when using ft5
2017-05-03 11:03:04 +02:00
Daniel Gultsch
a5e15d5a10
code cleanup: made conversation property final in message object
2017-04-26 12:43:52 +02:00
Daniel Gultsch
2cfa3ce288
limited offline support for pgp group chats
...
use pgp key from contact if not set in muc
fixes #283
2017-04-25 15:19:54 +02:00
Daniel Gultsch
1ac0c2f453
show 'try again' button when remote server wasn't found in previously active muc
2017-04-15 17:18:15 +02:00
Daniel Gultsch
0229a1605e
properly unregister bookmark from conversations when deleting bookmark
2017-04-12 23:41:59 +02:00
Daniel Gultsch
8742194f4b
fixed message merge logic. merge only messages with lower status
2017-04-12 22:24:29 +02:00
cijo-saju
3467a67e75
Removed unused imports from entire project.
2017-04-12 20:24:36 +05:30
Daniel Gultsch
e98f7e57b0
be more careful with corner cases when mentioning multiple people
2017-04-07 19:47:33 +02:00
Daniel Gultsch
649d1243d5
avoid crash on urls with missing protocols
2017-04-06 11:59:15 +02:00
Daniel Gultsch
99565a6876
treat URL as file if URL is in oob or contains key
2017-04-05 22:35:42 +02:00
Daniel Gultsch
081c33b886
do not parse bodies with http urls as downloadable in omemo encrypted message. fixes #1756
2017-04-04 22:20:05 +02:00
cijo-saju
37465db817
Fixed package access
2017-03-28 21:02:20 +05:30
cijo-saju
024dbd1c32
Removed unused import and fixed some annotations
2017-03-28 20:46:20 +05:30
cijo-saju
cb96911da3
Saves some memory
2017-03-28 20:43:14 +05:30
cijo-saju
d8901441f6
Deleted unused variable
2017-03-28 20:41:08 +05:30
Daniel Gultsch
76b9010c39
rework last activity logic to something that should work pretty well in Conversations only enviroments
2017-03-20 17:58:58 +01:00
Daniel Gultsch
644a3a729d
define strangers as people not in roster instead of no mutual presence subscription
2017-03-20 13:25:36 +01:00
Daniel Gultsch
e58f72c20f
show strangers with jid instead of name in conversation list
2017-03-20 13:24:33 +01:00
Daniel Gultsch
95e33b5a97
never mark conversation w/ own server as stranger
2017-03-14 11:09:34 +01:00
Daniel Gultsch
0ee13bbecb
send chat states only to private and non-anon mucs
2017-03-09 15:42:27 +01:00
Daniel Gultsch
1fd3bbfe25
display chat states in conferences
2017-03-09 10:58:44 +01:00
Daniel Gultsch
5ea4322d3f
send and parse Chat States to and from conferences
2017-03-09 10:58:44 +01:00
Daniel Gultsch
254edc48f5
show conversation time as last clear date when empty
2017-03-07 11:46:12 +01:00
Daniel Gultsch
7306e0286f
do not notify for messages from strangers by default
2017-03-07 10:50:46 +01:00
Daniel Gultsch
857c761c68
fixed sender label for empty conversations
2017-03-07 09:22:42 +01:00
Daniel Gultsch
9ba5335ae7
cleaned code of muc name generator
2017-03-06 19:06:16 +01:00
Daniel Gultsch
6088913fb6
fixed multi-session-nick renaming behaviour
2017-03-05 17:42:17 +01:00
Daniel Gultsch
cae993a95f
renamed enter jid menu item id
2017-03-05 11:40:48 +01:00
Daniel Gultsch
cb203f5fd3
Keep draft even when correcting previously sent msg
...
fixes #1822 . Thank you @singhalok641
2017-03-04 08:05:42 +01:00
Daniel Gultsch
5c789b75cc
fixed messages vanishing after pgp raised error on editing a message
2017-03-03 15:21:42 +01:00
Daniel Gultsch
c740386297
rename the Xmlns class to Namespace
2017-03-01 13:01:46 +01:00
licaon-kter
d3dd80eec9
Fix a typo in legacy
2017-02-19 15:47:57 +02:00
Daniel Gultsch
caa16a8517
experimental mam legacy compat layer
2017-02-15 16:42:35 +01:00
Daniel Gultsch
b90a1fe1db
bump mam namespace
2017-02-14 17:19:45 +01:00
Daniel Gultsch
6b81ff70e5
clear avatar cache when system name changes
2017-02-10 20:26:21 +01:00
Daniel Gultsch
24fab162e2
renamed omemo:// to aesgcm://
2017-02-07 20:07:57 +01:00
Daniel Gultsch
71ad18beb9
support omemo:// style urls
2017-02-07 19:32:12 +01:00
Daniel Gultsch
e35ada4997
only store messages up to a length of 1M chars
2017-02-07 17:45:01 +01:00
moparisthebest
2a34ece571
Stop Conversations force closing over sqlite errors due to long messages
2017-01-30 00:03:51 -05:00
Daniel Gultsch
40ee1a0bfc
reset messagesLoaded when changing retention settings
2017-01-25 18:35:22 +01:00
Daniel Gultsch
9b6ae6d75f
configurable local message retention period. (untested)
2017-01-23 17:14:30 +01:00
Daniel Gultsch
764026b87e
fixed behaviour with non-default encryption masks
2017-01-16 13:09:36 +01:00
Daniel Gultsch
b8f67bfaa3
deduplicate corrected messages
2016-12-26 15:13:38 +01:00
Daniel Gultsch
9972f5eabc
fixed npe cause by race condition when axolotl service isn't initialized
2016-12-23 21:19:38 +01:00
Daniel Gultsch
56991bbaeb
add omemo fingerprints to web links as well
2016-12-03 13:37:26 +01:00
Daniel Gultsch
5d4aa04e5d
support for jid escapting when displaying localpart only
2016-12-01 20:49:18 +01:00
Daniel Gultsch
e127ba9361
don't use own jid joined from another client to generate muc title
2016-12-01 19:57:40 +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
cbd45d3ee5
changed design language to match BTBV proposal
...
* untrusted messages have red background
* unverified message have normal background and red lock
2016-11-24 11:29:26 +01:00
Daniel Gultsch
01f92ef4ee
lower own otr fingerprint
2016-11-18 20:12:45 +01:00
Daniel Gultsch
a7ee8f8a74
use lower case otr fingerprints for comparison
2016-11-18 13:13:29 +01:00
Daniel Gultsch
211354ee26
put omemo fingerprint in own uri (qr code / nfc)
2016-11-17 22:28:45 +01:00
Daniel Gultsch
ec63900ef3
work around -1 in next encryption
2016-11-15 21:11:35 +01:00
Daniel Gultsch
05fc15be3d
refactore trust enum to be FingerprintStatus class with trust and active
2016-11-14 22:27:41 +01:00
Daniel Gultsch
1d3167b520
extract affiliations from unavailable presence
2016-11-13 19:25:58 +01:00
Daniel Gultsch
035d0c7957
Stop automagically select default encryption
...
Selecting a default encryption (in our case OMEMO) has several down sides.
First of all users might have perfectly valid reasons not to use encryption
at all such as using the same private server. Second of all the way it was
implemented Conversations would automatically fall back to plain text as soon
as the conditions changed (recipient switches to device with no encryption)
which lead to unexpected situations.
Thirdly having a default encryptions speaks against the 'mission
statement' of Conversations of not forcing its security and privacey
aspects upon the user.
And last but not least the goal of implementing this feature in the
first place: Be encrypted by default didn't work at all. I don't think
there was a single user that we succesfully 'tricked' into using OMEMO
who otherwise wouldn't have used it.
2016-11-13 17:11:13 +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
8557120ef8
add error message to failed messages. accessible via context menu
2016-10-26 12:26:04 +02:00
Daniel Gultsch
f2696b66ba
Merge branch 'feature-remove-merge-separator' of https://github.com/Mishiranu/Conversations into Mishiranu-feature-remove-merge-separator
2016-10-20 18:18:25 +02:00
Daniel Gultsch
44ce5df359
write prepped string to db. use display version everywhere else
2016-10-20 17:31:46 +02:00
Mishiranu
fd4e15ba97
Remove MERGE_SEPARATOR
2016-10-20 01:03:51 +03:00
Daniel Gultsch
f6cfa27741
synchronize access to json key storage in account model
2016-10-13 11:27:26 +02:00
Daniel Gultsch
f3ef8d4978
fetch new conference configuration on every conf update
2016-10-08 12:10:53 +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
082c06a486
make error notification dismissable. fixes #1815
2016-10-04 11:16:59 +02:00
Daniel Gultsch
badc97e280
don't simply ignore null in message body but try to avoid it
2016-09-18 22:15:02 +02:00
Daniel Gultsch
7b445bc4c7
use history clear date as minimum date for mam
2016-09-16 11:07:52 +02:00
Daniel Gultsch
4359afacb4
store jid if it was changed during bind
2016-09-14 12:26:38 +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
e1d2c32e63
show server not found muc error
2016-09-06 12:15:08 +02:00
Daniel Gultsch
e33d8451a8
attach contact to notification
2016-08-26 13:35:01 +02:00
Daniel Gultsch
8927ba8065
various null pointer checks
2016-08-20 10:44:50 +02:00
Daniel Gultsch
285d86b375
display error status for missing internet permission
2016-08-19 21:47:08 +02:00
Daniel Gultsch
b5d3859b22
add payment required error
2016-08-16 10:39:59 +02:00
Daniel Gultsch
4736d12e99
make lastMessageTransmitted return max(clear_date,last_message)
2016-08-13 12:36:30 +02:00
Daniel Gultsch
0e96e0a796
show identity type for device selection
2016-07-28 22:58:37 +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
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
223d50c1a0
don't take stanza-id into account when deduping muc pms
2016-07-14 09:01:15 +02:00
Daniel Gultsch
cdee91363c
simplified muc users ordering
2016-07-04 19:30:19 +02:00
Daniel Gultsch
30110431ba
use dnd as overriding status
2016-06-30 23:08:55 +02:00
Daniel Gultsch
e63d6b4bf2
only keep offline members in members only conferences
2016-06-28 10:32:06 +02:00
Daniel Gultsch
72a2622c84
introduced share button in contact details. remove show qr
2016-06-24 15:16:01 +02:00
Daniel Gultsch
f91d16cbe7
don't fail on missing jid in bookmarks
2016-06-16 20:38:35 +02:00
Daniel Gultsch
5f40a7042d
delay notification until after pgp decryption
2016-06-15 12:44:29 +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
39ad426ca9
remove messages from decryption queue when trimming a conversation
2016-06-13 19:06:09 +02:00
Daniel Gultsch
587fb3cca3
refactored pgp decryption
2016-06-13 13:32:14 +02:00
Daniel Gultsch
cb7c47bc62
catch conversations sort exception. not vital at this point
2016-06-09 14:50:13 +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
Daniel Gultsch
25211f13b3
make grace period configurable
2016-06-02 00:24:37 +02:00
Daniel Gultsch
5c5d5cc4e3
don't show empty templates
2016-06-01 00:25:14 +02:00
Daniel Gultsch
5b9ba79495
use whitespace as message seperator
2016-05-30 21:12:19 +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
c3ec3ea70a
don't merge messages over the char limit
2016-05-29 10:32:07 +02:00
Daniel Gultsch
06bef5de8d
use EOT as message seperator
2016-05-28 11:03:29 +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
841e718d6a
make newly created conferences private by default
2016-05-26 12:39:31 +02:00
Daniel Gultsch
b69ab65b12
show regitration failed try again later in UI
2016-05-24 13:26:30 +02:00
Daniel Gultsch
e5b8302fd9
show first unread message on top after reinit
2016-05-22 17:52: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
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
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
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
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
b756d61c45
show presence of other resources as template
2016-05-13 10:45:30 +02:00
Daniel Gultsch
908aa19a36
make omemo default when all resources support it
2016-05-12 14:20:11 +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
a7cd05bd4e
report bind failure as account state
2016-05-05 20:22:47 +02:00
Daniel Gultsch
6e0ec9b924
republish pgp signature when changing status
2016-05-05 13:17:04 +02:00
Daniel Gultsch
cef2eb58a7
fixed presence template dedup for 'online' status
2016-05-03 22:16:51 +02:00
Daniel Gultsch
29616d02a8
removed unused config variables
2016-04-27 16:43:02 +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
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
e9494af098
always notify by default in conferences
2016-04-14 22:37:05 +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
b99d70bfe7
don't show contact details when in conversations with self
2016-04-09 10:59:54 +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
343a6b4e6b
made setting aes keys in DownloadableFile more readable
2016-03-31 13:55:25 +02:00
Daniel Gultsch
0af8ee341c
simplified getUsers(max) code
2016-03-13 17:42:17 +01:00
Daniel Gultsch
09d87965fb
mark oob messages and always display download button
2016-03-04 20:09:21 +01:00
Daniel Gultsch
89eea3636f
add a few more know file extensions
2016-03-04 11:24:53 +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
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
4ba41540fd
made hashtable in roster store jids instead of strings
2016-02-28 20:45:50 +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
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
0298f0181e
reset pending subscription request when receiving roster update
2016-02-23 16:14:55 +01:00