Commit Graph

16 Commits

Author SHA1 Message Date
6543
b9966487f6 switch to std http implementation instead of fasthttp (#106)
close #100
close #109
close #113
close #28
close #63

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/106
2022-11-12 20:37:20 +01: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
35b35c5d67 Add integration tests (#86)
close #82
close #32

make sure we dont get regressions again ... as we currently have in **main**

followups:
 - create a DNS subdomayn specific to redirect to mock url ...

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/86
Reviewed-by: crapStone <crapstone@noreply.codeberg.org>
2022-06-11 23:17:43 +02:00
6543
f2ba7eac64 set golang to 1.18 (#84)
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/84
2022-06-10 15:27:17 +02:00
6543
196482da07
less panic 2021-12-05 23:21:55 +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
d1ed16c0f2
Update everything & add Justfile 2021-11-20 15:31:10 +01:00
Moritz Marquardt
33f7a5d0df
Commit all current changes before vacation... 2021-08-22 17:59:30 +02:00
Moritz Marquardt
4494023086
Implement simple version of automatic certificate issuance 2021-07-13 15:45:28 +02:00
Moritz Marquardt
373c13baee
Update dependencies 2021-07-08 23:09:46 +02:00
Moritz Marquardt
203e230905
Implement caching & limit concurrency 2021-03-19 20:58:53 +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