Commit Graph

12 Commits (5e18bf8ace4b047a13db831d1c0aa3e352627c93)

Author SHA1 Message Date
_ 9ac44cfeb7 new: finish MVP for scraper auth.
Adding a SQLite DB to properly track the keys is going to take a while. For
now I'll just keep them in the config file and give them 30-day expirations.
2020-12-16 14:46:03 +00:00
_ fa5aa8b05a 🚧 wip: add server list API endpoint 2020-12-14 01:07:13 -06:00
_ 670ce30667 test: add end-to-end test for scraper API 2020-12-13 01:55:47 +00:00
_ 0eb1e7e38f new: add code for scraper keys to expire and have limited durations 2020-12-12 17:11:22 +00:00
_ bf8e483d16 👕 refactor: merge the servers' config file and runtime representations 2020-12-12 15:57:22 +00:00
_ b43106393a 👕 refactor (ptth_relay): use the new blake3 deserializer 2020-12-12 15:50:38 +00:00
_ 9bc4b57058 new (ptth_relay): add serde deserializer for blake3 hashes 2020-12-12 15:35:33 +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
_ e59bb5b7bc 💥 Break relay config again 2020-11-30 15:52:15 +00:00
_ 687cffdf90 ♻️ Fixing clippy lints 2020-11-29 18:37:33 +00:00
_ bf96d400b2 ♻️ Removing unwraps 2020-11-29 17:09:19 +00:00
_ 4c9595ee2e ♻️ Extract crate ptth_relay 2020-11-27 00:20:18 +00:00