* feat: make methods in CliRunner public
* change: rename CliRunner to AppRunner
* fix: process being passed incorrectly to runCli
* feat: expose AppRunner.run for easily serving from JS apps
* change: only make run methods on AppRunner public
* feat: redis based locking mechanism
* fix: adapted to review and wrote unit tests
* fix: adapted to review(Woutermont)
* fix: adapted to review and expanded tests
* test: redlock integration tests
* test: corrected file name
* test: tests should run on CI now
* test: improved tests and minor changes according to review
* fix: forgot describeIf docker
* test: adapted to review
* test: Mock all redis dependencies
Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
* Add basic documentation of config variables
* Address PR comments
* Added additional documentation based on chat with Joachim
* Import wiki to documentation folder
The reason for this migration is that community members cannot submit
PRs against the wiki to update documentation, so move them here so they
can. Next steps are to deploy this folder as part of the docs CI setup.
* Update README.md
Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
* Address Joachim's comments
Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
* Fallback to X-Forwarded-* headers
This uses the first value from X-Forwarded-Host and
X-Forwarded-Proto if they're present and the standard Forwarded
header is not.
* Update parseForwarded to handle X-Forwarded-*
This updates the signature for parseForwarded to take in the headers
and handle the logic of falling back to X-Forwarded-* headers.
* Update src/util/HeaderUtil.ts
Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
* Inline parseXForwarded helper
Additionally fixes a typo, updates a unit test, and removes a
typing that is no longer necessary.
* Tweak handling of X-Forwarded value checking and assignment
* Fix: terminology & consistency suggestions from review
Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
Co-authored-by: Wouter Termont <woutermont@gmail.com>
* bug: error when unknown parameters are passed to the main executable
* bug: error on unknown paramters and adapted to review
* fix: test wont pass in ci
* Update src/init/CliRunner.ts
Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
* fix: adapted to review
* fix: made CliRunner.run async
Co-authored-by: Arne Vandoorslaer <arne@digita.ai>
Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
* feat: added cloneRepresentation function to ResourceUtil
* fix: adapted to review
* fix: adapted to review
Co-authored-by: Arne Vandoorslaer <arne@digita.ai>