[PR #320] [MERGED] feat: global audit log #868

Closed
opened 2025-10-07 00:23:46 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pocket-id/pocket-id/pull/320
Author: @kmendell
Created: 3/12/2025
Status: Merged
Merged: 4/3/2025
Merged by: @kmendell

Base: mainHead: feat/global-access-log


📝 Commits (10+)

  • 21ea208 feat: add global audit log for admins
  • 81f9fe1 add filter dropdowns for audit log page
  • 414f58c add some filter logic in for global audit log
  • 860245b clean up old comments from my debugging
  • 86bd11b move most logic to be server side
  • ed61a17 Merge branch 'main' into feat/global-access-log
  • 7e1cff7 make sure updating uses the existsing methods
  • 97f5396 simplify logic in some areas
  • 424f813 fix table reactivity
  • dbd3002 fix select component value mappings

📊 Changes

33 files changed (+865 additions, -21 deletions)

View changed files

📝 .vscode/launch.json (+2 -2)
📝 backend/internal/controller/audit_log_controller.go (+86 -0)
📝 backend/internal/dto/audit_log_dto.go (+7 -0)
📝 backend/internal/model/audit_log.go (+4 -1)
📝 backend/internal/service/audit_log_service.go (+90 -0)
📝 backend/internal/utils/paging_util.go (+8 -1)
📝 frontend/messages/en-US.json (+11 -1)
📝 frontend/package-lock.json (+67 -8)
📝 frontend/package.json (+3 -2)
📝 frontend/src/lib/components/audit-log-list.svelte (+20 -2)
📝 frontend/src/lib/components/fade-wrapper.svelte (+1 -2)
frontend/src/lib/components/form/searchable-select.svelte (+90 -0)
frontend/src/lib/components/ui/command/command-dialog.svelte (+23 -0)
frontend/src/lib/components/ui/command/command-empty.svelte (+12 -0)
frontend/src/lib/components/ui/command/command-group.svelte (+18 -0)
frontend/src/lib/components/ui/command/command-input.svelte (+24 -0)
frontend/src/lib/components/ui/command/command-item.svelte (+24 -0)
frontend/src/lib/components/ui/command/command-list.svelte (+15 -0)
frontend/src/lib/components/ui/command/command-separator.svelte (+10 -0)
frontend/src/lib/components/ui/command/command-shortcut.svelte (+16 -0)

...and 13 more files

📄 Description

Fixes: https://github.com/pocket-id/pocket-id/issues/245


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pocket-id/pocket-id/pull/320 **Author:** [@kmendell](https://github.com/kmendell) **Created:** 3/12/2025 **Status:** ✅ Merged **Merged:** 4/3/2025 **Merged by:** [@kmendell](https://github.com/kmendell) **Base:** `main` ← **Head:** `feat/global-access-log` --- ### 📝 Commits (10+) - [`21ea208`](https://github.com/pocket-id/pocket-id/commit/21ea2081b638fc75d780c83f6d0a4b72fa710176) feat: add global audit log for admins - [`81f9fe1`](https://github.com/pocket-id/pocket-id/commit/81f9fe1aaf2fd7b71a507d1b689e7eb80bff1c0c) add filter dropdowns for audit log page - [`414f58c`](https://github.com/pocket-id/pocket-id/commit/414f58cec5f4028489e05641122e1fea89a8ed74) add some filter logic in for global audit log - [`860245b`](https://github.com/pocket-id/pocket-id/commit/860245b81fb047357e30729c13ebe4a4a1ffe627) clean up old comments from my debugging - [`86bd11b`](https://github.com/pocket-id/pocket-id/commit/86bd11b2c9d8cc1de1aacf1006717790c58629e5) move most logic to be server side - [`ed61a17`](https://github.com/pocket-id/pocket-id/commit/ed61a1763b7a6595e2e7517b4712f8ab945a8a9d) Merge branch 'main' into feat/global-access-log - [`7e1cff7`](https://github.com/pocket-id/pocket-id/commit/7e1cff7d418a69fbf4dfc8b0a97559f865b1f942) make sure updating uses the existsing methods - [`97f5396`](https://github.com/pocket-id/pocket-id/commit/97f53964b649cbda703ed65650d26b33dd182a96) simplify logic in some areas - [`424f813`](https://github.com/pocket-id/pocket-id/commit/424f813e37e91f39c4ce866b736f946861d38500) fix table reactivity - [`dbd3002`](https://github.com/pocket-id/pocket-id/commit/dbd3002f1af778a619ab89cead8ce168b852b331) fix select component value mappings ### 📊 Changes **33 files changed** (+865 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `.vscode/launch.json` (+2 -2) 📝 `backend/internal/controller/audit_log_controller.go` (+86 -0) 📝 `backend/internal/dto/audit_log_dto.go` (+7 -0) 📝 `backend/internal/model/audit_log.go` (+4 -1) 📝 `backend/internal/service/audit_log_service.go` (+90 -0) 📝 `backend/internal/utils/paging_util.go` (+8 -1) 📝 `frontend/messages/en-US.json` (+11 -1) 📝 `frontend/package-lock.json` (+67 -8) 📝 `frontend/package.json` (+3 -2) 📝 `frontend/src/lib/components/audit-log-list.svelte` (+20 -2) 📝 `frontend/src/lib/components/fade-wrapper.svelte` (+1 -2) ➕ `frontend/src/lib/components/form/searchable-select.svelte` (+90 -0) ➕ `frontend/src/lib/components/ui/command/command-dialog.svelte` (+23 -0) ➕ `frontend/src/lib/components/ui/command/command-empty.svelte` (+12 -0) ➕ `frontend/src/lib/components/ui/command/command-group.svelte` (+18 -0) ➕ `frontend/src/lib/components/ui/command/command-input.svelte` (+24 -0) ➕ `frontend/src/lib/components/ui/command/command-item.svelte` (+24 -0) ➕ `frontend/src/lib/components/ui/command/command-list.svelte` (+15 -0) ➕ `frontend/src/lib/components/ui/command/command-separator.svelte` (+10 -0) ➕ `frontend/src/lib/components/ui/command/command-shortcut.svelte` (+16 -0) _...and 13 more files_ </details> ### 📄 Description Fixes: https://github.com/pocket-id/pocket-id/issues/245 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-07 00:23:46 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#868