Commit graph

707 commits

Author SHA1 Message Date
ze0s
d380c0b178
fix(macros): TorrentHash empty (#1699)
fix(macros): TorrentHash empty
2024-09-02 15:44:36 +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
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
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
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
21a8e27260
feat(indexers): add SATClubbing (#1617)
* feat(indexers): add SATClubbing
2024-08-12 20:24:37 +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
ze0s
6b3a4c5c63
fix(indexers): FearNoPeer irc regex for music (#1598)
* fix(indexers): FearNoPeer irc pattern

* feat: add test case
2024-07-20 13:42:24 +02:00
Alejo Gaitán
8f995006b1
fix(indexers): OPS log score parsing (#1592)
* fix(parsing): OPS Missing %

The message from OPS Announce does not contain a % sign and that seemed to break it. This is probably not the best fix but it is something.

* fix(parsing): Join Tags and Remove Unnecessary Char Replacement

Forgot to join tags before parsing, and removed an unnecessary char replacement that was not needed.

* fix(parsing): Added Regex for 0-100

I forgot to check for all score values, also added the regex import

* feat: add test cases for OPS log score parsing

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2024-07-17 00:39:29 +02:00
Kyle Sanderson
4f0e2d82b3
feat(config): check pid for container startup (#1589)
fix(config): check pid for container startup
2024-07-03 21:43:13 +02:00
ze0s
3d6c4c09f5
feat(indexers): add BitHUmen (#1576) 2024-06-18 15:48:21 +02:00
kanyewww
099a41f61b
feat(indexers): add FinElite (#1562)
* Added FinElite

* Fixed test in finelite.yaml

* fix: baseurl

---------

Co-authored-by: mobbi.dev <62039300+mobbi-dev@users.noreply.github.com>
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2024-06-01 20:05:03 +02:00
Antoine
1530e9516d
fix(rss): use custom client for rss tests (#1557) 2024-05-19 14:55:51 +02:00
MagiX13
5e88d08b35
feat(macros): add missing variables (#1541)
* Add all macros

* feat(macros): add month day and others

---------

Co-authored-by: MagiX <magix_debian@scheins.info>
Co-authored-by: ze0s <ze0s@riseup.net>
2024-05-15 21:14:40 +02:00
kenstir
4fceccd611
feat(filters): support daily shows (#1462)
* feat(database): Add month, day columns to release table

* feat(database): Add month, day columns to postgres release table

* feat(filters): support daily show format

* feat(filters): check smart episode daily

* fix(tests): rss

* feat(filters): add daily shows elements to form

* enhancement(web): minimize html in MoviesAndTV tab

* feat(filters): smart episode check proper and repack

* feat(filters): smart episode do not allow multiple latest

* feat(filters): smart episode check group with repack

* feat(filters): smart episode allow multiple current releases

---------

Co-authored-by: s0up4200 <soup@r4tio.dev>
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-05-15 16:38:10 +02:00
martylukyy
3e7c436fe6
fix(indexers): new IPT announce bot name (#1548) 2024-05-09 09:12:58 +02:00
martylukyy
8120c33f6b
fix(auth): cookie expiry and renewal (#1527)
* fix(auth/web): logout when expired/invalid/no cookie is present

* fix(auth/web): specify error message in invalid cookie

* fix(auth/web): reset error boundary on login

* fix(auth/web): fix onboarding

* chore: code cleanup

* fix(web): revert tanstack/router to 1.31.0

* refactor(web): remove react-error-boundary

* feat(auth): refresh cookie when close to expiry

* enhancement(web): specify defaultError message in HttpClient

* fix(web): use absolute paths for router links (#1530)

* chore(web): bump `@tanstack/react-router` to `1.31.6`

* fix(web): settings routes

* fix(web): filter routes

* fix(web): remove unused ReleasesIndexRoute

* chore(web): add documentation for HttpClient

* chore(lint): remove unnecessary whitespace
2024-05-08 10:38:02 +02:00
soup
28172cfba6
feat(indexers): add HD-Only (#1525)
* feat(indexers): add HD-Only

* fix optional captures

* fix: remove accidental whitespace

* feat(indexers): adapt hdonly regex for new announce format

* feat(indexers): fix tests

* feat(indexers): fix miscapturing of FL when no GROUP is announced

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-05-04 13:14:34 +02:00
ze0s
0016228d89
feat(indexers): add External Identifier to map with ARR indexers (#1534)
* feat(indexers): add External Identifier to map with ARR indexers

* fix: web build

* fix: tests

* feat: set identifier for manual processing
2024-05-04 12:37:01 +02:00
ze0s
9832076d7e
fix(indexers): irc baseurl override for links (#1537) 2024-05-04 10:59:47 +02:00
ze0s
3202c6043d
feat(indexers): update release baseurl on update (#1532) 2024-05-03 11:32:56 +02:00
soup
19e129e55f
feat(releases): delete based on age/indexer/status (#1522)
* feat(releases): delete based on age/indexer/status

* fix: sanitize releaseStatuses

* swap to RMSC

* add AgeSelect component

* improve texts

* refactor: streamline form layout

* improve text

* remove a paragraph

* improved UX

explaining the options, better error handling

* reinstate red border

* fix: labels to match other similar labels for selects

- improved contrast for the word "required" in desc
- added red asterisk to required select

* minor text improvement to warning

* fix: delete-button vertical alignment

* feat: cleanup queries

* feat: cleanup delete

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2024-05-03 11:32:20 +02:00
kbhsn4
ccff369f30
chore(indexers): danishbytes remove unused url (#1526)
Update danishbytes.yaml

Domain no longer used
2024-05-01 08:04:59 +02:00
kenstir
575944de1e
chore(database): remove unused test func (#1465)
chore(database): Remove unused func
2024-04-19 14:08:58 +02:00
ze0s
56aa7dd5cb
fix(feeds): parse magnet URI from enclosure (#1514)
fix(feeds): parse magnet from enclosure
2024-04-19 14:05:28 +02:00
s0up4200
56ef3a5402
feat(actions): qBittorrent add first-last piece priority (#1517)
* feat(actions): qBittorrent add first/last piece priority

* removed accidental change

* fix: scanrow order

* fix: spaces vs tabs

* bump(deps): upgrade go-qbittorrent to v1.9.0

* fix(test): add missing colon

* fix(database): sqlite remove duplicate
2024-04-18 14:47:36 +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
b58ead74aa
fix(logger): properly SetGlobalLevel on all levels (#1504)
* fix(logger): properly SetGlobalLevel on all levels

* utilize ParseLevel
2024-04-12 15:17:07 +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
ze0s
da53230077
feat(filters): validate existence of external exec cmd (#1501)
* feat(filters): check external cmd exists

* fix: imports

* Update internal/domain/filter.go

---------

Co-authored-by: s0up4200 <soup@r4tio.dev>
2024-04-12 13:56:57 +02:00
martylukyy
b181231b12
feat(macros): add Artists (#1493) 2024-04-08 11:02:10 +02:00
martylukyy
f26c33a961
fix(indexers): STC parse resolution (#1489)
* fix(indexers): add resolution var for STC
2024-04-05 06:58:20 +02:00
Kyle Henfrey
facb5b25e5
feat(indexers): Nyaa add trusted, remake and batch tags (#1482)
* add trusted/remake/batch tags

* add tags as empty string to expect
2024-04-03 13:30:36 +02:00
KyokoMiki
7cd5d99ae6
feat(indexers): add KeepFRDS (#1484)
* feat(indexers): add KeepFRDS

* fix(indexers): adapt regex pattern to account for ` - ` in release names
fix(indexers): indentation

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-04-03 12:45:48 +02:00