Daniel Gultsch
cc1402442a
don't load signed prekeys on startup
2017-05-04 11:03:58 +02:00
Daniel Gultsch
a5e15d5a10
code cleanup: made conversation property final in message object
2017-04-26 12:43:52 +02:00
Daniel Gultsch
9d043076e8
only take 1:1 conversations into account when determining catchup timestamp
2017-03-08 20:54:13 +01:00
Daniel Gultsch
d9e2ab62b2
add index to message.conversationUuid
2017-02-07 21:17:08 +01:00
Daniel Gultsch
6313c3c92e
Merge pull request #2270 from moparisthebest/master
...
Stop Conversations force closing over sqlite errors due to long messages
2017-02-07 17:35:25 +01:00
Daniel Gultsch
d7198bd68c
fixed rare npe when doing file migration
2017-02-07 10:20:13 +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
a86b2fefd9
add database and file migrations for 1.16.0
2017-01-25 13:22:20 +01:00
Daniel Gultsch
9b6ae6d75f
configurable local message retention period. (untested)
2017-01-23 17:14:30 +01:00
Daniel Gultsch
d983f0bc71
fixed migrations from pre-btbv phase
2016-11-25 17:04:23 +01:00
Daniel Gultsch
7b99346a4b
when swiping don't clean startup counter entirely. just don't count last startup
2016-11-21 10:48:59 +01:00
Daniel Gultsch
b71aa6d3a4
remove omemo devices from annoucement after 7 days of inactivity
2016-11-19 21:39:16 +01:00
Daniel Gultsch
6362799d56
save last activation time in fingerprint status
2016-11-19 13:34:54 +01:00
Daniel Gultsch
7e2e42cb11
parse omemo fingerprints from uris
2016-11-17 20:09:42 +01:00
Daniel Gultsch
4d965e96ed
reset startup count when swiped away (only count kills)
2016-11-17 10:58:26 +01:00
Daniel Gultsch
05fc15be3d
refactore trust enum to be FingerprintStatus class with trust and active
2016-11-14 22:27:41 +01:00
Daniel Gultsch
698ddadbee
brought restart threshold down to 8 times in 8h
2016-11-08 21:37:44 +01:00
Daniel Gultsch
bca8f11c9c
add frequent restart detection
2016-11-08 12:20:07 +01:00
Daniel Gultsch
8557120ef8
add error message to failed messages. accessible via context menu
2016-10-26 12:26:04 +02:00
Daniel Gultsch
44ce5df359
write prepped string to db. use display version everywhere else
2016-10-20 17:31:46 +02:00
Daniel Gultsch
f0dbcce58f
expert 'setting' to remove omemo identity. fixes #2038
2016-09-28 12:24:50 +02:00
Daniel Gultsch
7b445bc4c7
use history clear date as minimum date for mam
2016-09-16 11:07:52 +02:00
Daniel Gultsch
d3dfecae8a
don't use display version of jids
2016-09-12 22:48:51 +02:00
Daniel Gultsch
416481bb65
be a bit more careful when deleting and deactivating accounts
2016-09-07 14:34:58 +02:00
Daniel Gultsch
74d376be68
close db cursor after reading cert
2016-06-12 12:50:31 +02:00
Daniel Gultsch
0eb8d4226e
also save form elements in disco storage
2016-05-19 10:41:56 +02:00
Daniel Gultsch
59652ecaf2
fixed table creation
2016-04-25 11:06:17 +02:00
Daniel Gultsch
1901abd05f
expert setting to manually change presence
2016-04-22 21:25:06 +02:00
Daniel Gultsch
8d98c52803
closed some cursors under error conditions
2016-03-31 13:55:46 +02:00
Daniel Gultsch
9548f43998
close cursor in caps db query
2016-03-11 09:01:27 +01:00
Daniel Gultsch
09d87965fb
mark oob messages and always display download button
2016-03-04 20:09:21 +01:00
Daniel Gultsch
c0b3a3ff0c
basic support for XEP-0308: Last Message Correction. fixes #864
2016-02-15 23:15:04 +01:00
Stephen Paul Weber
ad36a4ba89
Persisitence and loading for ServiceDiscoveryResult
2016-01-23 10:53:56 -05:00
Daniel Gultsch
ad5bcb7d43
removed some unused methods from db backend
2016-01-16 18:57:19 +01:00
Daniel Gultsch
943d0391d4
catch exception when reading message id from database
2016-01-15 23:46:52 +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
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
293e820a58
get rid of lastMessageTransmitted in favor of db query
2015-12-11 13:52:04 +01:00
fiaxh
e5f154316c
Unset all PGP signatures once
...
... so they will be redone to match the changed status.
2015-12-02 18:06:48 +00:00
Daniel Gultsch
f0b1761ec3
initial tor support
2015-12-01 12:00:50 +01:00
Andreas Straub
c6e54e7e5a
Move migration 19 before 17
...
Migration 17 depends on Account deserialization, so any migrations that
touch the accounts table need to be applied beforehand.
Re-writing the migration to work directly on the database would lead to
a lot of code duplication, so it's not worth it at this time, but might
become necessary later on to avoid dependency cycles.
2015-11-06 14:50:55 +01:00
Daniel Gultsch
bca29cf7fd
explicitly mark verified omemo keys in UI
2015-10-31 10:57:57 +01:00
Daniel Gultsch
c7ff196f58
push CN into nick pep node when uploading certificate. subscribe to nick node
2015-10-29 13:41:08 +01:00
Daniel Gultsch
5f9476448f
make unread status and notifications presistent across restarts
2015-10-14 21:18:34 +02:00
fiaxh
024e697cee
Iterator to go through all messages of a conversation
2015-09-20 22:17:32 +01:00
Daniel Gultsch
2c4a6b0912
add null pointer check to db migration
2015-09-05 18:47:37 +02:00
Andreas Straub
e2d506c96a
Never build a session with oneself
...
If we detect our own ID is not in our own devicelist on receiving an
update, we reannounce ourselves. This used to have the side effect of
modifying the list of devices we thought were in the update set, causing
us to accidentally build a session with ourselves.
This lead to our own key being set to TRUSTED_INACTIVE, resulting in red
lock icons on messages sent by the own device.
We fix this by having publishOwnDeviceId() operate on a copy of the
original set. This commit also includes a db migration which deletes
sessions with oneself and sets own keys back to TRUSTED.
2015-09-05 17:29:58 +02:00
Andreas Straub
6cd9383e53
Let UNTRUSTED/UNDECIDED keys become INACTIVE
2015-08-01 18:30:11 +02:00
Daniel Gultsch
26ac7c9030
added missing carbon column message table create statement
...
fixes #1310
2015-07-31 13:08:35 +02:00