aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/persistance (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-07ask for contact permissions when first opening StartConversationActivityDaniel Gultsch1-2/+6
2015-12-02Unset all PGP signatures oncefiaxh1-1/+10
... so they will be redone to match the changed status.
2015-12-02fixed avatar loading for non-file urisDaniel Gultsch1-2/+2
2015-12-02users are now able to crop their avatar pictures using the android-cropPhilip Flohr1-2/+2
library
2015-12-01initial tor supportDaniel Gultsch1-109/+113
2015-11-30changed method signature of calcSampleSizeDaniel Gultsch1-1/+1
2015-11-25pgp fixes and revert configuration changesDaniel Gultsch1-10/+14
2015-11-06Move migration 19 before 17Andreas Straub1-3/+6
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-10-31explicitly mark verified omemo keys in UIDaniel Gultsch1-2/+3
2015-10-29push CN into nick pep node when uploading certificate. subscribe to nick nodeDaniel Gultsch1-1/+5
2015-10-14make unread status and notifications presistent across restartsDaniel Gultsch1-1/+5
2015-10-06changed store path for filesDaniel Gultsch1-20/+10
2015-10-02properly recycle bitmapsDaniel Gultsch1-4/+16
2015-09-29rotate thumbnails. fixes #1438Daniel Gultsch1-6/+15
2015-09-20Iterator to go through all messages of a conversationfiaxh1-0/+38
2015-09-05add null pointer check to db migrationDaniel Gultsch1-1/+5
2015-09-05Never build a session with oneselfAndreas Straub1-11/+56
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-08-31made useImageAsIs determination a bit more foolproof (samsung)Daniel Gultsch1-1/+6
2015-08-25remove unused imports.Michael1-2/+0
2015-08-25additonal null checks in file backendDaniel Gultsch1-0/+3
2015-08-23bugfix: next encryption is now being properly detectedDaniel Gultsch1-1/+0
2015-08-19check if inputstream is null before cropping avatar imagesDaniel Gultsch1-0/+6
2015-08-16catch broken base64 in avatarsDaniel Gultsch1-5/+1
2015-08-15provide extra interface to close sockets. fixes #1330Daniel Gultsch1-0/+10
2015-08-11do not touch pictures that are already in the right formatDaniel Gultsch1-18/+19
fixed #522
2015-08-01Let UNTRUSTED/UNDECIDED keys become INACTIVEAndreas Straub1-9/+10
2015-07-31added missing carbon column message table create statementDaniel Gultsch1-0/+1
fixes #1310
2015-07-29Tag carbon messages in parser, adapt session logicAndreas Straub1-1/+5
Messages sent from another device of the own account are now explicitly tagged as carboned message. The session detection logic now uses this tag to find "session borders".
2015-07-29Refactor out inner classes, cache trust storeAndreas Straub1-130/+131
Moves SQLiteAxolotlStore and XmppAxolotlSession into proper classes. IdentityKeys trust statuses are now cached in an LruCache to prevent hammering the database when rendering the UI.
2015-07-21made image file format configurable by Config.javaDaniel Gultsch1-4/+14
2015-07-21Use properly fixed numeral values in Trust enumAndreas Straub1-5/+5
Why, oh God, why?! #thanksjamesgosling
2015-07-20Fix getNumTrustedKeysAndreas Straub1-2/+4
2015-07-20Lock TrustKeys if no trusted keys are availableAndreas Straub1-0/+14
2015-07-20Optimize importsAndreas Straub1-15/+15
2015-07-20Fix axolotl database migrationAndreas Straub1-2/+5
Can't call getWritableDatabase in recreateAxolotlDb()
2015-07-19Ask for key trust when sending messagesAndreas Straub1-0/+9
If the contact (or the own account) has keys that have UNDECIDED trust, we now drop the user into the new TrustKeysActivity, where they have to decide for each new key whether it should be TRUSTED or UNTRUSTED.
2015-07-19Fix trust status for outgoing messagesAndreas Straub1-13/+24
Tag sent messages with own fingerprint, set own fingerprint as always trusted, include own fingerprint in database trust search, explicitly reset trust colorfilter
2015-07-19Fix setIdentityKeyTrust update statementAndreas Straub1-2/+2
2015-07-19Fix IdentityKey storage modelAndreas Straub1-2/+6
Added proper UNIQUE statement
2015-07-19Overhauled Message taggingAndreas Straub1-35/+58
Messages are now tagged with the IdentityKey fingerprint of the originating session. IdentityKeys have one of three trust states: undecided (default), trusted, and untrusted/not yet trusted.
2015-07-19Fix getSubDeviceSessions SQL queryAndreas Straub1-1/+1
2015-07-19Clean up loggingAndreas Straub1-4/+4
Add a fixed prefix to axolotl-related log messages, set log levels sensibly.
2015-07-19Add basic PEP managemend UI to EditAccountActivityAndreas Straub1-0/+21
EditAccountActivity now show own fingerprint, and gives an option to regenerate local keying material (and wipe all sessions associated with the old keys in the process). It also now displays a list of other own devices, and gives an option to remove all but the current device.
2015-07-19Refactor axolotl database recreationAndreas Straub1-8/+14
2015-07-19Save IdentityKeys in databaseAndreas Straub1-0/+85
2015-07-19DatabaseBackend bugfixesAndreas Straub1-0/+5
Don't leak cursors, initially create tables
2015-07-19Reformat code to use tabsAndreas Straub1-17/+17
This really sucks to do it like this. Sorry. :(
2015-07-19Reworked axolotl protocol layerAndreas Straub1-27/+63
Numerous fixes
2015-07-19CryptoNext persistance layer mockupAndreas Straub1-1/+262
Initial sketch of the peripheral storage infrastructure for the new axolotl-based encryption scheme.
2015-07-11try to catch weird npe in android sdkDaniel Gultsch1-0/+2