Commit Graph

52 Commits

Author SHA1 Message Date
kaso17 63cf687f02 Animebytes: add AddSynonyms and FilterSeasonEpisode options 2017-10-17 11:15:09 +02:00
kaso17 19547bc58f AnimeBytes: remove useless request 2017-09-11 11:39:47 +02:00
kaso17 51aa4f35bd AnimeBytes: stop emulating browser 2017-08-11 16:53:49 +02:00
chibidev f0da6ce247 #1535 - Using a real User-Agent with AnimeBytes 2017-07-16 13:24:14 +02:00
chibidev 9e3076dde6 I have a feeling I'm breaking the world and bringing the apocalypse
It's quite hard to encapsulate something this large. This refactor
contains multiple attacks on the current architecture and is changing
things that were probably created quite a while back then. Luckily this
was done in increments so it mustn't be that impossible to recall what
has been done. I just need to relax my memory a little bit.

So the basic idea was quite simple. Let's distingush metas and normal
indexers a little bit more. Both of them were originating from
BaseIndexer, however very little of the functionality was actually
shared between them. Actually quite a few things made it even harder to
implement a different kind of indexer, especially for a newcomer for
both Jackett and C#.

Then in order to further reduce whatever was encapsulated in
any kind of, a couple things had to be changed. Like CardigannIndexer,
which probably had quite a mindshift change. IndexerManager and the
configuration management were also encapsulated and refactored, and now
I have a feeling that although the code could be improved, at least the
responsibilities of services and what they actually do is now clearer.

Anyhow, it would be safe to assume that I will not be able to go
step-by-step and define everything that has been changed. I'm sorry.
2017-07-11 21:53:46 +02:00
chibidev 4a0d2dcc57 Feature/metaindexer torrent download improvement (#1517)
* Line endings...

* Improve download handling of torrents in metas

Until now, downloads were handled by metas, however they had to "guess"
which indexer the result was originating from and resolve to that
indexer. While this has been working without an issue, it really
shouldn't be considered stable.

Therefore indexers now link themselves to the results they provide. In
order to keep my sanity and automate this as much as possible, I had to
slightly modify the interface (sorry, everyone).
2017-07-03 07:15:47 +02:00
chibidev 345602926e Feature/cleaning up aggregate indexer fallback (#1507)
* Line endings...

* Refactoring how MetaIndexers handle fallbacks

Originally this modification was part of a much larger refactoring,
however for the sake of reviewability I split it into smaller chunks.
Sadly it is still quite large.
I wanted to split it even more, however after a certain point there was
really no value in creating smaller chunks. The biggest part of this
modification would be still huge.

So all in all, there're 3 aspects of this modification
- It modifies BaseIndexer so that it now implements IIndexer (will be
very useful later on)
- Resolving most of the warnings currently in Jackett (the only ones
remaining are related to Autofac, however if I could I would just burn
Autofac altogether rather than fix the warnings. Will open discussion on
this.)
- Biggest part: refactoring how MetaIndexers handle fallbacks and how
they provide the final result set

MetaIndexers now accept any kind of fallback and filtering mechanism
that implements the necessary interface, so that in the future IMDB
fallback and filtering won't be the only one. I know there are not a lot
of unit tests around Jackett at the moment, however this renders the
class much more unittestable as well.

* Autofac started complaining... I don't understand...
2017-06-28 07:31:38 +02:00
kaso17 c24368f8f9 Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-05-06 19:39:07 +02:00
kaso17 6b35da8ad0 SaveConfig() after IsConfigured 2017-05-06 19:39:02 +02:00
Nodja 026fa22a37 Fixed sonarr not finding episode numbers with animebytes (#1329)
* fixed sonarr not finding episode numbers

* animebytes: fixed sonarr compatibility setting description was incorrect
2017-05-06 15:45:24 +02:00
flightlevel f2def1f615 Normalise Line endings (#1284)
* Add .gitattributes

* Normalise line endings
2017-04-15 18:45:10 +10:00
kaso17 87d3fd9443 Add initial support for multiple categories and 1:1 category mapping 2017-02-21 13:07:54 +01:00
kaso17 c550acf655 AnimeBytes: fix CSRF handling 2017-02-13 14:40:22 +01:00
kaso17 50c3a5fb3a Add support for tracker type (private/public/semi-private) 2017-01-27 16:57:32 +01:00
kaso17 be74b3af7c AnimeBytes: fix warning 2017-01-16 18:14:41 +01:00
kaso17 ad921afe94 AnimeBytes: automatically re-login 2017-01-16 12:23:40 +01:00
kaso17 9b0a03d002 AnimeBytes: Fix DL links 2017-01-16 12:23:15 +01:00
kaso17 29d3930baa AnimeBytes: fix missing encodings 2017-01-16 12:15:18 +01:00
kaso17 f99e104755 Make site link configurable for all indexers 2017-01-02 21:39:28 +01:00
kaso17 384c76e27d Add missing languages/encodings 2016-12-09 18:20:58 +01:00
kaso17 d499c291b9 WebRequest: make encoding configurable (#816) 2016-12-06 14:56:47 +01:00
kaso17 3dfe2faa6b Add new attributes to various trackers (#583)
* Use AvistazTracker base

* Revert "Use AvistazTracker base"

This reverts commit 9eba02c758.

* Add new attributes to various trackers

* more DL factors for HDSpace

* new attributes for Fuzer

* add new attributes for ImmortalSeed

* set UploadVolumeFactor for myAmity

* add new attributes to bitmetv
2016-10-27 18:35:31 +11:00
flightlevel 7f7f6680b2 Animebytes: Fix warning (#455)
Animebytes: Fix warning
2016-08-20 19:52:39 +10:00
Thomas Gillen 6d0d502bd3 Add music categories to AnimeBytes indexer (#418) 2016-08-05 21:58:29 +10:00
Azerelat ea4d0fe701 AnimeBytes Sonarr Fix (Will only fix season 1 but we don't have season info). 2016-01-16 22:36:56 +00:00
Azerelat 71c583d359 AnimeBytes Fix stripping of episode number from search term 2016-01-07 00:12:56 +00:00
KZ 53e680ea87 Complete Shazbat, fix category picker on web ui and start btn 2015-09-24 19:55:15 +01:00
unknown 748d85f32f Implemented indexer configuration result status to prevent double query test on some indexers 2015-08-22 14:57:13 -06:00
KZ e660c57ccb Category mapping on TorrentLeech and AnimeBytes. Fix sparadic issue where downloads fail due to the url being too long. 2015-08-13 22:51:49 +01:00
unknown 117f18886c no message 2015-08-12 11:31:59 -06:00
KZ 6d0aa05761 Saved password security 2015-08-07 20:09:13 +01:00
unknown 0a8d9d3447 Abstracted & unified indexer config logic (logins are now saved), implemented indexer config migrations, fixed nCore implementation 2015-08-03 15:38:45 -06:00
KZ 37cf3e569c Fix AnimeBytes caps, Change to 4.5 #117, change all trackers to retry failed requests 2015-07-29 18:47:51 +01:00
KZ ea069810a5 Add indexer: Immortalseed. Add category mapping framework. 2015-07-29 00:10:04 +01:00
KZ 499b53e9ed Post refactor fixes 2015-07-28 20:22:23 +01:00
KZ 51042e91fc Indexer refactor complete. This is going to need lots of testing! 2015-07-28 00:06:49 +01:00
KZ 3f146b0061 New: Viewable release cache 2015-07-26 15:22:20 +01:00
unknown 3b4b8ab902 Replaced most indexers' byte size string parsing with shared helper function 2015-07-25 21:53:53 -06:00
unknown 738f6732a7 Fixed extra slashes in URLs 2015-07-24 18:41:24 -06:00
KZ 1622f40942 Passwords inputs are now the correct type. Fix configure_indexer not returning errors. Fix build warning. Change AB, HDT, MTTV, PHD, ST to use generic web client. 2015-07-23 21:36:23 +01:00
unknown 7961af1431 Fixed AnimeBytes torznab category 2015-07-19 17:20:16 -06:00
unknown a9f1daac73 Implemented torznab capabilities feature 2015-07-19 17:05:30 -06:00
KZ 75f0cce064 Change indexers to use new api 2015-07-19 18:18:54 +01:00
KZ e1c70b1e30 Reinstate changes from merge 2015-07-19 15:22:26 +01:00
KZ 1359ad16f0 Refactor done 2015-07-19 14:22:50 +01:00
KZ 33a97b148f Refactor 2015-07-19 01:27:41 +01:00
unknown 7f2aa4ccad Refactored to use the RageID lookup disabled, removed Sonarr API setup 2015-07-18 14:35:02 -06:00
KZ 192406892d HDTorrents bugfix and reduce sizes of cards to improve presentation with the large number of indexers 2015-07-18 10:59:18 +01:00
unknown e12daf0be9 Moved AnimeBytes helper class into its main class file 2015-07-12 20:00:47 -06:00
ThomasAmpen f2f38605bf BrowserUtil, tryparse added 2015-07-12 19:52:32 +02:00