feat: attachments panel, file previews, print preview and history (#34)
Documents need to show, upload and generate their files from the interface, and users need to see who changed a record. This adds the attachment list (upload, preview, download, lock, trash and restore, older versions, ZIP, generate/regenerate), in-app previews for PDF, images, XML, text, CSV and XLSX, an A4 print preview with "save as attachment", and an audit history list read through a permission-checked AuditTrailService. Files are served by /files endpoints that require a signed-in user and the company permissions; only PDF and images open inline, with their own CSP that allows framing by this site only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f415dc37a8
commit
8198e0a754
20 files changed
+1786
-24
No files matched your search
@@ -139,6 +139,7 @@ internal static class KhaemhatServices
|
||||
|
||||
// History of the records and scheduled tasks.
|
||||
services.AddSingleton<AuditTrail>();
|
||||
services.AddSingleton<AuditTrailService>();
|
||||
services.AddSingleton<IScheduledJob, SessionCleanupJob>();
|
||||
services.AddSingleton<IScheduledJob, LicenseCheckJob>();
|
||||
services.AddSingleton<IScheduledJob, LogRetentionJob>();
|
||||
|
||||
Reference in new issue
Block a user