Commit Graph

26 Commits (ee1db02b08320198eb271975d87dbc9b9be6cbbf)

Author SHA1 Message Date
_ ee1db02b08 ♻️ refactor: use constructor for ConfigFile 2021-03-21 02:49:44 +00:00
_ 13c1ddc01a 🐛 bug: fix tests not compiling 2021-03-15 19:29:54 +00:00
_ 9648a9853c wip: debug proxy now owns a filter which can drop or modify request bodies 2021-03-06 22:58:23 +00:00
_ 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
_ 1e42110ae1 ♻️ refactor: extract basic client tests 2021-03-06 19:36:37 +00:00
_ 4838a99288 ♻️ refactor: end_to_end test now uses TestingRelay and TestingServer 2021-03-06 19:30:05 +00:00
_ 8b845b55da ♻️ refactor: extract TestingServer 2021-03-06 19:25:24 +00:00
_ 221732a616 ♻️ refactor: extract TestingRelay 2021-03-06 19:17:42 +00:00
_ 4aa54c32d0 test: add a test that uses debug_proxy 2021-03-06 18:55:05 +00: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
_ 11f4b0e65b test: Fix tests broken by recent commits 2020-12-14 14:17:52 +00:00
_ e865ac56c7 🚨 refactor: fix some clippy / cargo check warnings 2020-12-13 20:05:52 -06:00
_ 9c7b2b7a86 test: add tests for scraper API test endpoint 2020-12-13 04:44:37 +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
_ 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
_ b43106393a 👕 refactor (ptth_relay): use the new blake3 deserializer 2020-12-12 15:50:38 +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
_ c4b12eb806 🏁 Builds on Windows. 2020-12-10 06:24:56 +00:00
_ b40eda4a69 🐛 Fix tests 2020-11-30 15:55:14 +00:00
_ d6430e39a9 ♻️ Get rid of more unwraps and panics 2020-11-29 21:38:23 +00:00
_ bf96d400b2 ♻️ Removing unwraps 2020-11-29 17:09:19 +00:00
_ bbb88c01e8 ♻️ Extract ptth_server crate. Docker still broken 2020-11-27 00:50:22 +00:00
_ 4c9595ee2e ♻️ Extract crate ptth_relay 2020-11-27 00:20:18 +00:00
_ c4108f6f2f Move the bad passwords code into the server module since the relay doesn't need it 2020-11-26 23:41:32 +00:00
_ 7c2ce65864 ♻️ Extract src/tests.rs 2020-11-26 23:33:10 +00:00