Tim Stollberg
c29eb35ca8
fix(import): add missing league/csv dependency
...
ImportClientsAction uses League\Csv\Reader but the package was never
added to composer.json/lock, so it worked locally (already present
from a prior require elsewhere?) but was absent from the production
vendor/ build, causing a fatal "class not found" on every CSV import.
2026-07-18 16:49:43 +07:00
Tim Stollberg
71730fef06
feat: remove Filament, add user account management
...
- Remove Filament /admin panel completely (AdminPanelProvider, UserResource, routes)
- Update composer.json to remove filament/filament dependency
- Add User model soft deletes with SoftDeletes trait + migration
- Strengthen UserPolicy::delete to prevent deleting last remaining admin
- Build out User module following pattern: CreateUserAction, UpdateUserAction, GetUsersAction,
UserResource, UserController, Create/UpdateUserRequest, UserData DTO
- Add /api/users routes (index, store, update, destroy), all admin-gated via policy
- Create frontend Settings > Accounts page (settings/accounts.vue) for admin user management
- Add useUsers composable mirroring useClient pattern
- Add "Benutzer" link to settings dropdown in clients/index.vue
- All tests pass; User soft-delete and last-admin protection verified
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-07-13 13:05:40 +07:00