Winston Li
4fbd6eaabe
Fix issue with cloning multiple identical files and add test
2015-08-04 21:14:13 +01:00
Winston Li
34c2d7f613
Add test for f385cffd
2015-08-04 20:32:41 +01:00
Winston Li
f2701568f6
Fix issue with pulling a file identical to an existing file
2015-08-04 20:06:06 +01:00
John Lees-Miller
3ac0b0c2de
avoid NPE if project directory does not exist; fixes #10
2015-04-26 21:00:28 -04:00
Winston Li
d697f75c77
pushFailsOnUnexpectedError integration test.
2015-03-10 12:14:10 +00:00
Winston Li
a0eb4b0946
pushFailsOnInvalidProject integration test.
2015-03-10 12:02:41 +00:00
Winston Li
c36a1de7c3
pushFailsOnInvalidFiles integration test.
2015-03-10 11:49:31 +00:00
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