Commit graph

490 commits

Author SHA1 Message Date
JackDandy
4825220df7 Change refactor TL to use torrent provider simplification and PEP8. 2015-07-03 15:30:25 +01:00
JackDandy
5837598d29 Change refactor TD to use torrent provider simplification and PEP8.
Change provider TD login process to use General Config/Advanced/Proxy host setting.
2015-07-03 15:23:24 +01:00
JackDandy
fade7c13c5 Change provider TB login process to use General Config/Advanced/Proxy host setting.
Change refactor TB to use torrent provider simplification and PEP8.
2015-07-03 14:49:45 +01:00
JackDandy
e843501935 Change refactor SCD to use torrent provider simplification. 2015-07-03 14:29:42 +01:00
JackDandy
f782567fd1 Change provider SCC login process to use General Config/Advanced/Proxy host setting.
Change refactor SCC to use torrent provider simplification and PEP8.
2015-07-03 14:24:09 +01:00
JackDandy
9fd7159bcb Change provider SCD PEP8 and code convention cleanup. 2015-07-03 14:13:01 +01:00
JackDandy
35acdb8911 Change provider TB PEP8 and code convention cleanup. 2015-07-03 13:41:51 +01:00
JackDandy
4699d3d579 Change provider IPT only decode unicode search strings.
Change login process to use General Config/Advanced/Proxy host setting.
2015-07-03 13:27:43 +01:00
JackDandy
e3059c0892 Change cachecontrol library to ensure cache file exists before attempting delete. 2015-07-03 13:21:37 +01:00
JackDandy
7f11d0d69c Fix provider TD failing to find episodes of air by date shows.
PEP8.
2015-07-03 13:07:59 +01:00
JackDandy
1202825ede Remove HDTorrents torrent provider. 2015-07-03 12:52:59 +01:00
JackDandy
fa9d3b2444 Remove NextGen torrent provider. 2015-07-03 12:46:02 +01:00
JackDandy
6c0638c262 Change provider KAT remove dead url.
Change provider KAT to use mediaExtensions from common instead of private list.
Change provider KAT provider PEP8 and code convention cleanup.
2015-07-03 12:39:09 +01:00
JackDandy
d80256c4f3 Remove useless webproxies from provider TPB as they fail for one reason or another.
Change provider TPB to use mediaExtensions from common instead of hard-coded private list.
Add new tld variants to provider TPB.
Add test for authenticity to provider TPB to notify of 3rd party block.
2015-06-17 22:14:54 +01:00
JackDandy
11d1168c4f Update jsonrpclib library r20 to (b59217c). 2015-06-16 17:22:55 +01:00
Prinz23
e6d616d949 Change use metadata for zoneinfo files and remove hack of dateutil lib. 2015-06-15 15:17:27 +01:00
JackDandy
fbe05a21c2 Change param item "features" passed to Beautiful Soup to prevent false +ve warning in r353.
Change NotifyMyAndroid to its new web location.
2015-06-15 13:48:01 +01:00
JackDandy
f83390e689 Update Beautiful Soup to 4.3.2 (r353). 2015-06-15 00:47:01 +01:00
JackDandy
3d602398ad Change queue, httplib, cookielib and xmlrpclib to use explicit import lib/six.moves. 2015-06-14 18:28:49 +01:00
JackDandy
c0c9e8b019 Change reload_module call to explicit import lib/six.moves. 2015-06-14 18:19:48 +01:00
JackDandy
496472cb53 Update ConfigObj library 4.6.0 to 5.1.0 (a68530a). 2015-06-14 13:55:02 +01:00
Adam
680491684d Change py2 file and reload functions to py2/3 compatible open and reload_module functions 2015-06-14 11:49:23 +08:00
adam111316
16fa92dd80 Merge pull request #409 from adam111316/feature/ChangePy2Imports1
Change py2 queue, httplib, cookielib and xmlrpclib to py2/3 compatibl…
2015-06-14 10:48:39 +08:00
JackDandy
0fde2f779e Change zoneinfo update/loader to be compatible with dateutil 2.4.2. 2015-06-14 02:11:37 +01:00
JackDandy
dd0b810a1d Update dateutil library 2.2 to 2.4.2 (a6b8925). 2015-06-14 00:18:45 +01:00
JackDandy
6bab75036f Update xmltodict library 0.9.0 to 0.9.2 (579a005). 2015-06-14 00:05:44 +01:00
JackDandy
79e26ed290 Update SimpleJSON library 2.0.9 to 3.7.3 (0bcdf20). 2015-06-13 23:24:21 +01:00
JackDandy
47af68a43c Update Six compatibility library 1.5.2 to 1.9.0 (8a545f4). 2015-06-13 21:38:05 +01:00
Adam
4aa04fbbaa Change py2 queue, httplib, cookielib and xmlrpclib to py2/3 compatible calls using six 2015-06-14 01:04:29 +08:00
Adam
7ffd36388b Change py2 iteritems to py2/3 compatible statements using six library 2015-06-14 00:58:36 +08:00
Adam
a4cc931abc Change check_url function to use requests instead of httplib library 2015-06-13 19:55:54 +08:00
Adam
b7dbd87625 Change py2 octal literals into the new py2/3 syntax 2015-06-11 19:50:04 +08:00
Adam
fb5e3ba952 Change to consolidate scene exceptions and name cache code 2015-06-11 19:03:12 +08:00
Adam
b371c83543 Change Kodi notifier to use requests as opposed to urllib 2015-06-11 18:52:39 +08:00
JackDandy
47347884cb Fix fault matching air by date shows by using correct episode/season strings in find search results. 2015-06-09 15:43:54 +01:00
Adam
a3c717becd Change py2 print statements to py2/3 compatible functions 2015-06-09 19:33:03 +08:00
JackDandy
385b176eec Change add 'hevc', 'x265' and some langs to Config Search/Episode Search/Ignore result with any word. 2015-06-08 18:44:55 +01:00
Adam
37496189f1 Change py2 exception clauses to py2/3 compatible clauses
Add py2/3 regression testing for exception clauses

Any new code added with old py2 style exceptions will now fail the travis test
2015-06-08 22:56:45 +08:00
JackDandy
93c219d82e Add Rarbg torrent provider.
Note: The merging of all qualities into one category in API v2 mean more results likely to be cropped. The vendor switched to this method from their (imho, better) original of listing category numbers. It was suggested that clients add and maintain all possible search strings that signify as quality. However, this would still trigger misses, introduce other issues, plus add needless non-standard API complexity. Conclusion; as designed, SG will utilise other configured providers when this one fails to hit targets, this provider should not be configured as a sole provider.
2015-06-08 13:04:59 +01:00
Adam
cf0ee24cb4 Remove feedcache implementation and library
This functionality really isn't needed and the code offers no benefit for our needs
2015-06-06 15:16:18 +08:00
Adam
2331502861 Update feedparser library 5.1.3 to 5.2.0 (8c62940) 2015-06-06 15:07:03 +08:00
Adam
2b7bfd6717 Add coverage testing and coveralls support 2015-06-06 14:43:31 +08:00
JackDandy
56a3411649 Change refactor and code simplification for torrent providers. 2015-06-06 06:31:20 +01:00
JackDandy
72f23bce14 Fix show list view when no shows exist and "Group show lists shows into" is set to anything other than "One Show List". 2015-06-06 06:25:35 +01:00
JackDandy
fed5e11532 Change first run after install to set up the main db to the latest schema instead of upgrading.
Change don't create a backup from an initial zero byte main database file, PEP8 and code tidy up.
Change move the previous InitialSchema into migration_tests to preserve migration development.
2015-06-06 06:21:17 +01:00
JackDandy
bcb70efed2 Update PyNMA to hybrid v1.0.
Code refactored, cleaned and PEP8 then released as v1.01 from a v1.0 base.
2015-06-06 06:15:41 +01:00
JackDandy
2cec7c7289 Add Hallmark and specific ITV logos, remove logo of non-english Comedy Central Family. 2015-06-06 06:08:58 +01:00
JackDandy
2f7b0f8a0e Merge pull request #388 from JackDandy/feature/UpdateTornado
Update Tornado webserver to 4.2 (fdfaf3d).
2015-06-06 06:02:08 +01:00
adam111316
88d9feb0ac Merge pull request #382 from adam111316/feature/FixLibraryImports
Fix to correctly load local libraries instead of system installed lib…
2015-06-06 13:00:16 +08:00
JackDandy
7a29450f9a Update Tornado webserver to 4.2 (fdfaf3d). 2015-06-06 05:59:14 +01:00
Adam
e06e671d67 Fix to correctly load local libraries instead of system installed libraries
This fix correctly places the local libraries at the start of the sys.path such that they are loaded instead of any libraries that may already exist on the users system. This prevents the issue where a system library that isn't supported by SickGear is loaded and causes errors during operation.
2015-06-05 18:12:05 +08:00
JackDandy
ca9414cec2 Update Requests library 2.7.0 (ab1f493) to 2.7.0 (8b5e457). 2015-06-05 02:22:13 +01:00
JackDandy
f3b1487e00 Change handling of general HTTP error response codes to prevent issues.
Add handling for CloudFlare custom HTTP response codes.
2015-06-04 02:07:04 +01:00
Prinz23
0cce23ee5a Fix getManualSearchStatus: object has no attribute 'segment' 2015-06-03 13:39:49 +02:00
JackDandy
96b5188a32 Change provider Womble's use SSL. 2015-06-02 15:30:42 +01:00
JackDandy
39bda5f328 Fix provider SCC failing to find episodes of air by date shows.
Fix searching propers.
Fix stop snatching releases for episodes already completed.
Fix handle null server responses.
Change remove 1 of 3 requests per search to save 30% time.
2015-05-27 13:37:48 +01:00
adam
d47ad5f332 Change to only rebuild namecache on show update instead of on every search
Add removal of old entries from namecache on show deletion
2015-05-26 09:33:58 +08:00
Adam
821e38adf7 Merge branch 'master' into develop 2015-05-25 11:06:09 +08:00
Adam
9d08b8ef8f Fix erroneous multiple downloads of torrent files which causes snatches to fail under certain conditions
Namely this fixes snatching with the IPtorrents provider. This issue is masked in develop as the requests library has been updated and fixes the error that is generated
2015-05-25 11:03:30 +08:00
Adam
58811b3c76 Merge remote-tracking branch 'feature/TidyCacheDatabase' into develop 2015-05-19 07:35:21 +08:00
JackDandy
b518f727bb Update change to suppress HTTPS verification InsecureRequestWarning to updated package (ref:hacks.txt). 2015-05-18 22:08:55 +01:00
JackDandy
8cfe028c15 Update Requests library 2.6.2 to 2.7.0 (ab1f493) 2015-05-18 22:05:22 +01:00
JackDandy
3434c0dd66 Update fix for API response header for JSON content type and the return of JSONP data to updated package (ref:hacks.txt). 2015-05-18 21:58:34 +01:00
JackDandy
0bacbb3075 Update change to suppress reporting of Tornado exception error 1 to updated package (ref:hacks.txt). 2015-05-18 21:58:34 +01:00
JackDandy
5beb10b19d Update Tornado webserver to 4.2b1 (61a16c9). 2015-05-18 21:58:33 +01:00
JackDandy
9ad4b4cd30 Remove EZRSS provider. 2015-05-18 19:54:25 +01:00
adam
a78f99ece2 Change to consolidate cache database migration code 2015-05-18 22:52:20 +08:00
adam
5920fb032c Merge branch 'master' into develop 2015-05-18 22:40:43 +08:00
adam
09351800d2 Bump release date 2015-05-18 22:33:19 +08:00
Adam
0ccd58bf4b Merge branch 'release/0.9.0' into develop 2015-05-17 01:10:08 +08:00
Adam
2161fbcd6d Bump release version 2015-05-17 01:04:00 +08:00
Sami Haahtinen
7109371ee0 Fix history consolidation to only update an episode status if the history disagrees with the status.
Addresses an issue in the detection of previously processed files that
caused an episode status to change unconditionally.
2015-05-16 18:09:58 +03:00
JackDandy
6cfd185335 Change "Archive" to "Upgrade to" in Edit show and other places and improve related texts for clarity. 2015-05-13 20:43:03 +01:00
Prinz23
8e26612540 Fix Backlog Force and Un-/Pause Buttons on Manage Searches Page 2015-05-12 18:29:49 +02:00
Prinz23
2e711423b9 Add Search Queue Overview page
* Add expandable search queue details on the Manage Searches page
* Fix failed status episodes not included in next_episode search function
* Change prevent another show update from running if one is already running
* Change split Force backlog button on the Manage Searches page into: Force Limited, Force Full
* Change refactor properFinder to be part of the search
* Change improve threading of generic_queue, show_queue and search_queue
* Change disable the Force buttons on the Manage Searches page while a search is running
* Change disable the Pause buttons on the Manage Searches page if a search is not running
* Change scheduler forceRun
* Change staggered periods of testing and updating of all shows "ended" status up to 460 days
2015-05-10 17:22:54 +02:00
adam111316
f854e9cab5 Merge pull request #353 from adam111316/feature/ChangeHelpersUnittests
Change helpers doctests to unittests
2015-05-10 14:22:44 +08:00
JackDandy
f463ad5705 Fix issue, when adding an existing show set its default group to ensure it appears on the show list page. 2015-05-10 01:32:57 +01:00
JackDandy
eb669ac7b0 Add newlines between error log lines on the Logs & Errors page.
Removing the trailing newline meant central text newlines were also removed.
2015-05-09 16:49:41 +01:00
Adam
6a6f3d7ad8 Change helpers doctests to unittests 2015-05-09 20:47:20 +08:00
JackDandy
e3a5c5e6fc Fix poster URL on Add Show/Add From Trending page. 2015-05-08 17:31:07 +01:00
JackDandy
2c6dcdc84d Change URL of scene exceptions file for TVRage indexer. 2015-05-08 11:25:39 +01:00
JackDandy
4f4858f4e4 Change to post process files ordered largest to smallest and tidied PP logging output.
Add "then trash subdirs and files" to the Process method "Move" on the manual post process page.
Add using show scene exceptions with post processing.
Change overhaul processTV into a thread safe class.
Change postProcessor and processTV to PEP8 standards.
Change overhaul Manual Post-Processing page in line with layout style and improve texts.
Change Force Processes enabled, only the largest video file of many will be processed instead of all files.
Change visual ui of Postprocessing results to match the logs and errors view.
Change remove ugly printing of episode object during PP seen in external apps like sabnzbd.
Change to streamline output toward actual work done instead of showing all vars.
Change pp report items from describing actions about to happen to instead detail the actual outcome of actions.
Add clarity to the output of a successful post process but with some issues rather than "there were problems".
Add a conclusive bottom line to the pp result report.
2015-05-08 04:18:30 +01:00
JackDandy
e41947cac8 Change reduce html payload across page template files. 2015-05-07 02:13:57 +01:00
Sami Haahtinen
deda4bc65a Change request handling in torrent clients
Simplify request responses within torrent clients. There is no need to
pass the response through the parent class when dealing with requests.
In many places this makes the code more readable and simplifies logic.
2015-05-06 21:40:13 +03:00
JackDandy
e64cd430b8 Fix issue changing a custom show list group name that is in use.
The bug resulted in the db containing stale group names but worse, orphaned shows disappeared from the Show List page entirely.
PEP8 and code cleanup to SG conventions.
Changed texts to describe this feature more clearly from tag to group names.
Repositioned this feature on the add show, edit show, and config pages.
Change the drop down select to dynamically hide/show the list of group names and change the respectively selected help texts.
Change insert space between items in the list of group names for readability.
Notify user if an attempt to remove an in use group name is prevented.
Change Show List progress bar code, smaller page load, efficient use of js render engine.
Removed fixed column widths, this means multiple groups have different column widths, but the original approach is preferred because fixed widths look bad with long show titles.
2015-05-05 23:52:59 +01:00
JackDandy
cab3b43903 Add support for country network image files to the Show List view. 2015-05-04 21:11:49 +01:00
JackDandy
d39157f4a9 Add handling for shows that do not have a total number of episodes.
For rare case where a show can be in the db and added to the indexer and then the episodes removed from the indexer but not the show.
2015-05-03 17:27:10 +01:00
JackDandy
74d744cfc2 Change values used for date sorting on home page and episode view for improved compatibility with posix systems. 2015-05-02 13:50:28 +01:00
Adam
b1b993fbe0 Change travis to new container builds for faster unit testing 2015-05-02 16:44:11 +08:00
adam
65ce53b289 Add custom show lists to home page 2015-05-02 16:34:30 +08:00
JackDandy
c1cbaa0103 Update root certificates to release dated 2015.04.28. 2015-04-29 11:31:43 +01:00
JackDandy
d61ee6c574 Document changes from (4ae30ab). 2015-04-29 11:23:25 +01:00
JackDandy
e3bfda6d46 Add failed status indication to Snatched column of History compact and add archived status release groups to Downloaded column of History compact. 2015-04-29 02:21:48 +01:00
JackDandy
2083dfdb30 Change prevent wasted API hit where show and exception names create a duplicate sanitised year. 2015-04-29 02:15:45 +01:00
JackDandy
3ab45e19d5 Update cachecontrol library 0.9.3 to 0.11.2. 2015-04-29 02:09:05 +01:00
JackDandy
176913aa67 Update chardet packages 2.2.1 to 2.3.0 (ff40135). 2015-04-29 02:02:43 +01:00
JackDandy
8c1c10d6ba Update change to suppress HTTPS verification InsecureRequestWarning to updated package as listed in hacks.txt, and remove listed hacks.txt record for check that SSLv3 is available because issue was addressed by vendor. 2015-04-29 01:54:38 +01:00
JackDandy
7e3cb26d4d Update Requests library 2.4.3 to 2.6.2 (ff71b25). 2015-04-29 01:54:37 +01:00
JackDandy
4a9ee3fe62 Update fix for API response header for JSON content type and the return of JSONP data to updated package as listed in hacks.txt. 2015-04-29 01:47:27 +01:00
JackDandy
2f266a4b5f Update change to suppress reporting of Tornado exception error 1 to updated package as listed in hacks.txt. 2015-04-29 01:47:09 +01:00