Commit Graph

24 Commits

Author SHA1 Message Date
Oleksandr Bezdieniezhnykh c7b297de83 refactor: remove deploy.cmd and update Dockerfile for health checks
ci/woodpecker/push/01-test Pipeline failed
ci/woodpecker/push/02-build-push unknown status
- Deleted the deploy.cmd script as it was no longer needed.
- Updated Dockerfile to include curl for health checks and added a non-root user for improved security.
- Modified health check command to use curl for better reliability.
- Adjusted docker-compose.test.yml to reflect changes in health check configuration.
- Cleaned up appsettings.json and removed unused configuration properties.
- Removed Resource entity and related requests from the codebase as part of the architectural shift.
- Updated documentation to reflect the removal of hardware binding and related endpoints.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-13 08:47:21 +03:00
Oleksandr Bezdieniezhnykh 5ca9ccab2c [AZ-513] [AZ-196] [AZ-183] Add /classes CRUD, /devices, fleet OTA
AZ-513: POST/PATCH/DELETE /classes for detection-class CRUD; new
DetectionClass entity, schema, DTOs, IDetectionClassService. Unblocks
ui/AZ-512.

AZ-196: POST /devices auto-assigns sequential azj-NNNN serial+email
+password and inserts a CompanionPC user. Returns plaintext credentials
for the provisioning script.

AZ-183: Resources table + POST /get-update + POST /resources/publish
for fleet OTA. Per-resource encryption_key column AES-256-CBC encrypted
at rest with ResourcesConfig.EncryptionMasterKey; ICache wraps the
per-(arch,stage) latest-versions lookup and is invalidated on publish.

Adds IDbFactory.RunAdmin<T> overload for write-and-return.

Backfills _docs/02_document/module-layout.md to satisfy the implement
skill's File Ownership prerequisite (the _docs/ artifact set predates
the Step 1.5 module-layout addition).

Code review: PASS_WITH_WARNINGS — see
_docs/03_implementation/reviews/batch_05_review.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-13 04:34:42 +03:00
Oleksandr Bezdieniezhnykh b970b2f593 Update Dockerfile for multi-platform support and enhance nginx registry script with volume and environment variable configurations 2026-04-06 04:59:49 +03:00
Oleksandr Bezdieniezhnykh 44e75afc4f Update project to .NET 10.0 and upgrade dependencies in Dockerfile and project files 2026-03-09 22:27:48 +02:00
Oleksandr Bezdieniezhnykh 3167df8bd7 add enable disable remove user and isenabled in user column 2025-09-22 19:37:17 +03:00
Oleksandr Bezdieniezhnykh a4295c6c52 fix bugs, improve security 2025-09-22 00:34:37 +03:00
Oleksandr Bezdieniezhnykh 0af74ec278 Add LastLogin and CreatedAt to User 2025-09-21 23:57:37 +03:00
Alex Bezdieniezhnykh 5673eeade9 add queue offsets to user 2025-04-16 01:29:58 +03:00
Alex Bezdieniezhnykh a5ccc46fbd configure rabbit mq to max length (number of messages) instead of max length bytes 2025-03-04 13:31:53 +02:00
Alex Bezdieniezhnykh 0634578864 fix minio scripts 2025-02-26 22:12:41 +02:00
Alex Bezdieniezhnykh 503ddc8c41 don't send hardware hash, calc on the api 2025-02-26 16:02:09 +02:00
Alex Bezdieniezhnykh 6d28085b7e add scripts for cdn
change aes mode to cfb in encrypt / decrypt in Security
2025-02-25 19:48:27 +02:00
Alex Bezdieniezhnykh 32955e4c66 fix on recreating resource
add azaion-commands queue
add logs for docker run
update gitignore
2025-02-21 06:57:30 +02:00
Alex Bezdieniezhnykh 81d2409009 update rabbitmq config 2024-12-17 22:42:25 +02:00
Alex Bezdieniezhnykh 6d8ea6c74f fix login
add logging
add scripts for server
2024-12-04 12:40:56 +02:00
Alex Bezdieniezhnykh 0914c8c39e add permissions.sql 2024-11-25 14:49:00 +02:00
Alex Bezdieniezhnykh 08187495af separate Uploader role 2024-11-25 14:43:52 +02:00
Alex Bezdieniezhnykh f5e466108a renmove ResourceEnum, use filename only
add ToHash for encryption Key
2024-11-22 12:13:37 +02:00
Alex Bezdieniezhnykh 8b8de81add docker registry fix 2024-11-14 23:03:52 +02:00
Alex Bezdieniezhnykh ace57eaf27 postgres works 2024-11-14 21:14:26 +02:00
Alex Bezdieniezhnykh 2244edd2ed add docker, deploy 2024-11-14 16:12:06 +02:00
Alex Bezdieniezhnykh 4445fcd673 get resource works 2024-11-13 00:24:09 +02:00
Alex Bezdieniezhnykh ddbf8114ba db works, upload works 2024-11-12 22:16:50 +02:00
Alex Bezdieniezhnykh 2336c15aa4 add postgres 2024-11-12 15:57:36 +02:00