Noooste
23d63be980
refactor(services): return *UpstreamError from S3 operations via FromMinio
2026-04-20 00:16:13 +02:00
Noooste
5b12c8121f
refactor(services): propagate UpstreamError unchanged from admin callers
...
Strip redundant fmt.Errorf wrapping at every decodeResponse call site so
the typed *apierr.UpstreamError propagates directly to handlers without
an extra indirection layer.
2026-04-20 00:12:48 +02:00
Noooste
c2e99afb8b
refactor(services): return *UpstreamError from decodeResponse
...
Replace the ad-hoc fmt.Errorf non-2xx branch with apierr.ParseGarage so
decodeResponse now returns a typed *apierr.UpstreamError on error.
Update two admin_test.go tests that string-matched the old error shape to
assert UpstreamError fields (HTTPStatus, Message) instead.
2026-04-20 00:09:01 +02:00
Noooste
c951e5fa4b
feat: implement permission denial functionality and enhance permission saving state in AccessControl component
...
Signed-off-by: Noooste <83548733+Noooste@users.noreply.github.com >
2026-04-19 23:15:27 +02:00
Noooste
4447f6533f
test: add comprehensive tests for admin methods and logger error handling
...
Signed-off-by: Noooste <83548733+Noooste@users.noreply.github.com >
2026-04-19 18:37:32 +02:00
Noooste
09289371a2
test: add unit tests for CreateDirectory endpoint and related S3 functionality
...
Signed-off-by: Noooste <83548733+Noooste@users.noreply.github.com >
2026-04-19 18:11:21 +02:00
Noooste
cb1b14b941
feat: add CreateDirectory endpoint and S3 directory marker support
...
Signed-off-by: Noooste <83548733+Noooste@users.noreply.github.com >
2026-04-19 17:10:06 +02:00
Noooste
68be5ea2be
feat(logging): enhance logging in GarageAdminService with detailed request information
...
Signed-off-by: Noooste <83548733+Noooste@users.noreply.github.com >
2026-04-19 13:59:27 +02:00
Noooste
1522439c68
test(mocks): add hand-rolled mocks for AdminService and S3Storage
...
Signed-off-by: Noooste <83548733+Noooste@users.noreply.github.com >
2026-04-19 13:58:51 +02:00
Noooste
dd275d2e78
test: add comprehensive test suite for logging, request ID, and user management
...
Signed-off-by: Noooste <83548733+Noooste@users.noreply.github.com >
2026-04-19 13:58:29 +02:00
Noooste
cbdab9a775
refactor: streamline object key handling and improve app name format
...
Signed-off-by: Noooste <83548733+Noooste@users.noreply.github.com >
2026-04-19 11:09:19 +02:00
Noooste
f63ce3452e
refactor: update handler methods to use interfaces for admin and S3 services
...
Signed-off-by: Noooste <83548733+Noooste@users.noreply.github.com >
2026-04-17 16:48:25 +02:00
Noste
b8b0b6b0fa
feat: enhance S3 service to use bucket-specific MinIO client for object retrieval and deletion
...
Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com >
2026-03-07 10:56:48 +01:00
Noste
8f81c7ffea
refactor: update logging configuration
...
Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com >
2026-01-18 20:36:10 +01:00
Noste
80553c6450
feat: enhance authentication and upload features; add JWT support and upload progress component
...
Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com >
2025-12-26 12:21:49 +01:00
Noste
61dae6c605
feat: implement admin and OIDC authentication methods; add login and user info endpoints
...
Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com >
2025-12-21 23:42:02 +01:00
Noste
7a4e187745
feat: trim protocol from MinIO endpoint and set SSL flag
...
Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com >
2025-12-21 15:29:19 +01:00
Noste
ebfdad8898
feat: add region configuration to MinIO client initialization
...
Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com >
2025-12-21 15:24:15 +01:00
Noste
4656d1bce9
feat: add functionality to create and reveal secret access keys for users
...
Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com >
2025-12-20 12:24:53 +01:00
Noooste
d8694bc272
feat: enhance authentication with JWT support and clean up unused code
2025-12-08 22:37:14 +01:00
Noooste
f4eaca62e8
feat: add Docker support with Dockerfile, docker-compose.yml, and .dockerignore
2025-12-08 21:43:04 +01:00