Feat/session-name #6
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Bothim_TV/punktesystem!6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/session-name"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
✏️ Tip: You can customize this high-level summary in your review settings.
📝 Walkthrough
Walkthrough
This PR adds session management functionality to the platform by introducing a "name" field to the Session database model, updating authentication flows to capture and store display names, implementing GET and DELETE API endpoints for session management, and providing a frontend UI for administrators to view and manage active sessions with token masking and batch deletion.
Changes
backend/prisma/migrations/20260130123000_add_session_name/migration.sql,backend/prisma/schema.prismabackend/src/util/PasskeyLogin.tsPublicKeyCredentialRequestOptionsJSONto storing{ options, name }objects; updatedset()andget()method signatures to handle display names alongside credential options.backend/src/routes/auth/POST.ts,backend/src/routes/auth/PATCH.tsbackend/src/routes/sessions/GET.ts,backend/src/routes/sessions/DELETE.ts,backend/src/routes/passkeys/PATCH.tsbackend/src/index.tsfrontend/src/pages/login.vuefrontend/src/pages/verwaltung/sessions.vue,frontend/src/pages/verwaltung/index.vuefrontend/src/typed-router.d.ts/verwaltung/mailand/verwaltung/sessions; converted routes and views properties to union types in _RouteFileInfoMap.Sequence Diagram(s)
Estimated code review effort
🎯 3 (Moderate) | ⏱️ ~40 minutes
Poem
Comment
@coderabbitai helpto get the list of available commands and usage tips.