Commit graph

617 commits

Author SHA1 Message Date
Yuzerion
cc145ffbf4
Merge branch 'v0.9' into feat/fileserver 2025-02-06 18:17:54 +08:00
yusing
4e2152db97 fix test 2025-02-06 18:14:07 +08:00
yusing
5dc805bc5b fix route error not showing 2025-02-06 18:08:25 +08:00
yusing
df3212873f updated route JSONMarshalling 2025-02-06 17:54:30 +08:00
yusing
2192120d0f fix route reload 2025-02-06 17:29:47 +08:00
yusing
08236b582c schemas: add "add_prefix" option to modify_request middleware 2025-02-06 17:11:43 +08:00
yusing
97111d9892 fileserver: clarify "root" value error 2025-02-06 16:53:37 +08:00
yusing
f5fb4d2a38 updated route loading logic 2025-02-06 16:50:08 +08:00
yusing
d8cac223ed refactor and fixed map-to-map deserialization 2025-02-06 16:50:08 +08:00
yusing
c1705a0209 rename rule.on.bypass to pass 2025-02-06 16:50:08 +08:00
yusing
6b119968e4 update compose example 2025-02-06 16:50:08 +08:00
yusing
08b5e739e0 add tests for rules.on 2025-02-06 16:50:08 +08:00
yusing
43ed860e18 rules: updated help message, make values optional, fixes tests 2025-02-06 16:50:08 +08:00
Yuzerion
bcf2dde091 Create FUNDING.yml 2025-02-06 16:50:08 +08:00
yusing
e484e5f6d6 README: move auth docs to wiki 2025-02-06 16:50:08 +08:00
yusing
026fd4f2ff add test for the previous commit 2025-02-06 16:50:07 +08:00
yusing
6c16ac7a99 fix single line yaml list treated as comma seperated list 2025-02-06 16:50:07 +08:00
yusing
beb46e2cdb readme and docker compose example amendment 2025-02-06 16:50:07 +08:00
yusing
1ec3640928 adjusted and simplified default config and compose.yml 2025-02-06 16:50:07 +08:00
yusing
9c1a691512 remove incorrectly added pnpn lockfile 2025-02-06 16:50:07 +08:00
yusing
41dbcba815 fixes some tests 2025-02-06 06:36:14 +08:00
yusing
4d47eb0e91 update compose example 2025-02-06 05:59:21 +08:00
yusing
af7c59b5c2 add tests for rules.on 2025-02-06 05:50:03 +08:00
yusing
693bf68864 rules: updated help message, make values optional, fixes tests 2025-02-06 05:13:47 +08:00
Yuzerion
c9ddf3d165
Create FUNDING.yml 2025-02-06 04:44:19 +08:00
yusing
1549b56866 README: move auth docs to wiki 2025-02-06 03:12:34 +08:00
yusing
2cd1f22e68 add test for the previous commit 2025-02-06 02:33:30 +08:00
yusing
688f38943d fix single line yaml list treated as comma seperated list 2025-02-06 01:58:45 +08:00
yusing
043bbd7a11 readme and docker compose example amendment 2025-02-06 00:56:11 +08:00
yusing
1eb3cb3ddb add test for path traversal attack, small fix on FileServer.Start method 2025-02-06 00:16:22 +08:00
yusing
4059e373e6 fix failed routes being kept in routes map 2025-02-04 10:50:52 +08:00
yusing
970610f9f8 fix extra output of ls-* commands by defer initializaing stuff, speed up start time 2025-02-04 10:43:16 +08:00
yusing
4b87b080dd implement health monitor for file server 2025-02-04 10:33:17 +08:00
yusing
f997423fd7 fix error formatting 2025-02-04 07:04:49 +08:00
yusing
1871ef3d38 clearer error message when config reload failed 2025-02-04 07:04:27 +08:00
yusing
7c56c88dd4 fix server not being restarted after config reload 2025-02-04 07:04:15 +08:00
yusing
4d7422dd90 adjusted and simplified default config and compose.yml 2025-02-04 07:04:05 +08:00
yusing
eccabc0588 remove incorrectly added pnpn lockfile 2025-02-04 07:04:05 +08:00
yusing
ee5c9e0bf4 fix server not being restarted after config reload 2025-02-04 07:02:28 +08:00
yusing
9e76ebd03e updated fileserver implmementation and schema 2025-02-04 06:51:52 +08:00
yusing
1d4d2a02ed clearer error message when config reload failed 2025-02-04 06:51:51 +08:00
yusing
199a4bb876 fix error formatting 2025-02-04 06:51:51 +08:00
yusing
c90e0db30d reverse proxy refactor and bug fixes
- fix prometheus metrics for load balanced routes
- route will now fail when health monitor fail to start
2025-02-04 06:51:51 +08:00
yusing
1e413ae215 refactor: move metrics logger to middleware package 2025-02-04 06:51:51 +08:00
yusing
503671bd1b refactor: rename HTTPRoute to ReverseProxyRoute to avoid confusion 2025-02-04 06:51:51 +08:00
yusing
ec148f036d treat fileserver as http route 2025-02-04 06:51:51 +08:00
yusing
1baf10fa88 fix incorrect route loading behaviors 2025-02-04 06:51:51 +08:00
yusing
c61d893403 refactor, merge Entry, RawEntry and Route into one. Implement fileserver. Still buggy 2025-02-04 06:51:51 +08:00
yusing
58d5e81449 fix makefile for trace mode 2025-02-03 04:22:29 +08:00
yusing
721ddcb590 cleanup code for URL type 2025-02-02 06:33:32 +08:00