Commit Graph

35 Commits

Author SHA1 Message Date
c76d7318f0 Upgrade to hyper v1.2.0, potentially fix issues with graceful shutdown 2024-02-29 10:30:21 +01:00
3651fd0f0c Remove full gix project as a dependency 2024-02-17 20:02:32 +01:00
1667bac39c Decompress objects from git server, refactor BoxByteStream in the process 2024-02-13 17:27:00 +01:00
2302e9ff64 Implement most of new git implementation's get_file method
This includes a refactoring of get_file to be completely async, as well
as to add a new error case.
2024-01-30 18:47:09 +01:00
98ddefad4f Implemented sync method of new git_proxy module
This module is a WIP, intended to replace the existing git store with
one that doesn't require any locally managed state.
2024-01-22 04:04:19 +01:00
4009f0da48 Use hyper-reverse-proxy fork with fixed host header behavior: 2024-01-14 17:41:46 +01:00
658ac62347 Fix bug in http proxy where response headers would be deduplicated
The fix was, ultimately, to upgrade hyper-reverse-proxy to an unreleased
version.
2024-01-14 16:43:33 +01:00
4ded1c4ab4 Use builtin tokio ctrl-c rather than signal-hook-tokio
signal-hook-tokio does not support windows, and the builtin ctrl-c
function does everything domani really needs.
2023-11-11 21:39:40 +01:00
Brian Picciano
083976935c Fix release build 2023-08-03 17:32:32 +02:00
Brian Picciano
96b38f2c97 Support for gemini fully fleshed out 2023-08-01 16:44:16 +02:00
Brian Picciano
cdd0eacdd8 Update gemini proxying according to feedback from the tokio_rustls issue 2023-07-27 12:50:56 +02:00
Brian Picciano
c1659fab2a Got gemini proxy working, via a custom tokio_rustls branch 2023-07-24 19:06:01 +02:00
Brian Picciano
c8176c819f Got basic gemini listening working. Proxying does not yet work, nor does serving the origin 2023-07-22 11:31:55 +02:00
Brian Picciano
4a2ac7460f Initial implementation of proxy module 2023-07-16 16:09:20 +02:00
Brian Picciano
03428cef02 Use an HTTP challenge for ensuring that domains are correctly set up, rather than checking DNS records directly 2023-07-12 20:25:35 +02:00
Brian Picciano
57b56934a9 Switch to using a config file 2023-07-09 16:09:00 +02:00
Brian Picciano
644d2bab23 Rename to domani 2023-06-25 13:35:59 +02:00
Brian Picciano
01b47fb010 Add real logging 2023-06-13 21:33:43 +02:00
Brian Picciano
e29de0d29c got HTTPS fully working 2023-05-20 14:29:03 +02:00
Brian Picciano
4f98a9a244 store certs and private keys as generic DER+PEM strings, not using openssl crate 2023-05-19 21:21:34 +02:00
Brian Picciano
0f42327a57 Implemented acme store, started on manager 2023-05-18 12:22:35 +02:00
Brian Picciano
6d68b4e5ab Implemented periodic origin syncing 2023-05-15 21:18:33 +02:00
Brian Picciano
e3c13123db Switched to hyper, cleaned up manager lifetimes, got domain_sync working 2023-05-15 17:46:55 +02:00
Brian Picciano
f9801af166 rename to domiply 2023-05-13 16:39:54 +02:00
Brian Picciano
21b5b99022 got basic html templating engine working 2023-05-11 19:34:05 +02:00
Brian Picciano
386b02023c implement most of main, including config and http server 2023-05-11 14:25:51 +02:00
Brian Picciano
be84742e94 make origin store errors be actual errors, and implement a mock 2023-05-09 13:40:49 +02:00
Brian Picciano
696c92a292 tried getting the origin store mock working, but couldn't 2023-05-08 18:34:39 +02:00
Brian Picciano
7b60814681 add mock domain checker 2023-05-07 17:17:04 +02:00
Brian Picciano
2d57353244 initial implementation of domain::Checker 2023-05-07 17:06:51 +02:00
Brian Picciano
a7d5819a78 fixes from clippy 2023-05-07 13:22:55 +02:00
Brian Picciano
599ad7f4dc Implement all_descrs on the store 2023-05-06 15:38:43 +02:00
Brian Picciano
2663838af0 implement git store sync (maybe) 2023-05-04 14:56:31 +02:00
Brian Picciano
72df0f0b21 Implemented origin::Descr 2023-05-03 12:53:33 +02:00
Brian Picciano
b79298f7b8 init 2023-05-03 09:58:06 +02:00