Dispatcharr/core
SergeantPanda 2b62928b42 feat(settings): implement Redis caching for CoreSettings and enhance network access handling
This update introduces Redis caching for grouped settings in the CoreSettings model, improving performance by reducing database queries. A new method, `get_network_access_settings`, is added to streamline access to network settings. Additionally, the `setting_flag_enabled` function is introduced to handle boolean settings more robustly. The cache is invalidated on save and delete operations, ensuring data consistency. Tests have been added to validate the caching behavior and the new settings functionality.
2026-07-18 17:33:02 +00:00
..
fixtures feat: add system notifications and update checks 2026-02-03 09:24:02 -06:00
management/commands Enhancement: Update psycopg2 to 3. 2026-05-28 19:27:52 -05:00
migrations Enhancement: Implement live proxy failover for VLC stream profile, ensuring proper handling of upstream URL failures. Update changelog to reflect changes in stream management and VLC profile parameters. 2026-07-06 16:45:56 -05:00
tests feat(settings): implement Redis caching for CoreSettings and enhance network access handling 2026-07-18 17:33:02 +00:00
__init__.py Alpha v3 2025-02-21 15:31:59 -06:00
admin.py modified database fields for consistency, removed custom_url from streams (no longer needed) 2025-03-16 09:07:10 -04:00
api_urls.py Enhancement: Initial fmp4 support and major ts_proxy refactor 2026-05-08 17:46:47 -05:00
api_views.py refactor(proxy): Add new client connect grace period setting and update channel initialization grace period defaults. The channel_client_wait_period is introduced to manage channel lifetimes before client connections, while the channel_init_grace_period default is increased to improve failover handling. 2026-06-28 11:34:44 -05:00
apps.py fix(db): pin session timezone to UTC via libpq startup packet 2026-07-15 10:20:38 +12:00
command_utils.py Bypass redis for management commands. 2025-03-22 12:23:54 -05:00
developer_notifications.py feat(settings): implement Redis caching for CoreSettings and enhance network access handling 2026-07-18 17:33:02 +00:00
models.py feat(settings): implement Redis caching for CoreSettings and enhance network access handling 2026-07-18 17:33:02 +00:00
redis_pubsub.py initial run of a binary and encoded redis client - no more encoding / decoding data into redis, huge PITA (still some outstanding spots I need to patch) 2025-10-25 08:15:39 -04:00
scheduling.py feat(scheduling): add cron builder and refactor scheduling components (Closes #165) 2026-02-12 18:08:13 -06:00
serializers.py refactor(proxy): Add new client connect grace period setting and update channel initialization grace period defaults. The channel_client_wait_period is introduced to manage channel lifetimes before client connections, while the channel_init_grace_period default is increased to improve failover handling. 2026-06-28 11:34:44 -05:00
signals.py feat(settings): implement Redis caching for CoreSettings and enhance network access handling 2026-07-18 17:33:02 +00:00
tasks.py feat(timeshift): add catch-up playback, stats, and admin APIs 2026-07-11 17:14:31 +00:00
urls.py Pre-Alpha v4 2025-02-24 15:04:03 -06:00
utils.py feat(settings): implement Redis caching for CoreSettings and enhance network access handling 2026-07-18 17:33:02 +00:00
views.py fix: replace fork()-based subprocess with posix_spawn at all uWSGI spawn sites 2026-05-15 16:45:09 -05:00
xtream_codes.py fix(xc): normalize server URLs for live playback and stream URLs (Fixes #1363) 2026-06-18 10:12:12 -05:00