feat: add Activity Logging System#164
Open
Husten150 wants to merge 2 commits into
Open
Conversation
Implement file upload API for milestone deliverables: - Add 007_milestone_deliverables migration with metadata table - Add file validation schemas (allowed MIME types, size limits) - Add AES-256-CBC file encryption utility for secure storage - Add POST /api/milestones/[id]/deliverables for uploading files - Add GET /api/milestones/[id]/deliverables for listing deliverables - Add GET /api/milestones/[id]/deliverables/[id] for file download - Add DELETE /api/milestones/[id]/deliverables/[id] for file removal - Update env.example with FILE_ENCRYPTION_KEY and FILE_UPLOAD_DIR - Add comprehensive test suite Closes Lumina-eX#151
- Add migration 008_activity_logs.sql with activity_logs table and indexes - Create lib/activity/ service with ActivityService (log + list with filtering/pagination) - Add activity:view permission to all roles in auth constants - Integrate logging into contract creation, milestone CRUD, escrow funding/release/refund, and dispute creation - Create GET /api/activity route (RBAC-protected, filterable by actionType, contractId, projectId, actorId) - Add Activity Log page in dashboard with type filtering, pagination, and timeline UI - Add Activity nav item to dashboard sidebar Closes Lumina-eX#152
|
@Husten150 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implements a comprehensive Activity Logging System to track important actions across the platform for transparency, auditability, and debugging.
Closes #152
Changes
Database
Backend Service
API
Integrated Logging
UI
Permissions