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
SergeantPanda
84fbbfa3c4
refactor: Clean up get_client_ip() function in utils.py
CI Pipeline / prepare (push) Waiting to run
CI Pipeline / docker (amd64, ubuntu-24.04) (push) Blocked by required conditions
CI Pipeline / docker (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
CI Pipeline / create-manifest (push) Blocked by required conditions
Build and Push Multi-Arch Docker Image / build-and-push (push) Waiting to run
2026-05-09 09:48:53 -05:00
Seth Van Niekerk
a01814069a
code review & pivot
2026-05-01 09:10:37 -04:00
Seth Van Niekerk
8894d51877
restrict XC access per user by configurable IP allowlist
2026-04-28 16:35:32 -04:00
SergeantPanda
3c556494c1
Enhancement: Updated default network access settings for M3U and EPG endpoints to only allow local/private networks by default (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, ::1/128, fc00::/7, fe80::/10). This improves security by preventing public internet access to these endpoints unless explicitly configured. Other endpoints (Streams, XC API, UI) remain open by default.
2026-01-31 20:26:45 -06:00
SergeantPanda
36967c10ce
Refactor CoreSettings to use JSONField for value storage and update related logic for proper type handling. Adjusted serializers and forms to accommodate new data structure, ensuring seamless integration across the application.
2026-01-13 12:18:34 -06:00
Adrian Mace
6a9b5282cd
fix: allow all IPv6 CIDRs by default
...
This change ensures that by default, IPv6 clients can
connect to the service unless explicitly denied.
Fixes #593
2025-11-30 00:39:30 +11:00
SergeantPanda
1475ca70ab
Fixes being unable to add a new logo via URL.
2025-07-27 14:18:48 -05:00
SergeantPanda
8e2309ac58
Fixes logo uploads
2025-07-17 21:02:50 -05:00
dekzter
789d29c97a
proper cidr validation server-side
2025-06-08 08:29:25 -04:00
dekzter
3f445607e0
looooots of updates for user-management, initial commit of access control
2025-05-31 18:01:46 -04:00
Dispatcharr
8edb743ebd
Initial commit
2025-02-18 11:14:09 -06:00