Commit Graph

44 Commits

Author SHA1 Message Date
Brian Picciano
7a35befffe Don't include Send/Sync in trait requirements 2023-07-03 13:39:44 +02:00
Brian Picciano
bd96581c6a Don't return Box from constructors 2023-06-29 16:54:55 +02:00
Brian Picciano
644d2bab23 Rename to domani 2023-06-25 13:35:59 +02:00
Brian Picciano
505015a4bd Removed usage of sync::Arc where possible 2023-06-21 14:02:42 +02:00
Brian Picciano
289a185d42 Make domain manager do cert resolving for tls 2023-06-21 13:47:04 +02:00
Brian Picciano
7dd52839b1 Use TaskStack to clean up startup/shutdown logic significantly 2023-06-21 13:15:42 +02:00
Brian Picciano
f2374cded5 Use TaskSet to cleanly shut down the http service 2023-06-19 20:57:26 +02:00
Brian Picciano
506037dcd0 Moved service tasks internally, main crashes on shutdown though 2023-06-18 15:57:51 +02:00
Brian Picciano
1f9ae0038f restructure service module 2023-06-18 14:53:25 +02:00
Brian Picciano
dbc912a9d3 add sync_cert method to domain manager 2023-06-18 14:46:52 +02:00
Brian Picciano
6da68dc042 stop domain manager's inner tasks on shutdown 2023-06-18 14:28:46 +02:00
Brian Picciano
6941ceec8e Remove final Boxed types 2023-06-18 13:53:02 +02:00
Brian Picciano
3d3dfb34ed Got rid of Boxed acme types 2023-06-18 13:44:19 +02:00
Brian Picciano
52f87dc625 Get rid of origin::store::BoxedManager and domain::manager::BoxedManager 2023-06-18 13:12:26 +02:00
Brian Picciano
420f1ff42a implement error::unexpected, use it everywhere
This is an improved form of the previous `error::Unexpected` type, now
with more capabilities and generally better naming.
2023-06-17 15:41:39 +02:00
Brian Picciano
42a033a50b Fixes from clippy 2023-06-13 21:36:12 +02:00
Brian Picciano
01b47fb010 Add real logging 2023-06-13 21:33:43 +02:00
Brian Picciano
f7107de96b Fixed crash on unknown cert 2023-05-23 12:15:06 +02:00
Brian Picciano
9c2bd4e49a cleaned up https parameter handling a bit 2023-05-20 14:51:36 +02:00
Brian Picciano
0fd832efdd clippy suggestions 2023-05-20 14:34:45 +02:00
Brian Picciano
e29de0d29c got HTTPS fully working 2023-05-20 14:29:03 +02:00
Brian Picciano
06cda77772 Periodically refresh certs for all domains 2023-05-19 13:27:00 +02:00
Brian Picciano
5b26396106 change http_domain into a domain::Name 2023-05-19 12:36:01 +02:00
Brian Picciano
4cd5234519 use a FuturesOrdered wait group 2023-05-19 12:29:37 +02:00
Brian Picciano
4e412d0677 Got acme working, syncing for http_domain works 2023-05-19 12:09:41 +02:00
Brian Picciano
6d8799ce8c Got acme manager implemented, still untested. Not hooked up to user domains yet. 2023-05-18 22:39:12 +02:00
Brian Picciano
a7e74ac5dd Move origin syncing to within manager 2023-05-17 14:37:23 +02:00
Brian Picciano
cab7a837a7 Introduced separate 'Boxed' traits, to allow for mocks 2023-05-16 17:17:47 +02:00
Brian Picciano
d9676a4ce7 Issues from clippy 2023-05-16 16:20:01 +02:00
Brian Picciano
e5ce19e850 use IPv4 for now 2023-05-15 22:16:29 +02:00
Brian Picciano
6d68b4e5ab Implemented periodic origin syncing 2023-05-15 21:18:33 +02:00
Brian Picciano
8f1c0cce22 Implement serving of origins 2023-05-15 20:25:07 +02:00
Brian Picciano
c1b6d982ef Switch to AAAA records 2023-05-15 18:26:49 +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
26ebda90e8 Use async dns client, pass tokio runtime into the checker constructor 2023-05-14 11:44:50 +02:00
Brian Picciano
f9801af166 rename to domiply 2023-05-13 16:39:54 +02:00
Brian Picciano
130581d61e got basic system for passing configs back and forth with URL working 2023-05-12 18:27:23 +02:00
Brian Picciano
7718735215 use a validated domain name type, rather than a raw string 2023-05-12 16:43:05 +02:00
Brian Picciano
a3c41ee4d6 Add config option for http listen address 2023-05-12 11:17:15 +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
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