Commit graph

33 commits

Author SHA1 Message Date
6543
f13feec8bf
unwind tryBranch into own func 2022-11-12 02:54:56 +01:00
6543
ce58fa24a0
fix misspell and more log info 2022-11-12 00:56:30 +01:00
6543
eeaff6de2c
explain why we cache symlinc and not content 2022-11-12 00:54:02 +01:00
6543
c6326c88af
cache write error does not care what content is stored 2022-11-12 00:49:47 +01:00
6543
cf78f5fda2
format code 2022-11-12 00:32:32 +01:00
6543
ba00db990b
better code comment and move val into its own const 2022-11-12 00:29:45 +01:00
6543
9df4a50e10
rm dead code and add nice code comment 2022-11-12 00:27:40 +01:00
6543
24039fd18a
'%s' -> %q 2022-11-12 00:21:45 +01:00
6543
81bc8fec08
'%s' -> %q 2022-11-12 00:20:19 +01:00
6543
8c3b74518c
cache branch not found and only log error if error != NotFound 2022-11-11 15:27:18 +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
63d0b8d320
more logging 2022-11-08 00:15:09 +01:00
6543
7c45a420e4
less indirect 2022-11-08 00:05:27 +01:00
6543
b473639103
nit 2022-11-07 23:22:32 +01:00
6543
f31c0b1659
refactor, dedup & pass-forward 2022-11-07 23:21:35 +01:00
6543
70871e77be
improve & refactor & return specific error pages 2022-11-07 22:47:03 +01:00
6543
af49f9a8f6
fix 2022-09-19 12:15:14 +02:00
6543
94cb43508c
magic 2022-09-18 22:41:52 +02:00
6543
4a2a14272b
break into own func and fix 2022-09-18 22:13:50 +02:00
6543
40478215d0
handle serve raw case 2022-09-18 21:56:56 +02:00
6543
8dac935cd8
wip: add fileCache back 2022-09-18 21:02:55 +02:00
6543
16a8d5d575
REMOVE fasthttp version 2022-08-28 20:54:17 +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
6543
a8afb372dd
more caching in-client 2022-07-27 15:39:46 +02:00
6543
cfecdb6acc
Merge branch 'move-more-logic-into-client' into std-http 2022-07-21 21:58:22 +02:00
6543
61b959a93b
refactor client api 2022-07-21 21:53:22 +02:00
6543
361639db68
split to move cache logic into it later 2022-07-21 21:41:56 +02:00
6543
5411c96ef3 Tell fasthttp to not set "Content-Length: 0" on non cached content (#107)
fix #97

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/107
2022-07-15 21:06:05 +02:00
6543
2d3be9dc2c
... next ... 2022-07-15 18:53:04 +02:00
6543
4c6164ef05 Propagate ETag from gitea (#93)
close #15

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/93
2022-06-14 18:23:34 +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