* 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>
* ci: integrate ESLint with CodeQL
* specualtive fix
* always upload sarif
* make lint.ci exit with 0 so sarif is generated
* fix: exit with 0
* exit 0 on error
* correction
* revert to default with sarif
* see what pnpm run lint --fix does
* reset codeql
* egg
* actually setup pnpm
* checking out the mall
* reimplement lint
* run lint:ci
* anyone home?
* category
* fix?
* try cats
* damage
* TRY IT ONE MORE TIME
* on an atm
* no way?
* test
* test2
* test3
* test4
* revert change in context.ts
* attempt to update lockfile
* reset and update pnpm-lock
* speculative fix
* allow it to fail
* update eslint.yml
* correct path helps
* bring lint:ci back into the fold
* revert eslint.yml
* embed sarif
* is it really this
* k. great.
---------
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
* feat(filters): reflect enabled actions
* dont store release unless enabled action found
* store the release after the delay
* add new parameter to FindByFilterID method
* delete manifest (vite-plugin-pwa generates it)
* fix upper case letter on screen components
* fix imports of screens components missing upper case
* remove default export from Base.tsx
* move RegexPlayground to settings import
* replace some relative path imports
* remove React and ununsed imports
* small alignments on vite.config.ts
* move Dashboard and Releases to screens
* move filters/index.tsx to filters/index.ts
* remove default export from APIKeyAddForm
* remove default export from FilterAddForm
* organize imports and exports for the router
* add .vscode workspace to gitignore
* some touchs on .gitignore file
* fix some eslint rules
* removed react-app type instead use vite.
* removed index.html from public since vite uses it from root: read more: https://vitejs.dev/guide/#index-html-and-project-root
* yarn.lock update.
* added vite config file. With commented rollUp option if we want the build to be called build but using default stuff for now.
* updated tsconfig to use vite and include vite.config.ts
* changed package json build commands to use vite.
* for some reason there is an error in vite config when we put project as tsconfig.json.
* build.go updated to use the new dist folder.
* refactored as well updated to use dist and web.AssetHandler again.
* Fixed issue forcing the frontend to be reloaded for all routes to work if logged in fresh without reloading it will always go back to dashboard.
* updated it to use the new function; need to fix the Index for baseUrl I believe, if enabled it works except logs route will crash due to cors.
* refactored and default port to 7474, don't think we need the rollUpOptions.
* added tmp/ to ignore .
* init air.toml, for dev hot reloading both app and backend. https://github.com/cosmtrek/air run it using air but make sure it's in PATH
* updated the start command to build and watch for changes, works great with air.
* revert
* added proxy for vite config. To be used for dev.
* fix: This fixes#117 Propagation bug.
* chore: update yarn lock
---------
Co-authored-by: KaiserBh <kaiserbh@proton.me>
Co-authored-by: ze0s <ze0s@riseup.net>
* removed react-app type instead use vite.
* removed index.html from public since vite uses it from root: read more: https://vitejs.dev/guide/#index-html-and-project-root
* yarn.lock update.
* added vite config file. With commented rollUp option if we want the build to be called build but using default stuff for now.
* updated tsconfig to use vite and include vite.config.ts
* changed package json build commands to use vite.
* for some reason there is an error in vite config when we put project as tsconfig.json.
* build.go updated to use the new dist folder.
* refactored as well updated to use dist and web.AssetHandler again.
* Fixed issue forcing the frontend to be reloaded for all routes to work if logged in fresh without reloading it will always go back to dashboard.
* updated it to use the new function; need to fix the Index for baseUrl I believe, if enabled it works except logs route will crash due to cors.
* refactored and default port to 7474, don't think we need the rollUpOptions.
* added tmp/ to ignore .
* init air.toml, for dev hot reloading both app and backend. https://github.com/cosmtrek/air run it using air but make sure it's in PATH
* updated the start command to build and watch for changes, works great with air.
* revert
* added proxy for vite config. To be used for dev.
* refactor: I think this should fix it, when logs route etc getting accessed usually it throws error but by getting rid of the catch-all it should work as intended, since web.RegisterHandler(r) will catch the unmatched ones.
* fix: baseurl and build
* fix(build): docker ignore !web/dist
* fix(build): dockerignore add exclusions
* docs: update README.md
* build: update postcss config
---------
Co-authored-by: KaiserBh <kaiserbh@proton.me>
Co-authored-by: ze0s <ze0s@riseup.net>
* Update Docker workflow
add buildx and qemu to support mulitarch builds
configure arm, arm64 and amd64 builds
* Change yarn timeout
fixes issue with yarn install timing out
* chore: update gitignore
* chore: add gitignore for web dir
* chore(web): upgrade to yarn2
* build: update actions and push docker hub
* build: add yarnrc and network-timeout
* build: unifi workflow
* build: depend on web to build first
* build: store artifacts between jobs
* build: store artifacts between jobs
* build: store artifacts between jobs
* build: store artifacts between jobs
* build: adjust dockerignore
* build: conditional extract metadata
* build: conditional extract metadata
* build: always push docker hub
* build: skip docker hub for now
* build: fix metadata
* refactor: modified existing react imports to conform with the recommended approach of not using the default export directly, since it will be deprecated in one of the future releases. see https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html for more info. note: react types don't require importing of react.
refactor: cleaned up some of the imports
* feat: added eslint and fixed all the errors/warning. eslint can now be invoked by running "npm run lint".
chore: updated .gitignore not to include unnecessary artefacts.
refactor: re-organized some of the imports.
* refactor: converted remaining few typed functional components to proper prop argument structure.
* fix: fixed small react-query invalidation bug for the FilterDetails component.
Co-authored-by: anonymous <anonymous>