Andrew Bettison
365cfe076b
Improve Debian /etc/init.d script and /etc/default file
2013-01-23 16:20:40 +10:30
Jeremy Lakeman
b8737125eb
Fix RETURN macro usage
2013-01-23 15:37:17 +10:30
Andrew Bettison
546fccc794
Support relative log.file config option
...
As already documented in doc/Servald-Configuration.md
2013-01-23 14:54:25 +10:30
Jeremy Lakeman
dbd4cb1771
Fix jni tests on osx & with new interface
2013-01-23 14:43:50 +10:30
Jeremy Lakeman
521c9471d4
Fix tests for new rhizome list column
2013-01-23 14:43:50 +10:30
Jeremy Lakeman
3a93fee8a5
New JNI interface to better support cursor result sets
2013-01-23 14:43:50 +10:30
Andrew Bettison
03536301f8
Debian init script to start/stop system-wide servald
2013-01-23 14:06:56 +10:30
Jeremy Lakeman
e9d283f3f6
Allow name to be missing
2013-01-17 11:45:45 +10:30
Jeremy Lakeman
ad01836d0e
Use database query to respond to rhizome list, add name argument
2013-01-17 11:45:45 +10:30
Jeremy Lakeman
6dcc434541
Add more manifest fields as database columns
2013-01-16 10:56:09 +10:30
Jeremy Lakeman
89fac207fe
Remove timing from mdp client library
2013-01-15 16:15:36 +10:30
Jeremy Lakeman
b25ff45438
Importing the same bundle twice returns duplicate flag
2013-01-15 10:32:48 +10:30
Jeremy Lakeman
2d66a150b8
Output manifest version for consistency
2013-01-14 09:23:29 +10:30
Jeremy Lakeman
7f9b5f0e4f
Fix build when strlcpy is present
2013-01-11 14:43:37 +10:30
Jeremy Lakeman
5a82bfcf31
Add support for importing and exporting a file with an appended manifest
2013-01-11 14:30:52 +10:30
Jeremy Lakeman
7825f9dbd2
Combine manifest and file extraction into one method that can also do both
2013-01-11 14:30:51 +10:30
Jeremy Lakeman
6de54bc0f1
Restart announcements when new bundles added, use more efficient sql, remember position per interface
2013-01-11 14:30:51 +10:30
Jeremy Lakeman
c155ebeef2
Remove dead code
2013-01-11 14:30:46 +10:30
Jeremy Lakeman
b47d27dfe6
Log an error when a bundle secret can't be verified
2013-01-11 14:29:41 +10:30
Jeremy Lakeman
9d6b1ae660
Treat empty bsk the same as null
2013-01-11 14:29:40 +10:30
Andrew Bettison
5ac394a3c1
Maybe fix tests/server:NoZombie occasional failure
...
Introduced a two-second wait for the KILLed process to die.
2013-01-10 12:12:51 +10:30
Andrew Bettison
b77df878c1
Improve test framework: wait_until [ ! ]* command
2013-01-10 12:11:24 +10:30
Andrew Bettison
b0f0262e18
Fix compiler warnings, Linux gcc 4.7.2
2013-01-08 17:20:42 +10:30
Jeremy Lakeman
09617b9ce0
Set sqlite temp directory explicitly, increase database timeout
2013-01-06 19:43:14 +10:30
Jeremy Lakeman
7978bc0b1a
Add logging for sqlite errors
2013-01-06 14:18:36 +10:30
Jeremy Lakeman
c7cf80b352
Use sqlite user schema version to remember state
2013-01-06 13:04:49 +10:30
Jeremy Lakeman
2b480c1d1a
Reinstate filesize and hash file extract output
2013-01-04 12:01:40 +10:30
Jeremy Lakeman
fd96c5bd76
Add bsk to correct command
2013-01-04 12:01:39 +10:30
Jeremy Lakeman
28a05baa54
Enable encryption of rhizome payloads
2013-01-03 16:12:24 +10:30
Jeremy Lakeman
e26522bdc6
Minor improvements to command line time measurements
2013-01-03 14:16:33 +10:30
Jeremy Lakeman
2e761c17fa
Only consider duplicate manifests that we can re-author
2013-01-03 12:23:50 +10:30
Jeremy Lakeman
dc43b83c80
Tidy up rhizome secret handling to improve reusability
2013-01-03 12:14:13 +10:30
Jeremy Lakeman
cf6ecbc57d
Generate version id before reading the file contents
2013-01-03 11:22:01 +10:30
Jeremy Lakeman
2967d1e00f
Don't check for duplicates if an existing id has been supplied
2013-01-03 11:18:30 +10:30
Jeremy Lakeman
66deb575d3
Add offset to nonce instead of replacing byte values
2013-01-02 15:05:22 +10:30
Jeremy Lakeman
8b045dd1a6
Extract files based on the manifest id
...
Renamed rhizome extract file to rhizome dump file
Added rhizome extract file [manifest] [filepath] [pins]
Modified tests to use the appropriate command, assuming that MeshMS payloads will be encrypted
2013-01-02 12:58:05 +10:30
Jeremy Lakeman
6c7ba438a3
Refactor rhizome extract manifest into more useful methods
2013-01-02 11:15:03 +10:30
Jeremy Lakeman
a492c05d64
Re-add database cleanup
2012-12-31 15:09:12 +10:30
Jeremy Lakeman
898cddfcd3
Tidy up rhizome extract return code
2012-12-31 13:21:37 +10:30
Jeremy Lakeman
26a4034688
Only assert the file hash matches the file if the payload is not encrypted
2012-12-31 13:07:52 +10:30
Jeremy Lakeman
5b48a85f7d
Don't clean up database on every open call
2012-12-28 13:17:04 +10:30
Jeremy Lakeman
c8fbef9016
Fix transaction error checking
2012-12-28 12:47:21 +10:30
Jeremy Lakeman
04eaf99243
Added transaction around file blob creation to ensure rowid is correctly retrieved
2012-12-28 12:10:42 +10:30
Jeremy Lakeman
f906d5a46c
Test each file immediately after adding
2012-12-28 12:00:43 +10:30
Jeremy Lakeman
57439b2162
Rhizome extract file will now log an error on hash mismatch
2012-12-28 11:34:22 +10:30
Jeremy Lakeman
3f45623d04
New stress test, rhizome add while transferring
2012-12-27 16:51:31 +10:30
Jeremy Lakeman
9e3d4d10ee
Add transactions to start and end of rhizome add process
2012-12-27 09:39:35 +10:30
Jeremy Lakeman
72bc597e92
Add encryption support to writing of rhizome content
2012-12-27 09:39:10 +10:30
Jeremy Lakeman
50b216da96
Make directory service test fail if the dna helper doesn't start
2012-12-20 16:50:50 +10:30
Jeremy Lakeman
38589f293c
Interface speed is no longer validated
2012-12-20 16:20:12 +10:30