bdc2d0c259
dont access global vars inject them
6543
2021-12-05 14:45:17 +01:00
fb5726bd20
use zerolog instead of own logger
6543
2021-12-05 14:43:51 +01:00
76e5d8e77c
Add TODOs
Moritz Marquardt
2021-12-02 19:12:45 +01:00
2e970dbcda
Merge pull request 'Fix github-style non-.html URLs repeating the path twice' (#23) from bugfix/github-style-nohtml-paths into main
Moritz Marquardt
2021-12-05 13:56:01 +01:00
51c79f512d
Fix github-style non-.html URLs repeating the path twice
Moritz Marquardt
2021-12-04 13:54:18 +01:00
38938e884d
Merge pull request 'Add redirect for GitHub-style non-".html" paths & force remove index.html suffix' (#13) from feature/github-style-nohtml-paths into main
v2.3
Moritz Marquardt
2021-12-02 20:35:43 +01:00
57dce3b0c5
Add redirect for GitHub-style non-".html" paths & force remove index.html suffix
Moritz Marquardt
2021-12-02 10:16:23 +01:00
026a04e57e
Merge pull request 'Change browser cache to 10 minutes to make bigger pages more performant' (#14) from feature/browser-side-caching into main
Moritz Marquardt
2021-12-02 20:35:33 +01:00
b6d7f5a6ee
Change browser cache to 10 minutes to make bigger pages more performant
Moritz Marquardt
2021-12-02 10:23:03 +01:00
726d8321e8
Merge pull request 'Fix (half) empty cache issue' (#17) from bugfix/large-files-are-empty into main
Moritz Marquardt
2021-12-02 20:35:22 +01:00
26dd1591f6
Add www redirect for main domain
v2.2
Moritz Marquardt
2021-12-02 00:00:00 +01:00
a48ba8ee49
Run gofmt
Moritz Marquardt
2021-12-01 22:59:52 +01:00
fedfa8def4
Remove REDIRECT_BROKEN_DNS page and instead use "Failed Dependency" error
Moritz Marquardt
2021-12-01 22:59:38 +01:00
6c85b8a166
Merge pull request 'Handle certificate errors with mock certificates (fixes#10)' (#12) from feature/certificate-error-handling into main
Moritz Marquardt
2021-12-01 22:53:33 +01:00
544b3f7321
(Ab)use CSR field to store try-again date for renewals (instead of showing a mock cert), must be tested when the first renewals are due
Moritz Marquardt
2021-12-01 22:49:48 +01:00
f29ebc57d3
Handle certificate errors with mock certificates (fixes#10)
Moritz Marquardt
2021-12-01 16:23:37 +01:00
5b6e3748b4
Merge pull request 'Pass Gitea API token to requests' (#9) from fnetX/codeberg-pages-server:main into main
Moritz Marquardt
2021-12-01 21:46:28 +01:00
6d520c2a40
Update error message for private repo access
Moritz Marquardt
2021-12-01 21:44:54 +01:00
73da80adc1
Switch GiteaApiToken from byte to string
fnetx
2021-11-26 17:10:31 +01:00
455f65216c
Remove access token from canonicalLink as per momar
fnetx
2021-11-26 17:03:58 +01:00
772c17e214
Pass Gitea API token to requests
fnetx
2021-11-26 04:06:17 +01:00
418dbb7315
Merge pull request 'Refactor Code' (#8) from 6543/codeberg-pages:refactor into main
Moritz Marquardt
2021-11-25 19:16:20 +01:00
eae4513b96
Fix timeout for HTTP-01, bug in HTTP challenge response & only count domains towards user limit after acquiring locks
Moritz Marquardt
2021-11-20 21:39:40 +01:00
f22cd6c4e0
Make it possible to disable rate limits
Moritz Marquardt
2021-11-20 21:12:28 +01:00
c99dbb34ce
Implement HTTP-01 challenge
Moritz Marquardt
2021-11-20 21:10:46 +01:00
73c21d0195
Reduce file cache timeout as it doesn't seem to do much
Moritz Marquardt
2021-11-20 20:34:12 +01:00
b19a5ecc1d
Switch back to Let's Encrypt again & implement renewal
Moritz Marquardt
2021-11-20 19:36:12 +01:00
77321eb181
Make ACME account persistent & fix issues with certificate resolution
Moritz Marquardt
2021-11-20 15:54:52 +01:00
fcccd6435a
Add EAB for ACME
Moritz Marquardt
2021-11-20 15:37:36 +01:00