Commit Graph

13 Commits

Author SHA1 Message Date
Sam Chau
e1de8f88cf feat: Add Kysely integration for quality profile queries and refactor database interactions
- Updated package.json to include Kysely and Deno Vite plugin dependencies.
- Introduced new types for sorting in table component.
- Refactored PCDCache to utilize Kysely for type-safe database queries.
- Created new query files for quality profiles, including general information, languages, and list queries.
- Removed outdated qualityProfiles.ts file and replaced it with modular query structure.
- Updated routes to use new query functions for loading quality profile data.
- Enhanced Vite configuration to include Deno plugin and improved watch settings.
2025-11-09 05:07:48 +11:00
Sam Chau
d69064803a fix: update Dropdown.svelte to properly close empty div tag and enhance markdown sanitizer
- Fixed an empty div tag in Dropdown.svelte to ensure proper HTML structure.
- Implemented a custom HTML sanitizer in markdown.ts to avoid postcss dependency issues, allowing only specific tags and attributes to enhance security against XSS attacks.
2025-11-09 01:11:19 +11:00
Sam Chau
b8588b84f4 Add marked library as a dependency in package.json 2025-11-05 07:29:06 +10:30
Sam Chau
37ae5164e6 feat(pcd): add database linking functionality 2025-11-04 06:58:54 +10:30
Sam Chau
849d1ec1b6 chore: move tests into src, temp config into dist, cleanup tasks 2025-11-03 20:44:43 +10:30
Sam Chau
c83217a72a feat(notifications): add notification module with Discord webhook support
- Database schema for notification services and history tracking
  - Notifier interface with Discord webhook implementation
  - UI for creating/editing/managing notification services
  - Integration with job completion events
  - Service-level enable/disable and notification type filtering
  - Test notifications and notification history view
2025-10-22 04:07:03 +10:30
Sam Chau
7e8068f1fb test: add BaseTest framework with utilities
- Create abstract BaseTest class with lifecycle hooks
  - Add beforeAll/afterAll and beforeEach/afterEach hooks
  - Implement temp directory management (auto cleanup)
  - Add file assertion helpers (exists, contains, matches)
  - Add async utilities (waitFor, waitForFile, sleep)
  - Include example test demonstrating usage
  - Add test tasks to deno.json (test, test:watch)
  - Add @std/assert dependency
2025-10-21 08:04:46 +10:30
Sam Chau
303e81507f stack(logs, jobs, backups): implemented 2025-10-21 06:10:00 +10:30
Sam Chau
e24410f6f3 stack(arrConfig): implemented arr config handling
- database module + migrations handler
- http client class + arr client child (with connection pooling, retries, backoff)
- toast alerts
- add new arr configs
2025-10-20 02:13:09 +10:30
Sam Chau
8386d8bacb chore(codebase): add ignore stuff for ai related files, add more build commands 2025-10-19 22:27:23 +10:30
Sam Chau
24a20fcf76 frontend(nav): add navbar, themeToggle, theme store 2025-10-18 04:37:47 +10:30
Sam Chau
f3379b9ea4 server(utils): config, logger, startup 2025-10-18 03:55:11 +10:30
Sam Chau
72415af8a5 chore(setup): sveltekit + deno 2025-10-18 00:39:02 +10:30