Commit Graph

8 Commits

Author SHA1 Message Date
Matthieu B
0902f4ba93 feat(invites): streamline invite expiry handling and update UI for expiration display 2026-02-25 02:02:08 +01:00
Matthieu B
9b5aa0972a refactor: remove slop from media and new linting rules 2025-10-23 18:33:50 +02:00
Matthieu B
e8d8e7d7dc refactor: complete get_or_404() migration across all PR-modified files
Finish migrating all db.session.get() + abort(404) patterns to the modern
Flask-SQLAlchemy 3.x db.get_or_404() helper across all files modified by
this PR.

Changes:
- admin/routes.py: 3 instances converted
- admin_accounts/routes.py: 3 instances converted
- connections/routes.py: 2 instances converted
- notifications/routes.py: 1 instance converted
- user_details.py: 1 instance converted (also removed unnecessary abort import)

This completes the migration started in the previous commit, ensuring
consistent use of the Flask-SQLAlchemy 3.x pattern throughout the PR.

Total conversions in PR: 17 instances (7 wizard + 10 other files)
2025-10-18 14:05:53 +02:00
engels74
d0df4c6d5d feat: wizard step refactor into pre/post wizard steps
Changes:
  - Pre/post invitation wizard phases
  - Phase-aware routing (/pre-wizard/*, /post-wizard/*)
  - Phase indicator badges (visual categorization)
  - Dynamic completion button behavior
  - Two-column admin layout with category drag-and-drop
  - Invite code management service
  - Enhanced wizard export/import
  - Comprehensive test coverage (17 new test files)
2025-10-16 15:28:48 +02:00
Matthieu B
e38a699d5e fix: enhance library access resolution for Plex users and update user details structure closes #892. Remove dev dependencies by default closes #905 2025-10-08 11:11:47 +02:00
Matthieu B
3310c2133c feat: revamp user policy handling 2025-09-12 14:11:51 +02:00
Matthieu B
6f28f7dbb0 feat: UI speedup 2025-09-09 22:12:17 +02:00
Matthieu B
d57ea4e359 feat: Introduce standardized user details handling across media clients
- Added `MediaUserDetails` and `UserLibraryAccess` data classes for consistent user information representation.
- Implemented `get_user_details` method in various media clients (Emby, Jellyfin, Kavita, Komga, Plex, Romm) to return standardized user details.
- Updated `get_user` methods in media clients to maintain backward compatibility while leveraging the new user details structure.
- Enhanced user listing and synchronization processes to include policy attributes and library access information.
- Improved user interface templates to display user policies and account information more effectively.
- Added human-readable date formatting for expiration and creation dates in user-related templates.
2025-07-25 16:37:32 +02:00