Commit graph

9 commits

Author SHA1 Message Date
ze0s
4067940cbd
feat(indexers): DigitalCore include size (#2094)
* feat(indexers): DigitalCore include size

* fix: missing double quotes

* fix: regex

* fix(indexers): properly escape in regex pattern with double quotes

* fix(indexers): simplify regex pattern and avoid double quotes with excessive escapes

* fix(indexers): add EOF

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2025-06-10 20:56:21 +02:00
soup
13113907b2
feat(indexers): DigitalCore parse Tags and Genre (#1790)
* fix(indexer): update digitalcore with new pattern

* refactor: switch releaseTags and tags fields

- Tags now represents genres (e.g. Drama, Comedy)
- ReleaseTags represents release attributes (e.g. p2p, unrar)
2024-10-28 14:29:25 +01:00
broken-stones
0c65231626
fix(indexers): DigitalCore InfoURL (#1395)
fix(indexers): digitalcore

Append a trailing slash to infourl to avoid site redirecting to home page.
2024-02-11 10:25:50 +01:00
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
ze0s
5b01aa14b7
feat(indexers): DigitalCore support tags (#1090) 2023-09-08 23:13:11 +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
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
GregTroar
3b3b1de51d
indexer: add digitalcore (#105)
* feat: add digitalcore
2022-02-04 17:43:01 +01:00