* feat(docs): add indexer docs update script
Add Python script to automatically update indexer documentation from YAML definitions.
- Creates a markdown table of supported indexers with feature support
- Sorts indexers alphabetically with generics at the end
- Includes support status for IRC and RSS features
- Outputs documentation to autobrr.com/snippets/indexers.mdx
* fix: use existing PAT
* fix: use correct token
* feat(docs): add freeleech support documentation
* fix(ci): update workflow to use latest patch version of Go
* fix(ci): update all workflows to use latest patch version of Go
* chore(deps): bump Go version to latest patch in go.mod
* feat(docker): add Windows images
* Create ciwindows.Dockerfile
* freddy?
* no it's camel
* have as many words with him as you like
* better go get more men
* an eye for an arm, ricky
* mcr.microsoft.com/windows/nanoserver:ltsc2022
* make a dime an hour for the company man
---------
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
* bump(deps): lift language versions
* Update Dockerfile
* ask your doctor
* chore: update go to 1.23
* fix: go mod version
---------
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
* refactor(dockerfile): optimize Docker builds
Combined multiple run commands into single statements in both main and CI dockerfiles, leveraging Docker's caching mechanism more effectively. This change aims to reduce image size and build time.
* hmm.
* Update ci.Dockerfile
* newline
* what about this
* three quorum members, three opinions
* true believer, right?
* when needed
* it sounds like music
* equals what
* really though, what?
* which one of you is the captain
* is that Kwejian whiskey
* ARG
* ARGH
* k.
* take me to your leader
* asd
* Update ci.Dockerfile
* try cache
* Revert
* Run Seperate platforms
* docker_build
* mother
* aggressive elephant
* leave me to my bath
* introduce buildx cache
* czechout manifests
* front left paw
* kill tags
* dealing with a child
* Update release.yml
* try outputs
* consolidation
* - =
* oxygen depleted
* where's the soup
* thanks buildx
* what's a little avx among friends
* Fine, I'll bring my own matches
* zenuuuu
* space, the final frontier
* but why
* ARE YOU HAPPY NOW
* link those binaries
* fast fail
* just the time killer you need
* add back generic arm
* ruthless dictator barbie
* kat
* build: docker add more labels
---------
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
* 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>
* refactor: this should be Debug() just like the rest.
* feat: catch error when updating client table.
Before if we provided the wrong ID it will just say it's successful when it shouldn't.
* chore: handle the errors.
* fix: defer tx.Rollback().
When I try handling the error we always hit the error no matter what even though there wasn't any error, This is due that defer block being executed unconditionally so even after we commit it successfully it will just give error. So add checking then commit it if all good.
* feat: added testing env.
This way we can use in memory sqlite.
* chore: Delete log should be debug as well.
* feat: enable foreign keys for testing for sqlite.
I recommend enabling all together. Not sure why it's commented but for now will keep it the same and only enable for testing.
* chore: catch error, if deleting a record fails.
* chore: catch error, if deleting a record fails.
* chore: catch error, when failed to enable toggle.
* chore: catch error, if updating failed.
* chore(filter): catch error, if deleting failed.
* chore(filter): catch error, if row is not modified for ToggleEnabled.
* chore(feed): Should be debug level to match with others.
* chore(feed): catch error when nothing is updated.
* chore: update docker-compose.yml add test_db for postgres.
* chore(ci): update include postgres db service before running tests.
* feat(database): Added database testing.
* feat(database): Added api integration testing.
* feat(database): Added action integration testing.
* feat(database): Added download_client integration testing.
* feat(database): Added filter integration testing.
* test(database): initial tests model (WIP)
* chore(feed): handle error when nothing is deleted.
* tests(feed): added delete testing.
* chore(feed): handle error when nothing is updated.
* chore(feed): handle error when nothing is updated.
* chore(feed): handle error when nothing is updated.
* feat(database): Added feed integration testing.
* fix(feed_cache): This should be time.Time not time.Duration.
* chore(feed_cache): handle error when deleting fails.
* feat(database): Added feed_cache integration testing.
* chore: add EOL
* feat: added indexer_test.go
* feat: added mock irc data
* fix: the column is not pass anymore it's password.
* chore: added assertion.
* fix: This is password column not pass test is failing because of it.
* feat: added tests cases for irc.
* feat: added test cases for release.
* feat: added test cases for notifications.
* feat: added Delete to the User DB that way it can be used for testing.
* feat: added user database tests.
* refactor: Make setupLogger and setupDatabase private also renamed them.
Changed the visibility of `setupLogger` to private based on feedback. Also renamed the function to `setupLoggerForTest` and `setupDatabaseForTest` to make its purpose more descriptive.
* fix(database): tests postgres ssl mode disable
* refactor(database): setup and teardown
---------
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>