Commit Graph

30 Commits

Author SHA1 Message Date
JSC
d0bda6c930 feat: Add sorting by name for soundboard sounds and improve socket emission logging 2025-07-18 21:10:08 +02:00
JSC
010f18bff4 feat: Add referential routes for listing available plans and remove plans endpoint from admin routes 2025-07-16 15:44:57 +02:00
JSC
e874d0665f feat: Add user management endpoints for listing, updating, activating, and deactivating users 2025-07-16 15:24:20 +02:00
JSC
ae238d3d18 feat: Emit sound play count change event to connected clients after playing a sound 2025-07-16 13:54:50 +02:00
JSC
688b95b6af refactor: Remove unused playlist routes and related logic; clean up sound and stream models 2025-07-12 22:00:04 +02:00
JSC
627b95c961 feat: Add 'single' play mode to music player and update related logic 2025-07-12 20:49:20 +02:00
JSC
842e1dff13 feat: Implement playlist management routes and integrate with music player service 2025-07-12 15:17:45 +02:00
JSC
193bd5ebf4 feat: Add sounds routes for serving audio and thumbnail files 2025-07-08 12:57:17 +02:00
JSC
96ab2bdf77 feat: Remove load_main_playlist endpoint and implement automatic loading on startup 2025-07-07 21:34:29 +02:00
JSC
e7d958eb39 feat: Implement Music Player Service with VLC integration
- Added MusicPlayerService for managing VLC music playback with playlist support.
- Implemented methods for loading playlists, controlling playback (play, pause, stop, next, previous), and managing volume and play modes.
- Integrated real-time synchronization with VLC state using a background thread.
- Added SocketIO event emissions for player state updates.
- Enhanced logging for better debugging and tracking of player state changes.

fix: Improve SocketIO service logging and event handling

- Added detailed logging for SocketIO events and user authentication.
- Implemented a test event handler to verify SocketIO functionality.
- Enhanced error handling and logging for better traceability.

chore: Update dependencies and logging configuration

- Added python-vlc dependency for VLC integration.
- Configured logging to show INFO and DEBUG messages for better visibility during development.
- Updated main application entry point to allow unsafe Werkzeug for debugging purposes.
2025-07-07 20:51:53 +02:00
JSC
d7c6efcd0e refactor(admin): streamline sound scanning route to use scheduler service and require admin role 2025-07-06 17:31:04 +02:00
JSC
4f18f3e64e feat(stream): implement stream processing service with routes for managing streaming URLs; add support for concurrent processing and metadata extraction 2025-07-06 16:57:33 +02:00
JSC
f68d046653 fix(admin_sounds): import jsonify to enable JSON responses in admin sound management routes 2025-07-05 17:49:05 +02:00
JSC
e2fe451e5a Refactor OAuth provider linking and unlinking logic into a dedicated service; enhance error handling and logging throughout the application; improve sound management and scanning services with better file handling and unique naming; implement centralized error and logging services for consistent API responses and application-wide logging configuration. 2025-07-05 13:07:06 +02:00
JSC
41fc197f4c refactor(soundboard): remove unused client information from play_sound method 2025-07-05 12:43:22 +02:00
JSC
4375718c2f refactor(decorators): simplify require_admin decorator by reusing require_role 2025-07-04 19:13:33 +02:00
JSC
c3b8205f83 feat(sound_played): add sound play tracking and user statistics endpoints; enhance VLC service to record play events 2025-07-03 21:50:17 +02:00
JSC
97b998fd9e feat(vlc_service): refactor VLC service to use subprocess for sound playback and management; update process tracking 2025-07-03 21:36:42 +02:00
JSC
7455811860 feat: Add VLC service for sound playback and management
- Implemented VLCService to handle sound playback using VLC.
- Added routes for soundboard management including play, stop, and status.
- Introduced admin routes for sound normalization and scanning.
- Updated user model and services to accommodate new functionalities.
- Enhanced error handling and logging throughout the application.
- Updated dependencies to include python-vlc for sound playback capabilities.
2025-07-03 21:25:50 +02:00
JSC
8f17dd730a feat(admin_routes): add admin routes for scheduler and sound management; refactor main routes 2025-07-03 20:24:13 +02:00
JSC
7128ca727b Add new sound files and update dependencies
- Added various sound files to the soundboard, including insults, quotes, and sound effects.
- Introduced new dependencies: ffmpeg-python (version 0.2.0) and pydub (version 0.25.1) for audio processing.
- Updated the lock file to reflect the new packages and their respective versions.
- Added .gitignore files in the sounds/stream and sounds/temp directories to exclude unnecessary files.
2025-07-02 17:09:43 +02:00
JSC
1b597f4047 feat(scheduler): implement scheduler service for background tasks and credit refills; add endpoints for admin control 2025-07-02 13:39:17 +02:00
JSC
703212656f refactor: clean up code by adding missing commas and improving import order 2025-07-02 10:46:53 +02:00
JSC
171dbb9b63 Refactor code for improved readability and consistency
- Cleaned up whitespace and formatting across multiple files for better readability.
2025-07-02 10:37:48 +02:00
JSC
a7210a8d50 feat(auth): add profile update and password change endpoints; enhance provider list handling 2025-06-29 22:00:59 +02:00
JSC
91648a858e feat(auth): implement user plans and credits system with related endpoints 2025-06-29 16:40:54 +02:00
JSC
52c60db811 refactor(auth): improve code structure and add user registration endpoint
refactor(main): update index route response and remove greeting service

refactor(decorators): streamline authentication decorators and remove unused ones

test(routes): update tests to reflect changes in main routes and error messages
2025-06-28 20:47:45 +02:00
JSC
85f420d2f7 fix auth 2025-06-28 19:19:54 +02:00
JSC
ceafed9108 auth email/password 2025-06-28 18:30:30 +02:00
JSC
8e2dbd8723 auth google + jwt 2025-06-27 13:14:29 +02:00