aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* CryptoNext persistance layer mockupAndreas Straub2015-07-191-1/+262
| | | | | Initial sketch of the peripheral storage infrastructure for the new axolotl-based encryption scheme.
* avoid very rare npeDaniel Gultsch2015-07-031-2/+1
|
* Force Nameprepping of JID domain partsAndreas Straub2015-05-141-1/+86
| | | | | | | | | | The IDN.toAscii()/IDN.toUnicode() family only namepreps the original domain passed to it if it contained non-ASCII characters. This means that for all-ASCII domains, no canonicalization is performed, which leads to issues like case-sensitivity. This workaround explicitly namepreps domain parts before calling IDN.toAscii() on them, in order to get a canonicalized representation (most notably, case invariance). A basic DB migration is also included.
* catching out of memory run time exception in hasEnabledAccounts()iNPUTmice2015-02-281-0/+2
|
* fixed bug in find conference in database methodiNPUTmice2015-01-211-3/+6
|
* improved OTR verification part oneDaniel Gultsch2015-01-021-1/+5
|
* Add support for XEP-0191 (Blocking command)Sam Whited2014-12-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #791 Squash of commits: 534f25d7dae3ce6852243e28fdd0a69ac01e9463 808fdf5147f27a912a60bee39aa4bf1ddd4f43b4 1eaf8a8330710ad35ba7c368e04f909af623ae4c 31585242c2359efdcd0eeddb9745077f54dbc9eb 2e69bd0bd0286ed1e98a42f4c3421ba4d8cf524b e904fb5015bf3a1904ab941a1957edf3b1e7abd2 eebbadf3b3816bbf8fcccb763e419fed252d266f 7c5b87724ce494e5a6e8026557ed50a8fd9f23e8 b0eaaf446937794fe19cbdb4f8309c3ff83d4e42 8c652f9e8bb3512958d9ad8c6f1326505f2d98c8 ad0ea1ad948ff6f8fde7b0b10f5163dc8852032f f5d49897e0dba691ef53a0eddb9ed34d129ad442 a08fa64c505bd895b7c626cfad182380373be20b de67079113e08394a276048c31f6b21baa300829 9069f342173ba30c2b20c67529c7ff497a6a257d 0169fa79d161ee898c4b6762e207087682a952d8 8585a5bd75a5d56927fed8317729bd15fffe4dcc 0053528a078369e0b65dcf71bda251072a1299c7 e901a9c3554bd7cca193e92919b463991eadfea7 c5c78257434813c69ab9b7558bcc8f7cbe858433 e905af348d46d77bc46b5f7211527684acc02fab 13a0f9a10c7892b0f90f5fabd2f2615701b0fd66 2cfba1e24b0139839e4453b92be7e20634d150cf 58e074fb5bb44b05a8104250fccd7c024c808c1a 0d6cf98fc8eab212d798ac79b336f9b70a14f06d e23620f56b85bcab9f3b5d9ce1c01524cd9674dc d72cd2fcc8d54176c3ff53411a69b9bb4642eff3 195143dff8836623a37094a6b8fa6aa01ef31580 5f5f3caf3a1e480a99d27ee5c34ba516419c52e4 1dee3d5861c9f9c710da4cbda3688d94c622ca93 23949b8aa32c78b27bab49bb3c4f3ff588925ce1 9bf97f8ae522796e0dacb7f6fe7a7f90f86a93a1