akwizgran
0f5f440f1c
Add key set and key set ID classes for static keys.
2019-04-16 16:59:07 +01:00
akwizgran
d5ac2c9ead
Fix master secret/master key/root key terminology.
...
In the key agreement, contact exchange and introduction protocols we
refer to the master key. In the transport protocol we refer to the root
key. When adding a contact in person, the key agreement protocol's
master key is used as the transport root key. When a contact is
introduced, the introduction protocol's master key is used as the
transport root key.
2019-04-16 16:34:26 +01:00
akwizgran
d603607a90
Allow event executor tasks to be attached to transactions.
2019-04-05 15:57:20 +01:00
akwizgran
c3b5b04b71
Broadcast events asynchronously.
2019-04-05 15:00:49 +01:00
Torsten Grote
d40cfd30a2
Let IntroductionResponse know if introduction can succeed
...
and use this information in the android UI for showing that the user
needs to wait or not.
2019-03-26 16:18:25 -03:00
Torsten Grote
3b4a92f66c
Fix introduction after one was declined
...
When we received a remote decline we always went into the REMOTE_DECLINED state
while there's two cases where we need to go into the START state instead.
So when the new request arrived, we weren't in START and thus aborted the protocol.
This commit fixes this.
Fixes #1516
2019-03-26 16:18:25 -03:00
Torsten Grote
f9dfbe3fa5
Don't show remote introduction responses after declining locally
...
Fixes #1514
2019-03-26 16:18:11 -03:00
Torsten Grote
ce52a36db1
Display new contacts at the top of the contact list
...
by initializing their latest message time with the current time
2019-03-21 11:45:27 -03:00
Torsten Grote
ad71d69149
Create and use method in MessagingManager for checking for image support
2019-01-14 14:21:33 +00:00
Torsten Grote
3cfb04b60d
Establish some rules for handling InputStreams
...
* Methods shouldn't place any special requirements on the streams
passed into them
* This implies that if a stream's going to be marked and reset,
that should all happen within one method
* This also implies that if a method needs to mark and reset a stream,
it should wrap the stream in a BufferedInputStream before doing so,
rather than requiring a markable stream to be passed in
2018-12-12 16:17:50 -02:00
Torsten Grote
80ee35d926
[core] Return fake mini PNG as Attachment instead of throwing exception
2018-12-12 16:17:50 -02:00
Torsten Grote
4796902b9c
[android] store attachments and actually attach them to sent messages
2018-12-12 16:17:50 -02:00
akwizgran
fbf8642edb
Merge branch '1464-message-status-mixed' into 'master'
...
[core] fix wrong order of message status flags in conversation headers
Closes #1464
See merge request briar/briar!998
2018-11-16 13:44:39 +00:00
Torsten Grote
ade6a14342
Merge branch 'validation-refactoring' into 'master'
...
Reorganise validation code
See merge request briar/briar!991
2018-11-15 17:18:15 +00:00
Torsten Grote
3053e3cfa7
[core] fix wrong order of message status flags in conversation headers
2018-11-15 14:39:05 -02:00
akwizgran
4103eaf639
Reorganise validation code (no functional changes).
2018-11-13 17:16:47 +00:00
Torsten Grote
753a25bc2a
[core] Attachments will use InputStream rather than ByteBuffer
2018-11-13 15:12:34 -02:00
Torsten Grote
88276a4d44
Add support for private messages without text
2018-11-12 18:11:03 -02:00
akwizgran
043662a092
Code cleanup.
2018-11-07 18:31:07 +00:00
akwizgran
52c778dce3
Reformat code.
2018-11-07 18:18:27 +00:00
akwizgran
23e9b119d1
Merge branch '1434-message-attachments' into 'master'
...
Add attachment API for sending/retreiving private messages
See merge request briar/briar!976
2018-11-07 18:08:36 +00:00
akwizgran
41e5d8900c
Remove redundant dependency declarations.
2018-11-07 16:10:39 +00:00
Torsten Grote
cccaeeda6c
[core] Add API to add messages with attachments
2018-11-07 11:34:11 -03:00
Torsten Grote
483106e00c
[core] Add MessagingManager#getAttachment()
2018-11-07 11:34:11 -03:00
Torsten Grote
934f14ef31
[core] Add attachment support to private messages
2018-11-07 11:34:09 -03:00
Torsten Grote
e3abff5ad8
Refactor PrivateMessageHeader to ConversationMessageHeader base-class
...
This is preparation for adding attachments to private messages
2018-11-07 11:33:37 -03:00
Torsten Grote
5ae4f8f6cb
[core] Fix non-determism in GroupInvitationIntegrationTest
2018-11-02 14:08:42 -03:00
Torsten Grote
45dd10db9d
[core] Fix non-determinism in introduction integration tests
2018-11-02 14:08:42 -03:00
Torsten Grote
5cc8c268ca
[core] Re-add message counter and put debug output behind flag
2018-11-02 14:08:42 -03:00
akwizgran
93a6bf2f52
Add logging to debug test failures.
2018-11-02 12:48:23 -03:00
Torsten Grote
4a42e767d3
[core] Add a detector for message delivery non-determinism
2018-11-02 12:48:13 -03:00
akwizgran
f6c8a8cec7
Move dagger.gradle to project root.
2018-11-01 14:05:46 +00:00
Torsten Grote
db8796049e
gradle: Factor out dagger apt code into its own file
2018-11-01 10:45:59 -03:00
Torsten Grote
e1f31ad381
Remove gradle-apt-plugin since it isn't stricly needed anymore
...
Reference: 6b2ee87fbf/README.md
2018-10-31 16:01:57 -03:00
Torsten Grote
3a15e47ddd
Upgrade Dagger to latest version
2018-10-31 15:57:21 -03:00
akwizgran
d3f774f339
Avoid some unnecessary session parsing.
2018-10-31 16:18:33 +00:00
Torsten Grote
3fe7aae97e
Contact aliases: address review comments
2018-10-31 13:06:19 -03:00
Torsten Grote
6e3adc0874
Show alias for introduction notices in private conversation
2018-10-31 13:06:19 -03:00
Torsten Grote
88adfabe09
Refactor Author.Status into dedicated AuthorInfo class and add alias
2018-10-29 17:23:45 -03:00
Torsten Grote
8fc622f85d
[bramble] Add support for contact aliases
...
Foundation for #41
2018-10-29 12:50:08 -03:00
akwizgran
14befb957b
Add support for v3 hidden service addresses.
2018-10-16 10:15:18 +01:00
Torsten Grote
b464fe1653
Merge branch 'message-terminology' into 'master'
...
Use "text" to refer to message text
See merge request briar/briar!948
2018-10-15 13:22:31 +00:00
akwizgran
b68dbd6a75
Merge branch 'upgrade-dependencies' into 'master'
...
Upgrade some of the things
See merge request briar/briar!935
2018-10-10 11:42:45 +00:00
akwizgran
79d5612645
Use "text" to refer to message text.
2018-10-10 10:40:30 +01:00
Torsten Grote
9f91b91a4f
Remove custom DB transaction code from BriarIntegrationTest
2018-10-05 15:41:29 -03:00
akwizgran
2623eaa149
Remove unnecessary throwing variants.
2018-10-05 09:32:01 +01:00
akwizgran
7359b6942a
Use transactional DB interface for ForumManagerImpl.
2018-10-04 15:59:10 +01:00
akwizgran
ccbeee60a7
Upgrade Rome, OkHttp and jsoup libraries.
2018-10-03 12:48:28 +01:00
Torsten Grote
c2b7f85b8e
Remove code from TestDataCreator that breaks encapsulation
2018-09-24 12:37:11 -03:00
Torsten Grote
f0e2d5281f
Create Screenshot of Conversation for Manual
2018-09-24 12:34:26 -03:00