6543
ac93a5661c
start using urfave/cli
2021-12-05 14:48:44 +01:00
6543
bdc2d0c259
dont access global vars inject them
2021-12-05 14:48:41 +01:00
Moritz Marquardt
76e5d8e77c
Add TODOs
2021-12-05 14:48:37 +01:00
Moritz Marquardt
fedfa8def4
Remove REDIRECT_BROKEN_DNS page and instead use "Failed Dependency" error
2021-12-01 22:59:38 +01:00
Moritz Marquardt
f29ebc57d3
Handle certificate errors with mock certificates ( fixes #10 )
2021-12-01 21:46:52 +01:00
fnetx
73da80adc1
Switch GiteaApiToken from byte to string
2021-11-26 17:10:31 +01:00
fnetx
772c17e214
Pass Gitea API token to requests
...
This allows to display repos that aren't fully public. Some users seem
to be very interested in not having their pages viewable, and it might
make even sense to avoid e.g. search engines to read them.
If set to some random user string, this could allow to set the
visibility at least to limited (so only logged users see the repo), and
should allow to view private repos in the future with another API token.
2021-11-26 04:19:24 +01:00
6543
e800d2110e
gofmt -s -w *.go */*.go
2021-11-25 16:12:28 +01:00
Moritz Marquardt
eae4513b96
Fix timeout for HTTP-01, bug in HTTP challenge response & only count domains towards user limit after acquiring locks
2021-11-20 21:39:40 +01:00
Moritz Marquardt
c99dbb34ce
Implement HTTP-01 challenge
2021-11-20 21:10:46 +01:00
Moritz Marquardt
77321eb181
Make ACME account persistent & fix issues with certificate resolution
2021-11-20 18:23:09 +01:00
Moritz Marquardt
2aaac2c52b
Completely refactor certificates and implement renewal & cleanup
2021-11-20 15:30:58 +01:00
Moritz Marquardt
4494023086
Implement simple version of automatic certificate issuance
2021-07-13 15:45:28 +02:00
Moritz Marquardt
7c70be21d7
Add HSTS & cipher suites, handle fallback cert errors & change default port to 443
2021-07-13 10:28:50 +02:00
Moritz Marquardt
13b386d442
Switch to HTTPS using a self-signed certificate
2021-07-09 01:15:42 +02:00
Moritz Marquardt
3e9aaa8a4a
Make settings configurable
2021-07-08 23:08:50 +02:00
Moritz Marquardt
2e0608c270
Fix redirects for pages repo
2021-03-19 21:33:57 +01:00
Moritz Marquardt
203e230905
Implement caching & limit concurrency
2021-03-19 20:58:53 +01:00
Moritz Marquardt
8ead10c82e
Implement SEO optimizations and improve error handling and branch detection
2021-03-19 20:30:08 +01:00
Moritz Marquardt
241f7a57ec
Split code into multiple files
2021-03-17 00:34:31 +01:00
Moritz Marquardt
1a80684e79
Clean up, fix bugs, implement caching & use API
2021-03-17 00:24:34 +01:00
Moritz Marquardt
0756993f7e
Implement first version without custom domains, TLS and caching
2021-03-16 20:22:06 +01:00