Commit Graph

13 Commits

Author SHA1 Message Date
02bd942b04 Move gitea api calls in own "client" package (#78)
continue #75
close #16
- fix regression (from #34) _thanks to @crystal_
- create own gitea client package
- more logging
- add mock impl of CertDB

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: crystal <crystal@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/78
Reviewed-by: crapStone <crapstone@noreply.codeberg.org>
2022-06-11 23:02:06 +02:00
f5d0dc7447 Add pipeline (#65)
close #54

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/65
Reviewed-by: Andreas Shimokawa <ashimokawa@noreply.codeberg.org>
2022-03-27 21:54:06 +02:00
cf9e6d9dc6 Fix certs only being renewed 7 or 30 days *after* they expire instead of before
Seems like plus, minus, greater than and less than are the most complex to understand mathematical concepts...
2022-02-28 21:50:13 +01:00
196482da07 less panic 2021-12-05 23:21:55 +01:00
2f6b280fce meaningfull var names 2021-12-05 19:02:26 +01:00
5fe51d8621 rm certDB helper and build in 2021-12-05 19:00:57 +01:00
a0534f1fde make MaintainCertDB able to cancel 2021-12-05 18:26:54 +01:00
a0e0d2d335 make certdb maintain go routine a own func 2021-12-05 18:20:37 +01:00
de439f9bec wrap cert db and make sync gracefull 2021-12-05 18:20:36 +01:00
11fa729686 mv acme config setup into own func 2021-12-05 16:33:56 +01:00
77e39b2213 unexport if posible 2021-12-05 16:24:26 +01:00
b6c4c63fb4 own file 2021-12-05 15:25:12 +01:00
ccada3e6df split cert func to related packages 2021-12-05 15:21:05 +01:00