Commit graph

264 commits

Author SHA1 Message Date
Winston Li
6fc953b008 Added print. 2014-12-04 19:49:51 +00:00
Winston Li
1f12677e76 Added print. 2014-12-04 19:49:51 +00:00
Winston Li
01f59e3f4e Fixed cast. 2014-12-04 19:49:50 +00:00
Winston Li
4ec7d70eff Changed equality testing for FileNode. 2014-12-04 19:49:50 +00:00
Winston Li
e52ef90e13 Made changed be calculated dynamically. 2014-12-04 19:49:50 +00:00
Winston Li
cc77fdd89f Print statement 2014-12-04 19:49:50 +00:00
Winston Li
358abb4503 Initialising blobs in candidate snapshots. 2014-12-04 19:49:50 +00:00
Winston Li
794a0e29e6 Added fix for testing equality of ByteBlobs 2014-12-04 19:49:50 +00:00
Winston Li
1f239d7118 Creating directories. 2014-12-04 19:49:50 +00:00
Winston Li
f72767ceb1 Added print 2014-12-04 19:49:50 +00:00
Winston Li
1db7670f05 Added loading of AttachmentNode blobs. 2014-12-04 19:49:50 +00:00
Winston Li
f429c4bf8b Added print statement. 2014-12-04 19:49:07 +00:00
Winston Li
8483e0b86a Accounting for trailing slashes and .git in project name. 2014-11-20 11:37:32 +00:00
Winston Li
a654529090 Removed print statements. 2014-11-20 11:25:00 +00:00
Winston Li
c42db9eb8b Throwing RepositoryNotFoundException when not found. 2014-11-20 11:23:31 +00:00
Winston Li
2c64fb0e4f Fixed deadlock on exception being thrown. 2014-11-20 10:54:16 +00:00
Winston Li
b847e6f712 Fixed accidental package move. 2014-11-20 10:33:39 +00:00
Winston Li
b5adf31774 Added per-project synchronisation and massively refactored SQLiteWLDatabase. 2014-11-20 10:27:58 +00:00
Winston Li
08277baa77 Added per-project synchronisation. 2014-11-20 09:19:21 +00:00
Winston Li
b51b37f71f Creating atts directory when needed. 2014-11-19 21:31:01 +00:00
Winston Li
0442cd7e0b Creating .wlgb directory if it isn't there. 2014-11-19 21:07:55 +00:00
Winston Li
832009e6cf Finished writing persistent store. 2014-11-19 20:57:31 +00:00
Winston Li
dc47c17264 Loading fetched versions from database. 2014-11-19 19:30:59 +00:00
Winston Li
f103c7e3b5 Loading WLProjectStore from database. 2014-11-19 19:01:18 +00:00
Winston Li
7d47514810 Changed WLDataModel to not delete project directories. 2014-11-19 18:40:34 +00:00
Winston Li
071e0a87cc Wrote persistent store. 2014-11-19 18:28:55 +00:00
Winston Li
dca42ac72b Initial sqlite database creation code. 2014-11-19 13:49:30 +00:00
Winston Li
50023ba265 Loading project and file store from database. 2014-11-17 13:59:11 +00:00
Winston Li
1d4f856832 Moved projects table into WLProjectStore class. 2014-11-17 13:54:37 +00:00
Winston Li
5d1c9d436a Basic sqlite database being loaded. 2014-11-17 13:49:19 +00:00
Winston Li
2a02ed466a Added sqlite-jbdc-3.7.2.jar and javadocs to ant build. 2014-11-17 13:29:26 +00:00
Winston Li
eb8dccc151 Made deleteInDirectory use deleteInDirectoryApartFrom. 2014-11-17 13:09:27 +00:00
Winston Li
555f4e1674 Changed deleteInDirectoryApartFrom to take variadic type. 2014-11-17 13:08:29 +00:00
Winston Li
3bbef6f066 Now deleting all files before writing snapshot to disk. 2014-11-17 12:47:59 +00:00
Winston Li
1e8d7d5840 Removed printing of push data. 2014-11-17 12:31:51 +00:00
Winston Li
3dea6036f8 Added more description exception messages. 2014-11-17 10:59:47 +00:00
Winston Li
bdb34f89e7 Catching everything else in the put hook. 2014-11-17 10:48:53 +00:00
Winston Li
da5b661858 Added exception if the push request returned instantly with an error. 2014-11-17 10:41:36 +00:00
Winston Li
c9d773b6e8 Made constructor for pushed snapshot. 2014-11-17 10:13:01 +00:00
Winston Li
7d650a8604 Removed unused variable. 2014-11-17 10:08:56 +00:00
Winston Li
3d86a3e149 Added exception handling to postback and implemented waiting properly. 2014-11-17 10:00:15 +00:00
Winston Li
3e12845345 Used cond instead. 2014-11-16 22:08:45 +00:00
Winston Li
38cf9e33c6 Added timeout to wait. 2014-11-16 22:04:18 +00:00
Winston Li
ccf17f9867 Extracted project name properly from uri. 2014-11-16 21:58:36 +00:00
Winston Li
48305d963f Testing candidate snapshot approval. 2014-11-16 21:49:16 +00:00
Winston Li
06a7ee6614 Corrected remoteAddr to localName. 2014-11-16 21:00:57 +00:00
Winston Li
db2bf43aa7 Checking local IP of request. 2014-11-16 20:55:44 +00:00
Winston Li
87bd7e6ff4 Setting Content-Type and sending request for SnapshotPushRequest. 2014-11-16 20:43:33 +00:00
Winston Li
375916678d Generating SnapshotPostRequest data correctly. 2014-11-16 20:27:37 +00:00
Winston Li
20c48cbd92 Made changed files accessible via http. 2014-11-16 20:02:30 +00:00