Jeremy Lakeman
6f388cec63
Add java classes for receiving routing table updates
2016-05-11 14:18:31 +09:30
Jeremy Lakeman
5636edfe20
Append manifest into zip file comment
2016-03-30 16:25:43 +10:30
Jeremy Lakeman
2da3f12cfa
Expose more rhizome add command line arguments to the Java API
2016-02-15 15:34:29 +10:30
Jeremy Lakeman
b5c62a19d5
Add Java API for setting the instance path
2016-01-18 13:22:36 +10:30
Andrew Bettison
419364b5a9
Improve REST HTTP response status codes
...
List all the HTTP status codes in the REST API tech doc.
Only use 403 Forbidden for requests originating from a disallowed
origin (ie, not localhost).
- Return 400 for missing, unknown, duplicate and out-of-order form
parts in POST requests.
- Return 415 Unsupported Media Type for unsupported form part
Content-Disposition and Content-Type (including unsupported
charset).
- Return 414 Request-URI Too Long for any buffer exhaustion while
parsing request.
- Return 419 Authentication Timeout for missing crypto secret.
2015-11-02 12:26:40 +10:30
Jeremy Lakeman
41d416977f
Deprecate java command line api to keyring commands
2015-09-28 12:03:39 +09:30
Andrew Bettison
6123503c15
Improve Rhizome HTTP status codes
...
Also improve some reason phrases and test them
2015-09-21 18:43:24 +09:30
Andrew Bettison
7635e6b71b
Add Keyring Java API (incomplete) with tests
...
keyringListIdentities()
keyringSetDidName()
2015-08-31 19:16:30 +09:30
Jeremy Lakeman
298849b25b
Add buffer space for MDP MTU & headers for MDP_INTERFACE
2015-07-20 16:48:17 +09:30
Andrew Bettison
8ac156376d
Fix MeshMS Java API when MeshMS disabled
...
If the MeshMS REST API is disabled, then the JSON response omits the
MeshMS status code, so the Java client API now handles this case.
2015-06-29 15:39:19 +09:30
Jeremy Lakeman
4891348684
Ensure unicode strings are correctly handled
2015-06-29 15:12:05 +09:30
Jeremy Lakeman
9c5cac6565
Add missing file
2015-05-25 16:44:51 +09:30
Jeremy Lakeman
51ed6162dd
Add support for running and stopping servald from a JVM thread
...
fdpoll will now run a callback when about to sleep / woke up.
A new Java interface to indicate server started / sleeping / waking up.
An android implementation may allow the CPU to sleep.
If there's a java exception the server will try to shutdown.
Calling servald stop is currently undefined.
2015-05-25 11:46:37 +09:30
Andrew Bettison
16355df04b
Fix failing 'rhizomejava' test
...
Handle missing payload-status headers in Java test client
2015-03-23 23:26:09 +10:30
Jeremy Lakeman
a9b9f51a9f
Add support for mdp clients to provide a link layer packet transport
2015-03-02 15:44:34 +10:30
Jeremy Lakeman
3ae0e95e0b
Treat null strings as empty
2015-03-02 15:44:34 +10:30
Andrew Bettison
a4be1b0b0c
Fix RESTful MeshMS newsince ACK logic
...
/restful/meshms/newsince/SID1/SID2/newsince/TOKEN/messagelist.json now
always lists an ACK as soon as it is received, instead of waiting for a
message to arrive as well.
2014-11-12 23:09:00 +10:30
Jeremy Lakeman
8667060ae0
Add Java API rebind for mdp sockets
2014-09-16 14:41:59 +09:30
Jeremy Lakeman
68bd515241
Content type might be null if the connection is terminated
2014-09-16 11:23:31 +09:30
Jeremy Lakeman
7474e8afea
Fix mdp support and Java API for binding to all keys in the keyring
2014-09-16 11:22:26 +09:30
Jeremy Lakeman
ff6b15748d
Add keyring list command that also outputs tags
2014-09-15 15:59:01 +09:30
Jeremy Lakeman
12c02255a1
Allow Java mdp protocols to specify the port to listen on
2014-09-15 14:39:26 +09:30
Jeremy Lakeman
5a38d2eb0c
Add message timestamp to Java API
2014-07-21 16:13:17 +09:30
Jeremy Lakeman
6c08c8d4a4
Fix cast from Object to primitive types
2014-07-18 14:21:34 +09:30
Andrew Bettison
89623015fc
MeshMS Java API: list messages new since token
2014-07-14 06:06:21 +09:30
Andrew Bettison
4c6612a61e
Rhizome Java API: list bundles new since token
2014-07-12 22:49:00 +09:30
Andrew Bettison
606f087dd5
Merge latest Rhizome Java API into development
2014-07-11 12:29:24 +09:30
Andrew Bettison
2757a08b87
Rhizome Java API: insert inconsistent bundle
2014-07-11 11:15:08 +09:30
Andrew Bettison
8842f32b19
Rhizome Java API: insert journal is not implemented
...
Change the HTTP response code for unimplemented operations from 403 to
501
2014-07-10 22:23:11 +09:30
Andrew Bettison
a87133d4d3
Rhizome Java API: insert anonymous bundle
2014-07-10 21:19:15 +09:30
Andrew Bettison
04b2a20e54
Rhizome Java API: improved form-data headers
...
Change manifest Content-Type from rhizome-manifest/text to
rhizome/manifest; format="text+binarysig"
Add "Content-Transfer-Encoding" form-part headers to Java API
sent form parts, although not currently checked by Rhizome
RESTful interface
2014-07-10 21:12:40 +09:30
Andrew Bettison
57cce64b6c
Rhizome Java API: narrower exceptions
2014-07-10 06:43:24 +09:30
Andrew Bettison
a81d05b4f6
Rhizome Java API: insert bundle
2014-07-10 06:43:17 +09:30
Andrew Bettison
3715c5bf0b
Rhizome Java API: negative fetch tests
2014-07-10 06:30:50 +09:30
Andrew Bettison
2aec8f31a4
Rhizome Java API: get decrypted payload
2014-07-10 06:30:50 +09:30
Andrew Bettison
d16be8f42d
Improve MeshMS HTTP RESTful interface
...
Provide "meshms_status_message" in returned JSON status content
2014-07-10 06:30:50 +09:30
Andrew Bettison
34b6ff48bf
Rhizome Java API: get raw payload
...
Added more "Serval-Rhizome-Bundle-xxx" headers to /restful/rhizome/
responses, so that a more complete manifest can be constructed from
them
2014-07-10 06:29:09 +09:30
Andrew Bettison
93e67ede63
Rhizome Java API: get manifest
...
Fixes assertion violation in GET /restful/rhizome/<BID>.rhm when <BID>
not found
2014-07-10 06:29:09 +09:30
Andrew Bettison
db8ee79a4e
Rhizome Java API: list bundles
2014-07-10 06:29:09 +09:30
Jeremy Lakeman
20d6bdf317
Add Java API getter for servald binary path
2014-07-07 15:08:21 +09:30
Andrew Bettison
11e9d38299
Rename config 'rhizome.api.restful' to 'api.restful'
2014-06-30 11:11:01 +09:30
Jeremy Lakeman
82b13caac4
Deprecate JNI meshms interface
2014-06-25 12:52:47 +09:30
Jeremy Lakeman
2cdd2cec81
Use Long (int64) for meshms offsets
2014-06-25 12:52:25 +09:30
Andrew Bettison
660daf0438
Merge latest MeshMS Java API additions into 'development'
2014-06-24 15:10:16 +09:30
Andrew Bettison
c79a382a27
MeshMS Java API: mark messages as read
2014-06-24 12:12:48 +09:30
Jeremy Lakeman
7d86fcd573
Add java API wrapper for performing multiple config changes in one hit
2014-06-23 15:31:25 +09:30
Andrew Bettison
eba7f6555f
MeshMS Java API: send message
2014-06-23 13:20:57 +09:30
Jeremy Lakeman
533c0be445
Rename mdp lookup helper function to match class name
2014-06-20 15:14:00 +09:30
Jeremy Lakeman
68dbaef38d
Refactor Java API
...
Add stateful class to represent the state of the serval daemon, shifting some functions from BatPhone
Add convenience functions to get pre-configured MDP and HTTP Restful client classes
2014-06-20 10:55:09 +09:30
Andrew Bettison
e9437e9a61
MeshMS Java API: list messages
2014-06-19 10:37:33 +09:30