Commit Graph

12 Commits

Author SHA1 Message Date
Первов Артем
4584a0d581 Add download functionality for equipment attachments
- Introduced a new endpoint `GET /equipment/{id}/attachment/download` in the API for downloading equipment attachment files.
- Implemented the `downloadEquipmentAttachmentFile` function in the client to handle file downloads via the API, ensuring proper token management and blob handling.
- Updated the EquipmentAttachmentInput, EquipmentList, and EquipmentShow components to utilize the new download link, enhancing user experience by allowing direct downloads without exposing the MinIO URL.
- Added a new EquipmentAttachmentLink component to encapsulate the download link logic and improve code reusability.
2026-04-21 01:26:00 +03:00
Первов Артем
b60c4ee0ed Add file attachment functionality for equipment management
- Introduced DTO for file attachments with metadata (objectKey, originalFileName, contentType, sizeBytes, downloadUrl).
- Updated Equipment DTO to include an optional attachment field.
- Implemented endpoints for uploading and deleting equipment attachments.
- Enhanced Equipment service to handle file storage and retrieval using S3.
- Updated EquipmentEdit, EquipmentList, and EquipmentShow components to support file attachment input and display.
- Configured S3 settings in docker-compose and environment files.
2026-04-21 00:46:17 +03:00
Первов Артем
62446f2597 Update Nginx configuration to use a unique backend hostname for API routing to prevent intermittent routing issues 2026-04-20 23:35:45 +03:00
Первов Артем
420e1deb7d Remove unnecessary rewrite rule from Nginx configuration for API routing 2026-04-20 23:29:22 +03:00
Первов Артем
c9eb7b0908 Refactor EmbeddedActiveEquipmentPage to use custom data fetching and remove Authenticated wrapper from App component 2026-04-06 02:46:06 +03:00
Первов Артем
de5c43745c Remove HashRouter wrapper from App component to simplify routing 2026-04-06 02:32:43 +03:00
Первов Артем
a1c9b989c8 Wrap App component with HashRouter for improved routing support 2026-04-06 02:20:53 +03:00
MaKarin
c766b556fb Add embedded active equipment view for Drill iframe 2026-04-04 11:13:10 +03:00
MaKarin
60e07e9c6e add createbutton on ListPage 2026-04-04 10:19:22 +03:00
MaKarin
3bc23165a3 update nginx.conf 2026-04-04 09:21:32 +03:00
MaKarin
5000e6baa0 push 2026-04-03 22:15:10 -07:00
MaKarin
cec42f08d0 init equipment & change-status 2026-04-03 21:45:13 -07:00