Winston Li
105ab215b2
Bye travis.
2015-03-10 00:33:41 +00:00
Winston Li
896b00d4ac
Add local repo config setting for travis.
2015-03-10 00:26:48 +00:00
Winston Li
7e803bb950
pushFailsOnSecondStageOutOfDate integration test.
2015-03-10 00:19:12 +00:00
Winston Li
d1156cb812
Remove exit code assertion from push failing as it is undefined.
2015-03-10 00:13:15 +00:00
Winston Li
9245037abf
pushFailsOnFirstStageOutOfDate integration test.
2015-03-09 23:56:16 +00:00
Winston Li
4781a78926
canPushFilesSuccessfully integration test.
2015-03-09 23:37:58 +00:00
Winston Li
8f416cfd60
canPullDeletedNestedFiles integration test.
2015-03-09 23:22:40 +00:00
Winston Li
1de56ef76b
canPullAModifiedNestedFile integration test.
2015-03-09 23:15:27 +00:00
Winston Li
f0f5333161
canPullADeletedBinaryFile integration test.
2015-03-09 23:08:53 +00:00
Winston Li
5e8e042ad2
canPullAModifiedBinaryFile integration test.
2015-03-09 23:02:57 +00:00
Winston Li
60ca2f1788
canPullAModifiedTexFile integration test.
2015-03-09 22:55:00 +00:00
Winston Li
5a00c84359
Refactor with deletion and tests.
2015-03-09 22:41:55 +00:00
Winston Li
8993702f69
Initial large refactor.
2015-03-09 22:41:55 +00:00
Winston Li
79307923ad
Allow null directories in directory deletion methods.
2015-03-09 22:35:40 +00:00
Winston Li
83db4e6a10
Joda-Time for ISO6801 timestamps.
2015-03-09 21:38:53 +00:00
Winston Li
e7c1b29008
Change timestamp parsing to include milliseconds.
2015-03-09 21:29:03 +00:00
Winston Li
e6bdbe8f17
Fix the rest of the tests
2015-03-05 15:39:05 +00:00
Winston Li
5df8b2b65f
Change 2 tests to launch git in separate process.
2015-03-05 15:21:28 +00:00
Winston Li
3d53226853
Use shared instance of AsyncHttpClient and close Stream in ResourceFetcher.
2015-02-24 10:30:39 +00:00
Winston Li
77c4576b59
Fix SQL injection.
2015-02-23 11:00:34 +00:00
Winston Li
4561409450
Fix url index bug with renaming.
2015-02-22 10:56:47 +00:00
Winston Li
ad7c7a4ba5
Fix bug with Overleaf commits swapping name and email.
2015-02-22 10:41:21 +00:00
Winston Li
6e5163c186
Fix project atts directory deletion to delete base directory too.
2015-02-22 10:20:30 +00:00
Winston Li
ec0c70c622
Delete project atts directory after push.
2015-02-22 10:09:35 +00:00
Winston Li
59001735b1
Remove loading messages.
2015-02-22 02:59:50 +00:00
Winston Li
52f2190346
Fix ResourceFetcher log message.
2015-02-22 02:35:03 +00:00
Winston Li
b01ec908e1
Delete url indexes on successful push.
2015-02-22 02:35:03 +00:00
Winston Li
70d9c0e31d
Fix url index lookups for same commit and add log messages.
2015-02-22 02:35:03 +00:00
Winston Li
be806d293c
Delete un-needed files from mem builds.
2015-02-22 02:35:03 +00:00
Winston Li
0c0da41bb9
Fix equals bug in ServletFile diff.
2015-02-22 02:35:03 +00:00
Winston Li
4a396c2c17
Set latest seen version after non empty snapshot fetch.
2015-02-22 02:35:02 +00:00
Winston Li
680c7fabf7
Add stack trace prints and remove bugged git config.
2015-02-22 02:35:02 +00:00
Winston Li
a91390dd37
Add IF NOT EXISTS to index creation sql statement.
2015-02-22 02:35:02 +00:00
Winston Li
fee792f5ee
In-place diffs during push snapshot creation.
2015-02-22 02:35:02 +00:00
Winston Li
ec13e184b7
Implement no_mem git-uploads.
2015-02-22 02:35:02 +00:00
Winston Li
4110dcc2a9
Redesigned SQL interface.
2015-02-22 02:35:02 +00:00
Winston Li
4d98159398
( fix #9 ) Fix start-stop-daemon call by removing --name option.
2015-02-21 01:43:21 +00:00
Winston Li
5ecc36b80e
Modify init script to use start-stop-daemon for stopping.
2015-02-21 01:24:10 +00:00
Winston Li
30521b988b
Graceful kill with write lock and per project read locks.
2015-02-21 00:52:20 +00:00
Winston Li
ac50c26aef
( fix #8 ) Add better error message for 403 protected projects with integration test and support.
2015-02-20 12:42:04 +00:00
John Lees-Miller
e51576dff9
ensure LANG is set to a UTF-8 locale
...
Otherwise, all input is assumed to be ASCII by default, which causes UTF-8 characters to be replaced by question marks. "C.UTF-8" the C locale with the UTF-8 codeset.
2015-02-20 11:13:04 +00:00
Winston Li
682a7e93ad
Added stack trace print.
2015-01-15 23:03:12 +00:00
Winston Li
70808b14b5
Added try-catch-finally block for remaining instances of lock releasing.
2015-01-15 23:00:32 +00:00
Winston Li
34185c7067
Took the sudo back out again.
2015-01-11 17:38:31 +00:00
Winston Li
4eda2a81ba
Restored broken images and removed print statements.
2015-01-11 17:36:51 +00:00
Winston Li
e124a74c2f
Fixed bug with git not adding deleted files.
2015-01-11 17:23:49 +00:00
Winston Li
d4613864c0
Changed a string containing writelatex.
2015-01-11 16:24:42 +00:00
Winston Li
9e1d28b9bb
Put the sudos back in.
2015-01-11 16:17:05 +00:00
Winston Li
cd7877e02e
Added the rest of the test.
2015-01-11 16:01:56 +00:00
Winston Li
a276b7c806
Added integration test for pulling a modified tex file.
2015-01-11 15:54:36 +00:00
Winston Li
21455e494a
Removed sudo from mvn package in reinstall script.
2015-01-11 15:28:29 +00:00
Winston Li
e8120a98dd
Fixed a test repo.
2015-01-11 15:27:44 +00:00
Winston Li
984969b155
Added canCloneMultipleRepositories integration test.
2015-01-11 15:21:11 +00:00
Winston Li
3a63d9c225
Added actual img
2015-01-11 14:16:53 +00:00
Winston Li
dd6c38dd5b
Changed the name of the directory from git to repo.
2015-01-11 12:38:17 +00:00
Winston Li
a9c8deca7f
Fixed generated wlgb file root.
2015-01-11 12:19:01 +00:00
Winston Li
517792517c
Stopped using getResource.
2015-01-11 12:13:25 +00:00
Winston Li
0dd12e5323
Renamed class.
2015-01-11 12:01:53 +00:00
Winston Li
d8a8493a82
Moved directory.
2015-01-11 12:00:11 +00:00
Winston Li
8dc7f17e46
Added versions.
2015-01-11 11:55:19 +00:00
Winston Li
0c12b3dbd6
Added maven compiler level.
2015-01-11 11:46:13 +00:00
Winston Li
41fc758dd3
Changed maven2 to maven.
2015-01-11 11:38:20 +00:00
Winston Li
f09ed593d7
Removed print statements.
2015-01-11 11:29:19 +00:00
Winston Li
3f67e62846
First integration test.
2015-01-11 11:23:33 +00:00
Winston Li
3a532a76df
Added integration test directory and wrote FileUtil and tests.
2015-01-11 09:11:12 +00:00
Winston Li
f5e068a46e
Updated readme.
2015-01-10 12:55:57 +00:00
Winston Li
937c36d61e
Changed mv jar to cp jar.
2015-01-10 12:54:06 +00:00
Winston Li
0e6f554e42
Added opposite arrows for inbound http requests.
2015-01-10 11:32:33 +00:00
Winston Li
ca936d6630
Added better logging with timestamps and removed verbose http responses.
2015-01-10 11:28:25 +00:00
Winston Li
ae3808e5ad
Changed response message slightly.
2015-01-10 09:12:58 +00:00
Winston Li
460ba0c4d7
Added reinstall script and changed script names.
2015-01-10 09:07:37 +00:00
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