1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00
Commit Graph

814 Commits

Author SHA1 Message Date
echel0n
38edbc8b8b Logging for tornado.access is now sent to NullHandler so it doesnt complain that it has no handler, still disables logging for tornado.access 2014-06-16 20:35:52 -07:00
echel0n
53e7c53b8a Disabled logging of tornado.access 2014-06-16 20:24:07 -07:00
echel0n
98e4710d89 Setting debug = 1 in config now sets log level to debug for all processes 2014-06-16 19:59:35 -07:00
echel0n
c57e34c9f9 Added logging for tornado web server for helping in debugging issues. 2014-06-16 19:55:46 -07:00
echel0n
2ac1c5fdd5 Fixed forced updates to wait for auto-reload instead of performing a restart. 2014-06-16 05:31:57 -07:00
echel0n
dccf371ebd SSL issues fixed.
UI Notifications fixed.
Auto-updating option fixed to now work with auto-reload feature.
2014-06-16 05:19:07 -07:00
echel0n
489a181cdb Auto-reloads app on code changes automatically detected from git.
Fixed issues with basicauth/cookies and login page.
Parse results now displayed all the time.
2014-06-16 03:44:33 -07:00
echel0n
088e32b117 Fixed Web API to work with new tornado code! 2014-06-15 23:19:14 -07:00
echel0n
d8358882de Fixed issues with restarts and updates. 2014-06-15 22:45:52 -07:00
echel0n
4676c2b7b1 Testing update/restart fix 2014-06-15 15:07:27 -07:00
echel0n
23e2a483b5 Fixed API code to work with tornado. 2014-06-15 14:45:09 -07:00
echel0n
1eb5fe4faf Fixed branch version to reflect proper branch 2014-06-15 12:20:02 -07:00
echel0n
7d52d079fa Fixes more issues that were preventing proper shutdowns, restarts, and upgrades. 2014-06-15 12:11:21 -07:00
echel0n
fa01711192 IOLoop tasks are now started and stopped via regular start and halt sickrage functions allowing us to gracefully exit on shutdown or restart. 2014-06-15 06:59:51 -07:00
echel0n
acca01eb90 Fixed shutdown to completely stop and close IOLoop. 2014-06-15 06:44:39 -07:00
echel0n
af6cd334a0 Moved Tornado IOLoop to main() to resolve shutdown issues plus we now use IOLoop to control checks for startup tasks and background commands. 2014-06-15 05:43:53 -07:00
echel0n
20e2ae2f86 Improved tornado async routines and shutdown routines. 2014-06-15 04:08:41 -07:00
echel0n
6dd78f58b6 Improved startup and shutdown for tornado 2014-06-15 01:51:35 -07:00
echel0n
149d7b29df Final fixes for proper shutdown of tornado 2014-06-15 01:20:18 -07:00
echel0n
661c4ed6a7 Small fix for shutdown issues 2014-06-15 00:30:10 -07:00
echel0n
abff43f568 Improved startup/shutdown of tornado.
Fixed issues with notifications related to tornado.
2014-06-15 00:16:55 -07:00
echel0n
04681b3297 Fixed basic auth issues. 2014-06-14 21:38:13 -07:00
echel0n
d73cc1cbbd Replaced cherrypy with tornado which helped resolve our memory leak issue. 2014-06-14 20:56:15 -07:00
Adam
7b740858b3 Fix for 1080p HDTV anime being recognized as bluray quality 2014-06-14 11:55:11 +08:00
nielsenj
24f7d78682 Fixed setting ratio in Transmission
Matches the description in the torrent provider advanced settings:

Left blank defaults to client ratio default.
'-1' Seeds indefinitely
0 or greater seeds to and stops at the ratio (including stopping as soon as it downloads when set to 0)
2014-06-12 14:02:50 -07:00
echel0n
a742c27f09 Fixed for adding new shows 2014-06-12 13:38:59 -07:00
echel0n
c9abdfbac2 Fixed urls
Fixed and replaced urls with proper ones for network timezones, tvdb
exceptions and tvrage exceptions.
2014-06-12 11:40:23 -07:00
echel0n
2546a5199f Test fix for home page none type error 2014-06-12 11:30:59 -07:00
echel0n
9e4ee04f57 Fixed language and subtitle issue for new shows.
Subtitle and language opts where ordered backwards causing incorrect
values to be set.
2014-06-12 10:26:09 -07:00
Adam
5fd0a2a1f3 Fix for Newznab providers when searching for a show without a tvrage id we use the name of the show. If the show name is more than one word we are using a _ as our delimiter which works fine unless the NN provider uses sphinx.. as the underscore then is used as part of the show name.. thus we always get back no results. We should just use . as it works for both sphinx and non sphinx servers. Tested this out on nzbs.org / nzb.su (sphinx) / sbi (non sphinx). 2014-06-12 11:19:27 +08:00
echel0n
c2ba2d6550 Reverted episode cache changes 2014-06-11 07:37:30 -07:00
echel0n
44358ef601 Reverted episode cache changes 2014-06-11 07:16:24 -07:00
echel0n
013f9a2134 Reverted episode cache changes 2014-06-11 07:14:29 -07:00
echel0n
4c5425f4d1 Update network_timezones.py
Fix for timezone conversion issues.
2014-06-09 17:39:52 -07:00
echel0n
3384e2c51d Update tv.py
Removed weakref, caused issues with searching and downloads
2014-06-09 17:37:48 -07:00
Peter Tutervai
f24999b10d Changed the config page to show the path field for the Synology DS, added the parameter to the DS API 2014-06-09 01:01:47 +02:00
Nils
166dffeb5a Merge pull request #582 from bikemike222/add_cookies_rss
Added cookie support to custom torrent provider
2014-06-09 00:20:37 +02:00
echel0n
3d062b3510 Fix for import issue with episodeCache 2014-06-07 21:32:06 -07:00
echel0n
89ad4bccc3 Moved show season/episode cache to outside of the show class and turned it into a global to avoid circular ref that may memory leak. 2014-06-07 21:20:59 -07:00
echel0n
1f180a5a05 Fix for closing cache connection early when needed. 2014-06-07 16:16:01 -07:00
echel0n
a1da7df12e Fixes for DB issues 2014-06-07 15:35:16 -07:00
echel0n
d00d55fdfc Modified DB code to close its connection if right after its finished with it, helps performance-wise and should resolve locked db issues as well. 2014-06-07 14:32:38 -07:00
echel0n
2c0f3a3dc3 Added thread locking for queues.
Fixed imdbinfo issues.
2014-06-07 11:36:26 -07:00
echel0n
cfcc35ebcc Upgraded IMDBpy and improved performance of it.
Fixed TVDB Indexer API issues.
2014-06-07 08:33:18 -07:00
echel0n
4784b4619f Fix for invalid literal for int() with base 10: 'NULL' 2014-06-07 05:42:50 -07:00
echel0n
08d8beffa4 Misc fixes and code cleanups. 2014-06-07 05:36:50 -07:00
echel0n
a9f142184a Fix for nonetype issues during parsing 2014-06-07 04:08:12 -07:00
echel0n
24dfbc3f15 Quality is now set during parsing of results.
Fixed more anime regex bugs.
Fixed Indexer API issues for anime shows and unicode problems.
2014-06-07 04:06:21 -07:00
echel0n
31ce517e8f Added 480p to be ignored for anime regexes when matching for absolute numbers. 2014-06-07 01:57:03 -07:00
echel0n
d07976f057 Fixed searching for new anime shows, unicode issues resolved and Naruto does indeed work! 2014-06-07 01:45:21 -07:00
echel0n
1e8f3e2883 Added ability for format anime naming from post-processing options.
Fixed regex issues for anime shows matching 720p as a absolute number.
Custom sports naming has been fixed to adhere to dates.
2014-06-07 01:17:12 -07:00
echel0n
08159e2872 Updated post-process code. 2014-06-06 17:44:44 -07:00
echel0n
64b857ee57 Fixed failed download handling. 2014-06-06 17:06:29 -07:00
echel0n
05dcdd72d7 Fix for air-by-date/sports/anime provider searches 2014-06-06 16:55:14 -07:00
echel0n
cab05efa64 Added anime search support and removed extra pipe symbole from search string. 2014-06-06 15:27:20 -07:00
echel0n
14201c71f3 Fixes issues with scene numbering being set to 0x0 after snatch is performed.
Fixes issues with KAT Provider sphinx error on searches.
2014-06-06 15:16:15 -07:00
echel0n
4df31bccee PublicHD removed till further notice. 2014-06-06 13:48:25 -07:00
echel0n
dfe9619ddd Fix for SSL support, reverted back to CherryPy 3.23 as 3.30 is borked for SSL. 2014-06-05 21:24:43 -07:00
echel0n
4e83cbe6d1 Fixed naming issues and parsing issues. 2014-06-05 18:38:50 -07:00
echel0n
4c9da4f448 Fix for custom scene numbering, now able to correct numbering or remove it.
Fixed show force-update and mass update to properly force updates on the show including xem numbering.
2014-06-05 17:53:34 -07:00
echel0n
34009bb9b8 MainDB is backed up before being restored now to .r* versioned backup backups 2014-06-05 16:14:57 -07:00
echel0n
fc7b28a8bc Automatic DB restores now done if upgrade fails due to corrupt DB or incorrect db numbering 2014-06-05 16:11:07 -07:00
echel0n
385bf3987e db locking issues fix #2 2014-06-05 12:59:17 -07:00
echel0n
26f30cacf5 db lock issues fix test 2014-06-05 12:52:30 -07:00
echel0n
d30060bf91 Fix for db locking issues 2014-06-05 09:22:54 -07:00
echel0n
f052848e52 Fix for sql rowcount error 2014-06-05 02:19:48 -07:00
echel0n
8fbd9155d3 fix for recent sql errors around connection object 2014-06-05 02:13:29 -07:00
echel0n
7e5cc8c673 Fix for coming soon episodes page.
Reverted sql -> sqlachemy changes, to soon and will be done in seperate branch.
2014-06-05 01:05:02 -07:00
echel0n
9e4ec2cfb8 Fix for importing existing shows being set to anime when there not anime shows causing parsing errors when trying to parse episode files from disk. Please perform a mass reset of shows marking the ones that are not anime so that this issue is fixed for when it does its next show refresh. 2014-06-04 19:47:40 -07:00
echel0n
1dc913824a Fix for startup issue due to dependant that was missing. 2014-06-04 18:38:14 -07:00
echel0n
cec4ed573d Upgraded CherryPy libs to 3.3.0
Switched out sqlite3 libs in favour of SQLAlchemy v0.9, will gradually migrate dialects and scheme to be fully SQLAlchemy compliant for using there ORM with sessions instead of direct.

Fixed getEpisode function to stop making unrequired scene number conversions on already converted data thats available now from cache.
2014-06-04 18:28:59 -07:00
echel0n
8f3469cce7 Fix typo in last commit 2014-06-04 00:35:43 -07:00
echel0n
d09f2a2276 Fix for scene numbering not being set properly during a mass edit 2014-06-04 00:34:35 -07:00
echel0n
0713cb4039 Another small tweak of code for edit show function. 2014-06-04 00:21:21 -07:00
echel0n
5beb45d29d Small correction for mass update fix. 2014-06-04 00:16:43 -07:00
echel0n
272ecd0ab8 Fix for mass updating not actually changing any show options when editing 2014-06-04 00:11:56 -07:00
echel0n
7e91d3a600 Fix for scene_names table does not exist errors. 2014-06-03 23:52:55 -07:00
echel0n
37fceb2704 Removed unrequired extra sql transaction append line. 2014-06-03 22:30:54 -07:00
JackDandy
2e387b1ce8 Expose "Date Style"... "Use System Default" only when FuzzyMoment is off.
If the Date Style "Use System Default" is selected and FuzzyMoments is clicked on, then an appropriate Date Style is chosen from explicit defaults.  This change prevents issues where moments() cannot interpret or guess locale date formats.
2014-06-03 18:43:37 +01:00
echel0n
2ab436b764 Fix for saving default options when adding shows.
Fix for default provider not being passed in properly.
2014-06-01 20:43:37 -07:00
echel0n
41a9e08155 Added thread locking for sorting queue's 2014-06-01 18:18:11 -07:00
Nils Vogels
44d45ca760 Fixing UnboundLocalError when attempting to process nonexisting dir 2014-06-02 01:39:55 +02:00
echel0n
2da18e65ca Change code for returning highest scoring match to use generator to avoid overhead of sorting the list 2014-06-01 16:36:21 -07:00
echel0n
7047cf020e Fixed naming issues for episode naming patterns.
Name parser now score's all its possible matches and stores them to a list then once finished performing its matches it'll pick the highest scoring match and return it.
2014-06-01 16:25:02 -07:00
Nils Vogels
0e989fe90f Limiting search to English-translated only (for now) 2014-06-02 00:05:07 +02:00
echel0n
9847682781 Changed theTVDB indexer api keys to SickRage's, another nice catch there zoggy! 2014-05-31 23:54:57 -07:00
echel0n
cfafc0a39f Scene exceptions for anidb and xem now update once a day, thanks zoggy for pointing that out :) 2014-05-31 23:44:44 -07:00
echel0n
99d129bd41 Fixes for anime regex matching 2014-05-31 22:39:24 -07:00
echel0n
d42b864ecc Fix for UnboundLocalError: local variable 'rating_text' referenced before assignment 2014-05-31 12:58:43 -07:00
echel0n
4f32ed262c No need to convert from absolute numbers to season/episode numbers twice, fixed! 2014-05-31 12:52:09 -07:00
echel0n
925141da40 Fix for anime issues during post-processing, TypeError: object of type 'int' has no len() 2014-05-31 12:48:55 -07:00
echel0n
0ddcc3b58a Fix for show opt not in __init__ issues 2014-05-31 12:41:34 -07:00
echel0n
ba2a44b1d1 Fix for searches of anime shows with absolute numbering 2014-05-31 06:47:27 -07:00
echel0n
72b4155b0b Fixed post-processing issues for anime shows. 2014-05-31 06:43:36 -07:00
echel0n
893574b2ed Reverted new regex changes, not compatible with enough platforms to warrent keeping. 2014-05-31 06:16:18 -07:00
echel0n
277d630a6f Fixed issues with scene converting 2014-05-31 03:35:57 -07:00
echel0n
d7396896b5 Added in regex matching with fuzzy matching.
Shows now display Indexer absolute numbering.
Improved speed of parsing search results.
Fixed episode naming issues.
2014-05-31 03:35:11 -07:00
echel0n
2c37523ab7 Fix for manual anime searches 2014-05-30 07:36:06 -07:00
echel0n
6ca979d51b Fix for post-processing and adding anime shows to your anidb mylist 2014-05-30 06:00:04 -07:00
echel0n
bea999b639 Fix for XBMC notifier when XBMC has no shows in library. 2014-05-30 05:43:00 -07:00