Commit Graph
2623 Commits
Author SHA1 Message Date
fc51a3acd4 staged m3u to xtream fix (#877)
* staged m3u to xtream fix

* staged m3u to xtream fix

* staged m3u to xtream fix

* fixed race some conditions

* fixed race some conditions

* fixed race some conditions

* fixed race some conditions

* fixed race some conditions

---------

Co-authored-by: euzu <euzu@proton.me>
2026-09-24 00:51:12 +02:00
euzu e6ceddec9a ci: bump version v3.3.118 v3.3.118 2026-09-23 20:47:10 +00:00
179982f08f deadlock fixes: (#878)
- Actively drop the hyper connection future (`drop(conn)`) on forced socket close to abort active stream bodies immediately.
- Introduce `SocketCloseState` (Open / Closing) in `ConnectionManager with per-socket oneshot channels to ensure targeted signal delivery and prevent premature provider release on repeated kicks.
- Remove user entries atomically under a single write lock in `ActiveUserManager`.
- Explicitly drop shared stream register locks before async teardown.
- Remove duplicate provider cleanup on serve loop termination.
- Add lifecycle integration tests and unit tests for kick idempotency, dropped receivers, and Closing-state provider retention.

Co-authored-by: euzu <euzu@proton.me>
2026-09-23 22:44:33 +02:00
euzu 211e305650 ci: bump version v3.3.117 v3.3.117 2026-09-22 14:53:13 +00:00
8fa8a3601b feat: add target-wide curated catalog selection (#864)
* test: characterize target curation transition

* refactor: model complete curation outcomes

* feat: configure target-wide curation projection

* feat: apply target-wide curation selections

* docs: explain target-wide Trakt curation

* fix: preserve source-less Trakt policy edits

* target wide curaton selection

* target wide curaton selection

---------

Co-authored-by: Juanjo Presa <juanjop@gmail.com>
Co-authored-by: euzu <euzu@proton.me>
2026-09-22 16:52:11 +02:00
euzu 2297b3700a ci: bump version v3.3.116 v3.3.116 2026-09-22 13:04:15 +00:00
euzuandGitHub 2adc18adbc resource policy trusted destinations (#875)
* **New Features**
  * Added a Resource Policy editor for each input, supporting trusted hostnames and private network ranges.
  * Resource URLs now retain their source input and use authenticated links where supported.
  * Resource caching is scoped to the policy authorizing access.

* **Bug Fixes**
  * Invalid or unsupported resource values are safely discarded.
  * Redirects and destination addresses are rechecked against the applicable policy.

* **Breaking Changes**
  * Private DNS destinations require approved hosts and networks; private IP literals require an approved network.
  * Input and alias names must be non-empty and globally unique.
2026-09-22 15:02:22 +02:00
euzu fbc1e669fe ci: bump version v3.3.115 v3.3.115 2026-09-22 10:23:40 +00:00
euzuandGitHub 6ffddc259a Provider pinned failover (#873)
- **New Features**
  - Added assertions for verifying which provider account handled the latest request.
  - Enabled provider-affine playback to fall back to another available provider when the pinned provider is unavailable.

- **Bug Fixes**
  - Improved provider fallback handling, origin request tracking, and session updates.
  - Preserved session headers when fallback stream setup fails and refreshed them after successful fallback.

- **Tests**
  - Added coverage for provider-pool failover, account reuse, limits, rejection handling, and eviction behavior.
2026-09-22 12:21:52 +02:00
euzu 3ffdfc2018 ci: bump version v3.3.114 v3.3.114 2026-09-19 08:19:20 +00:00
euzuandGitHub 6a567d264e Feature/connection handling (#869)
* **New Features**
  * Added an opt-in runtime liveness watchdog with diagnostics, health status, and optional automatic restart.
  * Added configurable stream cleanup capacity and eviction re-entry protection.
  * Expanded configuration and UI access for users with playlist or user permissions, with safer data sanitization.
  * Added testkit scenarios and reporting for playback, admission, provider limits, sharing, and VOD behavior.
  * Added support for experimental-branch Docker builds.

* **Bug Fixes**
  * Improved provider prioritization, shared playback capacity, cleanup, reconnect handling, and concurrent client behavior.
  * Fixed playlist parsing for declared media types.
  * Release links now use the configured destination.
2026-09-19 10:17:23 +02:00
euzu c2a636282c ci: bump version v3.3.113 v3.3.113 2026-09-15 11:38:51 +00:00
euzu 97779c54d5 bumped version to 3.3.112 2026-09-15 13:37:54 +02:00
euzu 37d2732cf9 ci: bump version v3.3.111 2026-09-15 10:52:14 +00:00
euzuandGitHub fa5d3237f1 added docker ulimits, .env support, ptt fix (#867)
- **New Features**
  - Added automatic `.env` loading for secrets and environment variables, with custom file paths and existing-environment precedence.
  - Added a `--env-file` option and a sample environment configuration template.
  - Increased Docker file descriptor limits for improved reliability under high connection counts.

- **Bug Fixes**
  - Fixed title parsing for multi-byte UTF-8 characters, preventing crashes and incorrect volume extraction.

- **Documentation**
  - Added guidance for `.env` configuration, Docker usage, restart requirements, and resolving file descriptor exhaustion.
2026-09-15 12:51:09 +02:00
euzu 2833fba738 ci: bump version v3.3.110 v3.3.110 2026-09-14 14:51:48 +00:00
33ed942c16 feat(update): add per-cluster quality safeguards (#855)
* feat(update): add per-input actions and pipeline transparency

Squash feature/cluster-update-quality onto upstream/develop.

Include request-local update policies, persisted input and cluster status, library rescan and target rebuild integration, and the update-card view. Align the M3U request regression with the existing Force capability.

* del(build): temporary dev changes

* fix(update): address playlist review findings

* fix(update): rename Shows to Series

* Playlist update refactor

* Playlist update refactor

---------

Co-authored-by: euzu <euzu@proton.me>
2026-09-14 16:44:23 +02:00
euzuandGitHub a25801e906 Add Cargo.toml for curation in Dockerfile 2026-09-11 08:07:10 +02:00
euzuandGitHub 8a4f78cbcd Add curation Cargo.toml to Dockerfile 2026-09-11 08:06:13 +02:00
euzu da9c03a688 ci: bump version v3.3.109 v3.3.109 2026-09-09 18:44:09 +00:00
145b082a4f refactor: extract source-neutral playlist curation (#860)
* refactor: extract source-neutral playlist curation

* fix: keep curation matches within media kind

---------

Co-authored-by: Juanjo Presa <juanjop@gmail.com>
2026-09-09 20:40:53 +02:00
euzu 019fb7fde2 ci: bump version v3.3.108 v3.3.108 2026-09-05 16:00:37 +00:00
Juanjo PresaandGitHub 079c5c7a10 fix: require a user-supplied Trakt client ID (#859)
remove the bundled Trakt Client ID and every fallback to it while keeping the compatible trakt.api.api_key field
trim supplied Client IDs, reject blank/header-invalid values before request construction, and skip only optional Trakt curation with one target-scoped warning
translate Trakt 401/403/404/429 responses explicitly, distinguish list/chart 404s, and preserve partial success across configured sources
disable the checked-in Trakt example until an explicit Client ID is configured and update docs and Source Editor terminology
2026-09-05 17:59:25 +02:00
euzu 89d45c5657 ci: bump version v3.3.107 v3.3.107 2026-09-05 15:15:55 +00:00
806dd574d3 User Agent (#861)
New Features

    Added an option to append a stable, numeric stream index to upstream User-Agent headers.
    Stream indexes remain consistent throughout a playback session, including manifests, segments, reconnects, seeks, and provider failover.
    Added a configuration checkbox for enabling the feature.

Documentation

    Documented the new configuration option, including session behavior and restart handling.
    Added English, Arabic, and Russian translations for the setting.



Co-authored-by: euzu <euzu@proton.me>
2026-09-05 17:14:49 +02:00
euzu 3a3b178807 ci: bump version v3.3.106 v3.3.106 2026-09-05 08:19:50 +00:00
euzuandGitHub 70daecb9a3 epg programme id (#858)
New Features

    Programme icons are now captured when importing XMLTV electronic programme guides.
    Programme icons are preserved when combining programme data from multiple sources.
    Exported XMLTV guides now include programme icon information when available.
    Icon URLs are rewritten consistently when URL rewriting is enabled.

Bug Fixes

    Public resource requests now avoid following redirects and validate destinations before fetching.
    Resource caching behavior is now correctly applied according to the request type.

Compatibility

    Existing guides and legacy programme data remain supported when no icon is provided.
2026-09-05 10:18:32 +02:00
euzu 1970796de9 ci: bump version v3.3.105 v3.3.105 2026-09-04 13:47:53 +00:00
euzuandGitHub bdb845c09e fix HLS cache race and session reservations (#857)
Bug Fixes

    Live playback sessions now receive unique session identifiers, preventing parallel playbacks from being conflated.
    Improved media segment caching under high write activity to prevent competing operations from interfering with capacity recovery.
    Provider reservations now remain independent for different channel variants, preventing one playback from reusing or taking over another’s reservation.
2026-09-04 15:46:28 +02:00
euzu 5b27080f82 ci: bump version v3.3.104 v3.3.104 2026-09-04 08:51:01 +00:00
euzuandGitHub c592411409 Fix/provider priority (#856)
Bug Fixes

    Improved provider capacity management and reservation handling for shared connections.
    Added support for excluding providers during connection allocation.
    Improved grace-period expiration and concurrent access handling.
    Preserved reserved capacity during fallback and preemptive allocations.

Chores

    Improved unused-dependency checks and command configuration.
    Removed unused dependencies across multiple components.
    Added exceptions for dependencies used indirectly through macros or renamed packages.

Tests

    Added coverage for provider reservations, fallback allocation, grace-period expiry, and concurrent grace access.
2026-09-04 10:49:45 +02:00
euzu d673b47c88 ci: bump version v3.3.103 v3.3.103 2026-09-03 16:02:58 +00:00
euzuandGitHub d116b7d51e Feature/bouquet editor (#854)
New Features

    Added target-specific bouquet filtering with whitelist and blacklist modes for Live, VOD, and Series groups.
    Added an in-context bouquet editor with search, selection controls, status indicators, reset, and streaming previews.
    Targets are managed by name, with saved selections available through the Source Editor.
    Improved stream alias resolution and provider failover behavior.

Bug Fixes

    Existing playlists are preserved when refreshes produce no usable items.
    Empty playlists are no longer published.
    Configuration changes now recover more safely from persistence failures.

Documentation

    Updated feature and configuration documentation and added translations.
2026-09-03 17:59:54 +02:00
euzu bbacdc7f75 ci: bump version v3.3.102 v3.3.102 2026-09-01 13:37:13 +00:00
euzuandGitHub 331a869859 Fix M3U alias credential rewriting on provider fallback (#852)
* Fix M3U alias credential rewriting on provider fallback

  Rewrite opaque authentication query parameters when stream allocation
  switches from the primary M3U provider to an alias.

  Support unambiguous cross-key mappings such as token to api_key while
  preserving unrelated query parameters and rejecting ambiguous mappings.

  Add regression coverage for URL rewriting and provider allocation.
2026-09-01 15:35:57 +02:00
euzu a3c97c7754 ci: bump version v3.3.101 v3.3.101 2026-09-01 07:33:51 +00:00
euzuandGitHub 696060bca6 Fix M3U alias credential rewriting on provider fallback (#851)
* Fix M3U alias credential rewriting on provider fallback

  Rewrite opaque authentication query parameters when stream allocation
  switches from the primary M3U provider to an alias.

  Support unambiguous cross-key mappings such as token to api_key while
  preserving unrelated query parameters and rejecting ambiguous mappings.

  Add regression coverage for URL rewriting and provider allocation.
2026-09-01 09:32:58 +02:00
euzu 8d1ea0737b ci: bump version v3.3.100 v3.3.100 2026-08-31 17:34:31 +00:00
euzuandGitHub 3aaa5744eb Fix/webui (#850)
New Features

    Added translated labels for notification events in English, Arabic, and Russian.
    Added plan summaries, inheritance and override indicators, filter notices, and unlimited-value labels to proxy user forms.
    Radio button groups can now wrap responsively on smaller screens.

Bug Fixes

    Creating a new user list no longer retains the previously selected user.
    Improved plan defaults, trial status handling, and form stability when switching plans or refreshing server lists.

UI Improvements

    Improved responsive sizing and overflow behavior across tables, panels, lists, and user-management views.
2026-08-31 19:33:23 +02:00
euzu 1a7d46ac7d ci: bump version v3.3.99 v3.3.99 2026-08-31 14:12:59 +00:00
euzuandGitHub 94962399c6 Epg Sorting (#849)
Improvements

    Electronic Program Guide (EPG) channels now follow playlist ordering in the web interface and generated XMLTV files.
    Channels not included in the playlist appear after referenced channels for more consistent results.
    EPG ordering remains consistent across supported playlist formats.
    Build and frontend output are more consistent across different development environments.
2026-08-31 16:11:40 +02:00
euzu df649bc1f1 ci: bump version v3.3.98 v3.3.98 2026-08-30 23:21:27 +00:00
euzuandGitHub 99e5044599 Feature/refactor (#848)
* **New Features**
  * Added HLS live and catch-up playback for archived streams, manifests, segments, and provider failover.
  * Improved playlist processing with filtering, renaming, mapping, EPG handling, favourites, watch groups, staged overlays, and disk-based processing.
* **Documentation**
  * Added guidance for environment variables, credentials, password hashes, and authentication secrets.
* **Changes**
  * Removed target editing from the target menu; refresh and delete remain available.
* **Bug Fixes**
  * Improved recovery when cached playlist data is unreadable and strengthened archive stream URL handling.
2026-08-31 01:20:31 +02:00
euzu 769e3cbad1 ci: bump version v3.3.97 v3.3.97 2026-08-30 19:09:23 +00:00
euzuandGitHub 5ecfd68148 Staged filter and safe yaml update (#846)
New Features

    Added separate processing and persistence filters, with empty/non-empty checks and expanded filter fields.
    Added persistence-stage filter controls in target settings.
    Added clear_invalid_epg_ids, preserving playlist entries while clearing unresolved EPG IDs; the legacy setting remains supported.
    Added safer, atomic source configuration updates that preserve comments and formatting.

Bug Fixes

    Null-like Xtream and Stalker values are now handled correctly.
    Duplicate credential warnings provide clearer details.
2026-08-30 21:08:30 +02:00
euzu e7b5fb2748 ci: bump version v3.3.96 v3.3.96 2026-08-29 21:00:52 +00:00
euzuandGitHub 6e76a3cd34 Fixed template loss after xtream expiry date update (#843)
Bug Fixes

    Preserved comments and formatting in sources.yml when saving panel and account-expiration updates.
    Kept inline templates intact while applying configuration updates and sanitization.
    Improved persistence reliability for updated source configurations.
2026-08-29 22:59:44 +02:00
euzu cfacd9b349 ci: bump version v3.3.95 v3.3.95 2026-08-29 19:42:50 +00:00
euzuandGitHub a683927ece new attribute for target, required_epg to remove all live channels without epg, if at least one epg source is defined. (#841)
New Features

    Added a target option to require valid EPG programme data for live entries.
    Entries without matching EPG data are filtered out when enabled; non-live entries remain unaffected.
    Added support for configuring this option in the target editor, with localized labels and explanations.

Documentation

    Documented the new setting, including its default behavior and handling when no EPG source is available.
2026-08-29 21:41:38 +02:00
euzu ed89117633 ci: bump version v3.3.94 v3.3.94 2026-08-29 17:24:23 +00:00