Commit graph

380 commits

Author SHA1 Message Date
Rui Chen
7b9993b296
chore: bump pnpm to 9.0.2 (#1515)
* chore: bump pnpm to 9.0.2

Signed-off-by: Rui Chen <rui@chenrui.dev>

* fix(web): new lockfile version for pnpm 9

* fix(web): fix lockfile

---------

Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-04-17 20:53:13 +02:00
ze0s
3c3b47fa10
feat(macros): add IndexerName (#1511)
* feat(macros): add IndexerName

* fix: tests

* fix: tests
2024-04-16 17:35:17 +02:00
KyokoMiki
c43e2c76d6
feat(notifications): add support for custom Telegram api url (#1508)
feat(notifications): Add support for reverse proxyed telegram api
2024-04-15 15:06:22 +02:00
s0up4200
72ca7a8a4f
feat(releases): replace misc info in incognito mode (#1509)
* fix(web): replace misc info in incognito

* update linux iso source field
2024-04-15 15:01:35 +02:00
ze0s
5857945e71
fix(user): change username (#1502)
* fix(user): change username

* fix(user): api client error improvements

* fix(user): api client error improvements
2024-04-12 15:09:40 +02:00
martylukyy
b44d55ea55
chore: add missing license headers (#1499) 2024-04-11 14:28:01 +02:00
martylukyy
f1b42146c1
feat(web): auto refresh dashboard stats (#1490)
* feat(web): refresh interval for stats and activity tables

* feat(web): refresh stats and activity tables on switching back to autobrr tab
2024-04-08 10:59:52 +02:00
dependabot[bot]
507782960d
build(deps): bump the npm group in /web with 23 updates (#1486) 2024-04-05 08:24:41 +00:00
ze0s
9227bdb5dc
fix(indexers): could not create (#1479)
* fix(indexers): could not create

* fix(indexers): remove log statement
2024-03-25 08:55:22 +01:00
Pheromir
f31ec2044e
feat(indexers): add AnimeWorld (#1472)
* feat(indexers): add AnimeWorld

* add source information
add missing EOF

* fix(indexers): add missing test vars

* fix(indexers): add missing test vars
enhancement(indexers): remove brackets from tags var

* feat(indexers): add channel password field

* fix(indexers): channel password

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-03-24 12:22:51 +01:00
ze0s
d1f0ec94cd
fix(auth): correct redirect on bad session cookie (#1475) 2024-03-24 12:18:55 +01:00
ze0s
67980776b6
feat(irc): set channel pass on indexer add (#1473)
* feat(irc): set channel pass on creation

* fix: missing semicolons
2024-03-24 11:28:04 +01:00
martylukyy
be0948fb2e
fix(filters): remove unusable resolution constants (#1464)
* fix(filters): resolution constants

* fix(filters): revert further resolution option changes
2024-03-24 10:53:53 +01:00
martylukyy
6045ef7c10
feat(filters): add sources and codecs (#1470)
* feat(filters): add AHDTV to sources and sort alphabetically
feat(filters): add MPEG-2 to codecs and sort alphabetically

* feat(filters): add release parsing test for MPEG-2
2024-03-24 10:41:24 +01:00
dependabot[bot]
232b454aba
build(deps): bump the npm group in /web with 16 updates (#1446) 2024-03-19 23:47:07 +00:00
ze0s
be05ffba73
feat(irc): manually re-process announces (#1419)
* fix(releases): add manual processing

* feat(irc): add re-process button to channel msg

* feat(irc): add missing client method

* feat(web): change reprocess icon placement

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-03-19 18:23:43 +01:00
martylukyy
35566039d5
fix(web): make tooltips clickable if touchscreen is present (#1427)
* fix(web): make tooltips clickable if touchscreen is present

* fix(web): handle visibility for click and touch

* fix(chore): add removed license header again
2024-02-27 12:24:17 +01:00
martylukyy
eb43dadd2f
fix(web): remove rounded corners of middle usernav item (#1430) 2024-02-26 13:43:08 +01:00
Goran Džaferi
2e70ecbd9f
fix(filters): point to the correct docs page anchor for skipping seasons packs (#1424) 2024-02-24 14:06:03 +01:00
martylukyy
6bf8cdf5ea
fix(filters): open used collapsible sections by default (#1425)
fix(web): open collapsible sections by default when values are present
2024-02-24 14:04:01 +01:00
martylukyy
e1a8f327df fix(web): unify border colors in indexer form 2024-02-15 19:48:18 +01:00
martylukyy
6e62c30d68
enhancement(web): pending component placement (#1402) 2024-02-13 11:53:14 +01:00
martylukyy
0174d743b1
enhancement(web): filters list query loading animation (#1401)
* feat(web): filters list query loading animation

* refactor(filters): move loading spinner inside list

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2024-02-13 11:44:45 +01:00
martylukyy
fdf450897b
enhancement(web): debloat release loading animation (#1400) 2024-02-13 11:42:30 +01:00
martylukyy
1a23b69bcf
feat(web): move from react-router to @tanstack/router (#1338)
* fix(auth): invalid cookie handling and wrongful basic auth invalidation

* fix(auth): fix test to reflect new HTTP status code

* fix(auth/web): do not throw on error

* fix(http): replace http codes in middleware to prevent basic auth invalidation
fix typo in comment

* fix test

* fix(web): api client handle 403

* refactor(http): auth_test use testify.assert

* refactor(http): set session opts after valid login

* refactor(http): send more client headers

* fix(http): test

* refactor(web): move router to tanstack/router

* refactor(web): use route loaders and suspense

* refactor(web): useSuspense for settings

* refactor(web): invalidate cookie in middleware

* fix: loclfile

* fix: load filter/id

* fix(web): login, onboard, types, imports

* fix(web): filter load

* fix(web): build errors

* fix(web): ts-expect-error

* fix(tests): filter_test.go

* fix(filters): tests

* refactor: remove duplicate spinner components
refactor: ReleaseTable.tsx loading animation
refactor: remove dedicated `pendingComponent` for `settingsRoute`

* fix: refactor missed SectionLoader to RingResizeSpinner

* fix: substitute divides with borders to account for unloaded elements

* fix(api): action status URL param

* revert: action status URL param
add comment

* fix(routing): notfound handling and split files

* fix(filters): notfound get params

* fix(queries): colon

* fix(queries): comments ts-ignore

* fix(queries): extract queryKeys

* fix(queries): remove err

* fix(routes): move zob schema inline

* fix(auth): middleware and redirect to login

* fix(auth): failing test

* fix(logs): invalidate correct key

* fix(logs): invalidate correct key

* fix(logs): invalidate correct key

* fix: JSX element stealing focus from searchbar

* reimplement empty release table state text

* fix(context): use deep-copy

* fix(releases): empty state and filter input warnings

* fix(releases): empty states

* fix(auth): onboarding

* fix(cache): invalidate queries

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2024-02-12 13:07:00 +01:00
soup
7535ac98d8
fix(filters): drop actions_enabled_count from filter export (#1384)
fix(filters): drop actions_enabled_count from export
2024-02-01 21:41:52 +01:00
dependabot[bot]
abb7829abe
build(deps): bump the npm group in /web with 16 updates (#1376) 2024-01-27 20:37:15 +00:00
ze0s
dea0b32b89
fix(web): releases page search and filtering (#1364)
* 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.
2024-01-24 14:49:31 +01:00
ze0s
f488c88f1b
fix(auth): force invalidate invalid session cookies in middleware (#1358)
* fix(auth): invalidate session cookies in middleware

* fix(auth): set path for invalid cookie
2024-01-20 20:10:26 +01:00
Fabricio Silva
eb626de683
build(web): override rollup with wasm-node version (#1354) 2024-01-20 17:09:06 +01:00
dependabot[bot]
4d419b4550
build(deps): bump follow-redirects from 1.15.3 to 1.15.5 in /web (#1355) 2024-01-20 08:34:40 +00:00
martylukyy
35d1a6985f
fix(web): irc settings light theme colors (#1357) 2024-01-20 09:31:22 +01:00
ze0s
606edd47e0
fix(releases): search query (#1353) 2024-01-19 15:52:05 +01:00
luckyboy
a86258aaa7
feat(filters): implement min and max seeders/leechers filtering for Torznab feeds (#1342)
* feat(filter):implement min and max seeders/leechers filtering

* chore: go fmt and reorder fields

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2024-01-12 17:08:18 +01:00
dependabot[bot]
17795a004b
build(deps): bump the npm group in /web with 18 updates (#1336) 2024-01-02 20:55:29 +00:00
ze0s
9992675971
feat(releases): show details in list view (#1337)
* 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>
2024-01-02 21:53:38 +01:00
ze0s
fbabdfb217
feat(clients): override arr download client by name (#1328)
* feat(clients): override arr client by name

* feat(clients): add missing file

* feat(clients): add section download client arr
2024-01-01 17:57:19 +01:00
ze0s
45b522abf8
chore: update license header year (#1332)
* chore: update license header year

* chore: update license header year tsx files

* chore: update license header
2024-01-01 16:21:02 +01:00
martylukyy
89c146b762
enhancement(web): force run feed with enter key (#1329) 2023-12-30 18:07:40 +01:00
ze0s
57a91bb99a
feat(notifications): add Shoutrrr support (#1326) 2023-12-30 16:34:25 +01:00
ze0s
3dd1629a3f
feat(notifications): add ntfy support (#1323)
* feat(notifications): add ntfy support

* fix(test): update

* fix: added missing semicolon
2023-12-30 13:49:06 +01:00
soup
2a4fb7750b
feat(actions): deluge v2 add skip recheck (#1321)
* feat(actions): add skip recheck for deluge v2

* chore(deps): update go-deluge to v1.2.0
2023-12-28 16:59:17 +01:00
KaiserBh
df2612602b
feat(auth): change password and username (#1295)
* 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>
2023-12-26 15:50:57 +01:00
soup
c6122dbc41
feat(actions): qBittorrent add priority handling (#1315)
* 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>
2023-12-25 22:39:31 +01:00
soup
0ab404f81a
fix(filters): hide tooltip when actions are active (#1318) 2023-12-25 19:50:58 +01:00
KaiserBh
db7ab7c99a
feat(web): migrate Tanstack Query to v5 (#1277)
* 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>
2023-12-25 15:37:29 +01:00
KaiserBh
e63aec1ab2
enhancement(feeds): change max age default value to 0 (#1313)
* 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>
2023-12-25 15:11:26 +01:00
soup
3b60365483
feat(web): link Dashboard stats to Releases page (#1281)
* 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>
2023-12-25 14:03:29 +01:00
soup
3fd939b531
fix(web): improve tooltip responsiveness and click-through (#1314)
* fix(web): prevent tooltip click-through on mobile

* fix: adjust tooltip placement based on screen size
2023-12-25 13:38:29 +01:00
soup
6815c67e0c
build(ci): integrate ESLint with CodeQL (#1273)
* 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>
2023-12-25 13:37:46 +01:00