Commit Graph

3783 Commits

Author SHA1 Message Date
Jeremy Lakeman
3812587a31 Ack the senders ply and thread into activity feed 2017-05-10 11:01:02 +09:30
Jeremy Lakeman
cc0d6fcdb9 Return Invalid bundle status if rhizome manifest not found during import 2017-05-09 14:26:23 +09:30
Jeremy Lakeman
6c4e7de574 Add sender & recipient filters to rhizome restful api 2017-05-08 11:38:20 +09:30
Jeremy Lakeman
a997fdf020 Fallback to file rename if linking fails 2017-05-03 12:00:23 +09:30
Jeremy Lakeman
de0258e30f Remove route structures from memory when all links are down 2017-05-02 14:46:08 +09:30
Jeremy Lakeman
69fb10395a Send route link messages with extra abbreviation bits 2017-05-01 10:06:24 +09:30
Jeremy Lakeman
73136461ad Use offsetof macro for all AF_UNIX address length calculations 2017-04-26 15:52:33 +09:30
Jeremy Lakeman
556dabe458 Flip sense of MeshMSMessage comparison to match other comparables 2017-04-26 14:11:25 +09:30
Jeremy Lakeman
7c4c242577 Add placeholder for blocked feeds 2017-04-24 14:52:25 +09:30
Jeremy Lakeman
a244c23a51 Delay meshmb flush until http resume 2017-04-19 14:46:37 +09:30
Jeremy Lakeman
fb2322d45f Add Java Date for timestamps 2017-04-19 14:46:37 +09:30
Jeremy Lakeman
f060e4dc59 Add Java api for meshmb restful activity 2017-04-19 14:46:37 +09:30
Jeremy Lakeman
4b98def664 Add newsince request for incoming activity 2017-04-19 14:46:37 +09:30
Jeremy Lakeman
be9c138559 Add restful API for feed activity 2017-04-19 14:46:37 +09:30
Jeremy Lakeman
bfbd2ddccd Abbreviate the bundle id in feed ack's 2017-04-19 14:46:37 +09:30
Jeremy Lakeman
1973df13b3 cli interface for reading threaded feed activity 2017-04-19 14:46:37 +09:30
Jeremy Lakeman
b7b77e81ee Add helpers for parsing ply records 2017-04-19 14:46:36 +09:30
Jeremy Lakeman
940b8c2d4b Ack incoming feeds for threading 2017-04-19 14:46:36 +09:30
Jeremy Lakeman
ecc77b4088 Refactor ply append to open/write/close semantics 2017-04-19 14:46:36 +09:30
Jeremy Lakeman
5ccff053c2 Add bundle author to feed metadata 2017-04-19 14:46:36 +09:30
Jeremy Lakeman
a0dbe115aa Add Java API for managing subscriptions 2017-04-19 14:46:36 +09:30
Jeremy Lakeman
d2dfe71f26 Restful meshmb list subscribed feeds 2017-04-19 14:46:36 +09:30
Jeremy Lakeman
e7ca268dbc Add restful API's for follow and ignore 2017-04-19 14:46:36 +09:30
Jeremy Lakeman
a8c29bbb15 Add MeshMB cli commands to follow and ignore feeds 2017-04-19 14:46:36 +09:30
Jeremy Lakeman
2f60b8417f Test and fix rhizome clean verify 2017-04-19 14:46:36 +09:30
Jeremy Lakeman
f06d9bb574 Always include sys/mman.h for android builds 2017-04-10 15:01:12 +09:30
Jeremy Lakeman
1e70c8fe53 Assert if attempting to pipe a journal bundle after deriving a crypto key 2017-03-28 14:36:50 +10:30
Jeremy Lakeman
88d70fc386 Don't assert if a query parameter is empty 2017-03-22 13:04:58 +10:30
Jeremy Lakeman
cb0b2caa69 Add casts to fix compile warning on android 2017-03-22 13:04:58 +10:30
Jeremy Lakeman
650db68a69 Set service of private bundles 2017-03-21 13:09:47 +10:30
Jeremy Lakeman
77198dd163 Read earlier journal payload out of store 2017-03-08 13:37:26 +10:30
Jeremy Lakeman
d213247927 One more fix for transfers with DB locking 2017-03-07 10:07:42 +10:30
Jeremy Lakeman
585e573ecf Refactor rhizome storage methods to return database busy status, and pause rhizome sync 2017-03-06 16:12:55 +10:30
Jeremy Lakeman
2540c9e633 Cause rhizome add to poke the daemon and trigger all bundle add notifications 2017-03-06 16:12:55 +10:30
Jeremy Lakeman
c739555e8c Ensure we call rhizome_fail_write when the store was busy 2017-03-01 12:44:47 +10:30
Jeremy Lakeman
39fbcc475e Track call stats of mdp port handlers 2017-02-28 14:32:08 +10:30
Jeremy Lakeman
9ec46f2279 Deal with some database locking during transfers with the rhizome sync keys process.
Push back messages to re-process later
Queue and retry both the start and end of the transfer process
2017-02-28 13:13:31 +10:30
Jeremy Lakeman
4c538a7686 Return payload busy if write fails to flush, treat as an error in most cases 2017-02-28 13:13:09 +10:30
Jeremy Lakeman
f60704b3e1 Tweak caching edge case of reading message ply's backwards 2017-02-14 14:56:40 +10:30
Jeremy Lakeman
8571de4848 Avoid recompiling java class if they have not changed 2017-02-14 14:56:40 +10:30
Jeremy Lakeman
c05775a320 Generalise deterministic key generation 2016-11-21 11:09:27 +10:30
Jeremy Lakeman
3726fe2f73 Move vomp console feature to test binary 2016-11-21 11:09:27 +10:30
Jeremy Lakeman
1e70bcaac6 Clean up some more warnings 2016-11-21 10:34:12 +10:30
Jeremy Lakeman
d11fef3226 Add casts to fix warnings on some versions of gcc 2016-11-19 10:58:57 +10:30
Andrew Bettison
2690a5795b Add SERVAL_ENABLE_DEBUG macro 2016-11-14 11:40:22 +10:30
Andrew Bettison
e769af0067 Compile Java during make, not during tests
Re-organised all Java source code under the java-api subdirectory, which
also contains a Makefile.in that performs the Java compilation.  This
makefile is only invoked if ./configure finds a working Java compiler.
2016-11-14 11:28:08 +10:30
Andrew Bettison
a8867df1b0 Fix Makefile.in for out-of-tree build
Improves support for running make from a current working directory that
is not the repo root.  Only the files that reside in the repo root are
prefixed with $(SOURCE_PREFIX); the files that are created by
./configure are in the current working directory.
2016-11-14 11:28:08 +10:30
Andrew Bettison
ccacd19dfa Add global keyring assertions
Many functions require that the global 'keyring' pointer is set,
but there were no assertions to document this precondition.
2016-11-14 11:28:08 +10:30
Andrew Bettison
6d2eb268ed Add 'cmd_cleanup' trigger
The new 'cmd_cleanup' trigger replaces the old command_cleanup()
function, which was causing linking problems on OS X and inverted strict
dependency.  The keyring cmd_cleanup calls keyring_free(global_keyring),
instead of merely asserting keyring == NULL, so the error exit cases of
many CLI functions have been simplified.
2016-11-14 11:28:03 +10:30
Andrew Bettison
931f25a9e7 Fix strlcpy.c compile error on OS X 2016-11-09 19:03:45 +10:30