Torsten Grote
9ccd8d1602
Upgrade android gradle plugin to 3.3.2
...
This also updates some briar-headless dependencies
2019-03-14 14:27:53 -03:00
Nico Alt
c3ef990a94
Briar Headless: Document build process
2019-02-27 21:27:04 +01:00
akwizgran
2a7aac4930
Upgrade Jackson to 2.9.8.
2018-12-17 12:09:36 +00:00
Torsten Grote
a22d03d028
[headless] wait for lifecycle manager to finish starting
...
before starting web server
2018-12-05 16:08:03 -02:00
Torsten Grote
d857338ad0
[headless] Add first integration test for ContactController
2018-12-05 16:04:14 -02:00
akwizgran
bc352a2dc6
Enable Tor on Mac OS once binaries are available.
2018-11-23 13:07:12 +00:00
akwizgran
ce7d6d3db5
Code cleanup.
2018-11-23 12:56:34 +00:00
akwizgran
61276c81d2
Make it possible to start the headless app on MacOS.
...
The app is still non-functional because we don't have a Tor plugin.
2018-11-23 12:52:40 +00: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
88276a4d44
Add support for private messages without text
2018-11-12 18:11:03 -02:00
akwizgran
0a0a6a6369
Disable Tor's connection padding on mobile data or battery.
2018-11-08 14:50:36 +00:00
Torsten Grote
32c8ac6576
[headless] change websocket authentication from basic auth to token message
2018-11-08 10:15:17 -02:00
Torsten Grote
efc85fb88f
[headless] don't use putAll for a single field
2018-11-07 15:24:20 -03:00
Torsten Grote
8b3983ef9e
[headless] only offload to DatabaseExecutor when needed
...
when receiving a new conversation message
2018-11-07 15:24:20 -03:00
Torsten Grote
6766fb76b2
[headless] upgrade javalin and mockk
2018-11-07 15:18:46 -03:00
Torsten Grote
7f74bd1c38
[headless] Use --user for websocket example request
...
The authentication token can contain slashes.
When used as part of the URL, the URL becomes invalid.
Therefore, using curl's user parameter is preferrable.
2018-11-07 15:18:46 -03: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
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
3a15e47ddd
Upgrade Dagger to latest version
2018-10-31 15:57:21 -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
Torsten Grote
0d940fc7d7
[headless] Set up access manager before starting server
...
This became necesary to due an upstream change we missed when bumping
the dependency:
ab19ff91b7
2018-10-29 11:20:48 -03:00
Torsten Grote
436f45554d
[briar-headless] update dependencies
2018-10-24 12:41:29 -03:00
Torsten Grote
51209b5eec
briar-headless: Add endpoint for removing a contact
2018-10-24 12:12:33 -03:00
Torsten Grote
8cf54bcedb
briar-headless: Inject a singleton ObjectMapper for JSON parsing
2018-10-18 09:55:34 -03:00
akwizgran
60a8b03344
Upgrade Android Gradle plugin to 3.2.1.
2018-10-17 12:34:13 +01:00
akwizgran
79d5612645
Use "text" to refer to message text.
2018-10-10 10:40:30 +01:00
Torsten Grote
b3615b4a77
briar-headless: Last round of review comments
2018-10-09 12:19:21 -03:00
Torsten Grote
e3686186ee
Fix closing server with ^C
2018-10-08 18:40:21 -03:00
Torsten Grote
280f3ba1fc
briar-headless: POST text as JSON in body instead of form parameter
2018-10-05 15:23:31 -03:00
Torsten Grote
66619fd3a4
briar-headless: Next round of review comments
2018-10-05 15:23:31 -03:00
akwizgran
c7eb0cbb6d
Include body of private request if present.
2018-10-05 15:23:31 -03:00
akwizgran
1617a95bb9
Only include "body" for headers that can have bodies.
2018-10-05 15:23:31 -03:00
Torsten Grote
6f54718756
Use short type labels in JSON API instead of long Java-like namespaces
2018-10-05 15:23:31 -03:00
Torsten Grote
ea749f2128
Minor improvements to JsonDict output classes
2018-10-05 15:23:31 -03:00
akwizgran
b4b0d3daa6
Allow null values in JsonDict.
2018-10-05 15:23:31 -03:00
akwizgran
609c90f57e
Convert Map#put() to assignment.
2018-10-05 15:23:31 -03:00
akwizgran
5cf68fa134
Use JsonDict for blog post headers.
2018-10-05 15:23:31 -03:00
akwizgran
61c9c6b8eb
Add visitor to dispatch output() dynamically.
2018-10-05 15:23:31 -03:00
akwizgran
e97608da40
Add test to show that static dispatch won't work.
2018-10-05 15:23:31 -03:00
akwizgran
0bb80b1a15
Add JsonDict class for JSON output.
2018-10-05 15:23:31 -03:00
akwizgran
bda52ea548
Use maps for JSON output.
2018-10-05 15:23:31 -03:00
Torsten Grote
cf033dc29d
briar-headless: Address second round of review comments
2018-10-05 15:23:31 -03:00
Torsten Grote
c12cedc371
briar-headless: Address first round of review comments
2018-10-05 15:23:31 -03:00
Torsten Grote
4b5e9bd64f
Ensure the use SecureRandom when creating authentication token
2018-10-05 15:23:31 -03:00
Torsten Grote
8d55911dab
Add unit test for WebSocketController
...
Also move the controller into an event package
2018-10-05 15:23:31 -03:00
Torsten Grote
e381f83512
Last code cleanup before submitting merge request
2018-10-05 15:23:31 -03:00