Commit log

e79f82c attempt to fix the delay problem

Daniel Gultsch created

dcf9117 changed sizes of avatars and padding in new message bubbles

Daniel Gultsch created

e6cb12d changed message bubble appearance

Raphael Pohl created

504ef0b rely on refreshUi/refreshUiReal and make sure it is being used everywhere

Daniel Gultsch created

75a1cfe Merge branch 'development' of github.com:siacs/Conversations into development

Daniel Gultsch created

8559ca0 fixed monospace font and android L

Daniel Gultsch created

d0c99aa Remove duplicate dependency

Andreas Straub created

aaa8fe8 Merge branch 'CryptoNextBeta' into development

Click to expand commit body
* CryptoNextBeta: (60 commits)
  Lock TrustKeys if no trusted keys are available
  Optimize imports
  Use MD style for key trust toggle switch
  Fix set/remove OnUpdateBlocklistListener
  Fix axolotl database migration
  Remove device list from EditAccount
  Add clear devices to overflow menu in EditAccount
  Ask for key trust when sending messages
  Encrypt files for HTTP upload in encrypted chats
  Refactor trust key ui and show in account details
  Send correct body for HTTP files
  Handle file transmission properly in axolotl
  Remove unneccessary code
  Fix trust status for outgoing messages
  Don't merge messages with different trust statuses
  Fix copying of axolotl keys to clipboard
  Add refresh icon to v21 theme
  Disable Axolotl option if not usable
  Show trust status of messages' originating session
  Add key trust toggle to ContactDetailsActivity
  ...

Andreas Straub created

19a0ae4 Lock TrustKeys if no trusted keys are available

Andreas Straub created

012f036 Optimize imports

Andreas Straub created

9c91b90 don't show 'show contact details' context menu item when contact isn not in roster

Daniel Gultsch created

576330f Use MD style for key trust toggle switch

Andreas Straub created

e9d7d7e Fix set/remove OnUpdateBlocklistListener

Andreas Straub created

2d2da11 Merge pull request #1289 from kriztan/patch-2

Click to expand commit body
show contact details in conference details ...

Daniel Gultsch created

dd96407 Fix axolotl database migration

Click to expand commit body
Can't call getWritableDatabase in recreateAxolotlDb()

Andreas Straub created

8571610 Merge pull request #1290 from SamWhited/accent_cab

Click to expand commit body
Change CAB to accent color in v21

Daniel Gultsch created

2240066 Remove device list from EditAccount

Andreas Straub created

eea8c28 Change CAB to accent color in v21

Sam Whited created

480b1cd Add clear devices to overflow menu in EditAccount

Andreas Straub created

14010bf Ask for key trust when sending messages

Click to expand commit body
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.

Andreas Straub created

ec0aff4 Encrypt files for HTTP upload in encrypted chats

Andreas Straub created

6f67469 Refactor trust key ui and show in account details

Click to expand commit body
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.

Andreas Straub created

9c4d55f Send correct body for HTTP files

Click to expand commit body
When using HTTP upload to send files, take care to transmit only the URL
rather than the entire body, which contains metadata.

Andreas Straub created

2045a71 Handle file transmission properly in axolotl

Andreas Straub created

4370387 Remove unneccessary code

Andreas Straub created

4038af2 Fix trust status for outgoing messages

Click to expand commit body
Tag sent messages with own fingerprint, set own fingerprint as always
trusted, include own fingerprint in database trust search, explicitly
reset trust colorfilter

Andreas Straub created

e8ec2ee Don't merge messages with different trust statuses

Andreas Straub created

fca0c36 Fix copying of axolotl keys to clipboard

Sam Whited created

3ab59c9 Add refresh icon to v21 theme

Sam Whited created

6c38e53 Disable Axolotl option if not usable

Click to expand commit body
In MUCs or if contact is not axolotl capable, disable axolotl menu
option

Andreas Straub created

9e8d9a6 Show trust status of messages' originating session

Click to expand commit body
Shade lock icon red if message was received in a session that has not
been marked trusted by the user or fingerprint is unknown

Andreas Straub created

3d33946 Add key trust toggle to ContactDetailsActivity

Click to expand commit body
Can now toggle IdentityKey trust

Andreas Straub created

35714d3 Ensure that available sessions are always used

Click to expand commit body
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).

Andreas Straub created

31d375c Fix setIdentityKeyTrust update statement

Andreas Straub created

160e401 Fix IdentityKey storage model

Click to expand commit body
Added proper UNIQUE statement

Andreas Straub created

461d044 Fix and expand key regeneration function

Click to expand commit body
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.

Andreas Straub created

23a4e1e Display trust status in ContactDetailsActivity

Andreas Straub created

d173913 Overhauled Message tagging

Click to expand commit body
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.

Andreas Straub created

7f91854 Postpone initAccountService until roster loaded

Click to expand commit body
The AxolotlService depends on the roster being loaded when it is
initialized so that it can fill its in-memory SessionMap.

Andreas Straub created

03614a0 Fix getSubDeviceSessions SQL query

Andreas Straub created

2628662 Display axolotl chat message hint

Andreas Straub created

f1d73b9 Use full int range for device IDs

Andreas Straub created

540faeb Clean up unused constant

Andreas Straub created

bd29653 Make some fields final

Andreas Straub created

3458f5b Clean up logging

Click to expand commit body
Add a fixed prefix to axolotl-related log messages, set log levels
sensibly.

Andreas Straub created

7049904 Add basic PEP managemend UI to EditAccountActivity

Click to expand commit body
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.

Andreas Straub created

37b214a show contact details in conference details ...

Christian S created

968410a Fix devicelist update handling

Click to expand commit body
No longer store own device ID (so that we don't encrypt messages for
ourselves), verify that own device ID is present in update list
(otherwise republish), reflect update in UI.

Andreas Straub created

7a962e5 Refactor axolotl database recreation

Andreas Straub created

8fd46d4 Adapt prettifyFingerprint() to axolotl FP sizes

Andreas Straub created