Commit graph

335 commits

Author SHA1 Message Date
Kyle Sanderson
af43c98632
fix(filters): add support for year-less titles (#685)
* fix(filters): add support for year-less titles

* chore: update pkg

* fix: broken tests

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-02-02 23:45:19 +01:00
soup
27f8b14678
fix(indexers): add default http baseurl for PTN (#687)
* Changed PTN baseurl from https to http

* added https back as a secondary option
2023-02-02 23:43:43 +01:00
ze0s
4c83787a0b
feat(releases): add info url link to releases list (#683)
* feat(indexers): definitions add infourl to irc parsing

* feat(indexers): add infourl to releases

* fix(indexers): fix info urls

* fix(indexers): update btn
2023-01-29 21:40:49 +01:00
Viktor Elofsson
870e109f6c
feat(download-client): add support for Porla (#553)
* Add support for the 'Test' button to work

* Make Porla show up in filter actions select

* Add an empty Porla action

* Make Porla action find download client

* Make implementation actually add torrent to Porla

* Fix qBittorrent import

* Finish up Porla action

* Check length on commitish before slicing

* Move Porla to the other DL clients

* Add Porla to type name map

* Move Porla to beneath the other download clients
2023-01-29 18:17:01 +01:00
soup
b95c1e6913
feat(indexers): add LST (#682)
* feat(indexers): add LST

* added infourl
2023-01-29 17:40:55 +01:00
varoOP
ad0d482065
fix(releases): force capture titles AB (#668)
capture those weird titles
2023-01-29 16:03:37 +01:00
soup
eb3a86f49d
fix(indexers): Funfile download URL (#666) 2023-01-29 15:59:57 +01:00
Kyle Sanderson
6e85ec52e3
fix(releases): check for duplicate tags (#681)
* fix(releases): don't store duplicate tags

* Update release.go
2023-01-29 15:50:27 +01:00
Kyle Sanderson
3713985dcc
fix(filters): enable IsScene parsing for value 1 (#676) 2023-01-28 17:00:09 +01:00
soup
96774edba1
fix(indexers): new announcer for Nebulance (#673) 2023-01-28 16:48:20 +01:00
ze0s
21c02dfab0
fix(filters): max downloads per filter check (#660) 2023-01-18 21:47:27 +01:00
ze0s
a6c1944df8
feat(downloadclients): qBit rules add speed threshold condition (#652)
* fix: qbit add rules min check

* feat(downloadclients): add check condition

* feat(downloadclient): return on rejection
2023-01-17 23:34:03 +01:00
soup
4ae2773dc9
fix(indexers): multiple definition regex pattern corrections (#656)
* fuzer: fix regex pattern

old: https://regex101.com/r/pmyFOX/1

new: https://regex101.com/r/YxtVT7/1

* hebits: fix regex pattern

old: https://regex101.com/r/66kpcT/1

new: https://regex101.com/r/AuJPRg/1

* iplay: fix regex pattern

* forgot to update pattern

* ncore: fix regex pattern

didnt catch baseurl correctly

* retroflix: fix regex pattern

old: https://regex101.com/r/WY5qPu/1

new: https://regex101.com/r/qIS6i5/1

* speedapp: removed unused capture group

old: https://regex101.com/r/1v0T3j/1

new: https://regex101.com/r/Fzv6Cq/1

* torrentbytes: fixed bad baseurl capture

old: https://regex101.com/r/n5iJr6/1

new: https://regex101.com/r/ozIu3F/1
2023-01-17 22:25:43 +01:00
martylukyy
513a0f3369
fix(indexers): animebytes regex (#654)
* fix: adapt regex to parse release group for translated printed media

* fix miscapturing of other values in parenthesis

* fixed an edge case where the torrent name was misparsed if it contained the string `TV`
excluded and escaped `./.` strings from capture groups
2023-01-17 22:25:17 +01:00
ze0s
0af95e2b44
feat(logging): make log size and log backups configurable (#657)
feat(logging): make log size and backups configurable
2023-01-17 21:35:31 +01:00
Michel Heusschen
9e0edc577f
enhancement(feeds): torznab freeleech percentage (#647) 2023-01-15 18:17:51 +01:00
soup
362aa8f9d0
fix(indexers): funfile single line parsing (#646)
* fix(indexers): funfile announce line 2 is optional

* Change to single line parse for the time being
2023-01-14 16:21:39 +01:00
ze0s
626fa6f156
feat(indexers): irc parse support ignoring lines (#641)
feat(indexers): irc support ignore line
2023-01-10 19:20:48 +01:00
soup
e014528c97
feat(indexers): add funfile (#642)
* feat(indexers): add funfile.org

* corrections by zze0s

* Updated test line examples

* Fixed 2nd regex pattern

was only grabbing SCENE, but should grab P2P etc as well

* Added www to url
2023-01-10 18:54:49 +01:00
ze0s
25103dabdc
chore(indexers): remove authkey from ANT (#640)
* chore(indexers): remove authkey from ANT

* authkey is not needed anymore

* fix(indexers): update typos
2023-01-10 00:27:50 +01:00
ze0s
9e8672fdfe
feat(irc): add with network password (#639)
* feat(irc): initial add with network password

* feat(irc): check irc auth obj exists
2023-01-09 20:49:44 +01:00
ze0s
5c402b6d6c
feat(filters): support Language filtering (#632)
* feat(filters): add support for language

* feat(filters): add db migrations and repo

* feat(filters): fix failing tests

* feat(filters): fix failing tests
2023-01-09 00:33:08 +01:00
soup
3c4711efa0
fix(indexers): IPT regex (#635)
fix(indexers): ipt regex

https://regex101.com/r/YtdL46/1
2023-01-09 00:04:23 +01:00
ze0s
d437f8455e
feat(downloadclients): qBit add rule UploadSpeedThreshold (#633)
feat(downloadclients): qbit add rule upload speed threshold
2023-01-08 18:34:06 +01:00
soup
6194ca951c
chore(indexers): remove Oppaitime (#631) 2023-01-08 15:07:54 +01:00
ze0s
08826db036
feat(indexers): improve RED and OPS artist parsing (#629)
* feat(indexers): improve RED and OPS artist parsing

* feat(indexers): deprecate lidarr red ops workaround

* feat(indexers): change artist and album field check

* seperator before tags and tags optional for red

* fix: update rejection msg

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-01-08 15:06:04 +01:00
ze0s
df264b6f86
chore(indexers): remove TorrentDB (#626) 2023-01-06 22:57:17 +01:00
ze0s
409dc236ff
feat(indexers): add SkipTheCommericals (#625)
* feat(indexers): add SkipTheCommericals (STC)

* feat(indexers): stc use latest pattern

* feat(indexers): stc use correct pattern

* feat(indexers): stc remove unused vars
2023-01-06 22:03:47 +01:00
martylukyy
c57c6ce86f
fix(indexers): subsplease match batch (#624) 2023-01-06 20:16:03 +01:00
ze0s
3b66568aa8
feat(indexers): add BitSexy (#623)
* feat(indexers): add BitSexy

* feat(indexers): add additional test case

* feat(indexers): capture pretime var

* feat(indexers): simplify pattern
2023-01-06 19:10:15 +01:00
Kyle Sanderson
7dea04624b
feat(indexers): add ANT (#427)
* feat(indexers): add ANT

* chore: update to current spec

* fix: capture year
2023-01-06 15:34:24 +01:00
soup
d8ca9ae082
feat(indexers): add Aither (#588)
* feat(indexers): add Aither

* Changed freeleech variable

Changed from freeleech to freeleechPercent

* Added resolution and internal variables to aither

* Fixed Aither regex pattern

- Thank you @nuxencs for assisting with the regex pattern

* fix: second test case missing end bracket
2023-01-06 15:18:41 +01:00
soup
03118d02d8
feat(indexers): add PTN (#615)
* feat(indexers): add PTN

* missing source

* YAML not yml

* set nickserv required to false

* cleanup
2023-01-06 14:34:27 +01:00
soup
8d31437409
feat(indexers): add PixelHD (#614)
* feat(indexers): add pixelhd

* feat(indexers): add pixelhd

* set parse type to multi

* Changed variable from title to torrentName
2023-01-06 14:28:03 +01:00
martylukyy
b9e9b49821
fix(indexers): subsplease baseurl (#618) 2023-01-06 14:24:48 +01:00
ze0s
fd67a7b24e
feat(feeds): view latest RSS and Torznab feed (#609)
feat(feeds): view latest run
2023-01-02 23:00:11 +01:00
ze0s
84c7a4484e
feat(releases): improve log score parsing (#604)
* feat(releases): improve logscore parsing

* feat(releases): test case naming
2023-01-01 16:35:55 +01:00
ze0s
9fbd592adc
fix(releases): table sorting (#603)
fix(releases): data sorting
2023-01-01 16:35:21 +01:00
Kyle Sanderson
5da28a0918
fix(database): fix filter regression from clean-up (#599)
* fix(database): fix filter regression from clean-up

* rollback transaction commits

* fix(database): revert action count query
2022-12-31 12:27:42 +01:00
ze0s
6b1490726f
feat(http): improve invalid login handling (#597)
* feat(http): improve invalid login handling

* fix(http): do not log password
2022-12-31 01:04:41 +01:00
Nelson Pecora
9c16c7a4a1
feat(indexers): add DocsPedia.world (#594)
* feat(indexers): Add DocsPedia.world

* change yml to yaml
2022-12-31 00:36:43 +01:00
Kyle Sanderson
154b2d6578
feat(http/releases): report errors to end-users. (#596)
feat(http): report errors to end-users.
2022-12-31 00:35:44 +01:00
Nelson Pecora
95756377cb
feat(indexers): add Cathode-Ray Tube (CRT) (#593)
* added cathode-ray tube indexer

* enable TLS

* Fix test example

* rename yml to yaml
2022-12-31 00:25:16 +01:00
Kyle Sanderson
19b3899a5c
refactor(database): clean-up queries (#569)
* fix(database): build WHERE using squirrel

* flip LIKEs

* change sql.LevelReadCommitted

* feat(db): add missing commits

* implement single query for releases

* cleanup

* feat(releases): properly handle limit for Find

* feat(releases): make dynamic ILike helper

* feat(releases): check for empty ReleaseActionStatus

* add values as sql.NullX
* check if ID is non 0

* feat(releases): improve find
2022-12-30 23:53:45 +01:00
ze0s
e6c48a5228
feat(http): log invalid login attempts (#587) 2022-12-28 17:58:26 +01:00
soup
0c04c669c7
fix(indexers): bad nCore torrent URL (#586)
Fixed bad ncore URL
2022-12-28 14:57:57 +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