Brian Gough 9d93eee3e8 return a 404 error (instead of a 500) when copying a missing file пре 7 година
..
app 9d93eee3e8 return a 404 error (instead of a 500) when copying a missing file пре 7 година
config 089bf3e084 seperate the standard s3 creds from the bucket s3 creds пре 8 година
firejail 6c81d18627 bumped up rlimit-nproc to 600 пре 10 година
template_files 9d97d1dc53 Handle templates locally ok пре 12 година
test 9d93eee3e8 return a 404 error (instead of a 500) when copying a missing file пре 7 година
uploads 3199aad601 Initial open source commit пре 12 година
user_files d0816096b6 Use default settings file пре 12 година
.gitignore a367190a21 Merge remote-tracking branch 'sharelatex/master' пре 11 година
.nvmrc eaa72d0747 upgrade to node 6 пре 9 година
.travis.yml f723b1699b Mongo/redis no longer needed without acceptance tests пре 11 година
Dockerfile 28271655e1 avoid problems with caching of apt-get operations пре 8 година
Gruntfile.coffee 33e654accf get the logging locally to work with bunyan пре 11 година
Jenkinsfile a70a216c52 Update Jenkinsfile пре 9 година
LICENSE 5d86dfacd7 Create LICENSE пре 12 година
README.md 038b3476fe Add some details to the README пре 8 година
app.coffee 96e9d8b0ec fix typo пре 8 година
cluster.coffee e03ee96216 added simple clustering master пре 12 година
npm-shrinkwrap.json c2bfdd095c upgrade logger-sharelatex to v1.5.8 пре 8 година
package.json c2bfdd095c upgrade logger-sharelatex to v1.5.8 пре 8 година
tiny.pdf 4bba56ed28 added missing files пре 10 година

README.md

filestore-sharelatex

An API for CRUD operations on binary files stored in S3

Build Status

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/sharelatex/filestore-sharelatex/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) ShareLaTeX, 2014.