Xavier Trochu
|
63aef6b832
Fix postmerge issue
|
11 anni fa |
Xavier Trochu
|
a367190a21
Merge remote-tracking branch 'sharelatex/master'
|
11 anni fa |
James Allen
|
f723b1699b
Mongo/redis no longer needed without acceptance tests
|
11 anni fa |
James Allen
|
9b40d34b2a
Acceptance tests no longer run on Travis
|
11 anni fa |
Henry Oswald
|
cf28ee4f9b
locked down packages
|
11 anni fa |
Shane Kilkelly
|
0d450b4e33
Tighten up error handling.
|
11 anni fa |
Shane Kilkelly
|
fcfc595c35
Handle potential error before calling `LocalFileWriter.writeStream`.
|
11 anni fa |
Shane Kilkelly
|
a6fff2d4e4
Check for a large response body, rather than exact match on the first few bytes.
|
11 anni fa |
Shane Kilkelly
|
c6a81c94eb
Test the `cacheWarm` option for preview.
|
11 anni fa |
Shane Kilkelly
|
b8042ae771
Add an acceptance test that uses a pdf file.
|
11 anni fa |
Shane Kilkelly
|
297ad78b1e
Add an acceptance test to check the preview endpoint doesn't time out.
|
11 anni fa |
Shane Kilkelly
|
da5a538095
Fix calls to `PersistorManager.getFileStream` which were missed in initial refactor.
|
11 anni fa |
Shane Kilkelly
|
9b8f11f517
Fix the check for a success response from S3.
|
11 anni fa |
Shane Kilkelly
|
82af1be756
Improve testing of error conditions in the FSPersistorManager.
|
11 anni fa |
Shane Kilkelly
|
edc06c82e5
Correct usage of '==' rather than '=' when checking err.code.
|
11 anni fa |
Shane Kilkelly
|
8bbf81f4bc
If the S3 service produces an error, handle it.
|
11 anni fa |
Shane Kilkelly
|
47fdf3c5c9
Ensure that Filestore responds with 404 when a file does not exist.
|
11 anni fa |
Shane Kilkelly
|
4d60872782
Merge branch 'master' of github.com:sharelatex/filestore-sharelatex
|
11 anni fa |
Shane Kilkelly
|
959191ae50
Add an acceptance test for using range header when getting a file.
|
11 anni fa |
Shane Kilkelly
|
ed980a21e1
Test the FileHandler layer.
|
11 anni fa |
Shane Kilkelly
|
64f70eddbd
Add cluster.js to .gitignore.
|
11 anni fa |
Shane Kilkelly
|
8a631e70f7
Refactor, and log when we have a 'range' header.
|
11 anni fa |
Shane Kilkelly
|
387e96ab67
Refactor to make _get_range testable.
|
11 anni fa |
Shane Kilkelly
|
97cdc243d3
Parse out the range header and set `start` and `end` properties on options.
|
11 anni fa |
Shane Kilkelly
|
b905d9fba1
Add `range-parser` dependency.
|
11 anni fa |
Shane Kilkelly
|
76506ed91e
Pass start/end options down to the S3PersistorManager.
|
11 anni fa |
Shane Kilkelly
|
d88736e3b5
Pass the `start` and `end` options down to `fs.createReadStream`, and test for same.
|
11 anni fa |
Shane Kilkelly
|
57aedefdd3
Begin work towards obeying 'Range' headers, thread the `opts` down to persistence layer.
|
11 anni fa |
Brian Gough
|
bea9ee6b19
add gc to filestore
|
11 anni fa |
Brian Gough
|
2e08281b88
replace the /gc endpoint with a automatic gc every 3 minutes
|
11 anni fa |