mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-15 21:31:24 -05:00
[PR #1755] [MERGED] Request, action, and access logs #24063
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/fosrl/pangolin/pull/1755
Author: @oschwartz10612
Created: 10/27/2025
Status: ✅ Merged
Merged: 10/27/2025
Merged by: @oschwartz10612
Base:
dev← Head:audit-logs📝 Commits (10+)
dce84b9Add action audit middleware and tables1f50bc3Add logActionAudit and query endpoint9a52d53Merge branch 'dev' into audit-logsbc94123Fix the indexes1ee52adAdd headers58443efReorder log middlewaref3149e4Starting to create frontend65364d6Merge branch 'dev' into audit-logs9a64f45Basic log table therebdc3b24Basic table working📊 Changes
59 files changed (+6540 additions, -220 deletions)
View changed files
📝
messages/en-US.json(+52 -0)📝
package-lock.json(+76 -1)📝
package.json(+2 -0)📝
server/auth/actions.ts(+3 -1)📝
server/db/pg/schema/privateSchema.ts(+41 -1)📝
server/db/pg/schema/schema.ts(+52 -2)📝
server/db/sqlite/schema/privateSchema.ts(+42 -1)📝
server/db/sqlite/schema/schema.ts(+61 -5)📝
server/index.ts(+9 -6)📝
server/lib/billing/getOrgTierData.ts(+2 -2)➕
server/lib/cleanupLogs.ts(+62 -0)📝
server/lib/geoip.ts(+1 -1)📝
server/middlewares/index.ts(+1 -0)➕
server/middlewares/logActionAudit.ts(+12 -0)➕
server/private/lib/logAccessAudit.ts(+157 -0)📝
server/private/lib/traefik/getTraefikConfig.ts(+1 -1)📝
server/private/middlewares/index.ts(+2 -1)➕
server/private/middlewares/logActionAudit.ts(+145 -0)➕
server/private/middlewares/verifySubscription.ts(+50 -0)➕
server/private/routers/auditLogs/exportAccessAuditLog.ts(+81 -0)...and 39 more files
📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
Adds logging to the database and tables to show and export request logs, access logs, and action logs
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.