Commit Graph

13 Commits

Author SHA1 Message Date
Jose Selesan
d6e32f3e84 feat: implement booking cancellation feature in HomePage 2026-04-24 15:44:46 -03:00
Jose Selesan
fb19458ddf feat: add price field to CourtBooking model and related schemas
- Added `price` field to `CourtBookingScalarFieldEnum` in `prismaNamespace.ts` and `prismaNamespaceBrowser.ts`.
- Updated `CourtBooking` model to include average and sum aggregations for `price`.
- Enhanced input types and aggregate input types to support `price`.
- Modified `public-booking.service.ts` to calculate and return price information for bookings.
- Updated frontend components to display price information in booking confirmation and selection pages.
- Introduced `priceRangeSchema` in API contract to validate price ranges.
2026-04-24 15:22:11 -03:00
Jose Selesan
6ad4fc9ee9 feat: add complex user invitation and management features
- Implemented complex member and invitation schemas using Zod for validation.
- Created new API endpoints for inviting, accepting, revoking, and canceling complex user invitations.
- Developed handlers for managing complex users, including listing, inviting, revoking, and canceling invitations.
- Added frontend components for displaying and managing complex users and invitations.
- Introduced session storage management for pending invitations.
- Integrated Gravatar for user avatars based on email.
- Created database migration for complex invitations table.
2026-04-22 15:30:04 -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
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
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
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
3cba2fa485 New fields for complex 2026-04-09 16:18:58 -03:00
Jose Selesan
aa2fe41ecc New booking dashboard 2026-04-09 14:54:13 -03:00
Jose Selesan
9ae270609d Initial commit 2026-04-08 22:53:11 -03:00