Commit Graph

590 Commits

Author SHA1 Message Date
Sam Chau
bcf0a3ba55 feat: add yaml dependency and update import in OpenAPI server handler 2026-01-15 16:53:07 +10:30
Sam Chau
456ecc298b feat(api): add health check and OpenAPI docs
- Implemented health check endpoint to monitor application status and components.
- Added OpenAPI specification endpoint to serve the API documentation.
- Introduced new TypeScript definitions for API paths and components.
2026-01-15 16:50:28 +10:30
Sam Chau
55c5886125 feat: remove 'none' trigger from sync strategies, add dirty tracking / unsaved changes to sync page 2026-01-15 15:39:55 +10:30
Sam Chau
cabf1ff815 fix: handle empty response body in HTTP client 2026-01-15 15:20:02 +10:30
Sam Chau
f35a01f111 feat: sync transformers and quality profile handling
- Introduced new sync transformers for custom formats and quality profiles.
- Implemented the `transformQualityProfile` function to convert PCD quality profile data to ARR API format.
- Added functions to fetch quality profiles and custom formats from PCD cache.
- Enhanced `BaseArrClient` with methods for managing custom formats and quality profiles.
- Updated types to include custom format specifications and quality profile payloads.
- Modified sync page server logic to calculate next run time for scheduled syncs.
2026-01-15 15:14:54 +10:30
Sam Chau
27835c3426 feat: add next_run_at column to sync config tables and update job schedules to cron expressions 2026-01-15 15:14:21 +10:30
Sam Chau
f73d08c5b3 fix: update label for entity testing -> testing 2026-01-15 01:04:25 +10:30
Sam Chau
847cd8a1dc feat: add conceptual tweaks management page 2026-01-15 00:59:10 +10:30
Sam Chau
9203f79ad2 style: colored icons for entity type, reorder action bar buttons to actually make sense 2026-01-15 00:38:10 +10:30
Sam Chau
9517832129 feat: implement layer selection for entity and release crud 2026-01-15 00:20:05 +10:30
Sam Chau
c3a9d23b91 fix: add personal access token handling in database update action 2026-01-15 00:19:42 +10:30
Sam Chau
eb22e0385c feat: implement navigation icon style store and UI settings for emoji/icon toggle 2026-01-15 00:06:02 +10:30
Sam Chau
74b38df686 feat: add entity and release management components
- Created EntityTable component for displaying test entities with expandable rows for releases.
- Implemented ReleaseTable component to manage and display test releases with actions for editing and deleting.
- Added ReleaseModal component for creating and editing releases
- Introduced types for TestEntity, TestRelease, and related evaluations
- Enhanced general settings page to include TMDB API configuration with connection testing functionality.
- Added TMDBSettings component for managing TMDB API access token with reset and test connection features.
2026-01-14 23:50:20 +10:30
Sam Chau
aec6d79695 feat: updateLanguages, updateQualities functionality 2026-01-14 16:03:14 +10:30
Sam Chau
f4b531b61a feat: Refactor quality profile management and scoring
- Removed unsaved changes modal and related logic from qualities page.
- Enhanced scoring page with improved state management and save functionality.
- Introduced a new GeneralForm component for creating and editing quality profiles.
- Added server-side validation for duplicate quality profile names.
- Implemented delete confirmation modals for both quality profiles and regular expressions.
- Improved handling of custom format scores and enabled states in scoring table.
- Added new page for creating quality profiles with appropriate server-side logic.
- Updated regular expressions to check for duplicate names during creation and editing.
2026-01-05 01:40:23 +10:30
Sam Chau
aa071e50cf feat: remove databaseName prop from GeneralForm in edit and create modes 2026-01-04 04:00:47 +10:30
Sam Chau
8deef25c9e feat: add create and delete custom format functionality
- Implemented `create.ts` for creating custom formats with associated tags.
- Added `delete.ts` for deleting custom formats with cascading deletes for related entities.
- Updated `index.ts` to export new create and delete functions.
- Enhanced the server-side logic in `+page.server.ts` for handling new custom format creation.
- Created a new Svelte component `GeneralForm.svelte` for managing custom format details.
- Updated the UI in `+page.svelte` for creating new custom formats and handling form submissions.
- Integrated dirty state management for form inputs in `TestForm.svelte` and `GeneralForm.svelte`.
- Added delete functionality in the UI for custom formats with confirmation modals.
2026-01-03 04:07:08 +10:30
Sam Chau
08710ffcb4 feat: implement condition management with draft support and layer permissions
- Added server-side actions for updating conditions with layer permissions.
- Enhanced the conditions page to handle draft conditions and validation.
- Introduced a modal for selecting save targets based on user permissions.
- Refactored condition and draft condition components to emit changes immutably.
- Updated general page to manage form data more reactively and validate inputs.
2026-01-03 03:22:29 +10:30
Sam Chau
3462c8b84d feat(custom-formats): add updateGeneral functionality and integrate with the general page 2026-01-03 02:17:02 +10:30
Sam Chau
9ffc08b76e feat(description): replace FormInput with MarkdownInput for improved description handling 2026-01-03 02:07:12 +10:30
Sam Chau
2250dd8460 feat(description): replace FormInput with MarkdownInput for enhanced description formatting 2026-01-03 02:03:30 +10:30
Sam Chau
e44228d147 feat(logging): implement change tracking and logging for media settings and naming updates 2026-01-03 02:01:38 +10:30
Sam Chau
fc2211c146 feat(dirty-tracking): implement dirty tracking and unsaved changes modal for media settings and naming sections 2026-01-03 00:39:11 +10:30
Sam Chau
d8b650a145 feat(table): expose expandedRows as a prop for external control 2026-01-03 00:09:39 +10:30
Sam Chau
76b864a05f feat(table): add flushBottom prop for conditional styling in ExpandableTable
feat(media-settings): update class for better overflow handling in MediaSettingsSection
feat(naming): enhance overflow handling in NamingSection component
feat(quality-definitions): improve overflow handling in QualityDefinitionsSection
2026-01-03 00:07:58 +10:30
Sam Chau
e79a2babe9 feat(delay-profiles, regular-expressions): add created_at and updated_at fields to profiles and expressions 2026-01-02 23:43:24 +10:30
Sam Chau
897cfa6b06 feat(logging): add logging for regular expression updates and creation actions 2026-01-02 23:35:04 +10:30
Sam Chau
9948782cc2 feat(regular-expressions): integrate MarkdownInput for description field with markdown support 2026-01-02 23:27:49 +10:30
Sam Chau
1a9b2bb1c6 feat(delay-profiles): implement explicit ordering for delay profiles and add info modal for user guidance 2026-01-02 22:24:38 +10:30
Sam Chau
c7bd63aaff fix(media-settings): change label to paragraph for better semantics in Propers and Repacks section 2026-01-02 22:16:19 +10:30
Sam Chau
1ff6208ba7 refactor(logging): change log level from info to debug for upgrade logging 2026-01-02 22:16:11 +10:30
Sam Chau
bc55d0c7bb feat(migrations): add app_info table and change default log level to DEBUG
refactor(logging): update logging levels and improve log messages across jobs
feat(jobs): enhance job initialization and sync with database
2026-01-02 22:13:04 +10:30
Sam Chau
8c12de7f89 feat(cache): enhance cache build process with detailed stats and improve logging 2026-01-02 20:41:25 +10:30
Sam Chau
bca25af6dc refactor(scoring): remove debug logging from scoring query 2026-01-02 20:29:06 +10:30
Sam Chau
59b032aab0 feat(highlight): integrate Highlight.js for syntax highlighting in JSON and SQL views 2026-01-02 20:21:03 +10:30
Sam Chau
77237b54ac feat(logging): enhance logging for delay profile updates and write operations 2026-01-02 20:20:55 +10:30
Sam Chau
77a3375889 feat: refactor RegularExpressionForm and RegexPatternField to track changes 2026-01-01 17:09:14 +10:30
Sam Chau
ca1b276327 fix(build): correct output paths for Linux and preview tasks 2026-01-01 16:58:01 +10:30
Sam Chau
0cdec6d19a feat(dirty): implement form dirty state tracking and navigation confirmation 2025-12-31 17:15:01 +10:30
Sam Chau
95795d5f0e feat: add conditions management for custom formats
- Introduced a new `listConditions` query to fetch conditions for custom formats.
- Created a new `ConditionListItem` type for better type safety.
- Added a new route for managing conditions under custom formats.
- Implemented UI components for displaying and managing conditions, including `ConditionCard` and `DraftConditionCard`.
- Enhanced the layout to include a new tab for conditions.
- Added support for various condition types and their respective options.
2025-12-31 16:40:41 +10:30
Sam Chau
56cf061a4b feat(customFormats): implement general queries and update related types and components 2025-12-31 03:31:59 +10:30
Sam Chau
445ebf1a39 feat(tests): add test count to custom formats in list and views 2025-12-31 03:13:53 +10:30
Sam Chau
5d82cc910b feat: add testing functionality for custom formats
- Implemented server-side logic for loading and managing tests in custom formats.
- Created new page for editing existing tests with form handling.
- Developed a reusable TestForm component for creating and editing test cases.
- Added functionality to create new tests with validation and error handling.
- Integrated layer permission checks for writing to base layer.
- Enhanced user experience with modals for save and delete actions.
2025-12-31 03:05:09 +10:30
Sam Chau
af269b030f feat(cache): implement regex101 cache table and queries for API response caching 2025-12-31 00:58:17 +10:30
Sam Chau
b360dfbcae feat(docs): add database schema and manifest specification 2025-12-31 00:02:50 +10:30
Sam Chau
5c26d6d7b2 feat(parser): implement C# parser microservice with regex-based title parsing
- Added RegexReplace class for handling regex replacements.
- Created ReleaseGroupParser for extracting release groups from titles.
- Developed TitleParser for parsing movie titles, including editions and IDs.
- Introduced QualitySource, Resolution, QualityModifier enums and QualityResult class for quality metadata.
- Set up Dockerfile and docker-compose for containerized deployment.
- Implemented ASP.NET Core web API for parsing requests.
- Added TypeScript client for interacting with the parser service.
- Enhanced configuration to support dynamic parser service URL.
2025-12-30 10:33:52 +10:30
Sam Chau
8a3f266593 feat(custom-formats): implement custom formats management with list, detail views, and search functionality 2025-12-30 08:23:36 +10:30
Sam Chau
f8c62c51ba feat(QualityDefinitions): bind expandedRows for shared state in tables 2025-12-30 07:25:08 +10:30
Sam Chau
bd702f126c feat(media-management): enhance MediaManagementSyncer to support multiple config types and improve sync functionality 2025-12-30 07:15:44 +10:30
Sam Chau
17d3d756f6 feat(settings): enhance UI components with IconCheckbox and update styling for better accessibility 2025-12-30 05:40:18 +10:30