aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* try to fix idn stuffidn_fixesDaniel Gultsch2016-10-201-7/+7
|
* expert 'setting' to remove omemo identity. fixes #2038Daniel Gultsch2016-09-281-3/+0
|
* use history clear date as minimum date for mamDaniel Gultsch2016-09-161-5/+23
|
* don't use display version of jidsDaniel Gultsch2016-09-121-81/+89
|
* be a bit more careful when deleting and deactivating accountsDaniel Gultsch2016-09-071-5/+6
|
* close db cursor after reading certDaniel Gultsch2016-06-121-0/+1
|
* also save form elements in disco storageDaniel Gultsch2016-05-191-1/+5
|
* fixed table creationDaniel Gultsch2016-04-251-10/+14
|
* expert setting to manually change presenceDaniel Gultsch2016-04-221-1/+43
|
* closed some cursors under error conditionsDaniel Gultsch2016-03-311-3/+13
|
* close cursor in caps db queryDaniel Gultsch2016-03-111-1/+3
|
* mark oob messages and always display download buttonDaniel Gultsch2016-03-041-1/+6
|
* basic support for XEP-0308: Last Message Correction. fixes #864Daniel Gultsch2016-02-151-1/+13
|
* Persisitence and loading for ServiceDiscoveryResultStephen Paul Weber2016-01-231-1/+40
|
* removed some unused methods from db backendDaniel Gultsch2016-01-161-83/+0
|
* catch exception when reading message id from databaseDaniel Gultsch2016-01-151-8/+12
|
* use batch transactions when writing rosterDheeraj CVR2016-01-131-0/+3
| | | | Fixes https://github.com/siacs/Conversations/issues/1648
* show certificate informationDaniel Gultsch2015-12-231-5/+34
|
* save certificate when verifying with x509Daniel Gultsch2015-12-231-2/+29
|
* get rid of lastMessageTransmitted in favor of db queryDaniel Gultsch2015-12-111-0/+14
|
* Unset all PGP signatures oncefiaxh2015-12-021-1/+10
| | | | ... so they will be redone to match the changed status.
* initial tor supportDaniel Gultsch2015-12-011-109/+113
|
* Move migration 19 before 17Andreas Straub2015-11-061-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.
* explicitly mark verified omemo keys in UIDaniel Gultsch2015-10-311-2/+3
|
* push CN into nick pep node when uploading certificate. subscribe to nick nodeDaniel Gultsch2015-10-291-1/+5
|
* make unread status and notifications presistent across restartsDaniel Gultsch2015-10-141-1/+5
|
* Iterator to go through all messages of a conversationfiaxh2015-09-201-0/+38
|
* add null pointer check to db migrationDaniel Gultsch2015-09-051-1/+5
|
* Never build a session with oneselfAndreas Straub2015-09-051-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.
* Let UNTRUSTED/UNDECIDED keys become INACTIVEAndreas Straub2015-08-011-9/+10
|
* added missing carbon column message table create statementDaniel Gultsch2015-07-311-0/+1
| | | | fixes #1310
* Tag carbon messages in parser, adapt session logicAndreas Straub2015-07-291-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".
* Refactor out inner classes, cache trust storeAndreas Straub2015-07-291-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.
* Use properly fixed numeral values in Trust enumAndreas Straub2015-07-211-5/+5
| | | | Why, oh God, why?! #thanksjamesgosling
* Fix getNumTrustedKeysAndreas Straub2015-07-201-2/+4
|
* Lock TrustKeys if no trusted keys are availableCryptoNextBetaAndreas Straub2015-07-201-0/+14
|
* Fix axolotl database migrationAndreas Straub2015-07-201-2/+5
| | | | Can't call getWritableDatabase in recreateAxolotlDb()
* Ask for key trust when sending messagesAndreas Straub2015-07-191-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.
* Fix trust status for outgoing messagesAndreas Straub2015-07-191-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
* Fix setIdentityKeyTrust update statementAndreas Straub2015-07-191-2/+2
|
* Fix IdentityKey storage modelAndreas Straub2015-07-191-2/+6
| | | | Added proper UNIQUE statement
* Overhauled Message taggingAndreas Straub2015-07-191-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.
* Fix getSubDeviceSessions SQL queryAndreas Straub2015-07-191-1/+1
|
* Clean up loggingAndreas Straub2015-07-191-4/+4
| | | | | Add a fixed prefix to axolotl-related log messages, set log levels sensibly.
* Add basic PEP managemend UI to EditAccountActivityAndreas Straub2015-07-191-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.
* Refactor axolotl database recreationAndreas Straub2015-07-191-8/+14
|
* Save IdentityKeys in databaseAndreas Straub2015-07-191-0/+85
|
* DatabaseBackend bugfixesAndreas Straub2015-07-191-0/+5
| | | | Don't leak cursors, initially create tables
* Reformat code to use tabsAndreas Straub2015-07-191-17/+17
| | | | This really sucks to do it like this. Sorry. :(
* Reworked axolotl protocol layerAndreas Straub2015-07-191-27/+63
| | | | Numerous fixes