Moritz Marquardt
f5e613bfdb
Merge pull request 'Fix certs only being renewed 7 or 30 days *after* they expire instead of before' ( #61 ) from hotfix/expiration into main
...
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/61
2022-02-28 21:55:51 +01:00
Moritz Marquardt
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
Otto Richter
ac5b19123d
Update README ( #57 )
...
I hope this makes it more inviting to collaborate with us on this project. I'd like to promote the software a little more.
Co-authored-by: fnetx <git@fralix.ovh>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/57
Co-authored-by: Otto Richter <fnetx@noreply.codeberg.org>
Co-committed-by: Otto Richter <fnetx@noreply.codeberg.org>
2022-02-19 18:10:40 +01:00
fnetx
4404287958
Update 404 Not found page
2022-02-11 01:31:11 +01:00
Moritz Marquardt
e73c79da77
Merge pull request 'Refactor: restructure in packages and dont use golbal vars' ( #18 ) from 6543/codeberg-pages:refactoring into main
...
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/18
2021-12-10 14:33:18 +01:00
Moritz Marquardt
adfc96ab94
Add --verbose flag and hide debug messages by default
2021-12-10 14:32:14 +01:00
Moritz Marquardt
73fa2da646
Update default to raw.codeberg.page & improve documentation on custom domains
2021-12-10 14:31:58 +01:00
6543
6af6523a0f
code format
2021-12-09 20:16:43 +01:00
6543
70c7065f76
fix #31
2021-12-09 19:32:30 +01:00
6543
aa0638903a
fix argument check and some nits
2021-12-06 16:14:41 +01:00
6543
196482da07
less panic
2021-12-05 23:21:55 +01:00
6543
5aae7c882f
Merge branch 'master' into refactoring
2021-12-05 22:50:46 +01:00
Moritz Marquardt
67a190f68a
Hotfix for #27 : avoid slash before .html in GitHub compatibility redirects
2021-12-05 22:12:48 +01:00
6543
a7bb3448a4
move more args of Upstream() to upstream Options
2021-12-05 19:53:23 +01:00
6543
2f6b280fce
meaningfull var names
2021-12-05 19:02:26 +01:00
6543
5fe51d8621
rm certDB helper and build in
2021-12-05 19:00:57 +01:00
6543
a0534f1fde
make MaintainCertDB able to cancel
2021-12-05 18:26:54 +01:00
6543
26a199053b
lint: rename
2021-12-05 18:20:40 +01:00
6543
0374e95d23
make tryUpstream independent func
2021-12-05 18:20:39 +01:00
6543
e85f21ed2e
some renames
2021-12-05 18:20:38 +01:00
6543
a0e0d2d335
make certdb maintain go routine a own func
2021-12-05 18:20:37 +01:00
6543
de439f9bec
wrap cert db and make sync gracefull
2021-12-05 18:20:36 +01:00
6543
11fa729686
mv acme config setup into own func
2021-12-05 16:33:56 +01:00
6543
77e39b2213
unexport if posible
2021-12-05 16:24:26 +01:00
6543
e6198e4ddd
start refactor Upstream func
2021-12-05 15:59:43 +01:00
6543
de4706bf58
rm 2rm
2021-12-05 15:53:46 +01:00
6543
76c867cfca
move "http acme server setup" into own func
2021-12-05 15:45:22 +01:00
6543
b6c4c63fb4
own file
2021-12-05 15:25:12 +01:00
6543
ccada3e6df
split cert func to related packages
2021-12-05 15:21:05 +01:00
6543
bb6f28fe57
move setup of fastServer into own func
2021-12-05 15:09:21 +01:00
6543
b3830e979c
inject all cache
2021-12-05 15:02:44 +01:00
6543
2b49039252
add todo
2021-12-05 14:48:56 +01:00
6543
b28204a468
acme-api -> acme-api-endpoint
2021-12-05 14:48:55 +01:00
6543
97d4ea9d6b
main-domain-suffix -> pages-domain
2021-12-05 14:48:54 +01:00
6543
fdd04610e5
fix .domains and make it redable
2021-12-05 14:48:53 +01:00
6543
5b2e91a37a
REDIRECT_RAW_INFO -> RAW_INFO_PAGE
2021-12-05 14:48:52 +01:00
6543
38426c26db
move upstream into own package
2021-12-05 14:48:52 +01:00
6543
f35c4d0f66
make mem cache an interface and inject
2021-12-05 14:48:51 +01:00
6543
0bc38b668f
db Sync on exit
2021-12-05 14:48:50 +01:00
6543
5ca5020cfa
open key-database deterministic
2021-12-05 14:48:49 +01:00
6543
796f24262e
fix code format
2021-12-05 14:48:48 +01:00
6543
690879440a
move helper func in related packages
2021-12-05 14:48:47 +01:00
6543
5b81a8b8bc
remove os.Getenv() usage
2021-12-05 14:48:46 +01:00
6543
35e08d2252
remove EnvOr use flags
2021-12-05 14:48:45 +01:00
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
6543
fb5726bd20
use zerolog instead of own logger
2021-12-05 14:48:40 +01:00
Moritz Marquardt
76e5d8e77c
Add TODOs
2021-12-05 14:48:37 +01:00
Moritz Marquardt
2e970dbcda
Merge pull request 'Fix github-style non-.html URLs repeating the path twice' ( #23 ) from bugfix/github-style-nohtml-paths into main
...
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/23
2021-12-05 13:56:01 +01:00
Moritz Marquardt
51c79f512d
Fix github-style non-.html URLs repeating the path twice
...
Issue was reported in https://codeberg.org/Codeberg/Community/issues/547#issuecomment-285075
2021-12-04 13:54:18 +01:00