* 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
* fix(web): releases page search and filtering
* fix(web): releases page reset on filter change
* feat(releases): useQuery instead of useSuspenseQuery
useSuspenseQuery triggers a full loader that resets filters. useQuery does not.
* feat(releases): show details in list view
* fix(releases): activitytable columns type
* fix(releases): incognito mode
* feat(releases): move details button
* do we wanna truncate?
* fix(web): release column width at full size
---------
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
* fix(http): flip to a shared transport and clients
* nice threads
* that is terrible
* fake uri for magnet
* lazy locking
* why bother with r's
* flip magic params to struct
* refactor(http-clients): use separate clients with shared transport
* refactor(http-clients): add missing license header
* refactor(http-clients): defer and fix errors
---------
Co-authored-by: ze0s <ze0s@riseup.net>
* add db seed/reset functionality
* speculative db migration support
* update postgresSchema
* refactor: only migrate data, no schema
* implement transaction in db migration function
* refactor db:seed and db:reset
added transaction to both and updated help message
* change table order
* skip on foreign key constraint violations
* skip feed_cache
* set constraints to null
* fix seed and reset
* simplify migrate func
This version of the function should behave similarly to the previous version, but with less repetition and by relying on PostgreSQL's automatic transaction handling, which starts a new transaction for each separate statement when not in a transaction block. Also, it prepares the insert statement only once for each table, which can significantly improve performance when there are many rows to insert.
* fixed release_action_status
* refactor db:seed and db:reset
* minor adjustment to const usage
* fixed usage examples
* refactor seed/migrate
* refactor(database): seed and convert
* refactor(database): make tables list sorted a-z
* chore(deps): go mod tidy
* refactor(database): convert improve log output
---------
Co-authored-by: ze0s <ze0s@riseup.net>
* feat(backend): added change password api endpoint.
* feat(web): added profile UI to change password.
I think we can change the username too, but I don't know if we should for now disabled the username field.
* refactor: don't leak username or password.
* refactor: protect the route.
* generic
* feat: add ChangeUsername
* fix(tests): speculative fix for TestUserRepo_Update
* Revert "feat: add ChangeUsername"
This reverts commit d4c1645002883a278aa45dec3c8c19fa1cc75d9b.
* refactor into 1 endpoint that handles both
* feat: added option to change username as well. :pain:
* refactor: frontend
* refactor: function names in backend
I think this makes it more clear what their function is
* fix: change to 2 cols with separator
* refactor: update user
* fix: test db create user
---------
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
Co-authored-by: soup <soup@r4tio.dev>
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
Co-authored-by: ze0s <ze0s@riseup.net>
* feat(qbittorrent): add priority handling
* fix: check if torrent queueing is enabled
* fix: only check for torrent queueing if priority is set
* fix: improve tooltip message
* feat: enable torrent queueing if disabled
* change to SetPreferencesQueueingEnabled
* feat(actions): rename field
* chore: bump pkg go-qbittorrent to v1.8.0
* chore(deps): update go-qbittorrent to v1.8.1
* chore(deps): go mod tidy
---------
Co-authored-by: ze0s <ze0s@riseup.net>
* 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>
* feat: migrate to v5
* refactor: Revise error handling in QueryClient for compatibility with React Query v5
The `useErrorBoundary` option has been renamed to `throwOnError` and suspense have been removed: more on suspense more on suspense.
https://tanstack.com/query/v5/docs/react/guides/migrating-to-v5#new-hooks-for-suspense
* refactor: Callbacks on useQuery (and QueryObserver) have been removed
onSuccess, onError and onSettled have been removed from Queries. They haven't been touched for Mutations. Please see this https://github.com/TanStack/query/discussions/5279 for motivations behind this change and what to do instead.
* refactor: change to isPending, isLoading have been renamed for mutations.
Also, they are using object now:
- useQuery(key, fn, options)
+ useQuery({ queryKey, queryFn, ...options })
* refactor: change to placeHolderData.
Removed keepPreviousData in favor of placeholderData identity function
https://tanstack.com/query/v5/docs/react/guides/migrating-to-v5#removed-keeppreviousdata-in-favor-of-placeholderdata-identity-function
* fix: useSuspenseQuery instead of useQuery.
* fix(web): more useSuspenseQuery substitutions
* whoops - nobody saw that okay?
* fix pnpm lockfile
* fix pnpm lockfile again
---------
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
Co-authored-by: soup <soup@r4tio.dev>
* refactor: update help text for RSS, TORZNAB, and NEWZNAB
* refactor: change default to 0.
* fix: update sqlite_migrate.go
---------
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
* feat(web): link stats to release table
- added Errored Pushes
- Made Recent Activity same color as Stats
* feat(releasetable): made links a separate row
https://i.imgur.com/ZoAOrXP.png
remove comment
* added LinkIcon to StatsItem
- Changed grid-cols to 2, as we now have 4 for narrow widths
* fix linting
* move some text modifier to parent element
* feat: add scale on hover with transition
deduplicated some classes
* adapt gap between StatsItems for mobile
remove border and title on stats divs
---------
Co-authored-by: Fabricio Silva <hi@fabricio.dev>
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>