Commit graph

1269 commits

Author SHA1 Message Date
martylukyy
3af06553e7
fix(web): activity/release table cell widths (#1717) 2024-09-14 11:21:42 +02:00
martylukyy
e56bf1f8fc
feat(notifications): Telegram set sender (#1723)
feat(notifications): add conditional sender payload for telegram
2024-09-14 11:03:42 +02:00
martylukyy
51265b6702
feat(releases): show indexer name in indexer filter (#1720)
* feat(releases): show indexer name instead of identifier in releases indexer filter

* feat(releases): set correct types

* refactor(releases): show indexer name instead of identifier in releases indexer filter

* feat(releases): move listbox options back to render
feat(releases): fallback to identifier instead of showing unknown
2024-09-13 17:05:23 +02:00
ze0s
2681c2357d
fix(download-client): Deluge push error (#1719)
fix(downloadclient): Deluge push error
2024-09-12 18:42:35 +02:00
ze0s
ac6f62db99
fix(feeds): start feeds in background (#1718) 2024-09-12 12:13:05 +02:00
Kyle Sanderson
c3824f3519
chore(tests): correct typos (#1715) 2024-09-12 08:19:27 +02:00
martylukyy
080274e4da
fix(web): irc view mobile optimizations (#1714)
* fix(web): out of bound options menu in IRC settings on mobile

* fix(web): menu width

* refactor(web): simplify css
2024-09-11 19:50:37 +02:00
martylukyy
00b5728b4a
feat(web): manage initial focus for force run modal and filter add form (#1713)
* feat(web): manage initial focus for force run modal

* refactor(web): manage initial focus for force run modal

* feat(web): manage initial focus on FilterAddForm.tsx
2024-09-11 15:54:34 +02:00
Kyle Sanderson
e603b262f7
fix(docker): windows container (#1710)
* Update ciwindows.Dockerfile
2024-09-09 10:18:31 +02:00
ze0s
80426e4773
fix(irc): revert lazy announcer check (#1707) 2024-09-05 19:36:40 +02:00
Fabricio Silva
0cd29b95ea
chore(indexers): remove STT and STC (#1708)
feat(indexers): remove stt and stc
2024-09-04 18:39:56 +02:00
ze0s
fd90020400
feat(releases): show indexer name instead of identifier (#1706)
* feat(releases): show indexer name instead of identifier

* feat(releases): remove log in Cell

* feat(releases): update Dashboard recent releases

* fix(releases): db tests

* fix(releases): remove unused code

* fix(releases): remove more unused code

* fix(releases): remove even more unused code

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-09-03 14:57:48 +02:00
ze0s
54eab05f1f
chore: update issue templates (#1704)
* chore: update issue templates

* feat: add issues-template config
2024-09-03 11:59:11 +02:00
ze0s
abeb81eea9
fix(feeds): UNIT3D RSS size parsing (#1701)
* fix(feeds): size parsing for UNIT3D RSS feeds

* fix(feeds): imports
2024-09-02 16:39:40 +02:00
ze0s
c3530ac8af
ci(linters): update Go and Node versions (#1700) 2024-09-02 15:59:33 +02:00
ze0s
d380c0b178
fix(macros): TorrentHash empty (#1699)
fix(macros): TorrentHash empty
2024-09-02 15:44:36 +02:00
dependabot[bot]
89cf68e773
build(deps): bump the npm group across 1 directory with 17 updates (#1645)
* build(deps): bump the npm group across 1 directory with 17 updates

Bumps the npm group with 17 updates in the /web directory:

| Package | From | To |
| --- | --- | --- |
| [@tailwindcss/forms](https://github.com/tailwindlabs/tailwindcss-forms) | `0.5.7` | `0.5.8` |
| [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) | `5.51.18` | `5.53.2` |
| [@tanstack/react-router](https://github.com/TanStack/router/tree/HEAD/packages/react-router) | `1.46.0` | `1.52.3` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.0.2` | `22.5.2` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.3.3` | `18.3.5` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.0.0` | `8.3.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.0.0` | `8.3.0` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.19` | `10.4.20` |
| [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) | `3.0.0` | `3.0.1` |
| [postcss](https://github.com/postcss/postcss) | `8.4.40` | `8.4.44` |
| [react-hook-form](https://github.com/react-hook-form/react-hook-form) | `7.52.1` | `7.53.0` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.7` | `3.4.10` |
| [@rollup/wasm-node](https://github.com/rollup/rollup) | `4.19.2` | `4.21.2` |
| [@tanstack/router-devtools](https://github.com/TanStack/router/tree/HEAD/packages/router-devtools) | `1.46.0` | `1.52.3` |
| [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) | `0.4.9` | `0.4.11` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.3.5` | `5.4.2` |
| [vite-plugin-pwa](https://github.com/vite-pwa/vite-plugin-pwa) | `0.20.1` | `0.20.2` |



Updates `@tailwindcss/forms` from 0.5.7 to 0.5.8
- [Release notes](https://github.com/tailwindlabs/tailwindcss-forms/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-forms/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss-forms/compare/v0.5.7...v0.5.8)

Updates `@tanstack/react-query` from 5.51.18 to 5.53.2
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.53.2/packages/react-query)

Updates `@tanstack/react-router` from 1.46.0 to 1.52.3
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.52.3/packages/react-router)

Updates `@types/node` from 22.0.2 to 22.5.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 18.3.3 to 18.3.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@typescript-eslint/eslint-plugin` from 8.0.0 to 8.3.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.3.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 8.0.0 to 8.3.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.3.0/packages/parser)

Updates `autoprefixer` from 10.4.19 to 10.4.20
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.19...10.4.20)

Updates `http-proxy-middleware` from 3.0.0 to 3.0.1
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v3.0.0...v3.0.1)

Updates `postcss` from 8.4.40 to 8.4.44
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.40...8.4.44)

Updates `react-hook-form` from 7.52.1 to 7.53.0
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.52.1...v7.53.0)

Updates `tailwindcss` from 3.4.7 to 3.4.10
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.10/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.7...v3.4.10)

Updates `@rollup/wasm-node` from 4.19.2 to 4.21.2
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.19.2...v4.21.2)

Updates `@tanstack/router-devtools` from 1.46.0 to 1.52.3
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.52.3/packages/router-devtools)

Updates `eslint-plugin-react-refresh` from 0.4.9 to 0.4.11
- [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases)
- [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.9...v0.4.11)

Updates `vite` from 5.3.5 to 5.4.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.2/packages/vite)

Updates `vite-plugin-pwa` from 0.20.1 to 0.20.2
- [Release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases)
- [Commits](https://github.com/vite-pwa/vite-plugin-pwa/compare/v0.20.1...v0.20.2)

---
updated-dependencies:
- dependency-name: "@tailwindcss/forms"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@tanstack/react-router"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: autoprefixer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: http-proxy-middleware
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@rollup/wasm-node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@tanstack/router-devtools"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint-plugin-react-refresh
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: vite-plugin-pwa
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(build/web): bump pnpm

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-09-02 13:01:31 +02:00
soup
f48b103a52
feat(irc): allow lazy announcer nicks (#1322)
* feat(irc): allow lazy announcer nicks

* fix web

* fix: indents

* fix: add missing entries

* feat: extend announcer validation with digit suffix support

this reverts the previous commits

* feat(irc): allow lazy announcer match

* fix(irc): imports

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2024-09-02 13:00:30 +02:00
Kyle Sanderson
46b3ae8a0f
build(docker): add Windows images (#1640)
* 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>
2024-09-02 11:51:48 +02:00
dependabot[bot]
cf2da14073
build(deps): bump the golang group across 1 directory with 3 updates (#1644)
Bumps the golang group with 3 updates in the / directory: [github.com/Masterminds/sprig/v3](https://github.com/Masterminds/sprig), [github.com/rs/cors](https://github.com/rs/cors) and [github.com/sasha-s/go-deadlock](https://github.com/sasha-s/go-deadlock).


Updates `github.com/Masterminds/sprig/v3` from 3.2.3 to 3.3.0
- [Release notes](https://github.com/Masterminds/sprig/releases)
- [Changelog](https://github.com/Masterminds/sprig/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Masterminds/sprig/compare/v3.2.3...v3.3.0)

Updates `github.com/rs/cors` from 1.11.0 to 1.11.1
- [Commits](https://github.com/rs/cors/compare/v1.11.0...v1.11.1)

Updates `github.com/sasha-s/go-deadlock` from 0.3.1 to 0.3.5
- [Release notes](https://github.com/sasha-s/go-deadlock/releases)
- [Commits](https://github.com/sasha-s/go-deadlock/compare/v0.3.1...v0.3.5)

---
updated-dependencies:
- dependency-name: github.com/Masterminds/sprig/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: golang
- dependency-name: github.com/rs/cors
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: golang
- dependency-name: github.com/sasha-s/go-deadlock
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: golang
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 11:36:05 +02:00
Kyle Sanderson
982f7ddf68
refactor(wildcard): optimize and add caching (#1634)
* 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
2024-09-02 11:18:14 +02:00
ze0s
bc0f4cc055
feat: add support for proxies to use with IRC and Indexers (#1421)
* feat: add support for proxies

* fix(http): release handler

* fix(migrations): define proxy early

* fix(migrations): pg proxy

* fix(proxy): list update delete

* fix(proxy): remove log and imports

* feat(irc): use proxy

* feat(irc): tests

* fix(web): update imports for ProxyForms.tsx

* fix(database): migration

* feat(proxy): test

* feat(proxy): validate proxy type

* feat(proxy): validate and test

* feat(proxy): improve validate and test

* feat(proxy): fix db schema

* feat(proxy): add db tests

* feat(proxy): handle http errors

* fix(http): imports

* feat(proxy): use proxy for indexer downloads

* feat(proxy): indexerforms select proxy

* feat(proxy): handle torrent download

* feat(proxy): skip if disabled

* feat(proxy): imports

* feat(proxy): implement in Feeds

* feat(proxy): update helper text indexer proxy

* feat(proxy): add internal cache
2024-09-02 11:10:45 +02:00
martylukyy
472d327308
fix(web): remove unused checkForUpdates JSON object (#1638) 2024-09-01 18:23:41 +02:00
Kyle Sanderson
f3c7946e52
chore(deps): update Go to 1.23 and Node to 20.17.0 (#1639)
* 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>
2024-09-01 17:10:18 +02:00
ze0s
34d6e0cf60
fix(diagnostics): profiling config flags (#1637) 2024-08-29 13:21:01 +02:00
ze0s
b681846b51
refactor(logs): move sanitize (#1636) 2024-08-29 12:38:49 +02:00
ze0s
acb91e8709
feat(http): implement missing findByID methods (#1635)
* feat(http): implement missing methods

* general cleanup
* unify param handling
* handle not found errors
* unify err handlers

* fix(http): fmt type
2024-08-29 12:22:03 +02:00
ze0s
accc875960
feat(database): improve error handling (#1633) 2024-08-29 09:00:53 +02:00
Kyle Sanderson
cc0cca9f0d
refactor(http): implement bufio (#1604)
* fix: misc http fixes

* feat(io): implement bufio around syscalls

* peek-a-boo

* this can't be right.

* you better be wearing a helmet

* jesus christ.

* refactor(notifications): check err on non-ok status

* fix(notifications): add missing name method

* refactor(indexer): api clients

* fix(indexer): ptp test

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2024-08-29 08:51:20 +02:00
ze0s
d13b421c42
refactor(http): api key cache handling (#1632) 2024-08-28 16:51:03 +02:00
ze0s
0d53f7e5fc
feat(download-clients): rtorrent support Digest Auth (#1596)
* feat(download-clients): rtorrent support basic auth

* feat(download-client): implement new auth logic

* fix(download-client): tests store

* chore(deps): update go-rtorrent to v1.11.0
2024-08-28 12:21:56 +02:00
ze0s
861f30c144
fix(actions): reject if client is disabled (#1626)
* fix(actions): error on disabled client

* fix(actions): sql scan args

* refactor: download client cache for actions

* fix: tests client store

* fix: tests client store and int conversion

* fix: tests revert findbyid ctx timeout

* fix: tests row.err

* feat: add logging to download client cache
2024-08-27 19:45:06 +02:00
kenstir
77e1c2c305
docs(contributing): add note about postgres timezones (#1550)
* docs: add note that postgres tests require UTC

* Update CONTRIBUTING.md

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2024-08-27 11:11:54 +02:00
Kyle Sanderson
65d25c56c9
feat(diagnostics): add pprof profiling (#1627)
* feat(tracing): enable tracing

* of course the squash didn't work.

* gah. always nice when there's 40 csets.

* might as well.

* refactor: tracing to diagnostics

* feat: add note about the magic methods from pprof

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2024-08-27 11:00:30 +02:00
ze0s
5ae4ed3604
fix(indexers): SATClubbing download url (#1630) 2024-08-27 09:48:51 +02:00
martylukyy
b2db1cc091
fix(indexers): HD-Only torrenturl (#1629) 2024-08-25 17:07:48 +02:00
martylukyy
13b67b2fb0
fix(indexers): adapt TheOldSchool regex (#1628) 2024-08-25 15:54:02 +02:00
ze0s
ecffdc60ec
feat(indexers): add SeedPool (#1625) 2024-08-24 14:02:58 +02:00
ze0s
cb2c62b353
feat(indexers): HD-Only add size (#1621)
* feat(indexers): HD-Only add size

* fix(indexers): test case
2024-08-19 14:45:42 +02:00
ze0s
de5953a007
feat(indexers): add iNSANE (#1620)
* feat(indexers): add iNSANE tracker

* refactor: update name
2024-08-16 18:26:22 +02:00
ze0s
59a10a910e
fix(feeds): implement staggered start (#1619) 2024-08-13 20:46:45 +02:00
ze0s
4b884ee859
feat(filters): add validation for max downloads unit (#1618) 2024-08-13 20:45:12 +02:00
martylukyy
e8e45c664d
refactor(web): rename custom components (#1581)
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2024-08-12 20:44:57 +02:00
martylukyy
7d7bf9ed4c
refactor(web): update deprecated HeadlessUI v2 components (#1580)
* refactor(web): move away from old headless UI dot notation

* refactor(web): refactor `Disclosure` component

* refactor(web): rename formik's `Field` to `FormikField` and keep original HeadlessUI component names
2024-08-12 20:36:45 +02:00
ze0s
21a8e27260
feat(indexers): add SATClubbing (#1617)
* feat(indexers): add SATClubbing
2024-08-12 20:24:37 +02:00
dependabot[bot]
b0d5844018
build(deps): bump the golang group across 1 directory with 9 updates (#1616) 2024-08-11 23:14:53 +00:00
ze0s
b9830f61b1
fix(docker): update deprecated LABEL format (#1615) 2024-08-11 20:58:26 +02:00
ze0s
abfac05b66
fix(releases): retry action missing external indexer identifier (#1612)
* fix(releases): retry action missing external identifier

* fix(actions): arrs set fallback indexer identifier
2024-08-11 20:39:11 +02:00
martylukyy
3183e15a4b
fix(web): root pending component placement (#1601) 2024-08-11 19:11:29 +02:00
martylukyy
9893290c3e
fix(web): filter dropdown cut off (#1600) 2024-08-11 19:09:49 +02:00