Andrej Spielmann
a0ec4829b1
feat: complete user management system
...
- Add UserProfile role field (superadmin/admin/trainer)
- Create role-based permission classes
- Implement UserManagementViewSet with CRUD
- Add frontend types and components
- Create users management page
- Add sidebar navigation for users
- Only superadmins can manage users
2026-03-26 16:45:25 +01:00
Andrej Spielmann
28222d634d
feat: implement user management system
...
- Add role field to UserProfile (superadmin/admin/trainer)
- Add role-based permission classes
- Create UserManagementViewSet with CRUD and password change
- Add API types and components for user management
- Create users management page in settings
- Only superadmins can manage users
2026-03-26 16:42:08 +01:00
Andrej Spielmann
f7bd930ad7
Fix isHydrated state for Zustand persist
...
- Add onRehydrateStorage callback to set isHydrated
- Initialize isLoading to true and set to false after hydration
- Remove manual isHydrated check in page.tsx
2026-03-26 13:53:46 +01:00
Andrej Spielmann
e42f5e2315
Fix network access for iPhone testing
...
- Add 192.168.101.111 to ALLOWED_HOSTS and CORS_ALLOWED_ORIGINS
- Update frontend env to use network IP for API
- Fix page redirect to wait for hydration
2026-03-26 13:52:24 +01:00
Andrej Spielmann
b571509d41
Add generated PNG icons and icon generator script
...
- icon-192.png
- icon-512.png
- apple-touch-icon.png
- icon-maskable.png
- generate-icons.js script
2026-03-26 13:43:36 +01:00
Andrej Spielmann
824191ce81
Add PWA support and mobile optimizations
...
- Add manifest.json with PWA configuration
- Add viewport settings for iOS (viewport-fit: cover)
- Add meta tags for iOS Safari (apple-mobile-web-app-capable)
- Add mobile CSS optimizations:
* iOS Safe Area support
* Minimum 44x44px touch targets
* Disable zoom on input focus
* Remove scrollbars on mobile
* Disable hover effects on touch devices
* Standalone mode styles
- Add InstallPrompt component for Add to Home Screen
- Add SVG icon (needs PNG conversion)
2026-03-26 13:40:54 +01:00
Andrej Spielmann
3fefc550fe
Initial commit: WrestleDesk full project
...
- Django backend with DRF (clubs, wrestlers, trainers, exercises, templates, trainings, homework, locations, leistungstest)
- Next.js 16 frontend with React, Shadcn UI, Tailwind
- JWT authentication
- Full CRUD for all entities
- Calendar view for trainings
- Homework management system
- Leistungstest tracking
2026-03-26 13:24:57 +01:00