aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/persistance (follow)
Commit message (Collapse)AuthorAgeFilesLines
* changed store path for filesDaniel Gultsch2015-10-061-20/+10
|
* properly recycle bitmapsDaniel Gultsch2015-10-021-4/+16
|
* rotate thumbnails. fixes #1438Daniel Gultsch2015-09-291-6/+15
|
* 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.
* made useImageAsIs determination a bit more foolproof (samsung)Daniel Gultsch2015-08-311-1/+6
|
* remove unused imports.Michael2015-08-251-2/+0
|
* additonal null checks in file backendDaniel Gultsch2015-08-251-0/+3
|
* bugfix: next encryption is now being properly detectedDaniel Gultsch2015-08-231-1/+0
|
* check if inputstream is null before cropping avatar imagesDaniel Gultsch2015-08-191-0/+6
|
* catch broken base64 in avatarsDaniel Gultsch2015-08-161-5/+1
|
* provide extra interface to close sockets. fixes #1330Daniel Gultsch2015-08-151-0/+10
|
* do not touch pictures that are already in the right formatDaniel Gultsch2015-08-111-18/+19
| | | | fixed #522
* 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.
* made image file format configurable by Config.javaDaniel Gultsch2015-07-211-4/+14
|
* 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 availableAndreas Straub2015-07-201-0/+14
|
* Optimize importsAndreas Straub2015-07-201-15/+15
|
* 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.
* try to catch weird npe in android sdkDaniel Gultsch2015-07-111-0/+2
|
* renamed downloadable to transferableDaniel Gultsch2015-07-101-2/+2
|
* avoid very rare npeDaniel Gultsch2015-07-031-2/+1
|
* made httpconnection (download) ready all kind of filesDaniel Gultsch2015-06-301-1/+5
|
* made storage path decision entirely based upon file extensionDaniel Gultsch2015-06-301-2/+4
|
* refactored bodyContainsDownloadable to be more flexibleDaniel Gultsch2015-06-301-1/+1
|
* initial http upload supportDaniel Gultsch2015-06-291-1/+1
| | | | be careful: little error handling and no encryption
* 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.
* npe check after reading image uriDaniel Gultsch2015-04-281-3/+3
|
* print stack trace on io errorDaniel Gultsch2015-04-281-6/+6
|
* hard code bitmap configsDaniel Gultsch2015-04-261-2/+2
|
* cleaned up file handlingDaniel Gultsch2015-04-251-61/+77
|