Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Iterator to go through all messages of a conversation | fiaxh | 2015-09-20 | 1 | -0/+38 |
| | |||||
* | add null pointer check to db migration | Daniel Gultsch | 2015-09-05 | 1 | -1/+5 |
| | |||||
* | Never build a session with oneself | Andreas Straub | 2015-09-05 | 1 | -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 Gultsch | 2015-08-31 | 1 | -1/+6 |
| | |||||
* | remove unused imports. | Michael | 2015-08-25 | 1 | -2/+0 |
| | |||||
* | additonal null checks in file backend | Daniel Gultsch | 2015-08-25 | 1 | -0/+3 |
| | |||||
* | bugfix: next encryption is now being properly detected | Daniel Gultsch | 2015-08-23 | 1 | -1/+0 |
| | |||||
* | check if inputstream is null before cropping avatar images | Daniel Gultsch | 2015-08-19 | 1 | -0/+6 |
| | |||||
* | catch broken base64 in avatars | Daniel Gultsch | 2015-08-16 | 1 | -5/+1 |
| | |||||
* | provide extra interface to close sockets. fixes #1330 | Daniel Gultsch | 2015-08-15 | 1 | -0/+10 |
| | |||||
* | do not touch pictures that are already in the right format | Daniel Gultsch | 2015-08-11 | 1 | -18/+19 |
| | | | | fixed #522 | ||||
* | Let UNTRUSTED/UNDECIDED keys become INACTIVE | Andreas Straub | 2015-08-01 | 1 | -9/+10 |
| | |||||
* | added missing carbon column message table create statement | Daniel Gultsch | 2015-07-31 | 1 | -0/+1 |
| | | | | fixes #1310 | ||||
* | Tag carbon messages in parser, adapt session logic | Andreas Straub | 2015-07-29 | 1 | -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 store | Andreas Straub | 2015-07-29 | 1 | -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.java | Daniel Gultsch | 2015-07-21 | 1 | -4/+14 |
| | |||||
* | Use properly fixed numeral values in Trust enum | Andreas Straub | 2015-07-21 | 1 | -5/+5 |
| | | | | Why, oh God, why?! #thanksjamesgosling | ||||
* | Fix getNumTrustedKeys | Andreas Straub | 2015-07-20 | 1 | -2/+4 |
| | |||||
* | Lock TrustKeys if no trusted keys are available | Andreas Straub | 2015-07-20 | 1 | -0/+14 |
| | |||||
* | Optimize imports | Andreas Straub | 2015-07-20 | 1 | -15/+15 |
| | |||||
* | Fix axolotl database migration | Andreas Straub | 2015-07-20 | 1 | -2/+5 |
| | | | | Can't call getWritableDatabase in recreateAxolotlDb() | ||||
* | Ask for key trust when sending messages | Andreas Straub | 2015-07-19 | 1 | -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 messages | Andreas Straub | 2015-07-19 | 1 | -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 statement | Andreas Straub | 2015-07-19 | 1 | -2/+2 |
| | |||||
* | Fix IdentityKey storage model | Andreas Straub | 2015-07-19 | 1 | -2/+6 |
| | | | | Added proper UNIQUE statement | ||||
* | Overhauled Message tagging | Andreas Straub | 2015-07-19 | 1 | -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 query | Andreas Straub | 2015-07-19 | 1 | -1/+1 |
| | |||||
* | Clean up logging | Andreas Straub | 2015-07-19 | 1 | -4/+4 |
| | | | | | Add a fixed prefix to axolotl-related log messages, set log levels sensibly. | ||||
* | Add basic PEP managemend UI to EditAccountActivity | Andreas Straub | 2015-07-19 | 1 | -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 recreation | Andreas Straub | 2015-07-19 | 1 | -8/+14 |
| | |||||
* | Save IdentityKeys in database | Andreas Straub | 2015-07-19 | 1 | -0/+85 |
| | |||||
* | DatabaseBackend bugfixes | Andreas Straub | 2015-07-19 | 1 | -0/+5 |
| | | | | Don't leak cursors, initially create tables | ||||
* | Reformat code to use tabs | Andreas Straub | 2015-07-19 | 1 | -17/+17 |
| | | | | This really sucks to do it like this. Sorry. :( | ||||
* | Reworked axolotl protocol layer | Andreas Straub | 2015-07-19 | 1 | -27/+63 |
| | | | | Numerous fixes | ||||
* | CryptoNext persistance layer mockup | Andreas Straub | 2015-07-19 | 1 | -1/+262 |
| | | | | | Initial sketch of the peripheral storage infrastructure for the new axolotl-based encryption scheme. | ||||
* | try to catch weird npe in android sdk | Daniel Gultsch | 2015-07-11 | 1 | -0/+2 |
| | |||||
* | renamed downloadable to transferable | Daniel Gultsch | 2015-07-10 | 1 | -2/+2 |
| | |||||
* | avoid very rare npe | Daniel Gultsch | 2015-07-03 | 1 | -2/+1 |
| | |||||
* | made httpconnection (download) ready all kind of files | Daniel Gultsch | 2015-06-30 | 1 | -1/+5 |
| | |||||
* | made storage path decision entirely based upon file extension | Daniel Gultsch | 2015-06-30 | 1 | -2/+4 |
| | |||||
* | refactored bodyContainsDownloadable to be more flexible | Daniel Gultsch | 2015-06-30 | 1 | -1/+1 |
| | |||||
* | initial http upload support | Daniel Gultsch | 2015-06-29 | 1 | -1/+1 |
| | | | | be careful: little error handling and no encryption | ||||
* | Force Nameprepping of JID domain parts | Andreas Straub | 2015-05-14 | 1 | -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 uri | Daniel Gultsch | 2015-04-28 | 1 | -3/+3 |
| | |||||
* | print stack trace on io error | Daniel Gultsch | 2015-04-28 | 1 | -6/+6 |
| | |||||
* | hard code bitmap configs | Daniel Gultsch | 2015-04-26 | 1 | -2/+2 |
| | |||||
* | cleaned up file handling | Daniel Gultsch | 2015-04-25 | 1 | -61/+77 |
| | |||||
* | Set file size also for cached avatars | Holger Weiß | 2015-03-17 | 1 | -29/+31 |
| | |||||
* | catching out of memory run time exception in hasEnabledAccounts() | iNPUTmice | 2015-02-28 | 1 | -0/+2 |
| | |||||
* | fixed bug in find conference in database method | iNPUTmice | 2015-01-21 | 1 | -3/+6 |
| |