Skip to content

release(App): CONTEEX 27/05/2026!#48

Merged
risixdzn merged 7 commits into
mainfrom
develop
May 27, 2026
Merged

release(App): CONTEEX 27/05/2026!#48
risixdzn merged 7 commits into
mainfrom
develop

Conversation

@risixdzn

Copy link
Copy Markdown
Member
  • Launching the service order API!

risixdzn and others added 7 commits May 27, 2026 11:11
- Implemented R2 bucket configuration for file uploads.
- Created handlers for creating and retrieving service orders.
- Added validation and authorization checks for service order creation.
- Developed pagination and filtering for retrieving company service orders.
- Introduced pre-signed URL generation for file uploads.
- Defined database schema for service orders, device brands, and categories.
- Added documentation for service orders and uploads endpoints.
- Implemented services for handling service orders and uploads.
…-assigns-r2

feat(Server): Add service orders management and upload functionality
- Create `uploads` table tracking every presigned upload (status: pending/completed/expired)
- Change route from `POST /uploads/presign` to `POST /uploads/service-orders/presign`
- Presign now inserts a pending upload record and returns its `id`
- Service order photos now accept `uploadId` instead of raw metadata — validated against DB
- Linked uploads marked `completed` on service order creation; `upload_id` FK on `service_order_images`
- Replace `isAllowedCompanyPhotoUrl` URL-prefix validation with proper DB lookup
@risixdzn risixdzn merged commit 0cd36d3 into main May 27, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants