* chore: update copyright year in license headers
* Revert "chore: update copyright year in license headers"
This reverts commit 3e58129c431b9a491089ce36b908f9bb6ba38ed3.
* chore: update copyright year in license headers
* fix: sort go imports
* fix: add missing license headers
* feat(filters): skip duplicates
* fix: add interface instead of any
* fix(filters): tonullint
* feat(filters): skip dupes check month day
* chore: cleanup
* feat(db): set autoincrement id
* feat(filters): add repack and proper to dupe profile
* feat(filters): add default dupe profiles
* feat(duplicates): check audio and website
* feat(duplicates): update tests
* feat(duplicates): add toggles on addform
* feat(duplicates): fix sqlite upgrade path and initialize duplicate profiles
* feat(duplicates): simplify sqlite upgrade
avoiding temp table and unwieldy select. Besides, FK constraints
are turned off anyway in #229.
* feat(duplicates): change CheckIsDuplicateRelease treatment of PROPER and REPACK
"Proper" and "Repack" are not parallel to the other conditions like "Title",
so they do not belong as dedup conditions. "PROPER" means there was an issue in
the previous release, and so a PROPER is never a duplicate, even if it replaces
another PROPER. Similarly, "REPACK" means there was an issue in the previous
release by that group, and so it is a duplicate only if we previously took a
release from a DIFFERENT group.
I have not removed Proper and Repack from the UI or the schema yet.
* feat(duplicates): update postgres schema to match sqlite
* feat(duplicates): fix web build errors
* feat(duplicates): fix postgres errors
* feat(filters): do leftjoin for duplicate profile
* fix(filters): partial update dupe profile
* go fmt `internal/domain/filter.go`
* feat(duplicates): restore straightforward logic for proper/repack
* feat(duplicates): remove mostly duplicate TV duplicate profiles
Having one profile seems the cleanest. If somebody wants multiple
resolutions then they can add Resolution to the duplicate profile.
Tested this profile with both weekly episodic releases and daily
show releases.
* feat(release): add db indexes and sub_title
* feat(release): add IsDuplicate tests
* feat(release): update action handler
* feat(release): add more tests for skip duplicates
* feat(duplicates): check audio
* feat(duplicates): add more tests
* feat(duplicates): match edition cut and more
* fix(duplicates): tests
* fix(duplicates): missing imports
* fix(duplicates): tests
* feat(duplicates): handle sub_title edition and language in ui
* fix(duplicates): tests
* feat(duplicates): check name against normalized hash
* fix(duplicates): tests
* chore: update .gitignore to ignore .pnpm-store
* fix: tests
* fix(filters): tests
* fix: bad conflict merge
* fix: update release type in test
* fix: use vendored hot-toast
* fix: release_test.go
* fix: rss_test.go
* feat(duplicates): improve title hashing for unique check
* feat(duplicates): further improve title hashing for unique check with lang
* feat(duplicates): fix tests
* feat(duplicates): add macros IsDuplicate and DuplicateProfile ID and name
* feat(duplicates): add normalized hash match option
* fix: headlessui-state prop warning
* fix(duplicates): add missing year in daily ep normalize
* fix(duplicates): check rejections len
---------
Co-authored-by: ze0s <ze0s@riseup.net>
* feat(filters): RED and OPS fetch record label from API
* test: add record label to RED and OPS test data
* refactor: record label check
---------
Co-authored-by: ze0s <ze0s@riseup.net>
* feat(lists): integrate Omegabrr
* feat(lists): add missing lists index
* feat(lists): add db repo
* feat(lists): add db migrations
* feat(lists): labels
* feat(lists): url lists and more arrs
* fix(lists): db migrations client_id wrong type
* fix(lists): db fields
* feat(lists): create list form wip
* feat(lists): show in list and create
* feat(lists): update and delete
* feat(lists): trigger via webhook
* feat(lists): add webhook handler
* fix(arr): encode json to pointer
* feat(lists): rename endpoint to lists
* feat(lists): fetch tags from arr
* feat(lists): process plaintext lists
* feat(lists): add background refresh job
* run every 6th hour with a random start delay between 1-35 seconds
* feat(lists): refresh on save and improve logging
* feat(lists): cast arr client to pointer
* feat(lists): improve error handling
* feat(lists): reset shows field with match release
* feat(lists): filter opts all lists
* feat(lists): trigger on update if enabled
* feat(lists): update option for lists
* feat(lists): show connected filters in list
* feat(lists): missing listSvc dep
* feat(lists): cleanup
* feat(lists): typo arr list
* feat(lists): radarr include original
* feat(lists): rename ExcludeAlternateTitle to IncludeAlternateTitle
* fix(lists): arr client type conversion to pointer
* fix(actions): only log panic recover if err not nil
* feat(lists): show spinner on save
* feat(lists): show icon in filters list
* feat(lists): change icon color in filters list
* feat(lists): delete relations on filter delete
* fix(sanitize): filter properly \t,,, / etc
* jesus christ.
* bah. probably helps if a human reads the tests.
* k done.
* should be safe now?
* edna?
* real life man
* fix(wildcard): avoid excessive allocations every loop
* are you going to Scarborough Fair?
* ruby ruby ruby ruby
* ride on, little murphy
* shirley?
* to the moon
* reggie are you there?
* code 99
* my doctorate is in Art History
* helps to be consistent
* tidy
* slow and steady gets the clam
* oysters were better anyway
* DIAL TONE
* fix(filters): RED and OPS lossless parsing and filtering
* fix(filters): logscore and EP parsing
* fix(filters): tests
* fix(filters): tests
* feat(definitions): RED parse title variable
* feat(indexers): setup indexer to filter tests
* feat(indexers): tests and improve parsing
* feat(indexers): improve tests
* feat(filters): reflect enabled actions
* dont store release unless enabled action found
* store the release after the delay
* add new parameter to FindByFilterID method
* fix(filters): store and update
* fix(filters): bad fmt var
* fix(filters): store expect status
* fix(filters): store expect status
* fix(filters): external filter always rejected
* speculative fix for tags_match_logic if set to ANY
* add default tag match logic handling
* fixed test cases and rejection messages
* trim tags in match funcs
* add test for empty TagsMatchLogic
* fix(releases): max downloads per hour
* refactor: release processing
* compare apples to apples (#884)
* from rocketships back to apples
* Update internal/database/filter.go
* cast me to the
* keep your eye on the case
---------
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
* feat(filters): add fields for tag and except tag matching logic
* refactor(filters): rearrange and simplify logic for containsAllMatch
---------
Co-authored-by: Gustavo Machado <me@gstv.dev>
* feat(filters): add support for language
* feat(filters): add db migrations and repo
* feat(filters): fix failing tests
* feat(filters): fix failing tests
* feat(indexers): improve RED and OPS artist parsing
* feat(indexers): deprecate lidarr red ops workaround
* feat(indexers): change artist and album field check
* seperator before tags and tags optional for red
* fix: update rejection msg
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>