overleaf/services/filestore
Simon Detheridge b4b7fd226e Add mechanisms to transfer files with md5-based integrity checks
Fix error in settings and tidy up tests

Remove unused variable declaration

Remove .only from tests and update eslint rules to catch it in future

Use  to catch errors more safely getting md5 hash

Avoid unnecessary call to S3 to get md5 response
2020-02-12 13:21:52 +00:00
..
.github
app/js Add mechanisms to transfer files with md5-based integrity checks 2020-02-12 13:21:52 +00:00
config Add mechanisms to transfer files with md5-based integrity checks 2020-02-12 13:21:52 +00:00
firejail
template_files
test Add mechanisms to transfer files with md5-based integrity checks 2020-02-12 13:21:52 +00:00
uploads
user_files
.dockerignore [misc] update the build scripts to 1.3.5 2020-02-11 18:58:55 +01:00
.eslintrc Add mechanisms to transfer files with md5-based integrity checks 2020-02-12 13:21:52 +00:00
.gitignore
.nvmrc update to node 10.19.0 2020-02-07 14:16:31 +00:00
.prettierignore
.prettierrc [misc] update the build scripts to 1.3.5 2020-02-11 18:58:55 +01:00
.travis.yml
app.js Remove redundant 'res.logInfo' 2020-01-14 20:55:33 +00:00
buildscript.txt [misc] update the build scripts to 1.3.5 2020-02-11 18:58:55 +01:00
docker-compose.ci.yml [misc] update the build scripts to 1.3.5 2020-02-11 18:58:55 +01:00
docker-compose.yml [misc] update the build scripts to 1.3.5 2020-02-11 18:58:55 +01:00
Dockerfile [misc] update the build scripts to 1.3.5 2020-02-11 18:58:55 +01:00
install_deps.sh [misc] update the build scripts to 1.3.5 2020-02-11 18:58:55 +01:00
Jenkinsfile Update build files from build_scripts 2019-12-16 17:17:25 +00:00
LICENSE
Makefile [misc] update the build scripts to 1.3.5 2020-02-11 18:58:55 +01:00
nodemon.json Update build files from build_scripts 2019-12-16 17:17:25 +00:00
npm-shrinkwrap.json Add mechanisms to transfer files with md5-based integrity checks 2020-02-12 13:21:52 +00:00
package.json Add mechanisms to transfer files with md5-based integrity checks 2020-02-12 13:21:52 +00:00
README.md
tiny.pdf

overleaf/filestore

An API for CRUD operations on binary files stored in S3

filestore acts as a proxy between the CLSIs and (currently) Amazon S3 storage, presenting a RESTful HTTP interface to the CLSIs on port 3009 by default. Urls are mapped to node functions in https://github.com/overleaf/filestore/blob/master/app.coffee . URLs are of the form:

  • /project/:project_id/file/:file_id
  • /template/:template_id/v/:version/:format
  • /project/:project_id/public/:public_file_id
  • /project/:project_id/size
  • /bucket/:bucket/key/*
  • /heapdump
  • /shutdown
  • /status - returns filestore sharelatex up or server is being shut down (HTTP 500)
  • /health_check

License

The code in this repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE, version 3. A copy can be found in the LICENSE file.

Copyright (c) Overleaf, 2014-2019.