Commit Graph

2108 Commits

Author SHA1 Message Date
gardners
f549fce1bb cleaned out some debugging. 2013-05-09 20:26:57 +09:30
gardners
aee3eda3eb added delivery confirmation detection logic. 2013-05-09 20:26:11 +09:30
gardners
fb2bb43cad meshms merged thread display substantial progress 2013-05-09 20:21:21 +09:30
gardners
9fcc23f43d begin work on function to return merged conversation between two
parties.  Extracts message logs, but does nothing with them yet.
2013-05-09 19:05:50 +09:30
gardners
1112c9d2ad refactor out common core of appending a message block to a bundle. 2013-05-09 14:06:42 +09:30
gardners
4c21378f40 removed parsing of redundant arguments 2013-05-09 14:02:11 +09:30
gardners
9730548fab retrieve bundle author when required. 2013-05-09 13:26:12 +09:30
gardners
ab62694c21 fixed string termination bug. 2013-05-09 13:22:51 +09:30
gardners
f47d3b3e5f open keyring before trying to add meshms messages. 2013-05-09 13:21:24 +09:30
gardners
3dd9e8741a major refactor of meshms handling to de-duplicate functionality
and simply function interfaces.
2013-05-09 13:17:24 +09:30
gardners
7cbd0a98ed added missing copyright message. 2013-05-03 16:29:51 +09:30
gardners
db4ad96298 fixed message length field handling. 2013-05-03 16:27:19 +09:30
gardners
c9995dbf52 clean up more compiler warnings etc. 2013-05-03 16:11:26 +09:30
gardners
c3a7bfdb89 various cleanups. 2013-05-03 15:52:20 +09:30
alexandrasclapari
b8bc580af0 Two command lines working : read message log and add message but need to fix the length (calculated by the system and not provided 2013-04-30 20:49:53 -07:00
alexandrasclapari
26ca801006 Serialization of new meshms format message 2013-04-10 22:55:58 -07:00
alexandrasclapari
c215b006a3 new function app_meshms_read_messagelog : read and display a messagelog file in hexa and ascii without parsing 2013-04-01 01:08:33 -07:00
alexandrasclapari
d05a3e2c45 Fixed the branch 2013-04-01 01:04:47 -07:00
Jeremy Lakeman
2c687e9b35 Ensure a randomly generated phone number is valid, Fixes #55 2013-02-28 16:39:00 +10:30
Jeremy Lakeman
9e2eb1aea4 Add keyring test for implicitly created identity 2013-02-28 16:27:53 +10:30
Andrew Bettison
be479dafe9 Add uint64_scaled_to_str() function in str.c 2013-02-27 16:35:11 +10:30
Jeremy Lakeman
ee95e47d1f Add rhizome export commands that don't try to decrypt file contents
export [bundle/manifest/file]
extract [bundle/file]

"dump file" has been replaced with "export file".
2013-02-27 11:39:23 +10:30
Andrew Bettison
5430b70640 Fix Android build with latest bcopy/bzero changes 2013-02-26 11:34:41 +10:30
Andrew Bettison
14ce5af688 Refactor configuration schema code
Replace 'parsefunc' (cf_opt_foo) function arguments in schema
declarations with 'repr' (foo) names, which are used to declare
cf_opt_foo and cf_fmt_foo.
2013-02-25 17:23:44 +10:30
Andrew Bettison
5518859b66 Refactor: move read_symlink() from log.c to os.c 2013-02-25 15:25:53 +10:30
Andrew Bettison
1e61e7a02f Fix bcopy()/bzero() #define hack
Replace #define bcopy(...) memset(...) with inline functions only if
bcopy() is unavailable, as checked by configure script

Ditto bzero()
2013-02-25 15:23:03 +10:30
Andrew Bettison
cb6d65f621 Fix Markdown formatting 2013-02-22 00:05:34 -08:00
Andrew Bettison
74c1025093 Improve documentation for Rhizome mirror daemon 2013-02-22 18:31:42 +10:30
Andrew Bettison
7627be12c8 Fix broken link in Utilities README 2013-02-21 22:37:33 -08:00
Andrew Bettison
b4818c3d6f Improve KiwiEx 2013 utilities
Rhizome mirror daemon and Serval Maps push script handle errors better

Added README.md
2013-02-22 17:01:53 +10:30
Jeremy Lakeman
af584994a2 Ensure encryption buffer doesn't move between nonce and cypher text allocation 2013-02-22 16:29:07 +10:30
Andrew Bettison
48f7cd7d5d Add serval_maps_push.sh script
To be used as the --exec-on-unpack option to rhizome_mirrord

Rsyncs all the unpacked zip files to the Serval Maps testing server and fetches
the Serval Maps re-scan URL

Is invoked with arg1 = path of unpack directory, args2..N = names of newly
unpacked directories within arg1

If the RHIZOME_MIRRORD_LOG_STDOUT env var is set, then enables shell execution
tracing
2013-02-22 15:28:41 +10:30
Andrew Bettison
1b281aa532 Improve 'rhizome.external_blobs' config option
Now only affects when a blob is written, but reading will attempt the
database first, and look for an external blob file if that fails

Test case recently added in b20e714ffb now
passes
2013-02-22 14:25:48 +10:30
Andrew Bettison
4fd32e803c Improve Rhizome mirror daemon script
Report servald exit status in error messages
2013-02-22 14:22:46 +10:30
Jeremy Lakeman
b20e714ffb Test that changing config.rhizome.external_blobs still allows existing blobs to be read (FAILs) 2013-02-22 13:37:01 +10:30
Andrew Bettison
5ac6bd8834 Fix compile error on Linux 2013-02-22 12:06:21 +10:30
Andrew Bettison
7e206d5930 Improve Rhizome mirror daemon script
New options: --unpack-dir --exec-on-unpack --log-to-stdout

Unpacks Zip and Tar files after they are extracted from Rhizome

Runs a given command (executable) after unpacking any Zip or Tar files
2013-02-21 22:42:21 +10:30
Andrew Bettison
66e78194f9 Improve Rhizome mirror daemon script
Deal with servald error conditions and commands that return status=1
2013-02-20 17:37:41 +10:30
Jeremy Lakeman
90386ce1b1 Merge remote-tracking branch 'origin/development' into serial
Conflicts:
	rhizome.h
	rhizome_database.c
	rhizome_fetch.c
	rhizome_store.c
2013-02-20 17:23:03 +10:30
Jeremy Lakeman
5194eece4f Remove useless debug message 2013-02-20 16:18:59 +10:30
Jeremy Lakeman
73786bcb5d Refactor all rhizome reading and writing
- The API in rhizome_store.c is used for all reading and writing
- external storage is now usable for all transport options
2013-02-20 16:18:59 +10:30
Jeremy Lakeman
a6405fe387 Don't advertise http server if it is disabled 2013-02-20 16:18:59 +10:30
Jeremy Lakeman
e5fa357f07 Add slip test to automated testing 2013-02-20 16:18:59 +10:30
gardners
944486c048 simplify external/internal blob storage to a boolean flag instead
of a threshold.
2013-02-20 16:18:59 +10:30
Jeremy Lakeman
bb8b3d6376 Add new mdp trace command 2013-02-20 16:18:58 +10:30
gardners
9e9f93b079 make external blob output conditional on debug flag. 2013-02-20 16:18:58 +10:30
Jeremy Lakeman
10234018b0 Add interface name to route print output 2013-02-20 16:18:58 +10:30
gardners
5a3dec28d9 make rhizome over mdp idle timeout configurable at runtime. 2013-02-20 16:18:57 +10:30
gardners
065a1c6f09 add periodic rhizome transfer statistics 2013-02-20 16:18:57 +10:30
gardners
a23612428b make rhizome over mdp block size configurable.
1K seems too big to be reliable on our prototype UHF radio links,
as CRCs fail almost all the time. #48
2013-02-20 16:18:57 +10:30