1
0
Fork 0
Commit Graph

14 Commits

Author SHA1 Message Date
Aaron Lindsay b5a525efb7 Add symmetric OpenPGP encryption 2013-09-11 21:17:59 -04:00
Aaron Lindsay e2ae508382 Refactor storage interface to return io.Reader and Writer instances
Doing so will enable encrypting/decrypting files in a 'pipeline' without
having to write the intermediate results to a file or store them in
their entirety in memory.

This commit also updates the existing storage classes (local and FTP) to
meet the new interface definition.
2013-09-11 19:37:42 -04:00
Aaron Lindsay 1254a7fb45 Still send event when files' permissions change 2013-09-08 23:30:13 -04:00
Aaron Lindsay 1b4104a928 Don't ever use UNIX file modification time for event modification time
Doing so can cause inconsistency and cause events to get dropped that
shouldn't. Also add warning to local event side if an event is reported
by the watcher that is not more recent than the event which was
previously the latest local event.
2013-09-08 22:51:36 -04:00
Aaron Lindsay d7cd6f348c Update timestamp on events even if they match
If we don't do this, we don't maintain the invariant that the timestamp
of the latest locally-stored event for a path is the last time this path
was updated. Not maintaining this invariant can cause to incorrect
behavior (i.e. files being deleted when they shouldn't).
2013-09-08 22:13:04 -04:00
Aaron Lindsay 793e4eb6b2 client: add batching of sending events to the server 2013-09-05 23:20:29 -04:00
Aaron Lindsay fcf61701cc Process remote events in their own goroutines 2013-09-05 19:59:45 -04:00
Aaron Lindsay d97b424e98 watcher: Begin watching added directories before walking them to add subdirectories 2013-09-05 19:58:32 -04:00
Aaron Lindsay 90533c9e2d Keep statistics on the number of events being sent to the server 2013-09-04 23:51:28 -04:00
Aaron Lindsay 11b57cda66 Add statistics to client and command to view them 2013-09-04 23:09:28 -04:00
Aaron Lindsay e375489cae Add copyright information 2013-09-04 22:02:17 -04:00
Aaron Lindsay 393eb31c3c Add version information 2013-09-04 21:29:53 -04:00
Aaron Lindsay d883e3d92d Generalize RPC client code, add basic RPC functionality to client 2013-09-03 23:33:36 -04:00
Aaron Lindsay 4eb75e1db1 Continue reorganization, add asinkd stop cmd, make asinkd socket configurable 2013-09-02 23:35:48 -04:00