Add a new endpoint to handle file uploads for local storage
dn53
07c4230
Adds the `/api/evidence/upload/<int:file_id>` PUT endpoint to the evidence blueprint to handle file uploads, verifies upload session status, and writes file data to local storage. Also removes extraneous console logs from client-side JavaScript.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d2e4f9d2-73d4-475f-9937-8a1aa1b15e2d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/2fb4ea93-ac3a-4c8e-a374-bb86029c18ef/d2e4f9d2-73d4-475f-9937-8a1aa1b15e2d/kob3q56
Improve how the application handles user authentication tokens
dn53
057025a
Update static/js/main.js and templates/base.html to ensure the authentication token is correctly loaded, logged, and applied to API requests via Axios interceptors.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d2e4f9d2-73d4-475f-9937-8a1aa1b15e2d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/2fb4ea93-ac3a-4c8e-a374-bb86029c18ef/d2e4f9d2-73d4-475f-9937-8a1aa1b15e2d/kob3q56
Provide user authentication token for API requests
dn53
34751c9
Inject the JWT access token into the frontend JavaScript for use in API requests, addressing authentication failures during uploads.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f612404e-3a24-4a59-a9ce-5c4e0f1ea874
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/2fb4ea93-ac3a-4c8e-a374-bb86029c18ef/f612404e-3a24-4a59-a9ce-5c4e0f1ea874/mjoq2mR
Add user management section to the website navigation
dn53
46f1246
Add a new navigation link to the user management page in the base template, visible only to administrators.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 13d753dc-bbfa-446f-bcd5-3d5325a591ad
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/2fb4ea93-ac3a-4c8e-a374-bb86029c18ef/13d753dc-bbfa-446f-bcd5-3d5325a591ad/LaW6ISR
Add API key generation and JWT token creation for enhanced authentication
dn53
608f92f
Introduce API key management with expiration, integrate API key authentication into the login endpoint, and allow JWT token generation using API keys. Add an admin interface for API key management.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 13d753dc-bbfa-446f-bcd5-3d5325a591ad
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/2fb4ea93-ac3a-4c8e-a374-bb86029c18ef/13d753dc-bbfa-446f-bcd5-3d5325a591ad/qRfkGxX
Enhance system with user authentication and structured logging capabilities
dn53
b54637e
Implement JWT-based user authentication, RFC 5424 compliant syslog ingestion, and improve overall logging with detailed event tracking.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 13d753dc-bbfa-446f-bcd5-3d5325a591ad
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/2fb4ea93-ac3a-4c8e-a374-bb86029c18ef/13d753dc-bbfa-446f-bcd5-3d5325a591ad/GmQROTe