Commit Graph
1808 Commits
Author SHA1 Message Date
euzu d39855c583 When shared stream enabled, provider connections exhausted custom stream was not displayed 2025-12-03 11:47:36 +01:00
euzu 6b9032da2a source editor forms 2025-12-02 10:26:02 +01:00
euzu e11c3b74c8 Merge branch 'feature/source-editor-forms' into feature/source_editor 2025-12-01 18:27:30 +01:00
euzu 427a732820 Merge branch 'feature/source-editor-forms' into feature/source_editor 2025-12-01 18:27:24 +01:00
euzu fa75d437fe Implemented missing forms 2025-12-01 18:20:24 +01:00
moeandClaude cd523c6ad2 Refactor forms to use separate item forms with Cancel/Submit pattern
Create separate item form components:
- Created epg_source_item_form.rs for EPG sources
- Created alias_item_form.rs for input aliases
- Created trakt_list_item_form.rs for Trakt lists

Refactor parent forms:
- input_form.rs now uses EpgSourceItemForm and AliasItemForm
- output_xtream_form.rs now uses TraktListItemForm
- Add-buttons toggle form visibility instead of inline inputs
- Each item form has Cancel/Submit buttons
- Removed inline form reducers, moved to item forms

UI improvements:
- Consistent form pattern across all list items
- Better UX with explicit Cancel/Submit workflow
- Cleaner code without dyn_into DOM manipulation

i18n updates:
- Added EPG_SOURCE_URL, EPG_SOURCES, ADD_EPG_SOURCE labels
- Added ALIAS_NAME, ADD_ALIAS labels
- Added all Trakt labels (TRAKT_USER, TRAKT_LIST_SLUG, etc.)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 15:36:38 +01:00
moeandClaude af87249c01 Refactor Trakt form to use form reducers instead of dyn_into
- Added TraktListConfigFormState reducer for add form
- Replaced raw HTML inputs with edit_field_* macros
- Removed dyn_into DOM element casting
- Use Select component for content type dropdown
- More consistent with existing form patterns

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 14:48:48 +01:00
moe 3680081d0f Fix compilation errors in form implementations
input_form.rs:
- Remove HashMap from generate_form_reducer macro (not supported)
- Add separate use_state for headers management
- Load headers from input in use_effect_with
- Update KeyValueEditor to use headers_state instead of form state
- Set headers in handle_apply_input callback

trakt.rs:
- Add Display trait for TraktContentType enum
- Add FromStr trait for TraktContentType enum
- Enables dropdown functionality for content type selection

These fixes resolve compilation errors related to:
- Unsupported HashMap type in form reducer macro
- Missing trait implementations for enum conversions
2025-12-01 14:16:04 +01:00
moe c516293130 Update project context documentation
- Document completed form implementations
- Add statistics for all code changes
- List all implemented DTO fields
- Document translation keys needed
- Add quick reference commands
- Update current branch and status
2025-12-01 09:46:33 +01:00
root 02d3335c0e Complete input and output forms with all DTO fields
ConfigInputDto enhancements:
- Add headers field (HashMap) with KeyValueEditor component
- Add epg field with sources list (EpgSourceDto)
- Add aliases field (Vec<ConfigInputAliasDto>) with full editing
- Add exp_date field with date picker support
- Add new Advanced tab for EPG, headers and aliases
- Implement form reducers for EpgSourceDto and ConfigInputAliasDto

XtreamTargetOutputDto enhancements:
- Add complete trakt field (TraktConfigDto) implementation
- Add TraktApiConfig section (key, version, url)
- Add TraktListConfig section with list editing
- Implement content_type dropdown (Vod/Series/Both)
- Add fuzzy_match_threshold field (0-100)
- Implement form reducers for TraktApiConfig and TraktListConfig

UI improvements:
- Use KeyValueEditor for key-value pairs
- Add list management for arrays (add/remove buttons)
- Maintain consistent form patterns across components
- Add proper state management for nested structures
2025-12-01 09:09:01 +01:00
euzu 651ae13ad8 Merge branch 'feature/source-editor-forms' into feature/source_editor 2025-12-01 08:03:10 +01:00
root 94e5f1e4c9 Add output form components for source editor
- Implement M3u output form with filename, type inclusion and filter fields
- Implement STRM output form with directory, export style and advanced options
- Implement HDHomeRun output form with device and output type selection
- Add FromStr trait implementations for StrmExportStyle and TargetType enums
- Update output_form.rs to route to new form components
- Update module declarations in mod.rs

This completes the form implementation for all output block types,
allowing users to edit M3u, STRM and HDHomeRun configurations
directly in the source editor UI.
2025-11-30 16:47:29 +01:00
euzuandGitHub 035ee79ab0 Merge pull request #461 from euzu/feature/race_conditions_on_user_access
Fixed race conditions on user access
2025-11-30 13:52:15 +01:00
euzu 4ffda5e068 Fixed additional feature for file_lock memory leak through weak references 2025-11-30 13:51:54 +01:00
euzu e11a22b79a Fixed additional feature for file_lock memory leak through weak references 2025-11-30 13:44:27 +01:00
euzu b352ea44e2 Fixed additional feature for file_lock memory leak through weak references 2025-11-30 13:28:21 +01:00
euzu 0fae9f3edd Atomic ordering changed, Fixed race conditions on user access 2025-11-30 13:12:59 +01:00
euzu ee05a9e02e Atomic ordering changedFixed race conditions on user access 2025-11-30 12:53:47 +01:00
euzu f3c8383a44 Fixed race conditions on user access 2025-11-30 11:52:58 +01:00
euzuandGitHub de6c5f1ae5 Merge pull request #459 from euzu/feature/cpu_usage_and_disable_cf_headers
Feature/cpu usage and disable cf headers
2025-11-29 19:39:11 +01:00
euzu ffdbc19831 - CPU usage
- disable cloudflare header
2025-11-29 19:34:05 +01:00
euzu 0782e02cd5 - CPU usage
- disable cloudflare header
2025-11-29 19:29:37 +01:00
euzu 62694f3a3c - CPU usage
- disable cloudflare header
2025-11-29 19:20:27 +01:00
euzu bdb838e2b0 - CPU usage
- disable cloudfare header
2025-11-29 19:01:42 +01:00
euzu 7d1d080183 exp_date added to input table 2025-11-26 16:52:19 +01:00
euzuandGitHub d2fb4b4fd1 Merge pull request #455 from euzu/feature/refactor_provider_connection_handling
- Short EPG is now served from local disk, if available
- WebUI Api-User Category selection implemented
- Stream Table Copy-To-Clipboard functions added
- Refactored provider connection handling to avoid possible race conditions
- Added `exp_date` field to inputs, aliases, and CSV batch files; accepts date in "YYYY-MM-DD HH:MM:SS" format or Unix timestamp (seconds since epoch).
2025-11-26 14:35:24 +01:00
euzu cc45892d3f Refactored connection handling to avoid race conditions 2025-11-26 14:29:19 +01:00
euzu 21006dbf0f Refactored connection handling to avoid race conditions 2025-11-26 14:13:31 +01:00
euzu 6c021fbe2b Refactored connection handling to avoid race conditions 2025-11-26 13:44:11 +01:00
euzu a873848a39 added exp_date for input, alias and csv batch file 2025-11-26 13:19:10 +01:00
euzu 1fa967d8a2 Refactored connection handling to avoid race conditions 2025-11-26 09:56:09 +01:00
euzu b6fb3e7d58 Short epg served from local epg file if exists. 2025-11-25 20:33:02 +01:00
euzu 46696bd95d User category selection 2025-11-25 17:23:06 +01:00
euzu a8b2755379 User category selection 2025-11-25 16:30:04 +01:00
euzu 016d7589f3 initial impl api user bouquet editor 2025-11-24 15:12:57 +01:00
euzu 0119abe8bb Added copy to clipboard menu for stream table 2025-11-24 14:29:05 +01:00
euzuandGitHub 92bcb63628 Merge pull request #452 from euzu/feature/check_batch_provider_user_state
Xtream Codes Batch provider accounts are now checked for expiration.
2025-11-22 11:12:37 +01:00
euzu 178f5d5cbf Xtream Codes Batch provider accounts are now checked for expiration. 2025-11-22 11:12:30 +01:00
euzu 72fef10b86 Xtream Codes Batch provider accounts are now checked for expiration. 2025-11-22 11:07:50 +01:00
euzu 4e6c5209d8 Xtream Codes Batch provider accounts are now checked for expiration. 2025-11-22 10:55:46 +01:00
euzuandGitHub a48139f0e0 Merge pull request #451 from euzu/feature/resource_rewrite_secret
Resource rewrite secret key to ensure rewritten url validity
2025-11-21 17:22:24 +01:00
euzu 8e1433ada1 Resource rewrite secret key to ensure rewritten url validity
Fixed epg rewrite
2025-11-21 17:22:11 +01:00
euzu 48d0dadd31 Resource rewrite secret key to ensure rewritten url validity
Fixed epg rewrite
2025-11-21 17:18:51 +01:00
euzu ddcd56b1ea Resource rewrite secret key to ensure rewritten url validity
Fixed epg rewrite
2025-11-21 17:09:14 +01:00
euzuandGitHub 799c745d60 Merge pull request #450 from euzu/feature/epg_resource_proxied
Epg resource rewrite
2025-11-21 13:00:36 +01:00
euzu f60e30644c Epg resource rewrite 2025-11-21 12:57:36 +01:00
euzu b691105510 Epg resource rewrite 2025-11-21 12:42:44 +01:00
euzu dd4f3beb56 Epg resource rewrite 2025-11-21 12:28:56 +01:00
euzuandGitHub 21807dd95b Merge pull request #448 from euzu/feature/sync_bridge_fix
SyncIOBridge caused tokio panic
2025-11-21 01:58:06 +01:00
euzu e25aa980ee SyncIOBridge caused tokio panic 2025-11-21 01:57:38 +01:00