Commit graph

54 commits

Author SHA1 Message Date
300708ad63 fix: actually load porkbun secrets 2024-10-01 17:39:03 +02:00
ee63f01e0f docs: fix nomenclature (provider -> handler) 2024-08-11 14:33:50 +02:00
c6b8b485b2 chore: bump version to 1.0.0 2024-08-11 12:25:13 +02:00
91380bf230 docs: update changelog + examples 2024-08-11 12:25:13 +02:00
a37af17d58 refactor: improve config parsing, allow for domain-specific secrets and multi-value secrets 2024-08-10 21:21:20 +02:00
d2570641ad feat: add support for staging let's encrypt env 2024-08-10 21:17:05 +02:00
f7ef3c7c47 fix: change message for local nyacme hook 2024-08-10 21:16:54 +02:00
aa8d3a04d6 chore: add output/ to gitignore 2024-08-10 21:16:36 +02:00
b9ba712099 fix: another attempt at local nyacme hook 2024-08-10 21:16:05 +02:00
1fadbcccfd chore: bump version to 0.2.0 2024-07-27 20:51:59 +02:00
5942b5c70d fix: use string "none" for HE DNS record "removal" 2024-07-27 20:48:16 +02:00
c47f99175e chore: target python 3.10 in ruff config 2024-07-27 20:14:25 +02:00
1eb51184e5 refactor: improve exception handling
- clear exception context
- use TypeError instead of asserts
2024-07-27 20:13:32 +02:00
5564a44d0d style: use list comprehensions and unpacking 2024-07-27 20:13:10 +02:00
e9f14a7525 style: add trailing commas 2024-07-27 20:03:53 +02:00
1cf39ad10b feat: use pathlib for HTTP handler 2024-07-27 20:02:58 +02:00
8e9f1d80b4 feat: remove inherently incorrect "hook launcher" 2024-07-27 20:01:17 +02:00
419672b5e7 feat: add hurricane electric handler 2024-07-27 20:00:34 +02:00
c37753e0cf refactor: slightly clean up config parsing 2024-07-27 16:24:21 +02:00
5fad1f8ebe chore: improve type annotations 2024-07-27 16:24:21 +02:00
52fa7292aa fix: remove extraneous chown 2024-07-23 14:49:59 +02:00
8483b50cbb fix: remove stale code 2024-07-23 14:45:47 +02:00
23b6b78b64 feat: improve help output 2024-07-23 14:36:41 +02:00
2ccdd4602b docs: add usage to README 2024-07-23 14:36:26 +02:00
d920052082 feat: add porkbun handler 2024-07-23 14:29:22 +02:00
2022b0d27a style: remove unused import 2024-07-23 14:29:03 +02:00
ad07746576 fix: catch only JSON decode errors in error handling 2024-07-23 14:27:51 +02:00
3004791b38 docs: add README.md 2024-07-23 14:27:27 +02:00
067e7eb125
fix: parse arguments starting with a dash correctly 2024-06-21 15:18:09 +02:00
524a45fbc3
fix: don't fail DNS resolution on NoAnswer 2024-06-12 12:11:06 +02:00
4781e088a3
fix: rethrow JSONDecodeError after printing the undecodable value as a warning 2024-06-12 12:09:58 +02:00
35a27b7685
fix: actually use the Cloudflare environment token 2024-06-12 12:06:41 +02:00
c8c8275da3
feat: add WIP Cloudflare handler 2024-06-12 12:01:26 +02:00
619700d0ea
feat: add support for the HTTP handler 2024-05-23 10:11:29 +02:00
70b3465674
fix: fix typo in Path.mkdir exist_ok 2024-05-23 10:10:51 +02:00
b28bab5b3e fix: make $output/all directory
one must not assume
2024-04-07 11:39:19 +02:00
c1e0b04122 fix: reverse Pathlib.hardlink_to arguments
> Note the order of arguments (self, target) is the reverse of os.link's.

fuck off
2024-04-07 11:35:35 +02:00
6f492ef480 style: introduce a linter 2024-04-07 11:25:32 +02:00
3559c81560 feat: switch to Pathlib 2024-04-07 11:22:50 +02:00
2fcde66ef1 fix: use correct variable for zone name in http handler 2024-04-07 11:22:25 +02:00
1d4672943d
fix: unlink the path before linking it again 2024-03-16 20:08:39 +01:00
0dca02cee6
fix: actually skip when certificate is still valid 2024-03-16 19:54:26 +01:00
5e665eb9fb
fix: link files between directories instead of copying 2024-03-16 19:54:23 +01:00
5561b8f7a2
fix: add config.certificates 2024-03-16 19:36:38 +01:00
429c10ab48
fix: i forgot to bump the version in pyproject.toml 2024-03-16 19:21:59 +01:00
312f63d06b
fix: add cooldown when adding a record because let's encrypt is slow 2024-03-16 07:35:37 +01:00
e3a61d3eb6
fix: exit with 1 when handler mismatches type 2024-03-16 07:30:32 +01:00
dfb239346b
fix: add hashbang to hook launcher 2024-03-16 07:29:10 +01:00
d6c80b4015
fix: i still have no idea how python modules work 2024-03-16 07:28:36 +01:00
acf0019a38
fix: coding is a very humbling experience 2024-03-16 07:21:16 +01:00