Commit graph

12 commits

Author SHA1 Message Date
Gabriel Menezes
c613c71f1e fix(auth): tratar credenciais invalidas com HTTP 401 e habilitar auto-login no cadastro 2026-11-05 14:58:17 -04:00
Gabriel Menezes
b1441285a1 feat: criar workspace padrao no cadastro de usuario e impedir organizacoes com nomes duplicados 2026-11-05 14:45:19 -04:00
Gabriel Menezes
771fa61629 fix(reports): resolve 401 unauthorized by using central jwt token extraction and url builder 2026-10-31 15:17:06 -04:00
Gabriel Menezes
d1bfe4d1cb feat: migrate to frontend v2, add task external links, auto-assign logged user, and preferences support 2026-10-15 09:04:24 -04:00
Gabriel Santana de Menezes
2a41e5cf86 fix: resolve TypeScript error in apiFetch headers
Type the defaultHeaders as Record<string, string> to fix TS2322 error
when spreading headers into fetch options.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 19:17:41 -04:00
Gabriel Santana de Menezes
ee3c42a17f fix: remove Content-Type header when sending FormData in apiFetch
The hardcoded 'Content-Type: application/json' header was conflicting
with multipart/form-data uploads. When body is FormData, we now omit
the Content-Type header to let the browser set the correct
'multipart/form-data; boundary=...' header.

Fixes 415 Unsupported Media Type error on photo uploads.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 19:07:31 -04:00
Gabriel Santana de Menezes
02b8556b02 fix: skip auth header on unprotected health status endpoint 2026-05-15 15:39:32 -04:00
Gabriel Santana de Menezes
38b6ddcd5d add prefix on frontend 2026-05-13 21:03:14 -04:00
Gabriel Santana de Menezes
56f0d20b06 fix: error when no content response 2026-05-12 20:04:45 -04:00
Gabriel Santana de Menezes
e99e1cd586 Modal do primeiro acesso 2026-05-12 20:04:45 -04:00
Gabriel Santana de Menezes
829ef310a5 login no frontend 2026-05-12 20:04:45 -04:00
Gabriel Santana de Menezes
3312f2276c criar task 2026-04-30 11:09:18 -04:00