Yamamoto
70aa9c8389
fix: resolve redeclared variable in ticket_service.go
2026-01-04 12:44:27 -03:00
Tiago Yamamoto
1ad571e1c1
Allow admins to access ticket details
2026-01-03 19:41:44 -03:00
Tiago Yamamoto
786ef42d8a
feat: add complete support ticket CRUD operations
...
Backend Service:
- UpdateTicket: update status/priority (owner or admin)
- CloseTicket: convenience method to set status=closed
- DeleteTicket: admin only, removes ticket and messages
- ListAllTickets: admin only, with optional status filter
Handlers:
- PATCH /api/v1/support/tickets/{id} - update ticket
- PATCH /api/v1/support/tickets/{id}/close - close ticket
- DELETE /api/v1/support/tickets/{id} - delete ticket (admin)
- GET /api/v1/support/tickets/all - list all tickets (admin)
All endpoints with Swagger annotations
2025-12-26 16:16:05 -03:00
Tiago Yamamoto
06ed927ef4
fix(services): initialize slices to empty array to prevent null json response
2025-12-24 17:52:13 -03:00
Tiago Yamamoto
bb970f4a74
fix(backend): resolve 500 errors on jobs, notifications and secure routes
...
- Fix CreateJob 500 error by extracting user ID correctly
- Secure Create/Update/Delete Job routes with AuthGuard
- Fix Notifications/Tickets/Profile 500 error (UUID vs Int mismatch)
- Add E2E test for CreateJob
2025-12-24 17:48:06 -03:00
Tiago Yamamoto
78ce341370
feat: Implement Ticket System, Profile Page integration, and fix migrations
2025-12-23 19:22:55 -03:00