Commit graph

139 commits

Author SHA1 Message Date
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
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
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
JackDandy
9ad4b4cd30 Remove EZRSS provider. 2015-05-18 19:54:25 +01: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
Adam
6a6f3d7ad8 Change helpers doctests to unittests 2015-05-09 20:47:20 +08: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
837265b6f6 Change no longer fetch xml and zip and adjust code inline with library updates. 2015-04-29 02:09:06 +01:00
Prinz23
8f69adaada Fix clearing provider cache 2015-04-25 16:48:15 +08:00
adam
2dab61478e Remove various unused code 2015-03-16 23:13:20 +08:00
JackDandy
e6b7feef3d Change to simplify and reduce logging output of Recent-Search and Backlog processes. 2015-03-13 18:21:46 +00:00
JackDandy
74d701e6da Change "Force Backlog" button for paused shows on Backlog Overview page to "Paused" indicator. 2015-03-10 22:57:39 +00:00
JackDandy
8f7193ee93 Change authentication credentials to display more securely on config pages. 2015-02-24 16:13:07 +00:00
Adam
87d46b2c3f Remove unused SickBeardURLOpener and AuthURLOpener classes 2015-02-24 15:02:20 +08:00
JackDandy
97429c084f Change overhaul UI of editShow and anime release groups, refactor and simplify code.
Change list order of option on the right of the displayShow page to be mostly inline with the order of options on editShow.
Change legend wording and text colour on the displayShow page.
Add output message if no release group results are available.
Add cleansing of text used in the processes to a add a show.
Add sorting of AniDB available group results.
Add error handling and related UI feedback to reflect result of AniDB communications.
Change description of config/search ignore and require words.
2015-02-21 22:34:20 +00:00
JackDandy
acafdbb16a Add proxy request url parsing to enforce netloc only matching which prevents false positives when url query parts contain FQDNs. 2015-02-11 00:19:37 +00:00
JackDandy
c720c0b913 Add support for a proxy host PAC url on the General Config/Advanced Settings page. 2015-02-10 14:22:12 +00:00
Supremicus
47da38a914 Logging message tweaks and minor PEP8 tweaks
* Change corrected spelling & better clarified various log messages
* Change minor PEP8 tweaks in sab.py
* Add api disabled error code for newznab providers
2015-02-08 12:59:10 +10:00
Adam
9b3fd0b7a9 Add TVRage network name standardization 2015-01-12 18:45:41 +08:00
adam
a419f53ca9 Fix port checking code preventing startup directly after a SG restart 2014-12-13 13:32:08 +08:00
JackDandy
e7b11c5f4b Fix article removal for sorting on Display Show, and API pages.
Remove Javascript regex boundary from Python regex.
2014-12-09 21:33:40 +00:00
adam
87c78b50b2 Revert "Merge pull request #19 from adam111316/feature/AddNetworkStandardization" 2014-12-07 21:22:42 +08:00
JackDandy
0dfe997ab3 Merge branch 'release/0.4.0' into develop 2014-11-27 03:51:01 +00:00
JackDandy
3cac799877 Fix article sorting for Coming Eps, Manage, Show List, and Trending Shows.
Increase article sorting strictness with a central helper function.
2014-11-27 03:34:41 +00:00
JackDandy
5f5080d3ab Merge branch 'release/0.4.0' into develop 2014-11-23 21:07:46 +00:00
Adam
7930cbcd80 Fix reduces time API endpoint Shows takes to return results.
Fix indexer mapper caching.
Fix tvrage API garbage collection.
2014-11-23 20:57:38 +00:00
Adam
a046729436 Add TVRage network name standardization 2014-11-23 22:16:23 +08:00
JackDandy
6da09b8db0 Change suppress HTTPS verification InsecureRequestWarning.
Suppress this potentially confusing warning because many sites use self-certified certificates.

Change a couple of lib references to be full paths.
2014-11-20 03:07:44 +00:00
Supremicus
4c8c6b21d5 Change logos, text etc. branding to SickGear. 2014-11-12 20:56:40 +00:00
JackDandy
0607b912d8 Add an anonymous redirect builder for external links.
Add anonymous redirect to external links on pages... Add Trending Show, Add Existing Shows, Add New Shows, Coming Episodes, Display Show, Config Notifications, Config Anime, Subtitle Providers, ASCII chart on General Config Advanced, links of newly created Usenet and Torrent providers.
Update xbmc link to Kodi at Config Notifications.
Fix irc protocol link to not use http protocol linkage on Config/Help and align lower right side column to the upper right side text.
2014-11-10 04:01:53 +00:00
Adam
560ffca7dd Make hardlink debug error more verbose 2014-10-13 23:20:44 +08:00
Adam
d8e52f2098 Fixes displayshow error for series with special characters 2014-10-03 07:34:09 +08:00
Adam
0822d15d36 Add sizing field on show page 2014-10-02 16:41:13 +08:00
echel0n
ee458bd211 Fixed AttributeError: 'NoneType' object has no attribute 'is_scene' in scene_numbering code.
Show root dirs can not be set from general config menu.
Mass editing shows now has the ability to delete root dirs as well as edit them.
Daily search no longer is restricted to just 1 week of results for searching from which now allows for replacing lower quality downloads with higher quality ones if available.
RSS Cache is updated for each provider on demand now when performing manual, failed, backlog, or daily searches.
2014-08-30 01:47:00 -07:00
Adam
72b0b04045 Halt post processing if lftp temporary files are detected 2014-08-11 18:29:28 +08:00
echel0n
3eed021200 Fixed issues where data needing to be posted was being sent via a GET instead of POST 2014-08-09 00:45:21 +00:00
echel0n
c658fe0f26 Fixed NoneType error when mapping indexers to show 2014-08-09 00:19:29 +00:00
adam
c4d5e480b5 Halt postprocessing if temporary btsync files are detected 2014-08-06 21:55:17 +08:00
echel0n
7c650d730c Switched a logger error to a logger debug 2014-07-30 18:59:52 -07:00
echel0n
b8b5947ae6 Fix for trakt.tv issues when adding/removing/syncing shows.
Fix for indexer mapper to return a result no matter what.
2014-07-30 16:33:28 -07:00
echel0n
534104b8b0 Changed how SickRage determins its branch version which will resolve issues with app switching back to master branch by mistke on startup. 2014-07-28 21:43:28 -07:00
echel0n
19a89d453c We now check if a torrent url links to a valid file before adding as a verified result to get snatched, this helps prevent issues when attempting to add torrent to client later on to find the url returned nothing resulting in a error. 2014-07-28 12:19:41 -07:00
echel0n
52010d9951 Fix for invalid torrent files causing NoneType errors. 2014-07-27 23:00:25 -07:00
echel0n
480199085e Fix for images in cache folder being deleted by cleaner routine. 2014-07-27 19:11:24 -07:00
echel0n
7dc89c084f Added ability to switch branches from general settings/advanced, will perform a forced checkout of whatever branch you choose and restart automatically.
Git updates are now forced to overwrite locale changes to avoid needing to manually stash uncommited changes before being able to proceed with a update.

Fixed indexer mapping when unable to locate show on indexer that we are trying to map to.
2014-07-27 11:39:02 -07:00
echel0n
f2a1331110 Skip cleaning images cache folder. 2014-07-27 05:34:03 -07:00
echel0n
b13e72e0a3 Moved code for cleaning up cache folder to seperate function located in helper.py.
Added call to cache folder cleanup during SickRage main init.

Changed a error message in rss feed class to a debug message for when url returns no data.

Moved indexer api cache files to be placed under cache folder subfolder indexers.

Moved rss feed cache files to be placed under cache folder subfolder rss.
2014-07-27 04:58:14 -07:00
echel0n
14c354b551 Added proxy support to Indexer APIs.
Provider getURL and downloadResult functions now removed and replaced with ones from helpers.py to help slim the code down plus allow more better control over request sessions.

Removed TVTumbler code.

Fixed HDBits provider.

Fixed config settings that were ment to be booleans but instead where set as str or int, should help resolve random html errors.

XEM Refresh check re-coded.

NameParser code for creating show object has been changed to only attempt at the very end once its found the bestMatch result, helps on resources and performance.
2014-07-27 03:59:21 -07:00
echel0n
f47734446d Fixed further json issues with speedcd provider.
Fixed several providers and ssl cert verify issues.

Air-by-date shows now automatically get there respective season/episode numbers during release parsing.
2014-07-24 11:16:59 -07:00
echel0n
e5ac585b6a Fix for webui becoming unresponsive when using SSL and possibly in other situations as well. 2014-07-23 23:36:44 -07:00