Commit graph

797 commits

Author SHA1 Message Date
ze0s
d5d1cecc1b
feat(clients): Transmission support seedtime and ratiolimit (#1211)
* feat(clients): Transmission seedtime ratiolimit

* feat(clients): update client pkg

* feat(clients): update client pkg test

* feat(actions): update transmission
2023-10-31 00:38:23 +01:00
ze0s
568e41de24
feat(indexers): add ABNormal (#1232)
* feat(indexers): add Abnormal

* fix: casing

* fix: network name casing
2023-10-31 00:23:40 +01:00
soup
89d00d0986
fix(config): prevent overwriting default logPath (#1219)
* fix(config): prevent overwriting logPath default

* Fix duplication issue

* fix: Preserve non-empty logPath value in config
2023-10-30 23:04:53 +01:00
Kyle Sanderson
9ddaea1aa2
build(deps): bump rls to v0.5.10 (#1226)
* chore(qbittorrent): bump deps

* chore(deps): update go dependencies

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-10-30 23:00:46 +01:00
Kyle Sanderson
92659bca5f
fix(filters): external webhooks improve defaults (#1227)
* fix(external actions): retry

* mods

* wrap in bufio
2023-10-30 22:18:43 +01:00
ze0s
7c91d34cb4
fix(feeds): feed cache key (#1230)
* fix(feeds): feed cache sometimes missing key

* fix(feeds): feed cache use link as key if no guid
2023-10-30 22:10:03 +01:00
soup
b6e7c45030
feat(settings): hide empty fields (#1225)
feat(web): hide RowItem if data is missing
2023-10-30 22:08:11 +01:00
Daniel Williams
5225c1e956
feat(logs): sanitize basic auth in urls (#1188)
* Added regex pattern to capture credentials used to bypass auth

* Updated test case for log sanitisation

* Changed replacement pattern

* Update logs_sanitize_test.go

* fix: reorder regex patterns

---------

Co-authored-by: soup <soup@r4tio.dev>
2023-10-28 12:04:57 +02:00
dependabot[bot]
69f7cce116
build(deps): bump the github group with 1 update (#1223) 2023-10-28 10:02:05 +00:00
Kyle Sanderson
19041de567
fix(indexers): capitalize TheOldSchool (#1222) 2023-10-28 12:01:25 +02:00
ze0s
0f943933a6
fix(database): migrations filter_external (#1221) 2023-10-27 19:10:19 +02:00
ze0s
282355c49a
chore(deps): update go-qbittorrent to v1.7.1 (#1217) 2023-10-27 17:38:35 +02:00
Steven Kreitzer
2080136669
feat(filters): external webhook retry on status codes (#1206)
* feat: external filter retry status codes

* chore: go mod tidy

* fix(database): migrations

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-10-27 17:37:57 +02:00
martylukyy
40a1a4c014
feat(web): disable IRC fields (#1220) 2023-10-27 17:33:41 +02:00
ze0s
2372c942b3
fix(indexers): BTN api handle errors (#1218) 2023-10-26 23:45:21 +02:00
martylukyy
d1fa1b7cdf
feat(indexers): BHD freeleech announces (#1216)
* feat(indexers): BHD freeleech announces

* feat: parse and map bhd freeleech

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-10-26 22:30:28 +02:00
martylukyy
c866f167f7
build(deps): bump npm packages (#1208) 2023-10-26 22:24:28 +02:00
persuaded6414
367d8c8899
docs(definitions): MAM clarify cookie usage (#1199)
Update myanonamouse.yaml to have the right mam_id format

Autobrr's Discord had a user indicate that the format needs to be "mam_id=$id;"

The $id being the one created in the Preferences > Security in MAM website for the relevant IP.
2023-10-23 22:02:46 +02:00
martylukyy
8b32b72633
chore(docs): update README.md (#1210)
* chore(docs): update README.md

* add gotify as notification option
2023-10-23 21:48:33 +02:00
ze0s
eb75714cf8
feat(indexers): add TheOldSchool (#1209)
* feat(indexers): add TheOldSchool

* change language code
remove unneeded lazy modifiers
account for empty parenthesis
account for miscellaneous character in usernames
make compatible with PCRE flavors

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-10-23 20:48:42 +02:00
ze0s
522f22db46
feat(clients): Transmission set label (#1204)
* feat(clients): Transmission set label

* fix(clients): Transmission fmt

* fix(clients): Transmission set label before reannounce
2023-10-23 19:02:04 +02:00
ze0s
d602b1e868
fix(clients): qBittorrent rules ignore slow (#1200)
fix(clients): qBit rules ignore slow
2023-10-23 18:36:50 +02:00
martylukyy
ee0d055743
fix(indexers): TorrentSeeds remove nickserv fields (#1205)
fix(indexers): removal of torrentseeds nickserv fields
2023-10-22 18:06:07 +02:00
dependabot[bot]
edb04b959e
build(deps): bump the golang group with 3 updates (#1203) 2023-10-22 11:21:58 +00:00
ze0s
3ed44aff26
fix(clients): qBittorrent reject stalled reannounce (#1201)
fix(clients): qBit reannounce stalled rejection
2023-10-21 17:18:31 +02:00
ze0s
9793764905
feat(feeds): improve caching (#1191)
* feat(feeds): improve caching

* fix(feeds): put cache if not empty

* fix(feeds): reassign loop var

* fix(feeds): enable busy_timeout again

* fix(feeds): enable busy_timeout again
2023-10-21 17:03:52 +02:00
soup
8c7c147328
feat(web): disable 1password prompts (#1198) 2023-10-19 18:50:57 +02:00
ze0s
0f9a3e439b
feat(indexers): PTP support freeleech (#1195) 2023-10-19 18:50:14 +02:00
martylukyy
706f95116e
feat(indexers): add OnlyEncodes (#1190)
feat(indexers): add onlyencodes
2023-10-18 18:45:17 +02:00
ze0s
06b864da4d
fix(releases): search with postgres (#1181)
* fix(releases): search with postgres

* fix: validate release push status from filters

* fix: add missing import

* fix: validate push status if not empty
2023-10-16 20:27:15 +02:00
Gabe
faaec5625a
feat(indexers): remove closed indexer (PTN) (#1185)
PTN closed down for good.
2023-10-16 20:25:56 +02:00
dependabot[bot]
a76e0ad4ef
build(deps): bump the npm group in /web with 18 updates (#1161)
* build(deps): bump the npm group in /web with 18 updates

Bumps the npm group in /web with 18 updates:

| Package | From | To |
| --- | --- | --- |
| [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) | `4.33.0` | `4.35.7` |
| [@tanstack/react-query-devtools](https://github.com/TanStack/query/tree/HEAD/packages/react-query-devtools) | `4.33.0` | `4.35.7` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.5.9` | `20.8.0` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.2.21` | `18.2.24` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.2.7` | `18.2.8` |
| [@types/react-table](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-table) | `7.7.15` | `7.7.16` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `6.5.0` | `6.7.3` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `6.5.0` | `6.7.3` |
| [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) | `3.3.2` | `3.4.0` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.15` | `10.4.16` |
| [eslint](https://github.com/eslint/eslint) | `8.48.0` | `8.50.0` |
| [formik](https://github.com/jaredpalmer/formik) | `2.4.3` | `2.4.5` |
| [postcss](https://github.com/postcss/postcss) | `8.4.29` | `8.4.31` |
| [react-hook-form](https://github.com/react-hook-form/react-hook-form) | `7.45.4` | `7.46.2` |
| [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) | `6.15.0` | `6.16.0` |
| [react-select](https://github.com/JedWatson/react-select) | `5.7.4` | `5.7.5` |
| [vite-plugin-pwa](https://github.com/antfu/vite-plugin-pwa) | `0.16.4` | `0.16.5` |
| [vite-plugin-svgr](https://github.com/pd4d10/vite-plugin-svgr) | `3.2.0` | `4.1.0` |


Updates `@tanstack/react-query` from 4.33.0 to 4.35.7
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v4.35.7/packages/react-query)

Updates `@tanstack/react-query-devtools` from 4.33.0 to 4.35.7
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v4.35.7/packages/react-query-devtools)

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

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

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

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

Updates `@typescript-eslint/eslint-plugin` from 6.5.0 to 6.7.3
- [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/v6.7.3/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 6.5.0 to 6.7.3
- [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/v6.7.3/packages/parser)

Updates `@vitejs/plugin-react-swc` from 3.3.2 to 3.4.0
- [Release notes](https://github.com/vitejs/vite-plugin-react-swc/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react-swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react-swc/compare/v3.3.2...v3.4.0)

Updates `autoprefixer` from 10.4.15 to 10.4.16
- [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.15...10.4.16)

Updates `eslint` from 8.48.0 to 8.50.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.48.0...v8.50.0)

Updates `formik` from 2.4.3 to 2.4.5
- [Release notes](https://github.com/jaredpalmer/formik/releases)
- [Commits](https://github.com/jaredpalmer/formik/compare/formik@2.4.3...formik@2.4.5)

Updates `postcss` from 8.4.29 to 8.4.31
- [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.29...8.4.31)

Updates `react-hook-form` from 7.45.4 to 7.46.2
- [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.45.4...v7.46.2)

Updates `react-router-dom` from 6.15.0 to 6.16.0
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.16.0/packages/react-router-dom)

Updates `react-select` from 5.7.4 to 5.7.5
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.7.4...react-select@5.7.5)

Updates `vite-plugin-pwa` from 0.16.4 to 0.16.5
- [Release notes](https://github.com/antfu/vite-plugin-pwa/releases)
- [Commits](https://github.com/antfu/vite-plugin-pwa/compare/v0.16.4...v0.16.5)

Updates `vite-plugin-svgr` from 3.2.0 to 4.1.0
- [Release notes](https://github.com/pd4d10/vite-plugin-svgr/releases)
- [Commits](https://github.com/pd4d10/vite-plugin-svgr/compare/v3.2.0...v4.1.0)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@tanstack/react-query-devtools"
  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: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/react-table"
  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: "@vitejs/plugin-react-swc"
  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: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: formik
  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: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: react-select
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: vite-plugin-pwa
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: vite-plugin-svgr
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
...

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

* fix svg imports

---------

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>
2023-10-14 15:59:10 +02:00
Daniel Williams
f59e133398
feat(indexers): SubsPlease parse title (#1170)
* Update subsplease.yaml regex to parse title

This change aims to parse any multiple-word title to populate the title macro.

* Update subsplease.yaml also captures title for batch releases

I replaced the (.*?) part with ([^-()]+), which matches one or more characters that are not dashes or parentheses. This will stop at either a dash - or an opening parenthesis (

* Parsing title by matching a sequence instead of using a character class

Using whitespace - (dash) whitespace numerical or whitespace ( (open bracket) numerical to end the title pattern

* specify character amount of `\d` token

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-10-14 12:11:23 +02:00
martylukyy
32c25e6cab
fix(indexers): pbay announce bot name (#1179) 2023-10-14 12:09:08 +02:00
MouldWarpMole
77948d7654
feat(notifications): Add Gotify (#1180)
feat(notifications): Add Gotify (resolves #513)
2023-10-14 12:08:12 +02:00
Bogdan
525861074b
feat(indexers): FileList update download link (#1172)
feat(indexers): remove unused filename argument from download link for FL
2023-10-10 18:00:06 +02:00
Bogdan
b70ad9f144
feat(indexers): update SSL port for AR (#1171) 2023-10-10 17:57:25 +02:00
martylukyy
a60595bfba
fix(web): actions tooltip links (#1178) 2023-10-10 17:54:57 +02:00
Fabricio Silva
8600d3a2ab
fix(indexes): toggle on and off with switch (#1164)
* chore(indexers): replace array position with id

* fix(indexers): enable and disable without editing

* feat(indexer): add toggle endpoint and refactoring

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-10-03 21:57:11 +02:00
martylukyy
603191b47d
fix(indexers): pbay regex pattern (#1165) 2023-10-03 16:38:24 +02:00
jolinarofmalkshur
dbb3ff3a3b
feat(feeds): improve file size parsing (#1162)
* In rss feeds, sometimes the only place the size is mentioned is in the
description field. If the size has not already been determined from
another source try to read it from there.

* Accept sizes with no space between value and unit of measure

* feat(feeds): get size from description add test

* fix(feeds): tests

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-10-01 22:47:47 +02:00
ze0s
03ef86ac96
fix(indexers): NBL irc announce regex (#1153)
* fix(indexers): NLB regex pattern

* fix: improve regex

* fix: reintroduce category group
fix: exempt season numbering from title

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-10-01 16:47:30 +02:00
dependabot[bot]
a20f40c2cd
build(deps): bump the golang group with 4 updates (#1160) 2023-10-01 13:33:21 +00:00
dependabot[bot]
ed3b6d5dcb
build(deps): bump the github group with 1 update (#1158) 2023-10-01 13:16:45 +00:00
stacksmash76
3e3454724b
fix(web): tooltips (#1154)
* fix broken tooltips, replace react-tooltip with react-popper-tooltip

* make tooltips use ExternalLink component

* fix import

* get rid of unused import

* fix(tooltip): set delayHide

* removed unecessary comment

* fix tooltip on mobile

* stop tooltip label propagation (mainly for mobile devices)

* added onClick convenience prop for label component wrapper (since onClick isn't propagated down)

---------

Co-authored-by: soup <soup@r4tio.dev>
2023-10-01 15:16:05 +02:00
Kyle Sanderson
98df0c9040
chore(build): enable CodeQL (#1026)
* Create codeql.yml

* setup pnpm

* sq.Eq{"ras.status": params.Filters.PushStatus}

* enable extended and quality

* fix: code scanning alert #58 #57

https://github.com/autobrr/autobrr/security/code-scanning/58
https://github.com/autobrr/autobrr/security/code-scanning/57

* fix: linting issues for code scanning 60, 59, 56

https://github.com/autobrr/autobrr/security/code-scanning/60
https://github.com/autobrr/autobrr/security/code-scanning/59
https://github.com/autobrr/autobrr/security/code-scanning/56

---------

Co-authored-by: Fabricio Silva <hi@fabricio.dev>
2023-09-26 21:24:59 +02:00
ze0s
a78a5d1bf8
fix(indexers): API get torrent check for nil body (#1146) 2023-09-26 20:33:36 +02:00
Adam Lau
657c966ecb
feat(notifications): Telegram display file size (#1148) 2023-09-26 20:32:51 +02:00
stacksmash76
25c3f02c72
fix(filters): importer (#1149)
fix(web): early exit on filter import
chore(readme): add new pic to readme
2023-09-26 20:30:23 +02:00
martylukyy
1900bf7742
fix(indexers): SubsPlease parse line pattern (#1152) 2023-09-26 20:27:21 +02:00