aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/persistance/DatabaseBackend.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-11-18reset startup count when swiped away (only count kills)Christian Schneppe1-0/+2
2016-11-17refactore trust enum to be FingerprintStatus class with trust and activeChristian Schneppe1-81/+119
2016-11-11brought restart threshold down to 8 times in 8hChristian Schneppe1-6/+15
2016-11-08add frequent restart detectionChristian Schneppe1-2/+25
2016-10-26add error message to failed messages. accessible via context menuChristian Schneppe1-1/+6
2016-10-26write prepped string to db. use display version everywhere elseChristian Schneppe1-8/+8
2016-09-28expert 'setting' to remove omemo identityChristian Schneppe1-4/+0
2016-09-17use history clear date as minimum date for mamChristian Schneppe1-6/+23
2016-09-14correct variablesChristian Schneppe1-2/+2
2016-09-14don't use display version of jidsDaniel Gultsch1-83/+91
2016-09-08be a bit more careful when deleting and deactivating accountsDaniel Gultsch1-5/+6
2016-07-29changed package id inside manifest and projectChristian Schneppe1-14/+14
2016-06-12close db cursor after reading certDaniel Gultsch1-0/+1
2016-06-04check database versione before importChristian Schneppe1-1/+1
* don't import database if backup version is newer than system version
2016-05-31optimize importsChristian Schneppe1-1/+1
2016-05-31add possibility to export database during update checkChristian Schneppe1-1/+1
2016-05-19also save form elements in disco storageDaniel Gultsch1-1/+5
2016-04-25fixed table creationDaniel Gultsch1-10/+14
2016-04-22expert setting to manually change presenceDaniel Gultsch1-1/+43
2016-03-31closed some cursors under error conditionsDaniel Gultsch1-3/+13
2016-03-11close cursor in caps db queryDaniel Gultsch1-1/+3
2016-03-04mark oob messages and always display download buttonDaniel Gultsch1-1/+6
2016-02-15basic support for XEP-0308: Last Message Correction. fixes #864Daniel Gultsch1-1/+13
2016-01-23Persisitence and loading for ServiceDiscoveryResultStephen Paul Weber1-1/+40
2016-01-16removed some unused methods from db backendDaniel Gultsch1-83/+0
2016-01-15catch exception when reading message id from databaseDaniel Gultsch1-8/+12
2016-01-13use batch transactions when writing rosterDheeraj CVR1-0/+3
Fixes https://github.com/siacs/Conversations/issues/1648
2015-12-23show certificate informationDaniel Gultsch1-5/+34
2015-12-23save certificate when verifying with x509Daniel Gultsch1-2/+29
2015-12-12get rid of lastMessageTransmitted in favor of db queryDaniel Gultsch1-0/+14
2015-12-11get rid of lastMessageTransmitted in favor of db queryDaniel Gultsch1-0/+14
2015-12-04Unset all PGP signatures oncefiaxh1-1/+10
... so they will be redone to match the changed status.
2015-12-04initial tor supportDaniel Gultsch1-109/+113
2015-12-02Unset all PGP signatures oncefiaxh1-1/+10
... so they will be redone to match the changed status.
2015-12-01initial tor supportDaniel Gultsch1-109/+113
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-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-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-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-20Fix axolotl database migrationAndreas Straub1-2/+5
Can't call getWritableDatabase in recreateAxolotlDb()