Commit Graph

56 Commits

Author SHA1 Message Date
c69ea82f26 Merge pull request 'feat: integrate Google OAuth authentication provider and add login UI button' (#5) from add-google-auth into development
Reviewed-on: https://gitea.2pidev.com/jselesan/playzer/pulls/5
2026-04-20 13:21:08 +00:00
Jose Selesan
a4075866f8 feat: integrate Google OAuth authentication provider and add login UI button 2026-04-20 10:16:02 -03:00
Jose Selesan
5b53a10bbc Merge branch 'add-realtime-cappabilities' into development 2026-04-17 17:35:24 -03:00
Jose Selesan
585e7d2226 feat: implement polling fallback for SSE connection failures and add event deduplication 2026-04-17 17:34:04 -03:00
a1dbab98be Merge pull request 'feat: implement real-time booking updates using Server-Sent Events (SSE) and add public booking URL sharing to the dashboard' (#4) from add-realtime-cappabilities into development
Reviewed-on: https://gitea.2pidev.com/jselesan/playzer/pulls/4
2026-04-17 20:26:38 +00:00
Jose Selesan
e0d755bef7 feat: implement real-time booking updates using Server-Sent Events (SSE) and add public booking URL sharing to the dashboard 2026-04-17 17:25:46 -03:00
Jose Selesan
a075f13587 chore: ignore backend environment file and remove trailing newline in gitignore 2026-04-17 16:26:41 -03:00
Jose Selesan
7fe1eef297 chore: ignore backend environment file and remove trailing newline in gitignore 2026-04-17 16:26:24 -03:00
Jose Selesan
20b70c06c1 feat: refactor onboarding into a multi-step flow with dedicated routes and session state management 2026-04-17 16:17:19 -03:00
4588e63fa5 Merge pull request 'feat: implement session persistence for onboarding flow and fix typo in password label' (#3) from fix-onboarding into development
Reviewed-on: https://gitea.2pidev.com/jselesan/playzer/pulls/3
2026-04-17 19:04:59 +00:00
Jose Selesan
400f67b268 feat: implement session persistence for onboarding flow and fix typo in password label 2026-04-17 16:03:40 -03:00
Jose Selesan
ea8e3f6a24 Updated mailer service 2026-04-17 15:40:29 -03:00
Jose Selesan
32c436e772 feat: make Mailtrap testInboxId configurable via environment variable 2026-04-17 15:32:50 -03:00
Jose Selesan
a1ff9f2831 Updated mailer to use Mailtrap API 2026-04-17 15:23:51 -03:00
Jose Selesan
b3f1b72da4 refactor: migrate authentication from Supabase to Better Auth and update project configuration 2026-04-17 08:35:54 -03:00
Jose Selesan
aabd9a8266 refactor: standardize tsconfig paths, update deprecation settings, and format user creation timestamp to ISO string 2026-04-16 22:23:34 -03:00
Jose Selesan
f98a0c2c02 feat: migrate authentication to Better Auth and update profile management logic 2026-04-16 21:10:38 -03:00
6dc8cae3a8 Merge pull request 'migrate-to-better-auth' (#2) from migrate-to-better-auth into development
Reviewed-on: https://gitea.2pidev.com/jselesan/playzer/pulls/2
2026-04-16 23:56:35 +00:00
Jose Selesan
34a24ce6c9 feat: add user role field and implement Gravatar fallback for user avatars 2026-04-16 20:51:53 -03:00
Jose Selesan
e5002ce440 refactor: integrate Better-Auth for authentication and remove Supabase dependencies 2026-04-16 20:30:01 -03:00
Jose Selesan
f158845279 refactor: migrate authentication from Supabase to Better Auth and update Prisma schema models 2026-04-16 20:05:08 -03:00
Jose Selesan
bd30b32b49 Added Better auth mitation 2026-04-16 15:45:49 -03:00
Jose Selesan
e2299c6d46 feat: update .gitignore for Bun and generated files, minor formatting fix in password reset handler 2026-04-13 21:25:53 -03:00
Jose Selesan
62d28734fc cleanup: remove debug console.log from auth benchmarking 2026-04-13 19:33:13 -03:00
Jose Selesan
b7c303377a perf: validate JWT locally instead of calling Supabase API
- Use jose library for ES256 JWT verification with cached JWKS
- Fallback to Supabase only if JWT verification fails
- Use findUnique instead of findFirst for DB lookup
- Estimated improvement: ~450ms -> ~5ms per request
2026-04-13 17:50:52 -03:00
Jose Selesan
1d09716492 Updated Dockerfile 2026-04-13 13:45:28 -03:00
Jose Selesan
c409d44765 Removed REMOTE_ADDR variable 2026-04-13 13:24:45 -03:00
Jose Selesan
2b95ab37f6 chore(frontend): add generated route tree for Docker build 2026-04-13 09:34:29 -03:00
Jose Selesan
ff42f3cd60 fix(docker): copy full backend in prisma stage for .prisma cache 2026-04-13 09:29:04 -03:00
Jose Selesan
43df46f520 fix(docker): add prisma generate stage to Dockerfile build 2026-04-13 09:25:46 -03:00
Jose Selesan
70273f6760 feat(auth): add password reset flow with OTP
- Add password-reset Prisma schema for OTP tracking
- Add API contract schemas (start, verify, resend)
- Add password-reset service with OTP validation and email sending
- Add frontend reset-password page with 2-step flow
- Add InputOTP component usage for OTP input
- Add link to reset-password in login page
- Remove link to About in login
- Center and resize login/reset password forms
2026-04-13 09:10:06 -03:00
Jose Selesan
566291fb43 Changed Dockerfile 2026-04-10 23:11:32 -03:00
Jose Selesan
91dfdce66d Improved Dockerfile 2026-04-10 19:44:33 -03:00
Jose Selesan
8210a4bd9b feat(home): move manual booking to responsive dialog
- Add Dice UI responsive-dialog component
- Move manual booking form to dialog (drawer on mobile)
- Filter past time slots when booking for today
- Rename button to 'Nueva Reserva'
2026-04-10 16:33:45 -03:00
Jose Selesan
839e316226 chore: track bun.lock in git for Docker builds 2026-04-10 16:11:02 -03:00
Jose Selesan
c2f5c0d97c refactor(docker): move Dockerfile to root for simpler Dokploy setup 2026-04-10 16:05:31 -03:00
Jose Selesan
1911d5623c perf(docker): optimize build with separate dependency stages for better layer caching 2026-04-10 15:50:46 -03:00
Jose Selesan
9ee98a4cb4 feat: add city/state/country to complex, new settings page with sidebar, and Biome linting
- Added city, state, and country optional fields to Complex model
- Updated onboarding to include optional location fields
- Created new settings page with sidebar navigation (Datos del Complejo, Canchas)
- Replaced ESLint with Biome for frontend and backend linting
- Added parallel dev script with concurrently
- Migrated register-routes to use direct app.route() pattern
2026-04-10 15:36:15 -03:00
Jose Selesan
77004b14b0 Improved booking panel 2026-04-10 09:05:10 -03:00
Jose Selesan
2d86881f94 Added 'No show' status. Edit user profile 2026-04-09 23:01:09 -03:00
Jose Selesan
4dcaae7136 Fixed build error 2026-04-09 16:27:21 -03:00
Jose Selesan
3cba2fa485 New fields for complex 2026-04-09 16:18:58 -03:00
Jose Selesan
ae90562d88 Improved routes registration 2026-04-09 15:39:42 -03:00
Jose Selesan
7ca74970fa Added healthcheck route 2026-04-09 15:06:45 -03:00
Jose Selesan
aa2fe41ecc New booking dashboard 2026-04-09 14:54:13 -03:00
Jose Selesan
11dd12682c Minor change in court configuration 2026-04-09 11:47:10 -03:00
Jose Selesan
e58fa6efa2 Fixed Dockerfile to run migrations 2026-04-09 11:25:51 -03:00
Jose Selesan
9f14b74936 Fix Dockerfile 2026-04-09 11:07:12 -03:00
Jose Selesan
063991770a Changed Dockerfile 2026-04-09 10:43:19 -03:00
Jose Selesan
2a0558347a Add button to share booking confirmation 2026-04-09 10:13:33 -03:00