Commit graph

41 commits

Author SHA1 Message Date
6543
f13feec8bf
unwind tryBranch into own func 2022-11-12 02:54:56 +01:00
6543
7526873049 [std-http] fix-header (#134)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/134
2022-11-11 06:38:09 +01:00
6543
fac052f052
add gzip support 2022-08-28 21:39:34 +02:00
6543
16a8d5d575
REMOVE fasthttp version 2022-08-28 20:54:17 +02:00
6543
ea13ac0e92
fix lint issues and tests 2022-08-28 16:53:30 +02:00
6543
460c0a2db4
first working build 2022-08-28 16:26:38 +02:00
6543
51ca74fc11
more string 2022-08-28 16:21:37 +02:00
6543
662d76386c
more string 2022-08-28 15:33:10 +02:00
6543
e1c78d6069
Merge branch 'main' into std-http 2022-08-28 14:35:27 +02:00
6543
dc41a4caf4 Add Support to Follow Symlinks and LFS (#114)
close #79
close #80
close #91

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/114
2022-08-12 06:40:12 +02:00
Gusted
876a53d9a2 Improve logging (#116)
- Actually log useful information at their respective log level.
- Add logs in hot-paths to be able to deep-dive and debug specific requests (see server/handler.go)
- Add more information to existing fields(e.g. the host that the user is visiting, this was noted by @fnetX).

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/116
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: Gusted <gusted@noreply.codeberg.org>
Co-committed-by: Gusted <gusted@noreply.codeberg.org>
2022-08-12 05:06:26 +02:00
6543
a8afb372dd
more caching in-client 2022-07-27 15:39:46 +02:00
6543
48bc41938c
Merge branch 'move-more-logic-into-client' into std-http 2022-07-24 20:38:48 +02:00
6543
b1b23ce2ec
make it conf via arg or env 2022-07-24 17:52:07 +02:00
6543
d669cc208f next 2022-07-15 18:56:20 +02:00
6543
cc32bab31f Enhance joinURL and return error on gitea client on start instead while running (#88)
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/88
2022-06-13 20:07:32 +02:00
6543
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
6543
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
Moritz Marquardt
adfc96ab94
Add --verbose flag and hide debug messages by default 2021-12-10 14:32:14 +01:00
6543
aa0638903a
fix argument check and some nits 2021-12-06 16:14:41 +01:00
6543
2f6b280fce
meaningfull var names 2021-12-05 19:02:26 +01:00
6543
a0534f1fde
make MaintainCertDB able to cancel 2021-12-05 18:26:54 +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
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
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
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
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