Winston Li
995f862669
Allowed postback root to be specified as a config setting ( #2 )
2015-01-05 00:39:08 +00:00
Brian Gough
d5478a8ebb
make sure shutdown only happens once
2014-12-23 16:55:34 +00:00
Brian Gough
d3fa6b4a01
catch exceptions within the body of the domain error handler
2014-12-23 16:49:34 +00:00
Brian Gough
48f62990b4
server can exit immediately, does not need a domain
...
exit with an exception as no requests can be served
2014-12-23 16:48:11 +00:00
Brian Gough
74fc095913
close HTTP keep-alive connections when shutting down
2014-12-23 16:46:31 +00:00
Brian Gough
f4ac7d422b
run acceptance tests on travis under forever
2014-12-22 13:41:07 +00:00
Brian Gough
ad379ec103
add grunt target for test:acceptance
2014-12-22 13:13:36 +00:00
Brian Gough
d4c281e22c
add acceptance tests to travis.yml
2014-12-22 13:10:40 +00:00
Brian Gough
8b9213d09b
fix getFileStream unit test as callback no longer fires immediately
...
success callback is now called only when file is readable
2014-12-22 13:07:30 +00:00
Brian Gough
efd6035849
test against rimraf module when deleting directory recursively
2014-12-22 13:01:39 +00:00
Brian Gough
3f18f6a714
update unit tests - FileHandler now calls deleteDirectory on cache directory
2014-12-22 12:58:41 +00:00
Brian Gough
64c6341844
check delete status code in copy test
2014-12-22 11:34:13 +00:00
Brian Gough
de465aee94
change copy test to match usage in web, check http status
2014-12-22 11:27:48 +00:00
Brian Gough
dad209262f
execute success callback when filesystem copyfile completed
2014-12-22 11:27:00 +00:00
Brian Gough
72ebaea5e2
log FS delete errors only on failure
2014-12-22 11:11:31 +00:00
Brian Gough
7d96f3aadd
use 'response' to send 'NoSuchKey' when local file is not found
2014-12-22 11:11:03 +00:00
Brian Gough
8744cf94a5
delete directory with rimraf
2014-12-19 16:58:31 +00:00
Brian Gough
af4c72150f
fix path in directory deletion
2014-12-19 16:57:44 +00:00
Brian Gough
55c4e220fa
prevent double callback in getFileStream
2014-12-19 16:28:42 +00:00
Winston Li
128e24d2fb
Added checking for the master branch.
2014-12-19 14:40:25 +00:00
Brian Gough
c74356daeb
Merge branch 'master' of github.com:sharelatex/filestore-sharelatex
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-12-18 16:57:27 +00:00
Brian Gough
c2e50c619d
request restart on unhandled exceptions to avoid memory leak
2014-12-18 16:55:11 +00:00
Winston Li
77a9ef8cc8
Merge pull request #1 from alown/ali
...
Generate valid jar file with manifest
2014-12-09 13:50:02 +00:00
Ali Lown
ac47f09eb4
Generate valid jar file with manifest
2014-12-09 13:42:37 +00:00
James Allen
1313b06fb7
Don't return error if directory doesn't exist yet
2014-12-09 11:25:23 +00:00
James Allen
42af7c4e63
Add in some debugging logging
2014-12-09 11:16:16 +00:00
James Allen
ffa7919e46
Use find -type f to get a list of output files
2014-12-09 11:08:07 +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