Commit graph

549 commits

Author SHA1 Message Date
soup
0c04c669c7
fix(indexers): bad nCore torrent URL (#586)
Fixed bad ncore URL
2022-12-28 14:57:57 +01:00
soup
1a1a10a7b3
feat(web): added missing placeholders (#584)
Added placeholders where there weren't any.
2022-12-28 14:56:20 +01:00
martylukyy
7c1e5087be
fix(indexers): fix AR and TS (GER) regex patterns (#582)
* fix(indexers): fix regex patterns

* fix TS (ger) regex for when there are no tags given
2022-12-28 14:54:36 +01:00
martylukyy
041ee4cebe
fix(indexers): TS regex (#579)
* fix(indexers): TS regex

TS got rid of the "id=" part in their announces, resulting in our pattern not matching anymore.
Adjusted our regex with capturing the ID after `/` instead of `id=`.
Tested this the new expression with 1180 announces of which all resulted in a match.

* fixed test

fixed test to match new regex
2022-12-24 18:42:05 +01:00
Kyle Sanderson
0f3ce7573e
fix(releases): improve load time by 47x (#565)
* fix(releases): improve load time by 47x

* fix(releases): optimize stats query

* remove the *

* change nil to actual 0

* feat(releases): flip recent to orderby id

* fix(stats): make postgres compatible

* return the * to COUNT for pgsql

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
Co-authored-by: ze0s <ze0s@riseup.net>
2022-12-16 11:43:09 -08:00
Kyle Sanderson
5260777b6b
feat(releases): implement keyword search (#564)
* feat(releases): implement reserved keyword search

* implement filter / hdr

* implement quote support

* implement wildcard for decimals

* feat(release): specify table name in map
2022-12-14 19:20:47 +01:00
ze0s
38795be9ea
feat(filters): smart episode (#563)
* feat(filters): initial smart episode

* feat(smart-episode): pseudo-logic

* feat(filters): check releases

* feat(filters): update logic

* feat(web): smart episode (#562)

* add frontend part for smart episode feature

* change description for smart episode help text

* fix wording

* feat(filters): smart-episode logic

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
Co-authored-by: xoaaC <35452459+xoaaC@users.noreply.github.com>
2022-12-14 19:07:04 +01:00
ze0s
45e03c10b6
feat(indexers): UHDBits support new format (#561) 2022-12-10 22:03:57 +01:00
ze0s
839eb9f3f3
feat(actions): simplify macro parsing (#560)
* refactor(action): parse macros

* feat(action): add ctx to arr clients and test
2022-12-10 21:48:19 +01:00
xoaaC
f6e68fae2b
enhancement(web): red disabled switch button (#552)
* added red background to "Enabled" switch button when disabled for IRC update form

created const SwitchGroupWideRed in web/src/components/inputs/input_wide.tsx
added const SwitchGroupWideRed in web/src/components/inputs/index.ts
changed SwitchGroupWide to SwitchGroupWideRed in IrcNetworkUpdateForm in web/src/forms/settings/IrcForms.tsx

* added red background to SwitchGroupWideRed for default/white mode too

* made white and dark mode red one shade lighter (red-600 -> red-500)
2022-12-10 19:25:48 +01:00
ze0s
29da2416ec
feat(clients): add support for qBittorrent 4.4.0+ (#558)
* refactor: move client to go-qbittorrent

* refactor: move client to go-qbittorrent

* feat(downloadclient): cache qbittorrent client

* feat(downloadclient): update qbit

* feat(downloadclient): client test and remove pkg qbit

* feat(downloadclient): update pkg qbit

* fix(release): method

* feat(release): make GetCachedClient concurrent safe

* feat(release): add additional tests for buildLegacyHost

* feat(release): remove branching

* chore: update pkg autobrr/go-qbittorrent to v.1.2.0
2022-12-10 19:25:04 +01:00
ze0s
6ad4abe296
fix(announce): parse torrentUrl (#557)
fix(announce): generate torrentUrl
2022-12-03 21:20:06 +01:00
Viktor Elofsson
4623921cbb
feat(web): When adding the first action, display it in edit mode (#556)
When adding the first action, display it in edit mode
2022-12-03 17:16:26 +01:00
Viktor Elofsson
0f2ce26ba2
feat(tools): Add a simple MockIndexer helper for IRC announcing and indexing (#555)
* Add a simple SelfIndexer for IRC announcing and indexing

* Rename to MockIndexer

* fix: close file after reading
2022-12-03 16:55:36 +01:00
xoaaC
ef088c27ad
fix(web): download client table overflow (#522)
* convert client table to grid

* too much data

* fix(web): download client table overflow
• Converted DownloadClient table into a responsive grid.
• Overflowing content will now truncate and hovering over it will show you the full value.
2022-12-03 15:51:16 +01:00
xoaaC
2ae237015d
fix(web/filters): truncate too long name (#545)
* Fixed an issue where the div containing the filter name in the delete modal would overflow if the filter name is too long. Text inside the div is now contained and will word-break when too long.
* Fixed an issue where the filter name headline would break into a second line if the filter name is too long. In case the filter name is too long the filter name headline will now truncate and show it's full value at mouseover.
2022-12-03 15:45:18 +01:00
ze0s
25a165b764
feat(indexers): add support for optional baseurl override (#551)
* feat(indexers): optional baseurl override

* feat(indexers): update baseUrl parsing

* refactor(indexers): BREAKING move parse to IRC struct

* Move Parse as part of IRC struct from Indexer
* Updated definitions
* Build torrentUrl in stages
* Use new url.JoinPath to build torrentUrl
* Update tests

* refactor(indexers): select option obj

* refactor(indexers): make backwards compatible
2022-12-03 15:40:45 +01:00
ze0s
301180e55b
feat(download-clients): improve arr error handling (#549) 2022-11-19 16:20:48 +01:00
ze0s
33aa21fc15
build(ci): move back to hosted-runners (#547)
build(release): revert to hosted-runners
2022-11-18 21:03:56 +01:00
Kyle Sanderson
a93b54bbbc
fix(feeds): indexer identifier issues (#538)
* fix(torznab/rss): keep original name

* fix(feeds): get identifier via indexer join

* fix(feeds/web): remove identifier slugify
2022-11-17 18:50:40 +01:00
ze0s
dc42ca0042
feat(notifications): Notifiarr use auth header (#542) 2022-11-14 19:19:14 +01:00
TMD20
4b7e393ce9
fix(actions): watch dir check torrent suffix (#540)
Update run.go

Make conditional for generating random torrent name more specific
2022-11-14 19:18:08 +01:00
ze0s
51b0883786
fix(indexers): HUNO fix parsing (#541) 2022-11-14 18:45:08 +01:00
ze0s
19c9b79496
chore: update issue templates 2022-11-12 14:26:08 +01:00
Gabe
46676f9066
fix(indexers): HUNO missing escapes on slashes (#534)
Update huno.yaml

Fixing some missing escapes
2022-11-12 13:32:30 +01:00
ze0s
14ecaa530e
feat(indexers): add HUNO (#533) 2022-11-11 14:01:35 +01:00
stacksmash76
1b6fd01575
fix(web): infinitely retry queries, remove ago from age cells (#528)
- infinitely retry web queries so we avoid the "failed to fetch" error when the web server is unavailable
- remove the "ago" suffix from age cells (closes #497)
2022-11-10 12:32:57 +01:00
stacksmash76
b6ba23d0ee
fix(web): download client table overflow, filter alerts, dubious wording (#521)
* fix table overflow in settings -> download client

* fixed uneven line height in CellLine component

* filters/details: rename "Cancel" to "Reset form values"
Added log level and log path to Application settings.
Added column truncation to Download Client settings.

* feat: change settings debug toggle wording

* fix: typo in irc add form
2022-11-10 12:27:09 +01:00
xoaaC
f811b80413
fix(indexers): GGn regex pattern (#516)
* Fixed regex to still match the announce if there are no flags in it.

* customize freeleech parsing from regex

* Fix match when there is no year given (instead of 0) for a release.
	Made capture group 4 lazy/optional/ungreedy.

Created a non-capturing group for the `:: NSFW! ::` section to exclude the seperators and the tag itself from the tags var.
	I think we should exclude a possible `:: NSFW! ::` section after the tags section from matching for 2 reasons:
	1. There is already an "adult" tag. Use it.
	2. The `:: NSFW! ::` may get truncated if the announce line is too long. Matching the tag against `adult` is more consistent.

Fix match when `:: NSFW! ::` section gets truncated because the announce line is too long.

Tested with a sample size of 554 announces of which 554 resulted in a match.

* fix(indexers): ggn change flags to releaseTags and freeleech
2022-11-10 10:35:59 +01:00
Kyle Sanderson
490d85d220
fix(cmd): add fallback tz information (#526)
* fix(cmd): add fallback tz information

* build(docker): add tzdata pkg
2022-11-10 10:20:54 +01:00
soup
b7c9674a01
fix(indexers): scenehd invite cmd (#532)
fix typo
2022-11-10 10:10:46 +01:00
xoaaC
d4cd5d8dac
fix(indexers): immortalseed regex (#531)
* fix(indexers): immortalseed regex

* change IRC port to 7000
set TLS to true
replace "IRCKEY" in placeholder and help test with "PASSKEY" for invite_command field.

* simplified regex
2022-11-10 10:09:53 +01:00
Kyle Sanderson
6295239985
fix(rss): ignore max_age for old feed items (#527)
Feed dates are not always initialized, which defaults (if present) to epoch on some feed items. When this happens the results can be unpredictable, and not expected for what users are intending for. As such to have sane defaults, we ignore the date if it's before April 1st 1970, because nothing really happened before this date.
2022-11-07 17:32:49 +01:00
Kyle Sanderson
d826399c24
fix(download_client): improve no-client error (#529) 2022-11-07 17:22:31 +01:00
stacksmash76
e7222504d6
fix(web): tooltips (#519)
fix: fixed broken wrapping in tooltip child elements (missed last letter)
enhancement: increased line height for tooltip child cells in case of wrapping for clearer text
enhancement: renamed filter rejections from `Filter` to `Rejected` in tooltips
chore: changed remaining purple highlights to blue.

Co-authored-by: anonymous <anonymous>
2022-11-03 00:44:40 +01:00
ze0s
547b01a50d
feat(actions): watch dir rename file (#515) 2022-10-28 00:29:34 +02:00
ze0s
716784e7a6
fix(filters): max downloads per hour check (#514)
* fix(filters): sqlite max downloads per hour

* fix(filters): missing import
2022-10-27 23:13:06 +02:00
ze0s
4bf023d030
feat(irc): support optional SASL and NickServ auth (#511)
* feat(irc): support SASL and NickServ auth

* feat(irc): add missing fields

* feat(irc): support SASL and NickServ auth

* feat(irc): add missing fields

* feat(irc): add validation

* feat(indexers): unify and set required values

* feat(irc): add postgres migrations

* feat(irc): use nick as handlerkey

* feat(irc): use account for nickserv

* fix(irc): pg db migration
2022-10-27 22:25:58 +02:00
yanando
4ef0408f33
feat(indexers): Improve arr compatability for animebytes (#512)
Update animebytes.yaml

Place the year inside square brackets before the release tags. This makes sure that the arrs don't think the release year is part of the title.
2022-10-27 21:59:04 +02:00
ze0s
532df38cd4
fix(filters): except categories (#510)
fix(filters): except categories check
2022-10-20 17:39:08 +02:00
ze0s
2cc08bed71
build: revert to old way of docker job (#508)
build: try old way for docker build
2022-10-19 22:17:45 +02:00
Kyle Sanderson
2d8f7aeb4e
feat(releases): retry failed downloads (#491)
* feat(download): implement parsing and retry

* feat: retry torrent file downloads

* refactor: error handling downloadtorrentfile

* feat: add tests for download torrent file

* build: add runs-on self-hosted

* build: add runs-on self-hosted
2022-10-19 21:52:31 +02:00
ze0s
5183f7683a
feat(filters): filtering for raw releaseTags (#506)
feat(filters): add releaseTags filtering
2022-10-18 23:52:36 +02:00
ze0s
dbabb26b83
feat(indexers): add Enthralled (#504) 2022-10-18 21:25:26 +02:00
ze0s
7ec121a583
feat(indexers): add iPlay / RMT (#503) 2022-10-18 20:21:29 +02:00
ze0s
e2bb14afa4
feat(feeds): improve RSS (#502)
* feat(feeds): improve rss

* save last_run time
* remove interval check
* refactor feed job keys
* add rss test
* add max_age check

* feat(feeds): rss basic freeleech parsing

* feat(feeds): rss cookie support

* feat(feeds): db get max_age

* feat(feeds): update log messages

* feat(feeds): pass cookie to release for download

* feat(feeds): improve size parsing

* feat(feeds): improve datetime check
2022-10-18 18:51:10 +02:00
stacksmash76
ac988f28f4
feat(web): better tooltips and uniformity (#474)
* - fix: changed all {text,bg}-{teal,indigo}-* color properties to {text,bg}-{blue}-* so there is only one dominant primary color in the UI -- blue
- enhancement: added `cursor: pointer` to the PageButton component (used in pagination)
- enhancement: modified TitleCell to use the new Tooltip component and modified the width selectors to a more sane default value, now instead of scrolling one just has to tap the cell to see it's untruncated value
- enhancement: modified the Tooltip component to use react-popper-tooltip (which in turn uses popper.js) which is a much better alternative, since it uses auto-positioning in case there's not enough space and some things aren't as broken as in the previous version (e.g. there was a problem with forcing the previous tooltip to use a specific width)
- enhancement: added a useMedia hook selector from the react-use repository, which might come in handy in the future for better/easier decoupling of Desktop and Mobile UI/UX patterns via JS (versus CSS-only)
- enhancement: made the mobile navbar more visible and clear. also fixed previous path === "/" bug which was fixed on desktop.
- fix: fixed table headers/footers so they're rounded
- enhancement: made pagination components more compact (buttons and show N result selector)

* changed {ring, border}-indigo-* to ring-blue-*

* build: add yarn.lock

* fix: formatting warnings

* fix: formatting warnings

* fix: more formatting warnings

* fix: more formatting
2022-10-14 21:54:21 +02:00
voltron4lyfe
71d0424b61
feat(clients): add Readarr support (#490)
* Add initial Readarr support

* Readarr working with MaM

* feat(clients): readarr add tests
2022-10-14 19:56:42 +02:00
ze0s
b7d2161fdb
feat(feeds): torznab parse category and freeleech (#492)
* feat(feeds): torznab parse freeleech

* feat(feeds): torznab parse categories
2022-10-14 18:01:04 +02:00
ze0s
924899d9f3
fix(indexers): SpeedApp download url (#495)
* fix(indexers): SpeedApp download url

* fix: torrenturl parse
2022-10-13 21:24:45 +02:00