aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-07-21Add INACTIVE state for removed keysAndreas Straub8-40/+101
We introduce a new trust state: INACTIVE. This state is intended for old keys that have been removed. When a TRUSTED device is removed from the PEP devicelist, it's status will be set to INACTIVE. INACTIVE keys are shown in the UI as greyed out, non-interactible key rows. Messages are not encrypted for INACTIVE devices. When an INACTIVE device reappears in PEP, or a message is received from an INACTIVE device, it is set back to trusted.
2015-07-21Fill own device sessions into SessionMapAndreas Straub1-7/+14
2015-07-21allow for private messages being started from muc details in anonymous mucsDaniel Gultsch3-15/+42
2015-07-21and now do that properlyDaniel Gultsch1-1/+1
2015-07-21end otr session when receiving failed otr message warningsDaniel Gultsch1-1/+7
2015-07-21bugfix: also add no-permanent-storage to message hintsDaniel Gultsch2-1/+2
2015-07-21bugfix: changed condition of onOtrSessionEstablished being calledDaniel Gultsch1-6/+6
fixed #1263 fixed #1260 fixed #1293
2015-07-21Use properly fixed numeral values in Trust enumAndreas Straub2-9/+31
Why, oh God, why?! #thanksjamesgosling
2015-07-21Remove unused importAndreas Straub1-1/+0
2015-07-21Switch payload encryption to AES-GCMAndreas Straub3-17/+46
This also ensures that the IV is generated with proper randomness.
2015-07-20Also decrypt messages from UNTRUSTED sessionsAndreas Straub1-1/+1
2015-07-20Refactor axolotl send processing/caching flowAndreas Straub3-17/+16
2015-07-20Start TrustKeysActivity if no keys are TRUSTEDAndreas Straub3-10/+21
If there are no UNDECIDED keys, but none of the contact's keys are trusted, redirect the user to the TrustKeysActivity
2015-07-20Do not display clear devices button if not onlineAndreas Straub1-0/+1
2015-07-20Add purge axolotl key optionAndreas Straub5-38/+96
Can now long-press a key to permanently purge it.
2015-07-20Fix getNumTrustedKeysAndreas Straub1-2/+4
2015-07-20attempt to fix the delay problemDaniel Gultsch5-53/+39
2015-07-20changed message bubble appearanceRaphael Pohl1-10/+27
2015-07-20rely on refreshUi/refreshUiReal and make sure it is being used everywhereDaniel Gultsch14-76/+66
2015-07-20Lock TrustKeys if no trusted keys are availableAndreas Straub3-4/+48
2015-07-20Optimize importsAndreas Straub47-195/+167
2015-07-20don't show 'show contact details' context menu item when contact isn not in ↵Daniel Gultsch1-3/+8
roster
2015-07-20Fix set/remove OnUpdateBlocklistListenerAndreas Straub1-5/+5
2015-07-20Fix axolotl database migrationAndreas Straub1-2/+5
Can't call getWritableDatabase in recreateAxolotlDb()
2015-07-19Remove device list from EditAccountAndreas Straub1-22/+0
2015-07-19Add clear devices to overflow menu in EditAccountAndreas Straub1-3/+11
2015-07-19Ask for key trust when sending messagesAndreas Straub8-57/+453
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.
2015-07-19Encrypt files for HTTP upload in encrypted chatsAndreas Straub2-3/+7
2015-07-19Refactor trust key ui and show in account detailsAndreas Straub3-48/+102
Refactored the trust key row UI element so it can be used in multiple places. It now also uses a slider to toggle the trust state, and the redundant trust state description was removed. EditAccountActivity now shows the keys of other devices associated with that account.
2015-07-19Send correct body for HTTP filesAndreas Straub1-1/+7
When using HTTP upload to send files, take care to transmit only the URL rather than the entire body, which contains metadata.
2015-07-19Handle file transmission properly in axolotlAndreas Straub1-4/+12
2015-07-19Remove unneccessary codeAndreas Straub1-2/+1
2015-07-19Fix trust status for outgoing messagesAndreas Straub5-28/+43
Tag sent messages with own fingerprint, set own fingerprint as always trusted, include own fingerprint in database trust search, explicitly reset trust colorfilter
2015-07-19Don't merge messages with different trust statusesAndreas Straub1-1/+7
2015-07-19Fix copying of axolotl keys to clipboardSam Whited1-1/+1
2015-07-19Add refresh icon to v21 themeSam Whited1-1/+0
2015-07-19Disable Axolotl option if not usableAndreas Straub2-33/+10
In MUCs or if contact is not axolotl capable, disable axolotl menu option
2015-07-19Show trust status of messages' originating sessionAndreas Straub2-0/+17
Shade lock icon red if message was received in a session that has not been marked trusted by the user or fingerprint is unknown
2015-07-19Add key trust toggle to ContactDetailsActivityAndreas Straub1-10/+39
Can now toggle IdentityKey trust
2015-07-19Ensure that available sessions are always usedAndreas Straub1-9/+30
Any time a new session is established, call syncRosterToDisk() to ensure that on subsequent restoreFromDatabase() calls, the roster is actually available. This is important so that initAccountServices() can properly initialize the SessionMap. This prevents a race condition where after adding a new account and initiating sessions with it, if the app is killed (e.g. by reinstall) before triggering a syncRosterToDisk(), subsequent restores will not have the roster available, leading to missing XmppAxolotlSessions in the SessionMap cache. As a result of this, a new session was initiated when sending a new message, and received messages could not be tagged with the originating session's fingerprint. As an added sanity check, go to the database to confirm no records are present before creating fresh XmppAxolotlSession objects (both in the sending and receiving case).
2015-07-19Fix setIdentityKeyTrust update statementAndreas Straub1-2/+2
2015-07-19Fix IdentityKey storage modelAndreas Straub1-2/+6
Added proper UNIQUE statement
2015-07-19Fix and expand key regeneration functionAndreas Straub1-9/+18
Wipe session cache to prevent stale sessions being used. Wipe fetch status cache to enable recreation of sessions. Regenerate deviceId, so that foreign devices will talk to us again.
2015-07-19Display trust status in ContactDetailsActivityAndreas Straub1-0/+3
2015-07-19Overhauled Message taggingAndreas Straub5-88/+138
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.
2015-07-19Postpone initAccountService until roster loadedAndreas Straub1-3/+1
The AxolotlService depends on the roster being loaded when it is initialized so that it can fill its in-memory SessionMap.
2015-07-19Fix getSubDeviceSessions SQL queryAndreas Straub1-1/+1
2015-07-19Display axolotl chat message hintAndreas Straub1-0/+3
2015-07-19Use full int range for device IDsAndreas Straub1-1/+1
2015-07-19Clean up unused constantAndreas Straub1-1/+0