Commit Graph

9 Commits (4c52d88be00aa9fe00f1d892851b4d387e5bac98)

Author SHA1 Message Date
_ 4c52d88be0 📝 docs: check off todo for scraper API 2020-12-13 04:56:43 +00:00
_ 670ce30667 test: add end-to-end test for scraper API 2020-12-13 01:55:47 +00:00
_ 6d68a77364 new (ptth_relay): add test endpoint for scrapers
Scrapers can auth using a shared (but hashed) API key.
The hash of the key is specified in ptth_relay.toml, and forces dev mode on.
2020-12-12 17:50:40 +00:00
_ 6961fde7dc 📝 docs: update plan 2020-12-12 17:14:10 +00:00
_ 0eb1e7e38f new: add code for scraper keys to expire and have limited durations 2020-12-12 17:11:22 +00:00
_ cc96af6110 📝 docs: improve plan for scraper keys 2020-12-12 15:10:14 +00:00
_ 0c5a37b441 🐳 build (ptth_relay): clean up Docker build process
The new method is much nicer and doesn't require the manual make-old-git
step. The top-level command is actually build_and_minimize.bash, which uses
`git archive` to unpack the last Git commit and build with _that_ Dockerfile
and Docker context. This is better for determinism. It's similar to our build
process for that one big project at work.
2020-12-12 05:08:58 +00:00
_ f6486b2c1a 🔧 config (ptth_relay): add feature flags
- dev mode
- scraper auth

These will gate features I'm adding soon.
2020-12-12 01:26:58 +00:00
_ 4014290f98 📝 docs (YNQAQKJS) add plan for 3rd auth route 2020-12-11 21:04:59 +00:00