Commit Graph

19 Commits

Author SHA1 Message Date
Matthieu B
31005dcf87 Fix recent onboarding and media-server bugs (#1318)
* fix: resolve button widget context URLs

Fixes #1280

* fix: return relative invitation API URLs

Fixes #1262

* fix: use modern Jellyfin auth headers

Fixes #1309

* fix: use Emby library GUIDs for access policy

Fixes #1303
2026-07-05 18:14:39 +02:00
Matthieu B
9b5aa0972a refactor: remove slop from media and new linting rules 2025-10-23 18:33:50 +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
f67e3b72d4 fix: resolve circular import issue in User model and update exception handling in server checks
test: update invitation page assertion to reflect new account creation wording
2025-09-21 15:16:09 +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
77d6ec08cf Potential fix for code scanning alert no. 49: Use of a broken or weak cryptographic hashing algorithm on sensitive data
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-08-16 15:04:47 +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
02126de7b8 Add ty dependency and pre-push hook for type checking
- Added `ty` version 0.0.1a14 to dependencies in `pyproject.toml`.
- Updated `.pre-commit-config.yaml` to include a pre-push hook for type checking using `ty`.
- Made minor adjustments in various files to ensure compatibility with type checking.
2025-07-15 21:32:43 +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
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
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
772bc24fa6 Added multiple servers support and identity linking 2025-06-13 14:37:57 +01:00
fireph
ef8176926e Support translations for server error messages 2025-06-10 12:13:12 -07:00
fireph
c07f768515 improvements so that there is no duplicate code for error handling 2025-06-09 20:29:17 -07:00
fireph
993624895f Add error handling and display for server url 2025-06-09 20:18:16 -07:00
Matthieu B
4889e25d31 Huge rewrite 2025-05-20 13:01:20 +01:00