Sam Chau
5cd1bf82ff
refactor(createBackup): extract logic and add comprehensive tests
...
- Extract pure backup logic to /src/jobs/logic/createBackup.ts
- Update job definition to use extracted logic
- Fix absolute path parsing for tar command
- Add 7 tests: success cases, filename format, file extraction,
error handling (non-existent dir, file instead of dir), empty dir
- Uses BaseTest framework with temp directories and tar extraction
2025-10-21 09:02:58 +10:30
Sam Chau
b8949b5148
test(cleanupLogs): add comprehensive test suite
...
- 8 tests covering deletion, retention, parsing, and edge cases
- Tests empty/non-existent directories and boundary conditions
- Uses BaseTest framework for isolated temp directories
2025-10-21 08:25:22 +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
28e0cad4a1
Clean slate
2025-02-05 16:09:33 +10:30
wheat4714
b2f1a18905
Improvement/Upscaling( #71 )
...
- New CF for upscales
- Upscales banned in all quality profiles
---------
Co-authored-by: wheat4714.usedwhensimpleloginisbanned@gmail.com <wheat4714.usedwhensimpleloginisbanned@gmail.com >
Co-authored-by: santiagosayshey <sayheysantiago@proton.me >
2024-05-22 09:32:34 +09:30
wheat4714
977893d966
Imrpovement/Sev Overhaul ( #67 )
...
- Overhauled SEV CF. Included member names, and negated UTR.
- Included SEV Tests
---------
Co-authored-by: wheat4714.usedwhensimpleloginisbanned@gmail.com <wheat4714.usedwhensimpleloginisbanned@gmail.com >
Co-authored-by: santiagosayshey <sayheysantiago@proton.me >
2024-05-19 13:32:20 +09:30
wheat4714
82fc09e695
Improvement/QxR no longer match TAoE Groups ( #65 )
...
- Various small regex improvements to match QxR Groups better
---------
Co-authored-by: wheat4714.usedwhensimpleloginisbanned@gmail.com <wheat4714.usedwhensimpleloginisbanned@gmail.com >
Co-authored-by: santiagosayshey <sayheysantiago@proton.me >
2024-05-19 12:53:06 +09:30
wheat4714
fd24eb3409
Improvement/Include DS4K in x265 WEB ( #62 )
...
- x265 Web now matches DS4k releases (non AV1)
---------
Co-authored-by: wheat4714.usedwhensimpleloginisbanned@gmail.com <wheat4714.usedwhensimpleloginisbanned@gmail.com >
Co-authored-by: santiagosayshey <sayheysantiago@proton.me >
2024-05-19 12:48:25 +09:30
wheat4714
d730b0a153
Bugfix/AV1 ( #68 )
...
- AV1 CF now correctly parses releases encoded in AV1
- Tests added to verify
---------
Co-authored-by: wheat4714.usedwhensimpleloginisbanned@gmail.com <wheat4714.usedwhensimpleloginisbanned@gmail.com >
Co-authored-by: santiagosayshey <sayheysantiago@proton.me >
2024-05-19 12:15:39 +09:30
wheat4714
ab9ac03a0d
Improvement/TAoE Improvements ( #59 )
...
- Added numerous TAoE groups
- Fixed up regex to parse for multiple trackers. Now works for most of usenet, 1337x, TL, Aither, FNP and Huno.
- Added TAoE Tests
Co-authored-by: wheat4714.usedwhensimpleloginisbanned@gmail.com <wheat4714.usedwhensimpleloginisbanned@gmail.com >
Co-authored-by: santiagosayshey <sayheysantiago@proton.me >
2024-05-19 05:53:45 +09:30
wheat4714
bef6cc1a70
Improvement/Ralphy(?P) ( #64 )
...
- Regex updated to also match "RalphyP"
- x265 required
---------
Co-authored-by: wheat4714.usedwhensimpleloginisbanned@gmail.com <wheat4714.usedwhensimpleloginisbanned@gmail.com >
Co-authored-by: santiagosayshey <sayheysantiago@proton.me >
2024-05-18 13:29:22 +09:30
wheat4714
820ee039e9
Improvement/QxR Overhaul ( #57 )
...
- Included all member names as QxR tag is not always present for grabs or imports
- Added x265 conditions to avoid any x264 releases
- Added h265 condition to avoid encodes mislabeled as WEBs
- Negate releases from UTR. Some of these QxR members have moved back and forth, and can be lower quality
- Removed old Tigole and Ghost CFs
- Negate HONE releases
- Lowered QxR quality score to below other tier 3 groups. Too many unparsed extras and other complications.
Co-authored-by: wheat4714.usedwhensimpleloginisbanned@gmail.com <wheat4714.usedwhensimpleloginisbanned@gmail.com >
Co-authored-by: santiagosayshey <sayheysantiago@proton.me >
2024-05-13 04:09:59 +09:30
Sam Chau
c4609c409a
Test/h265 whitelist ( #53 )
...
- Implemented test for verifying h265 whitelisted groups
- Improved readability of regex testing
- Force merge (santiagosayshey)
2024-05-10 23:41:14 +09:30
wheat4714
5096994b62
bugfix/roku-regex ( #50 )
...
- Check for releases with 1080p and roku together as it is a "common japanese word"
* Added ROKU automated tests
- match with dot, underscore, hyphen or space between them
- check if same on radarr AND sonarr
---------
Co-authored-by: wheat4714.usedwhensimpleloginisbanned@gmail.com <wheat4714.usedwhensimpleloginisbanned@gmail.com >
Co-authored-by: santiagosayshey <sayheysantiago@proton.me >
2024-05-09 21:11:25 +09:30
Sam Chau
dfae1bad12
Regex Workflow + ROKU test #51
...
- implemented regex workflow
- implemented ROKU regex test
2024-05-09 20:24:20 +09:30