overleaf/services/filestore
Antoine Clausse 7f48c67512 Add prefer-node-protocol ESLint rule (#21532)
* Add `unicorn/prefer-node-protocol`

* Fix `unicorn/prefer-node-protocol` ESLint errors

* Run `npm run format:fix`

* Add sandboxed-module sourceTransformers in mocha setups

Fix `no such file or directory, open 'node:fs'` in `sandboxed-module`

* Remove `node:` in the SandboxedModule requires

* Fix new linting errors with `node:`

GitOrigin-RevId: 68f6e31e2191fcff4cb8058dd0a6914c14f59926
2024-11-11 09:04:51 +00:00
..
app/js Add prefer-node-protocol ESLint rule (#21532) 2024-11-11 09:04:51 +00:00
config Add prefer-node-protocol ESLint rule (#21532) 2024-11-11 09:04:51 +00:00
firejail
template_files
test Add prefer-node-protocol ESLint rule (#21532) 2024-11-11 09:04:51 +00:00
uploads
user_files
.gitignore
.mocharc.json Merge pull request #17362 from overleaf/bg-chai-object-id-tests 2024-07-16 08:04:46 +00:00
.nvmrc Update to node 18.20.4 2024-11-07 09:04:31 +00:00
.prettierignore
app.js Add prefer-node-protocol ESLint rule (#21532) 2024-11-11 09:04:51 +00:00
buildscript.txt Merge pull request #21380 from overleaf/jpa-s3-ssec-backend 2024-11-08 09:06:37 +00:00
docker-compose.ci.yml Merge pull request #21380 from overleaf/jpa-s3-ssec-backend 2024-11-08 09:06:37 +00:00
docker-compose.yml Merge pull request #21380 from overleaf/jpa-s3-ssec-backend 2024-11-08 09:06:37 +00:00
Dockerfile Update to node 18.20.4 2024-11-07 09:04:31 +00:00
install_deps.sh
LICENSE
Makefile Update to node 18.20.4 2024-11-07 09:04:31 +00:00
package.json Merge pull request #21660 from overleaf/jpa-s3-https 2024-11-08 09:07:00 +00:00
README.md
tiny.pdf
tsconfig.json Merge pull request #20331 from overleaf/jpa-build-scripts-sync 2024-09-10 08:05:01 +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 HTTP 200 filestore is up or HTTP 503 when shutting down
  • /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.