Compare commits

..

12 Commits

Author SHA1 Message Date
Xe Iaso
ad680d8a48 fix: don't expose the old log file time format string
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-21 11:31:50 -05:00
Xe Iaso
7a9590efd8 test: add file logging smoke test
Assisted-by: GLM 4.6 via Claude Code
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-21 11:30:31 -05:00
Xe Iaso
524efe3126 chore: go mod tidy
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-21 11:09:37 -05:00
Xe Iaso
13adb0ca35 fix(cmd/anubis): revert this change, it's meant to be its own PR
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-21 11:09:14 -05:00
Xe Iaso
19215664d5 docs: update CHANGELOG
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-21 11:08:14 -05:00
Xe Iaso
96232ec191 docs(admin/policies): add logging block documentation
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-21 11:03:50 -05:00
Xe Iaso
96d3c70f4c chore: update spelling
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-20 11:38:43 -05:00
Xe Iaso
ad4a3ab202 chore(test): go mod tidy
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-20 11:38:05 -05:00
Xe Iaso
0b0e10a284 chore: update spelling
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-20 11:24:14 -05:00
Xe Iaso
b654d4d709 feat(config): add log sink support
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-19 17:15:56 -05:00
Xe Iaso
d55979250f refactor: don't set global loggers anymore
Ref #864

You were right @kotx, it is a bad idea to set the global logger
instance.

Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-19 16:00:56 -05:00
Xe Iaso
8912050882 refactor: move lib/policy/config to lib/config
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-19 16:00:13 -05:00
5 changed files with 0 additions and 89 deletions

View File

@@ -10,4 +10,3 @@ ABee
tencent
maintnotifications
azurediamond
cooldown

View File

@@ -278,7 +278,6 @@ redhat
redir
redirectscheme
refactors
remoteip
reputational
risc
ruleset

View File

@@ -8,8 +8,6 @@ updates:
github-actions:
patterns:
- "*"
cooldown:
default-days: 7
- package-ecosystem: gomod
directory: /
@@ -19,8 +17,6 @@ updates:
gomod:
patterns:
- "*"
cooldown:
default-days: 7
- package-ecosystem: npm
directory: /
@@ -30,5 +26,3 @@ updates:
npm:
patterns:
- "*"
cooldown:
default-days: 7

View File

@@ -1,76 +0,0 @@
name: Go Mod Tidy Check
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
go_mod_tidy_check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: stable
- name: Check go.mod and go.sum in main directory
run: |
# Store original file state
cp go.mod go.mod.orig
cp go.sum go.sum.orig
# Run go mod tidy
go mod tidy
# Check if files changed
if ! diff -q go.mod.orig go.mod > /dev/null 2>&1; then
echo "ERROR: go.mod in main directory has changed after running 'go mod tidy'"
echo "Please run 'go mod tidy' locally and commit the changes"
diff go.mod.orig go.mod
exit 1
fi
if ! diff -q go.sum.orig go.sum > /dev/null 2>&1; then
echo "ERROR: go.sum in main directory has changed after running 'go mod tidy'"
echo "Please run 'go mod tidy' locally and commit the changes"
diff go.sum.orig go.sum
exit 1
fi
echo "SUCCESS: go.mod and go.sum in main directory are tidy"
- name: Check go.mod and go.sum in test directory
run: |
cd test
# Store original file state
cp go.mod go.mod.orig
cp go.sum go.sum.orig
# Run go mod tidy
go mod tidy
# Check if files changed
if ! diff -q go.mod.orig go.mod > /dev/null 2>&1; then
echo "ERROR: go.mod in test directory has changed after running 'go mod tidy'"
echo "Please run 'go mod tidy' locally and commit the changes"
diff go.mod.orig go.mod
exit 1
fi
if ! diff -q go.sum.orig go.sum > /dev/null 2>&1; then
echo "ERROR: go.sum in test directory has changed after running 'go mod tidy'"
echo "Please run 'go mod tidy' locally and commit the changes"
diff go.sum.orig go.sum
exit 1
fi
echo "SUCCESS: go.mod and go.sum in test directory are tidy"

View File

@@ -92,11 +92,6 @@ Assuming you are protecting `anubistest.techaro.lol`, you need the following ser
DocumentRoot /var/www/anubistest.techaro.lol
ErrorLog /var/log/httpd/anubistest.techaro.lol_error.log
CustomLog /var/log/httpd/anubistest.techaro.lol_access.log combined
# Pass the remote IP to the proxied application instead of 127.0.0.1
# This requires mod_remoteip
RemoteIPHeader X-Real-IP
RemoteIPTrustedProxy 127.0.0.1/32
</VirtualHost>
```