Simon Detheridge e331a3130c Handle AccessDenied and stream-premature-close errors 7 years ago
..
.github 4798589213 replace private link with public one 7 years ago
app e331a3130c Handle AccessDenied and stream-premature-close errors 7 years ago
config 0b3b71b857 Fall back to old AWS env vars if present 7 years ago
firejail 6c81d18627 bumped up rlimit-nproc to 600 10 years ago
template_files 9d97d1dc53 Handle templates locally ok 12 years ago
test e331a3130c Handle AccessDenied and stream-premature-close errors 7 years ago
uploads 3199aad601 Initial open source commit 12 years ago
user_files d0816096b6 Use default settings file 12 years ago
.dockerignore 601861ee58 Remove js from dockerignore 7 years ago
.eslintrc f19d82369d Bump eslintrc up again to last-known-compatible version with eslit-prettier 7 years ago
.gitignore 3718c90c7a Rename app/coffee dir to app/js 7 years ago
.nvmrc b7e098208f Update build files from build_scripts 7 years ago
.prettierignore 7870c8185e Add linting to makefile 7 years ago
.prettierrc b7e098208f Update build files from build_scripts 7 years ago
.travis.yml f723b1699b Mongo/redis no longer needed without acceptance tests 11 years ago
Dockerfile b7e098208f Update build files from build_scripts 7 years ago
Jenkinsfile b7e098208f Update build files from build_scripts 7 years ago
LICENSE 5d86dfacd7 Create LICENSE 12 years ago
Makefile b7e098208f Update build files from build_scripts 7 years ago
README.md 32a54a7e37 Update README.md 7 years ago
app.js 80d41cf51b Move bucket-specific file endpoint into FileController 7 years ago
buildscript.txt 42f6d10031 Remove mongo and redis from dependencies 7 years ago
docker-compose.ci.yml 42f6d10031 Remove mongo and redis from dependencies 7 years ago
docker-compose.yml 42f6d10031 Remove mongo and redis from dependencies 7 years ago
install_deps.sh 6657b6c1dc make all needed directories in install deps 8 years ago
nodemon.json b7e098208f Update build files from build_scripts 7 years ago
npm-shrinkwrap.json 2ca74fdf15 Cleanup and refactor S3PersistorManager to use aws-sdk only 7 years ago
package.json 2ca74fdf15 Cleanup and refactor S3PersistorManager to use aws-sdk only 7 years ago
tiny.pdf 4bba56ed28 added missing files 10 years ago

README.md

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.