Commit graph

229 commits

Author SHA1 Message Date
Winston Li
0ce8cc074e Reduced amount of logging of outgoing http requests. 2015-01-10 08:59:04 +00:00
Winston Li
26e2b1262d Implemented mock snapshot server. 2015-01-10 08:41:14 +00:00
Winston Li
2310aa124f Fixed typo and changed to only copy config file if one does not already exist. 2015-01-09 07:53:00 +00:00
Winston Li
5633526845 Modifications to install script and deleted betamax jars. 2015-01-09 07:43:12 +00:00
Winston Li
00c0274108 Merge branch 'master' into mvn 2015-01-09 07:22:07 +00:00
Winston Li
27e0952afb Converted build tool to Maven. 2015-01-09 07:21:13 +00:00
John Lees-Miller
5e6c1055c0 put in some example config data 2015-01-07 22:06:19 +00:00
Winston Li
ece573c942 Implemented bare repos. (resolved #5) 2015-01-06 20:36:56 +00:00
Winston Li
553a1064a5 Changed postbackUrl to postbackBaseUrl in config. 2015-01-06 20:13:05 +00:00
Winston Li
fec30532a2 Replaced hostname and ssl config with postbackUrl. (fixed #2, fixed #3) 2015-01-06 20:08:00 +00:00
Winston Li
16d7373800 Added ssl enabled option for postback url construction (#4, #2) and removed api key setting (#3). 2015-01-05 02:18:43 +00:00
Winston Li
995f862669 Allowed postback root to be specified as a config setting (#2) 2015-01-05 00:39:08 +00:00
Winston Li
128e24d2fb Added checking for the master branch. 2014-12-19 14:40:25 +00:00
Ali Lown
ac47f09eb4 Generate valid jar file with manifest 2014-12-09 13:42:37 +00:00
Winston Li
d022acc5c8 Small fixes to README. 2014-12-06 02:03:43 +00:00
Winston Li
84ec961cfb Changed README. 2014-12-06 02:01:47 +00:00
Winston Li
bfefbf0737 Fixed problems in README. 2014-12-06 01:56:07 +00:00
Winston Li
dad5d5a334 Made detailed readme. 2014-12-06 01:50:35 +00:00
Winston Li
f8c311688d Changed hostname to apiBaseUrl. 2014-12-06 01:27:08 +00:00
Winston Li
3e544f9e7c Fixed typo in startup script. 2014-12-06 00:50:16 +00:00
Winston Li
cfe23b57ff Forced hostname to end with / 2014-12-06 00:48:39 +00:00
Winston Li
f39199fa7e Made username and password optional and added serviceName member to config file. 2014-12-06 00:45:18 +00:00
Winston Li
8b700a8c0c Added configurable hostname and basic auth in config file. 2014-12-06 00:23:30 +00:00
Winston Li
816966427e Changed startup script to give config file. 2014-12-05 23:54:42 +00:00
Winston Li
c39e93c152 Changed program arguments to only take config file. 2014-12-05 23:46:37 +00:00
Winston Li
e6274b110b Added -p to mkdir and made uninstall.sh delete /etc/wlgb 2014-12-05 22:43:24 +00:00
Winston Li
5e8836df1a Changed install script. 2014-12-05 22:41:31 +00:00
Winston Li
c9df3e23ec Added .json config file to installation. 2014-12-05 22:39:07 +00:00
Winston Li
d6fd31c239 Added mkdir to install script. 2014-12-05 22:05:22 +00:00
Winston Li
85bf0ee44e Made wlgb script executable. 2014-12-05 22:02:21 +00:00
Winston Li
92fbf973b4 Logging stdout and stderr. 2014-12-05 22:00:55 +00:00
Winston Li
587faab290 Made bin/wlgb executable. 2014-12-05 21:15:37 +00:00
Winston Li
86a1887d1d No longer ignoring bin, but ignoring .jars. 2014-12-05 21:13:35 +00:00
Winston Li
f8fc3376e6 Only deleting .jar file in clean. 2014-12-05 21:12:42 +00:00
Winston Li
332d776ad1 Fixed install-deps.sh. 2014-12-05 21:10:07 +00:00
Winston Li
605107aa74 Made scripts executable. 2014-12-05 21:00:20 +00:00
Winston Li
07cea76931 Added install-deps script. 2014-12-05 20:57:05 +00:00
Winston Li
0438e501f9 Added install and uninstall scripts. 2014-12-05 20:38:12 +00:00
Winston Li
08583e470d Changed order of ant all. 2014-12-05 01:56:07 +00:00
Winston Li
abbd996f9c Fixed test.system to not execute unit tests. 2014-12-05 01:54:38 +00:00
Winston Li
b74ed407d4 Fixed system test in ant. 2014-12-05 01:51:53 +00:00
Winston Li
91f5f6b302 Changed test.system to JUnit tests. 2014-12-05 01:46:19 +00:00
Winston Li
88ac3bab25 Added initial system test. 2014-12-05 01:40:06 +00:00
Winston Li
dff1222052 Moved unit tests directory. 2014-12-05 01:36:20 +00:00
Winston Li
86d5843ff4 Removed slow tests. 2014-12-05 00:41:35 +00:00
Winston Li
50f01e1cf5 Setting time properly. 2014-12-05 00:39:48 +00:00
Winston Li
682f8a290c Getting new createdAt info. 2014-12-05 00:26:10 +00:00
Winston Li
044f67ea49 Saving pushed version ID to db. 2014-12-04 23:58:44 +00:00
Winston Li
0ac263ad45 Checking postback key. 2014-12-04 23:39:43 +00:00
Winston Li
e31b4fead5 Decoding postback GETs. 2014-12-04 23:34:02 +00:00
Winston Li
28e0d8cd42 Added postback key to files. 2014-12-04 23:18:32 +00:00
Winston Li
df751500c5 Added /postback on the end of postbackUrl. 2014-12-04 23:13:44 +00:00
Winston Li
4dc093fcee Made a better postback key. 2014-12-04 21:38:41 +00:00
Winston Li
1561111a0b Fixed handler end of postback key. 2014-12-04 21:30:25 +00:00
Winston Li
c3ef49b17c Basic implementation of postback key. 2014-12-04 21:27:52 +00:00
Winston Li
3887e5025f Added unit test classes. 2014-12-04 21:08:53 +00:00
Winston Li
3d19cb95b9 Removed print and gave more descriptive error. 2014-12-04 20:38:12 +00:00
Winston Li
ce9351186c Initialised descriptionLines. 2014-12-04 20:35:10 +00:00
Winston Li
e57f081c80 Printing in exception. 2014-12-04 20:26:29 +00:00
Winston Li
49028bd27b Implented more descriptive InvalidFilesException. 2014-12-04 20:24:13 +00:00
Winston Li
3ff9dc6b26 Printed invalid files error. 2014-12-04 20:11:05 +00:00
Winston Li
0daecf3f72 Changed request print. 2014-12-04 20:05:07 +00:00
Winston Li
e3ff612813 Printing postback contents. 2014-12-04 20:00:20 +00:00
Winston Li
d070baabde Fixed merge conflict. 2014-12-04 19:53:19 +00:00
Winston Li
ee6273ff8c Added print. 2014-12-04 19:49:51 +00:00
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