overleaf/services/filestore
Jakob Ackermann 3428d53afe Merge pull request #12938 from overleaf/jpa-leaks-filestore
[filestore] cacheWarm: destroy file stream when not piping into response

GitOrigin-RevId: a0fb14e5ececd28d8d9dbed8cd3a5622c81b8230
2023-05-09 08:04:18 +00:00
..
.github Merge pull request #8220 from overleaf/jlm-dependabot-tidy 2022-05-31 08:04:15 +00:00
app/js Merge pull request #12938 from overleaf/jpa-leaks-filestore 2023-05-09 08:04:18 +00:00
config Merge pull request #5572 from overleaf/jpa-no-path-concat 2021-10-28 08:03:37 +00:00
firejail bumped up rlimit-nproc to 600 2016-12-14 18:15:09 +00:00
template_files Handle templates locally ok 2014-11-27 11:08:29 +00:00
test Merge pull request #12938 from overleaf/jpa-leaks-filestore 2023-05-09 08:04:18 +00:00
uploads Initial open source commit 2014-02-14 16:39:05 +00:00
user_files Use default settings file 2014-04-02 17:45:41 +01:00
.gitignore [misc] bump the dev-env to 3.3.2 2020-08-10 17:01:12 +01:00
.nvmrc Merge pull request #12723 from overleaf/jpa-revert-node-18-upgrade 2023-04-21 08:03:22 +00:00
.prettierignore Add linting to makefile 2019-12-16 11:58:22 +00:00
app.js Merge pull request #7906 from overleaf/em-downgrade-logs 2022-05-17 08:05:26 +00:00
buildscript.txt Merge pull request #12723 from overleaf/jpa-revert-node-18-upgrade 2023-04-21 08:03:22 +00:00
docker-compose.ci.yml Merge pull request #9455 from overleaf/em-recreate-dropbox-entities 2022-09-02 08:05:09 +00:00
docker-compose.yml Merge pull request #9455 from overleaf/em-recreate-dropbox-entities 2022-09-02 08:05:09 +00:00
Dockerfile Merge pull request #12935 from overleaf/jpa-include-patches 2023-05-05 08:04:13 +00:00
install_deps.sh Merge pull request #7228 from overleaf/em-node-16 2022-04-05 12:20:52 +00:00
LICENSE Create LICENSE 2014-02-19 14:48:15 +00:00
Makefile Merge pull request #11908 from overleaf/jpa-fix-build-cache 2023-02-22 09:04:07 +00:00
nodemon.json Merge pull request #6542 from overleaf/jpa-em-code-sharing-workspaces 2022-02-16 11:31:07 +00:00
package.json Merge pull request #11207 from overleaf/em-upgrade-express 2023-01-25 09:06:11 +00:00
README.md [misc] drop the /heapdump route and related heapdump package 2020-03-02 17:09:35 +01:00
tiny.pdf added missing files 2016-12-14 17:14:15 +00:00

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/*
  • /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.