Commit Graph

20 Commits

Author SHA1 Message Date
f80639c815 Save relative file paths (not absolute ones) 2013-08-14 21:10:16 -04:00
6bdb81834c Improve error handling by adding DISCARDED state for events 2013-08-14 07:26:52 -04:00
0c9b4cb057 Upload the cached version of the file instead of trying to upload the
original, in case the original has since been deleted
2013-08-14 07:25:17 -04:00
78e45facd7 Add file permission detection/restoring 2013-08-13 23:18:17 -04:00
fae1ed38d5 Finish unfinished ProcessRemoteEvent functionality 2013-08-13 23:17:45 -04:00
d5c199c021 remove unneeded event.Status field updates 2013-08-13 23:13:54 -04:00
f3b4294b23 add ErrorFileNotFound util function 2013-08-13 23:12:08 -04:00
bdd8032f29 Miscellaneous bug fixes 2013-08-13 21:55:17 -04:00
2569f4cfbf Add path map and convert asink client event processing to that model 2013-08-13 21:51:19 -04:00
cfc45fec71 Fixup client/database so it doesn't leak open cursors 2013-08-13 21:45:52 -04:00
9c8730f60a Add Predecessor field to events, which holds the hash of the previous file at that path 2013-08-13 21:43:05 -04:00
e5fabc27e3 Add states to Event to handle incoming events 2013-08-07 23:43:38 -04:00
49b0f75714 client/storage_local.go: os.Create is for opening files as writable 2013-07-24 22:14:42 -04:00
ada1317ec8 Add downloading of remotely-updated files 2013-04-01 23:59:40 -04:00
3a166dbc9a Fix server error message, go fmt 2013-03-18 07:17:44 -04:00
a4bce8a07b client: Retrieve events sent to server 2013-03-17 23:02:51 -04:00
11bcf164c6 Surround sqlite3 transactions with a lock to handle concurrency 2013-03-10 23:13:30 -04:00
1ddbcb3636 server: add long-polling support 2013-03-09 22:47:49 -05:00
94823e104d Add server database, returning events 2013-02-22 00:06:10 -05:00
3fc3e3a963 Restructured to have subpackages, added server communication 2013-02-20 23:43:01 -05:00