Commit graph

18 commits

Author SHA1 Message Date
Gabriel Menezes
8015b3ff77 feat: add auth page with login/register and enable task3 CORS origin 2026-10-10 21:34:38 -04:00
Gabriel Menezes
727cf62f7d feat(new-frontend): add new-frontend with HeroUI v3 landing page and docker service 2026-10-10 11:51:54 -04:00
Gabriel Menezes
b399992dc5 fix: resolve profile photo rendering and upload issues 2026-10-08 10:22:41 -04:00
Gabriel Menezes
69aa0d3d9e fix(domain): use single-level subdomains with hyphens for Cloudflare SSL compatibility 2026-10-07 15:18:11 -04:00
Gabriel Menezes
791d184954 chore: configure docker-compose for homelab with task2.beetech.dev domain
- Replace archived MinIO images with community-maintained pgsty images
- Change routing domain to task2.beetech.dev across frontend, backend, and minio
- Avoid port collisions with existing homelab services (postgres port 5434)
- Add .env and *.pem to .gitignore
- Remove legacy deploy/ directory and deploy-main.yml workflow
2026-10-07 14:56:34 -04:00
Gabriel Santana de Menezes
f86d8a1e69 fix: MinIO credentials validation in docker-compose
Updates MinIO credentials to meet minimum length requirements:
- MINIO_ROOT_USER: at least 3 characters (was 'minioadmin')
- MINIO_ROOT_PASSWORD: at least 8 characters (was 'minioadmin')

Now uses environment variables with sensible defaults that can be
overridden via .env file or GitHub Actions secrets.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 18:41:38 -04:00
Gabriel Santana de Menezes
59a5c61585 feat: add MinIO image server and profile photo upload
Infrastructure: MinIO service added to docker-compose (prod + dev) with
minio-init container that creates the avatars bucket with public read
policy. Traefik routes minio.task.beetech.dev → port 9000.

Backend: native MinIO SDK integration via MinioStorageService;
UploadUserPhotoUseCase validates 5 MB limit and image content-type;
new POST /auth/profile/photo endpoint (multipart). All hardcoded
ui-avatars.com fallback URLs removed from 6 use cases — backend now
returns null when user has no photo.

Frontend: ProfilePage gains clickable avatar with camera overlay,
file picker, preview, and photo upload on save. UserAvatar gains
onError handler for broken URLs and xs size. OrganizationAdminPage
replaces hardcoded ui-avatars.com with UserAvatar component.

CI/CD: deploy-main.yml passes 5 new MinIO secrets to the server and
writes them to .env.production.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 18:01:59 -04:00
Gabriel Santana de Menezes
b510246eb5 adicionando variaveis faltantes 2026-05-13 18:47:25 -04:00
Gabriel Santana de Menezes
080904cebc fix: loggin on traefik 2026-05-13 10:17:05 -04:00
Gabriel Santana de Menezes
eb8247881b update traefik 2026-05-13 09:17:46 -04:00
Gabriel Santana de Menezes
23ec0a9066 keys 2026-05-12 20:06:44 -04:00
Gabriel Santana de Menezes
983cfe4176 variaveis do backend 2026-05-12 20:06:44 -04:00
Gabriel Santana de Menezes
f2eb4918a8 adicionando network 2026-05-12 20:06:44 -04:00
Gabriel Santana de Menezes
7274a07263 downgrade postgres 2026-05-12 20:06:44 -04:00
Gabriel Santana de Menezes
df90385246 adicionando banco no docker prod e servicoes no local 2026-05-12 20:06:44 -04:00
Gabriel Santana de Menezes
0e60b06e05 fix: database errors and version on status 2026-05-12 20:06:44 -04:00
Gabriel Santana de Menezes
c2a6c52141 chore: first migration 2026-05-12 20:06:44 -04:00
Gabriel Santana de Menezes
090f2888d0 project scaffold 2026-04-21 15:58:44 -04:00