Daniel Gultsch
5170e526c8
fixed npe when conversation in multi mode had jid w/o local part
2018-04-18 10:24:57 +02:00
Daniel Gultsch
fa13d2336e
include node when requesting disco features
2018-04-14 18:43:11 +02:00
Daniel Gultsch
afb7c0592b
display avatar in groups
2018-04-14 17:54:04 +02:00
Daniel Gultsch
c61be89262
keep track of user object in messages
2018-04-12 09:50:33 +02:00
Daniel Gultsch
322667275c
all contacts in roster are 'trusted'
2018-04-11 10:07:11 +02:00
Daniel Gultsch
4f2c3df329
get escaped localpart as username. should fixed sasl
2018-04-04 20:06:49 +02:00
Daniel Gultsch
bda95bc571
make error message for 'not encrypted for this device'
2018-04-04 18:21:22 +02:00
Daniel Gultsch
aeaa58071c
only mark visible messages as read
2018-03-30 21:14:06 +02:00
Daniel Gultsch
419e7f5ea6
introduced sroll to bottom button. based on #2777 by @harshitbansal05
2018-03-30 10:35:52 +02:00
Daniel Gultsch
d5c4a987a1
persist some muc configurations
2018-03-30 08:47:37 +02:00
Daniel Gultsch
a6539be52b
introduced tri state omemo setting (off by default, on by default, always)
2018-03-27 15:35:53 +02:00
Daniel Gultsch
06f8d8c5d6
add ruleset to disable omemo-by-default for certain providers
2018-03-26 13:29:01 +02:00
ChaosKid42
536149723e
getNextEncryption does not honor ENCYPTION_MASK ( #2899 )
2018-03-26 12:44:21 +02:00
Daniel Gultsch
acdf822415
code cleanup in Contact class
2018-03-23 16:59:42 +01:00
Daniel Gultsch
ce00767777
ignore bookmark name of 'None'
2018-03-23 16:52:05 +01:00
Daniel Gultsch
5363470bcf
fix getNextEncryption
2018-03-19 10:08:36 +01:00
Daniel Gultsch
5514958e93
presist http upload availibility
2018-03-18 10:30:15 +01:00
Daniel Gultsch
11dfd87672
show message draft in conversation overview
2018-03-17 19:18:22 +01:00
Daniel Gultsch
c1135ad592
use escaped form of jid where approriate
2018-03-11 14:14:56 +01:00
Daniel Gultsch
4bb45996c5
return contact and account.getServer() as String
2018-03-11 12:13:56 +01:00
Daniel Gultsch
dbcc54799d
cache bookmark jid in bookmark
2018-03-11 12:06:07 +01:00
Daniel Gultsch
6944c12186
display irregular unicode code points
2018-03-08 14:02:48 +01:00
Daniel Gultsch
52135625d8
do not enable encryption for bug reports
2018-03-07 22:30:36 +01:00
Daniel Gultsch
ed0ba89551
make omemo default
2018-03-07 22:30:36 +01:00
Daniel Gultsch
13a4a78025
removed unused otr fingerprint methods
2018-03-07 22:30:36 +01:00
Daniel Gultsch
1accf9d961
migrate to xmpp-addr
2018-03-07 22:30:36 +01:00
Daniel Gultsch
de2f5e7a83
reorder and scroll down after resending a message
2018-03-07 22:30:36 +01:00
Daniel Gultsch
2f71c0cb79
wip: new status message dialog
2018-03-07 22:30:36 +01:00
Daniel Gultsch
b393f54a03
get rid of customizable resources
2018-03-07 22:30:35 +01:00
Daniel Gultsch
bf6b54a7aa
get rid of OTR
2018-03-07 22:30:34 +01:00
Daniel Gultsch
de0272fd1a
integrate trust manager into conversations
2018-03-07 22:30:33 +01:00
Daniel Gultsch
7e09fac1da
do not merge bug reports
2018-02-25 14:28:14 +01:00
Daniel Gultsch
7725cb8311
MAM: look at total count for completness. parse fin correctly
2018-02-23 23:11:54 +01:00
Marc Schink
17c6d8827c
Make use of Namespace.DATA constant
2018-02-16 16:12:53 +01:00
Daniel Gultsch
e2ac1db225
do not cross reference bookmarks and conversations
2018-02-10 19:06:31 +01:00
Daniel Gultsch
bcd00bb517
discover file extension in original filename from pgp
2018-01-29 01:40:02 +01:00
Daniel Gultsch
be70eb5650
improvements for self messages
...
* fix omemo in group chats w/o participants
* don't create two axolotl messages when messaging self
* fix read marker for self messages
2018-01-27 10:45:05 +01:00
Daniel Gultsch
eee5d885ba
make chat markers opportunistic in private mucs
2018-01-22 23:21:24 +01:00
Daniel Gultsch
3ff37511d4
sent message receipts after mam catchup
2018-01-20 08:54:44 +01:00
Daniel Gultsch
6663eb0a12
show warning toast if PM is disabled in MUC
2018-01-18 17:35:42 +01:00
Daniel Gultsch
7ab8ed625d
fix wrong avatar shown when true jid doesn't match in muc
2018-01-09 10:13:34 +01:00
Daniel Gultsch
c5ee541906
clear muc avatar after going online
2017-12-18 13:19:11 +01:00
Daniel Gultsch
1753dcac76
save muc subject to disk and use crypto targets for offline name generation
2017-12-17 16:23:19 +01:00
Daniel Gultsch
120ddcf8c9
fixed treatAsDownload() for empty messages
2017-12-14 12:25:21 +01:00
Daniel Gultsch
946d97074f
try to detect invalid nick (w/ emoji) in MUCs
2017-12-11 15:55:10 +01:00
Daniel Gultsch
d349f634d0
ignore data uri after aesgcm uri
2017-12-09 14:45:54 +01:00
Daniel Gultsch
b5fe8789e9
Refined avatar generation a bit
2017-12-05 14:15:10 +01:00
Daniel Gultsch
ffb3eeb913
MAM: update previously sent messages with server msg id during mam query
2017-12-02 20:52:30 +01:00
Daniel Gultsch
61f3539839
MAM: do not use private messages when finding last id in muc
2017-12-02 17:48:54 +01:00
Daniel Gultsch
b158e9fd42
do not return muc whispers as last markable message
2017-11-30 17:26:50 +01:00
Daniel Gultsch
64dd622d32
make 'markable' attribute persistent
2017-11-25 20:55:43 +01:00
Daniel Gultsch
333e7a6510
deduplicate read markers if one with real jid is found
2017-11-23 18:19:05 +01:00
Daniel Gultsch
513427c8a8
MAM: start muc catchup with last sent message if serverId is available
2017-11-23 18:18:30 +01:00
Daniel Gultsch
381fe82b01
save full jid when sending in muc. check chat markers against 'sender'
2017-11-21 15:42:46 +01:00
Daniel Gultsch
28e005f926
send and show read markers in private, non-anonymous groups
2017-11-20 11:26:20 +01:00
Daniel Gultsch
013822fe82
excute db read and writes on different threads
2017-11-16 15:53:03 +01:00
Daniel Gultsch
aa10b9ff05
code refactoring to provide shorter account enabled check
2017-11-06 13:57:25 +01:00
Daniel Gultsch
08aad7d0aa
black list certain local parts and show domain instead
2017-10-27 15:46:12 +02:00
Daniel Gultsch
48baf56622
save message drafts across restarts. fixes #2642
2017-10-01 22:52:21 +02:00
Daniel Gultsch
f0e48c8af5
use own algorithm to count emoji instead of using emoji-java
2017-09-29 22:56:17 +02:00
Daniel Gultsch
30b6201b95
reworked file params to store audio runtime amoung other things
2017-09-19 22:42:22 +02:00
Daniel Gultsch
f4ff644338
reintroduced fixed IV mode for OTR file transfer. fixes #2595
2017-08-23 22:37:13 +02:00
Daniel Gultsch
e6a67a6c26
made avatar cache cleaning more efficent after name changes
2017-08-23 21:49:25 +02:00
Daniel Gultsch
94e0c6b38c
don’t use xmpp or jabber as default muc nick
2017-08-23 10:06:32 +02:00
Daniel Gultsch
6777ecdb00
set status=received on status messages
2017-08-21 16:19:35 +02:00
Daniel Gultsch
dd5e321247
fixed conference naming for joined people not in your contact list
2017-08-15 12:56:32 +02:00
Daniel Gultsch
097fe3e1b6
no automatic reconnect on registration failures
2017-08-12 22:17:04 +02:00
Daniel Gultsch
57c11d42d5
create a new axolotl service when the account jid changes
2017-08-10 22:34:03 +02:00
Daniel Gultsch
0da2f1ed3f
prevent users from editing their account jid after successful login
2017-08-10 22:34:03 +02:00
moparisthebest
197352b669
Read support for 12-byte IVs in addition to 16-byte IVs
2017-08-09 23:42:35 -04:00
Daniel Gultsch
d8d1c1192f
code cleanup and synchronized getMarkableMessage()
2017-08-09 09:43:41 +02:00
Daniel Gultsch
995d975127
removed support for fixed IV mode in otr jingle file transfer that hasn't been used since v0.4 or something
2017-08-09 09:43:12 +02:00
Daniel Gultsch
b925f436fd
add more logging to http download connection and reset file params after setting expected size
2017-08-04 11:58:12 +02:00
Daniel Gultsch
c3cbb21133
cache some information generated from body like isEmojiOnly, fileParams and isGeoUri
2017-08-03 13:24:41 +02:00
Daniel Gultsch
7bcf173866
remove all whitespaces in emoji only messages
2017-08-03 10:55:14 +02:00
Daniel Gultsch
225cca4566
provide extra 'network is unreachable' account state
2017-08-02 18:58:51 +02:00
Daniel Gultsch
82c5924434
display messages that only contain emoji slightly larger
2017-07-30 22:04:58 +02:00
Daniel Gultsch
01b207d44d
avoid empty strings when figuring out display name
2017-07-30 11:39:16 +02:00
Daniel Gultsch
da87eac48e
provide upgrade path for accounts with publish-options
2017-07-18 12:51:15 +02:00
Daniel Gultsch
6c95897f09
fetch device ids for muc members w/o known devices
2017-07-18 12:51:15 +02:00
Daniel Gultsch
8de81e0bc8
sync around Conversation.getLatestMessage()
2017-07-11 23:09:51 +02:00
Daniel Gultsch
ef980ff5cf
show date separators. fixes #2271
2017-07-04 11:01:20 +02:00
Daniel Gultsch
d24022d755
cleanup nameWithoutVersion() code
2017-06-24 16:13:55 +02:00
Daniel Gultsch
5fd4169720
don't use version part of identity name in presence selection. fixes #2519
2017-06-23 14:51:08 +02:00
Daniel Gultsch
5d9d725446
offer to open website if ibb offers oob redirect. fixes #2503
2017-06-19 20:02:41 +02:00
Daniel Gultsch
e722ef6477
do not accept LMC for files
2017-06-02 13:00:02 +02:00
Daniel Gultsch
fe29b51290
rename downgrade attack to downgraded sasl mechanism
2017-05-24 19:12:37 +02:00
Daniel Gultsch
91db2023d3
use mam reference instead of timestamp
2017-05-07 21:05:35 +02:00
Daniel Gultsch
7b6d49f329
unified all account state exceptions
2017-05-05 09:33:05 +02:00
Daniel Gultsch
f98888d796
display open pgp key id in account details and allow to delete. fixes #2470
2017-05-04 13:02:46 +02:00
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