feat: Add admin mode functionality with login and status checks

- Implemented admin mode configuration in docker-compose.yml
- Added AdminContext and AdminModal components for managing admin state
- Integrated admin login functionality in AuthController
- Updated App component to handle admin status and modal display
- Enhanced ChannelList, ChannelModal, and TvPlaylistModal to support admin features
- Added sensitive information handling in ChannelModal and TvPlaylistModal
- Modified SocketService methods to include admin checks for channel and playlist operations
This commit is contained in:
Aron Wiederkehr
2025-04-28 11:16:35 +02:00
parent b3e3870c89
commit 8d0032ad59
13 changed files with 672 additions and 242 deletions

View File

@@ -30,6 +30,9 @@ services:
STORAGE_PATH: /streams/
# If you have problems with the playlist, set the backend url manually here
#BACKEND_URL: http://localhost:5000
# Admin mode configuration
ADMIN_ENABLED: "true"
ADMIN_PASSWORD: "your_secure_password"
networks:
- app-network