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
4796902b9c
[android] store attachments and actually attach them to sent messages
2018-12-12 16:17:50 -02:00
Torsten Grote
3053e3cfa7
[core] fix wrong order of message status flags in conversation headers
2018-11-15 14:39:05 -02: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
Torsten Grote
f964d1ef07
Fix receivers of ConversationMessageReceivedEvent
...
These were only listening to private message events, ignoring all others
2018-11-07 11:34:11 -03: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
6e3adc0874
Show alias for introduction notices in private conversation
2018-10-31 13:06:19 -03:00
Torsten Grote
6c5e8ce4cf
Rename remaining occurrences of status to authorInfo
2018-10-30 13:40:04 -03:00
Torsten Grote
88adfabe09
Refactor Author.Status into dedicated AuthorInfo class and add alias
2018-10-29 17:23:45 -03:00
akwizgran
79d5612645
Use "text" to refer to message text.
2018-10-10 10:40:30 +01:00
Torsten Grote
f0e2d5281f
Create Screenshot of Conversation for Manual
2018-09-24 12:34:26 -03:00
akwizgran
2e120f752c
Add parameterised return type.
2018-09-20 15:19:22 +01:00
akwizgran
031eac54c5
Add private message visitor.
2018-09-20 14:43:19 +01:00
Torsten Grote
2309e73216
Fix bug where available invitations were marked answered
...
Now an invitiation was answered when it is no longer available
2018-09-18 10:10:21 -03:00
Torsten Grote
86f650503b
Re-introduce InvitationResponse
...
This was done, so private responses don't need to include a Nameable already.
Retreiving a nameable is tricky and requires a data migration,
so we just don't do it now.
2018-09-18 10:10:21 -03:00
Torsten Grote
d430b4fd2d
Move introduction role into IntroductionResponse
2018-09-18 10:10:21 -03:00
akwizgran
fcf7cf72ea
Refactor doesExist() method.
2018-09-18 10:10:21 -03:00
Torsten Grote
183fe08565
Rename object to nameable
2018-09-18 10:10:21 -03:00
Torsten Grote
7e32697696
Use ConversationManager to retrieve messages
...
This removes the public method for retrieving messages
from individual conversation clients
and just leaves methods that require a transaction
to be used by the ConversationManager only.
2018-09-18 10:10:21 -03:00
Torsten Grote
29758b174a
Unify all events related to private messages
2018-09-18 10:10:21 -03:00
Torsten Grote
61e18f104e
Unify all private message responses in one PrivateResponse class
...
This also adds `Shareable`s to invitation response
which is a precondition for #561
2018-09-18 10:10:21 -03:00
Torsten Grote
ffeca8817f
Prepare private message retrieval through ConversationManager
2018-09-18 10:10:21 -03:00
Torsten Grote
59fae2fa3c
Unify all private message requests in one PrivateRequest class
2018-09-18 10:10:21 -03:00
Torsten Grote
2d9345c018
Remove unnecessary information from private message classes
2018-09-18 10:10:21 -03:00
akwizgran
b2febbc6e9
Specify optional tests with an environment variable.
2018-09-06 10:34:04 +01:00
akwizgran
9fbf740ba7
Use /dev/urandom for tests.
2018-08-20 17:08:57 +01:00
Torsten Grote
30e036c672
Move gradle witness dependency verification into dedicated files
...
This also adds a script for makes upgrading dependency checksums so much easier
2018-08-14 18:01:34 -03:00
akwizgran
7f11d7280f
Merge branch 'animal-sniffer' into 'master'
...
Use Animal Sniffer to check Java 6 API compatibility
See merge request akwizgran/briar!787
2018-05-15 13:23:29 +00:00
goapunk
6f1fba44b6
Fix random javadoc errors
2018-05-08 14:42:14 +02:00
akwizgran
286937e472
Resolve merge conflicts.
2018-05-07 14:37:32 +00:00
akwizgran
2908145a06
Merge branch 'android-studio-3-1-debugging' into 'master'
...
Upgrade to Android Studio 3.1
See merge request akwizgran/briar!784
2018-05-07 14:16:24 +00:00
goapunk
3e5d1a0d20
Fix testdata creation:
...
* Create at least one contact
2018-05-02 20:49:33 +02:00
akwizgran
a3b5ff0bc0
Add dependency hashes for Animal Sniffer.
2018-05-02 16:24:59 +01:00
akwizgran
1192f66487
Use Animal Sniffer to check Java 6 API compatibility.
2018-05-02 16:10:40 +01:00
akwizgran
cccdacc3e4
Upgrade to Android Studio 3.1.
2018-05-02 14:34:34 +01:00
akwizgran
05deaf42e3
Store and exchange client minor versions.
...
These don't affect client visibility.
2018-04-29 16:40:26 +01:00
akwizgran
2e570ba50d
Rename client version to major version.
2018-04-29 16:40:23 +01:00
Torsten Grote
5f6af4e40f
Fix introduction response messages in UI and some minor fixes
2018-04-27 16:22:10 -03:00
Torsten Grote
337f7e7b8f
Unify introduction response methods and handle ProtocolStateException
...
It is possible that a remote DECLINE message arrives short before the
user responds to the introduction.
This will cause a ProtocolStateException which (for now) is just caught
and a generic (existing) error message will be shown.
2018-04-26 18:18:31 -03:00
Torsten Grote
bd5504de26
Add a MAC to the ACTIVATE message to prevent the introducer to fake them
...
A fake ACTIVATE message would cause us to activate the transport keys
before the contact has received our auth message,
which would compromise forward secrecy.
2018-04-26 16:56:38 -03:00
Torsten Grote
b291fcd2cd
Only allow new introductions in START state
...
When the user attempts an introduction, instead of the introduction
message input field, an explanatory text will be shown and the
introduction can not be made until the last one has been finished.
2018-04-25 12:05:15 -03:00
Torsten Grote
72e9a9d807
Address first round of review comments for new IntroductionClient
2018-04-25 10:43:56 -03:00
Torsten Grote
a9b678df32
Remove broken and deprecated MessageQueue as it is not needed anymore
...
Closes #308
2018-04-25 10:14:04 -03:00
Torsten Grote
f81ef30b47
Replace old introduction client with new one
2018-04-25 10:14:01 -03:00
Torsten Grote
1bc29fec06
IntroductionManager and Protocol Engines
2018-04-25 10:13:41 -03:00