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
5286b6b8e3
[AZ-198] Block disabled user login
...
Made-with: Cursor
2026-04-16 06:49:00 +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
1739a2b120
add edit role functionality
2025-10-02 01:29:33 +03:00
Oleksandr Bezdieniezhnykh
f6eed184fa
add cors , add user should be enabled by default
2025-10-02 00:37:30 +03:00
Oleksandr Bezdieniezhnykh
5e58802ab3
fix get installer paths
2025-09-23 15:50:52 +03:00
Oleksandr Bezdieniezhnykh
b6dd20366e
secure getinstaller endpoint
2025-09-23 15:37:50 +03: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
1fcaba383e
add check resource endpoint
2025-06-15 09:18:39 +03:00
Alex Bezdieniezhnykh
3be7062993
add ClearFolder, ListResources, GetInstaller
...
endpoints
2025-06-13 23:27:37 +03:00
Alex Bezdieniezhnykh
eb043e94a8
switch to hardware string from object
2025-05-02 10:14:40 +03:00
Alex Bezdieniezhnykh
2b6a8d1252
fix reset hardware
2025-04-27 17:15:44 +03:00
Alex Bezdieniezhnykh
32cef21335
rename offset property in user
2025-04-17 08:08:57 +03:00
Alex Bezdieniezhnykh
c1f47f0e8d
Revert "add correct business exception handling"
...
This reverts commit b1693b2894 .
2025-04-16 20:47:01 +03:00
Alex Bezdieniezhnykh
b1693b2894
add correct business exception handling
...
use <FrameworkReference Include="Microsoft.AspNetCore.App" /> instead of old nuget packages
2025-04-16 13:32:16 +03:00
Alex Bezdieniezhnykh
4fc1fb4d63
fix cache issue
2025-04-16 01:49:34 +03:00
Alex Bezdieniezhnykh
5673eeade9
add queue offsets to user
2025-04-16 01:29:58 +03:00
Alex Bezdieniezhnykh
5b2d62318c
use CBC for encryption - interoperable with Cython
2025-02-28 00:43:14 +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
52c7ec09c6
return claim name to jwt
2025-01-20 10:35:37 +02:00
Alex Bezdieniezhnykh
bfb7b89f32
put StreamToString to extensions
2025-01-20 10:04:33 +02:00
Alex Bezdieniezhnykh
49de0351c1
add Cache.cs
...
fix hardware hash stack in the jwt token claims
2025-01-18 14:37:17 +02:00
Alex Bezdieniezhnykh
0945635a1c
add possibility to upload and download from specific folder
2024-12-24 12:48:02 +02:00
Alex Bezdieniezhnykh
6d8ea6c74f
fix login
...
add logging
add scripts for server
2024-12-04 12:40:56 +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
8be7625542
small fixes
2024-11-14 23:31:38 +02:00
Alex Bezdieniezhnykh
4bc76bbbac
structure app by rest api standards
...
add getusers
tidy up BusinessException
2024-11-14 22:45:36 +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
Alex Bezdieniezhnykh
85139b4fd2
add authorization
2024-11-11 21:07:28 +02:00
Alex Bezdieniezhnykh
ca6175da7f
fix encryption
2024-11-09 07:25:47 +02:00
Alex Bezdieniezhnykh
121052a3ef
Init commit
...
add security encryption and hashing: WIP
add endpoints: register user, get and save resources
add db main operations, User entity
2024-11-09 00:37:43 +02:00