Commit graph

10 commits

Author SHA1 Message Date
Frederick Robinson
fef0da5711
feat(definitions): add expectations for test lines (#1257)
* factor out test helpers

* refactor, add tests for animebytes

* revert test refactor

* better name

* change format, migrate some examples

* migrated remaining test cases

* add comment about `Test` vs `Tests`

* refactor

* reorder expectations to match vars

* generate

* turn on strict unmarshalling, remove old `Test` from schema

* start modifying actual definitions

* done with the As

* Bs

* C, D

* E, F

* G, H, I, ... L

* M, N

* O, P

* R

* bonus error. without this, pattern/vars disagreement can panic.

* S

* T, U

* X.. Now we know our ABCs next time won't you sing with meeeee

* fix another test

* another driveby change

* be less strict parsing custom definitions

* fix(definitions): load custom definitions

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-11-18 15:41:39 +01: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
martylukyy
956225c108
feat(indexers): add freeleech support for TS (#983)
add freeleech to regex and vars for new TS announce format
2023-06-14 19:44:06 +02: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
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
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
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
Ludvig Lundgren
b91984e28e
fix(indexers): use torrentsize instead of size (#98) 2022-01-23 13:32:03 +01:00
GregTroar
f331aab6c9
Indexers: Update TorrentSeeds for new site (#57)
* feat: update regex

* feat: update download url

* feat: change passkey to rsskey
2021-12-30 13:47:45 +01:00
GregTroar
35d3817bd4
Indexers: Add TD, MTV, TS and Milkie (#45)
* feat: add Milkie definition

* feat: add TorrentDay definition

* feat: add MoreThanTV definition

* feat: add TorrentSeeds definition

Co-authored-by: Ludvig Lundgren <hello@ludviglundgren.se>
2021-12-23 23:34:49 +01:00