mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-14 14:23:33 +01:00
[PR #160] [MERGED] post request rules and overhaul #174
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/yusing/godoxy/pull/160
Author: @yusing
Created: 10/13/2025
Status: ✅ Merged
Merged: 10/14/2025
Merged by: @yusing
Base:
main← Head:feat/post-req-rules📝 Commits (10+)
54cfa21tmp: post-req rules3f45f3ctmp: post-req-rules-fix91dc40aMerge branch 'main' into feat/post-req-rules3d60fabfeat: add post-request rules system with response manipulation4dc6bd3fix(rules): parser dollar sign and env handling75c074dfix(rules): correct behavior of require_auth16b986dfix(rules): proxying relative url should use upstream host instead of request hostf93292ffeat(rules): support negated conditions with !df62c26fix: remove debug logging0852f91fix(rules): validation, error handling and add missing tests📊 Changes
41 files changed (+4419 additions, -522 deletions)
View changed files
📝
goutils(+1 -1)📝
internal/auth/auth.go(+10 -0)📝
internal/logging/accesslog/config.go(+1 -1)📝
internal/logging/accesslog/file_logger.go(+4 -1)📝
internal/logging/accesslog/file_logger_test.go(+1 -1)📝
internal/logging/logging.go(+20 -0)📝
internal/net/gphttp/middleware/bypass.go(+5 -7)📝
internal/notif/body.go(+14 -5)📝
internal/route/reverse_proxy.go(+1 -1)📝
internal/route/route.go(+45 -2)📝
internal/route/routes/context.go(+7 -0)📝
internal/route/rules/cache.go(+15 -15)📝
internal/route/rules/check_on.go(+8 -8)📝
internal/route/rules/command.go(+46 -18)📝
internal/route/rules/do.go(+287 -29)➕
internal/route/rules/do_log_test.go(+400 -0)➕
internal/route/rules/do_set.go(+328 -0)➕
internal/route/rules/do_set_test.go(+643 -0)📝
internal/route/rules/do_test.go(+6 -1)➕
internal/route/rules/error_format_test.go(+23 -0)...and 21 more files
📄 Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.