Commit Graph

29 Commits (a980d151fc49ec04005652006aeb971fc2a1aa82)

Author SHA1 Message Date
_ a980d151fc ⬆️ deps: upgrade everything to Tokio 1.2.0
And pretend I didn't completely goober the Docker build somehow
2021-03-06 21:46:35 +00:00
_ 6db94d3e4f update: add endless_sink debug tool 2021-02-20 20:25:14 +00:00
_ aec822ba5f ⬆️ deps: Update to Rust 1.50.0 2021-02-20 19:12:38 +00:00
_ 498d69eeb9 update: add throttled endless random garbage 2021-02-20 17:28:39 +00:00
_ 09464c548a update: add endless data source for debugging 2021-02-20 17:08:38 +00:00
_ f53973ddad 🐛 bug: make sure errors are sent to tracing 2021-02-20 16:36:45 +00:00
_ 9a984f5a4e ♻️ refactor: ptth_relay: clean up Handlebars file names 2021-02-20 16:25:30 +00:00
_ 0ffa129937 🚧 wip: add prefix for relay debugging tools 2021-02-20 16:23:12 +00:00
_ 626946b7b7 🔉 update: demote some boring logs from debug to trace 2020-12-16 19:06:15 -06:00
_ 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
_ 5d1b68dc90 📜 logging: don't log handlebars object 2020-12-13 04:47:47 +00:00
_ 0737edd8f8 👕 refactor: move handlebars out of RelayState
This will make it simpler to separate logic and presentation.
2020-12-13 04:03:30 +00:00
_ 32e48697d5 👕 refactor: extract scraper_api module 2020-12-13 03:42:00 +00:00
_ 5f947ed73c 👕 refactor: Extract relay_state module 2020-12-13 03:29:54 +00:00
_ 532f99f770 💄 update: add dev mode and server Git version to server list 2020-12-13 03:00:45 +00:00
_ 670ce30667 test: add end-to-end test for scraper API 2020-12-13 01:55:47 +00:00
_ 1e81421444 👕 refactor: Extract functions for scraper API endpoints 2020-12-13 01:12:56 +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
_ 0eb1e7e38f new: add code for scraper keys to expire and have limited durations 2020-12-12 17:11:22 +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
_ 7925d9be95 ♻️ Move server endpoints to their own file 2020-11-29 23:24:25 +00:00
_ 7bd2450698 ♻️ Fix pedantic clippy warnings 2020-11-29 20:22:40 +00:00
_ c3ff3deb8e ♻️ Fix some clippy warnings 2020-11-29 19:05:28 +00:00
_ aad7f8e729 ♻️ Remove all practically removable unwraps from ptth_relay 2020-11-29 18:39:51 +00:00
_ 687cffdf90 ♻️ Fixing clippy lints 2020-11-29 18:37:33 +00:00
_ 5c0d7ea998 ♻️ Removing unwraps 2020-11-29 17:09:25 +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