153 Commits

Author SHA1 Message Date
JSC
e4c72f3b19 chore: Remove unused .env.template and SCHEDULER_EXAMPLE.md files
Some checks failed
Backend CI / lint (push) Failing after 10s
Backend CI / test (push) Failing after 1m39s
2025-10-05 16:33:29 +02:00
JSC
17eafa4872 feat: Enhance play_next functionality by storing and restoring playlist index
Some checks failed
Backend CI / test (push) Failing after 2m17s
Backend CI / lint (push) Failing after 14m55s
2025-10-05 04:07:34 +02:00
JSC
c9f6bff723 refactor: Improve code readability by formatting function signatures and descriptions
Some checks failed
Backend CI / lint (push) Failing after 9s
Backend CI / test (push) Failing after 1m29s
2025-10-04 22:27:12 +02:00
JSC
12243b1424 feat: Clear and manage play_next queue on playlist changes
Some checks failed
Backend CI / lint (push) Failing after 9s
Backend CI / test (push) Failing after 1m36s
2025-10-04 19:39:44 +02:00
JSC
f7197a89a7 feat: Add play next functionality to player service and API 2025-10-04 19:16:37 +02:00
JSC
b66b8e36bb feat: Enhance user metrics retrieval by integrating Extraction model and updating related queries
Some checks failed
Backend CI / lint (push) Failing after 17s
Backend CI / test (push) Failing after 2m32s
2025-10-04 13:45:36 +02:00
JSC
95e166eefb feat: Add endpoint and service method to retrieve top users by various metrics
Some checks failed
Backend CI / lint (push) Failing after 9s
Backend CI / test (push) Failing after 1m36s
2025-09-27 21:52:00 +02:00
JSC
d9697c2dd7 feat: Add TTS statistics endpoint and service method for comprehensive TTS data 2025-09-27 21:37:59 +02:00
JSC
7b59a8216a fix: Correct import formatting for CreditService in VLCPlayerService
Some checks failed
Backend CI / lint (push) Failing after 9s
Backend CI / test (push) Failing after 1m28s
2025-09-27 03:34:19 +02:00
JSC
4b8496d025 feat: Implement host system volume control and update player service to use it
Some checks failed
Backend CI / lint (push) Failing after 10s
Backend CI / test (push) Has been cancelled
2025-09-27 03:33:11 +02:00
JSC
0806d541f2 Upgrade packages
Some checks failed
Backend CI / lint (push) Failing after 11s
Backend CI / test (push) Failing after 1m59s
2025-09-27 02:32:59 +02:00
JSC
acdf191a5a refactor: Improve code readability and structure across TTS modules
Some checks failed
Backend CI / lint (push) Failing after 10s
Backend CI / test (push) Failing after 1m36s
2025-09-21 19:07:32 +02:00
JSC
35b857fd0d feat: Add GitHub as an available OAuth provider and remove database initialization logs 2025-09-21 18:58:20 +02:00
JSC
c13e18c290 feat: Implement playlist sound deletion and update current playlist logic on deletion
Some checks failed
Backend CI / lint (push) Failing after 9s
Backend CI / test (push) Failing after 1m34s
2025-09-21 18:32:48 +02:00
JSC
702d7ee577 Merge branch 'tts'
Some checks failed
Backend CI / lint (push) Failing after 10s
Backend CI / test (push) Failing after 1m35s
2025-09-21 18:19:26 +02:00
JSC
d3b6e90262 style: Format code for consistency and readability across TTS modules 2025-09-21 18:05:20 +02:00
JSC
50eeae4c62 refactor: Clean up TTSService methods for improved readability and consistency 2025-09-21 15:38:35 +02:00
JSC
e005dedcd3 refactor: Update supported languages list in GTTSProvider and remove TLD option from schema 2025-09-21 15:20:23 +02:00
JSC
72ddd98b25 feat: Add status and error fields to TTS model and implement background processing for TTS generations 2025-09-21 14:39:41 +02:00
JSC
b2e513a915 feat: Add endpoint to retrieve TTS history for the current user and improve request model formatting 2025-09-21 13:55:24 +02:00
JSC
c8b796aa94 refactor: Simplify TTS API endpoints by removing specific paths for generate and history 2025-09-21 13:38:12 +02:00
JSC
d5f9a3c736 feat: Run database migrations in a thread pool to avoid blocking during initialization 2025-09-21 13:21:23 +02:00
JSC
2b61d35d6a chore: Update dependencies for fastapi, faker, sqlmodel, and uvicorn; add gtts and charset-normalizer packages 2025-09-20 23:10:59 +02:00
JSC
5e8d619736 feat: Implement Text-to-Speech (TTS) functionality with API endpoints, models, and service integration 2025-09-20 23:10:47 +02:00
JSC
fb0e5e919c fix: Remove GitHub from available OAuth providers list
Some checks failed
Backend CI / lint (push) Failing after 11s
Backend CI / test (push) Failing after 1m34s
2025-09-20 21:11:50 +02:00
JSC
bccfcafe0e feat: Update CORS origins to allow Chrome extensions and improve logging in migration tool
Some checks failed
Backend CI / lint (push) Failing after 10s
Backend CI / test (push) Failing after 1m37s
2025-09-19 16:41:11 +02:00
JSC
1bef694f38 feat: Enhance play_sound method to accept volume parameter and retrieve current volume
Some checks failed
Backend CI / lint (push) Failing after 10s
Backend CI / test (push) Failing after 1m33s
2025-09-18 13:57:54 +02:00
JSC
b87a47f199 fix: Update PostgreSQL database URL for Alembic to use psycopg driver
Some checks failed
Backend CI / lint (push) Failing after 12s
Backend CI / test (push) Failing after 1m33s
2025-09-18 13:14:01 +02:00
JSC
83239cb4fa Add Alembic for database migrations and initial migration scripts
- Created alembic.ini configuration file for Alembic migrations.
- Added README file for Alembic with a brief description.
- Implemented env.py for Alembic to manage database migrations.
- Created script.py.mako template for migration scripts.
- Added initial migration script to create database tables.
- Created a migration script to add initial plan and playlist data.
- Updated database initialization to run Alembic migrations.
- Enhanced credit service to automatically recharge user credits based on their plan.
- Implemented delete_task method in scheduler service to remove scheduled tasks.
- Updated scheduler API to reflect task deletion instead of cancellation.
- Added CLI tool for managing database migrations.
- Updated tests to cover new functionality for task deletion and credit recharge.
- Updated pyproject.toml and lock files to include Alembic as a dependency.
2025-09-16 13:45:14 +02:00
JSC
e8f979c137 feat: Add MINUTELY recurrence type and enhance scheduler handling 2025-09-13 23:44:20 +02:00
JSC
92571f4de9 Refactor code structure for improved readability and maintainability
Some checks failed
Backend CI / lint (push) Failing after 1m29s
Backend CI / test (push) Failing after 1m36s
2025-09-13 22:38:55 +02:00
JSC
1388ede1dc Merge branch 'tasks3'
Some checks failed
Backend CI / lint (push) Successful in 9m32s
Backend CI / test (push) Failing after 4m47s
2025-08-29 23:12:45 +02:00
JSC
75569a60b5 fix: Improve logging for invalid player mode by using logger.exception 2025-08-29 15:44:11 +02:00
JSC
2bdd109492 Refactor code structure for improved readability and maintainability 2025-08-29 15:27:12 +02:00
JSC
dc89e45675 Refactor scheduled task repository and schemas for improved type hints and consistency
- Updated type hints from List/Optional to list/None for better readability and consistency across the codebase.
- Refactored import statements for better organization and clarity.
- Enhanced the ScheduledTaskBase schema to use modern type hints.
- Cleaned up unnecessary comments and whitespace in various files.
- Improved error handling and logging in task execution handlers.
- Updated test cases to reflect changes in type hints and ensure compatibility with the new structure.
2025-08-28 23:38:47 +02:00
JSC
96801dc4d6 feat: Refactor TaskHandlerRegistry to include db_session_factory and enhance sound playback handling for user tasks 2025-08-28 23:36:30 +02:00
JSC
6e74d9b940 feat: Add load_playlist method to PlayerService and update task handlers for playlist management 2025-08-28 22:50:57 +02:00
JSC
03abed6d39 Add comprehensive tests for scheduled task repository, scheduler service, and task handlers
- Implemented tests for ScheduledTaskRepository covering task creation, retrieval, filtering, and status updates.
- Developed tests for SchedulerService including task creation, cancellation, user task retrieval, and maintenance jobs.
- Created tests for TaskHandlerRegistry to validate task execution for various types, including credit recharge and sound playback.
- Ensured proper error handling and edge cases in task execution scenarios.
- Added fixtures and mocks to facilitate isolated testing of services and repositories.
2025-08-28 22:37:43 +02:00
JSC
7dee6e320e Add tests for extraction API endpoints and enhance existing tests
Some checks failed
Backend CI / lint (push) Successful in 9m25s
Backend CI / test (push) Failing after 4m48s
- Implement tests for admin extraction API endpoints including status retrieval, deletion of extractions, and permission checks.
- Add tests for user extraction deletion, ensuring proper handling of permissions and non-existent extractions.
- Enhance sound endpoint tests to include duplicate handling in responses.
- Refactor favorite service tests to utilize mock dependencies for better maintainability and clarity.
- Update sound scanner tests to improve file handling and ensure proper deletion of associated files.
2025-08-25 21:40:31 +02:00
JSC
d3ce17f10d feat: Enhance SoundScannerService with duplicate detection and normalized file handling
Some checks failed
Backend CI / lint (push) Failing after 4m52s
Backend CI / test (push) Failing after 4m39s
2025-08-25 12:33:10 +02:00
JSC
da66516bb3 feat: Implement hash-first identification strategy in audio file syncing and enhance tests for renamed files
Some checks failed
Backend CI / lint (push) Failing after 4m55s
Backend CI / test (push) Failing after 4m32s
2025-08-25 11:56:07 +02:00
JSC
d81a54207c feat: Add endpoint to retrieve currently processing extractions and corresponding tests
Some checks failed
Backend CI / lint (push) Failing after 4m54s
Backend CI / test (push) Failing after 4m39s
2025-08-24 13:44:01 +02:00
JSC
16eb789539 feat: Add method to get extractions by status and implement user info retrieval in extraction service
Some checks failed
Backend CI / lint (push) Failing after 4m53s
Backend CI / test (push) Failing after 4m31s
2025-08-24 13:24:48 +02:00
JSC
28faca55bc Refactor code structure for improved readability and maintainability
Some checks failed
Backend CI / lint (push) Failing after 5m1s
Backend CI / test (push) Failing after 4m30s
2025-08-22 21:18:04 +02:00
JSC
821093f64f Refactor code structure for improved readability and maintainability
Some checks failed
Backend CI / lint (push) Failing after 4m51s
Backend CI / test (push) Failing after 4m35s
2025-08-20 11:37:28 +02:00
JSC
9653062003 refactor: Move imports to avoid circular dependencies in socket and VLCPlayerService
Some checks failed
Backend CI / lint (push) Successful in 9m24s
Backend CI / test (push) Failing after 3m55s
2025-08-19 22:32:19 +02:00
JSC
b808cfaddf feat: Enhance WebSocket sound playback with credit validation and refactor related methods
Some checks failed
Backend CI / lint (push) Has been cancelled
Backend CI / test (push) Has been cancelled
2025-08-19 22:28:54 +02:00
JSC
a82acfae50 feat: Implement sound playback with credit validation in VLCPlayerService and update WebSocket handling
Some checks failed
Backend CI / lint (push) Failing after 5m0s
Backend CI / test (push) Failing after 2m0s
2025-08-19 22:16:48 +02:00
JSC
560ccd3f7e refactor: Improve code readability by formatting query parameters in user endpoints and enhancing error handling in sound playback 2025-08-19 22:09:50 +02:00
JSC
a660cc1861 Merge branch 'favorite'
Some checks failed
Backend CI / lint (push) Successful in 9m21s
Backend CI / test (push) Failing after 3m59s
2025-08-17 13:25:59 +02:00