Commit Graph

22 Commits

Author SHA1 Message Date
Matthieu B
187b8758c1 Refactor wizard templates and JavaScript controller
- Updated title block in frame.html for clarity.
- Improved localization for the "Next" button in steps.html.
- Refactored the WizardController JavaScript for better readability and organization.
- Added detailed comments to the wizard architecture for future reference.
- Enhanced button visibility and state management based on interaction requirements.
- Implemented swipe gesture handling for mobile navigation.
- Updated subproject commit to indicate a dirty state.
2025-10-07 14:01:16 +02:00
Matthieu B
d1ed08d9c2 Add .djlintrc configuration file for Jinja linting 2025-10-07 11:04:58 +02:00
Matthieu B
3983070748 fix: remove 'Drop' option from server type selection in create and edit modals 2025-10-06 12:34:04 +02:00
Matthieu B
8c18977094 feat: enhance Komga integration with API key updates and user management improvements closes [BUG] Komga Setup Returning a 401 error when Komga is set up and working fine
Fixes #693
2025-10-06 12:32:37 +02:00
Matthieu B
f71e25f620 feat: add Drop media server support
Implements comprehensive Drop media server integration following the
media-server integration checklist:

## Core Implementation
- Create DropClient with RestApiMixin base class
- Implement full user management API (CRUD operations)
- Support Drop's two-step user creation (invitation → signup)
- Bearer token authentication with System tokens
- Proper error handling for missing Simple Authentication

## Integration Points
- Register client via @register_media_client decorator
- Add connection checker with API validation
- Wire into media_servers routes and forms
- Update UI templates (create/edit server modals)

## API Features
- User listing and synchronization from Drop API
- Statistics and server health monitoring
- Invitation-based user creation workflow
- Proper policy mapping (enabled, admin, displayName)

## Error Handling
- Clear messaging when Simple Authentication disabled
- Token permission validation and logging
- Graceful fallback for missing API endpoints

Drop integration ready for use once Simple Authentication
is enabled on the Drop server.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 12:41:45 +00:00
Matthieu B
486e40e202 fixes and closes #784 #772 #795 2025-08-27 22:08:37 +02:00
Matthieu B
59f81b57cc Add Navidrome support: integrate client, connection check, and UI options 2025-08-15 13:12:20 +02:00
Matthieu B
3e1236a8c3 Enhance modal and user table handling by consolidating HTMX triggers for closing modal and refreshing user table 2025-08-13 19:50:24 +02:00
Matthieu B
5e8a7b947a fix scan 2025-08-13 14:28:52 +02:00
Matthieu B
d8cb5193c3 invitation workflow overall for more stability 2025-07-17 15:13:00 +02:00
Matthieu B
7b8f64af7d Fix SQLAlchemy model constructors to accept keyword arguments
- Added __init__ constructors to all SQLAlchemy models
- Fixed pyright 'No parameter named' errors across the codebase
- Fixed various ruff linting issues (SIM108, E741, E402, SIM102, B904, SIM105)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 13:52:15 +02:00
Matthieu B
d6dbd94826 migrate 2025-07-14 15:22:58 +02:00
Matthieu B
dd8da235ee Enhance media server support by adding Kavita integration and updating existing routes. Refactor Audiobookshelf, Emby, Jellyfin, and Romm blueprints to utilize a common media blueprint factory. Implement unified invitation processing and improve wizard migration handling. Update templates and forms to accommodate new server types and ensure backward compatibility. 2025-07-12 21:29:13 +02:00
Matthieu B
e9e2eec97c Add Komga server creation and edit 2025-07-11 14:56:39 +02:00
Matthieu B
78765ca76a Support Komga closes #677 2025-07-11 14:44:10 +02:00
Matthieu B
18084976a4 UI fixed 2025-07-10 16:27:48 +02:00
Matthieu B
bc52fd0e42 fix 2025-07-04 15:45:08 +02:00
Matthieu B
2ca6c22764 feat: Add multi-server invite support with Jellyfin integration
- Add support for inviting users to multiple media servers simultaneously
- Implement Jellyfin-specific invite options (Allow Downloads, Allow Live TV)
- Add server type detection and conditional UI rendering in invite form
- Create new database migration for Jellyfin server options
- Update invite service to handle multi-server invitations
- Add server-specific validation and error handling
- Enhance user management with server-specific permissions
- Update templates to show server-specific invite options
- Add middleware support for multi-server authentication
- Improve settings forms with server type-specific fields

Breaking changes:
- Invite form now requires server selection
- User permissions are now server-specific
- Database schema updated for multi-server support
2025-07-03 16:18:50 +02:00
Matthieu B
1b1684eee1 romm wizard step 2025-06-26 15:30:19 +02:00
Matthieu B
6e7f3b0506 Added Romm support, and simplified Media APIs to reduce code duplication. 2025-06-20 20:22:45 +02:00
Matthieu B
6ffce56a22 Add external url to media server 2025-06-13 14:57:58 +01:00
Matthieu B
772bc24fa6 Added multiple servers support and identity linking 2025-06-13 14:37:57 +01:00