Commit graph

684 commits

Author SHA1 Message Date
Kyle Sanderson
f89ea9e2ff
feat(filters): sanitize description (#1781)
feat(filters): sanitize description
2024-10-23 16:44:00 +02:00
ze0s
f029de233f
feat(filters): improve rejection handling (#1776)
* feat(filters): improve rejection handling

* fix(filters): rejection tests

* fix(filters): size check error rejection
2024-10-20 22:58:55 +02:00
KyokoMiki
ae779e5461
feat(download-client): add label to Deluge if it does not exist (#1761)
* feat(download-client): Add label to deluge if it does not exist

* refactor(downloadclient): deluge set label

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2024-10-20 14:04:00 +02:00
soup
2386a9db31
fix(config): log reload message once (#1773)
fix(config): prevent double logging of config reload message
2024-10-20 12:56:42 +02:00
martylukyy
509e4ddaed
fix(indexers): update Fuzer IRC addr (#1764) 2024-10-09 15:44:46 +02:00
Carmelo Scandaliato
d15b61870e
fix(filters): release download counts (#1739)
* fix(database): count multiple actions per filter as one download

* fix(database): change queries and add tests

* fix(releases): add additional testdata

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2024-10-06 14:52:20 +02:00
ze0s
737184a985
feat(downloads): handle http status 429 rate-limit retry (#1749)
* feat(downloads): handle rate-limit retry

* feat: abort if greater than max time 7200 seconds
2024-10-06 14:24:18 +02:00
ze0s
ca2d956e02
fix(notifications): disable notification and events have no effect (#1754)
fix(notifications): disable notificatio nand events
2024-10-06 14:12:01 +02:00
martylukyy
009647fcd1
feat(filters): sort by created and updated (#1751)
* feat(web): sort by date

* feat(filters): sort by created_at and updated_at

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2024-10-04 15:02:27 +02:00
ze0s
bf7e1381ac
fix(downloadclients): arrs change size type to uint64 (#1744)
* fix(downloadclients): arrs change size type to uint64

* fix(downloadclients): check resp.Body
2024-09-29 14:04:16 +02:00
ze0s
e9726363b4
fix(downloadclients): do not load Deluge from cache (#1743)
Co-authored-by: ze0s <>
2024-09-29 12:48:53 +02:00
Nagy László Zoltán
91db3cfd0f
chore(indexers): remove LilleSky (#1735) 2024-09-21 13:04:54 +02:00
Kyle Sanderson
e9cd6b0049
fix(sanitize): improve handling for newline tabs etc (#1733)
* fix(sanitize): filter properly \t,,, / etc

* jesus christ.

* bah. probably helps if a human reads the tests.

* k done.

* should be safe now?

* edna?

* real life man
2024-09-19 16:44:19 +02:00
martylukyy
a4452e4fdc
feat(indexers): add LustHive (#1732) 2024-09-18 10:19:09 +02:00
martylukyy
ec79eafe43
feat(notifications): optional Telegram sender (#1726)
refactor(notifications): optional Telegram sender
2024-09-17 17:07:58 +02:00
Kyle Sanderson
ea25b6bb7f
feat(database): add missing filter indexes (#1712)
* feat(sqlite): add missing filter indexes

* _index

* feat(database): add missing filter indexes postgres

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2024-09-17 15:52:41 +02:00
martylukyy
490308c9c6
fix(indexers): new baseURL for Fuzer (#1724)
* fix(indexers): new URL for Fuzer

* fix(indexers): add database migrations
2024-09-17 15:09:23 +02:00
Kyle Sanderson
e9f8730ca0
feat(filters): wildcard slice matching optimizations (#1716)
* chore(tests): add more test cases
* chore(tests): add code comments for matching patterns
* chore(tests): fix typos

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-09-14 11:31:26 +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
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
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
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
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