Commit graph

881 commits

Author SHA1 Message Date
echel0n
3f6084fe4b Fixed Name Parser issues, incorrectly matched current regex used to parse results and anime patterns didn't match 1 to 3 digit numbers for absolute. 2014-06-21 18:01:14 -07:00
echel0n
ac9d78bc0f Name parser performance fixed, manual searches fixed. 2014-06-21 17:11:53 -07:00
echel0n
bbbc7469fb fix for tornado error handler 2014-06-21 15:52:10 -07:00
echel0n
7e0bb651b2 Database now closes connection after each query and reconnects if closed to ensure no more connection and locked database problems.
Fixed more internal 500 errors.
2014-06-21 15:46:59 -07:00
echel0n
2f73ab1e41 Removed tornado async features, testing to see if this resolves blank page and other related possible issues.
Removed double call to get_scene_exceptions when displaying shows.
2014-06-20 16:49:57 -07:00
echel0n
a2a44eae85 Fix for anime regex's 'anime_and_normal' pattern, resolves issues with show-queue refreshes 2014-06-19 19:35:36 -07:00
echel0n
836722d6cd Added timer in to reduce cpu usage during release name parsing 2014-06-19 18:34:52 -07:00
echel0n
fcc91bedd9 NameParser now won't bother to proceed parsing release name results untill it finds a valid show object in the DB to confirm its a show in our list, naming patterns automatically bypass this restriction. 2014-06-19 18:13:07 -07:00
echel0n
4ef88961b5 NameParser now trys to obtain a show object first to use in determining the correct regex set to use when parsing release names 2014-06-19 17:26:36 -07:00
echel0n
784b8d7179 Fixed webAPI, function arguments updated to reflect previous code changes. 2014-06-19 15:46:41 -07:00
echel0n
95e928bfcb Fix for PID file: /tmp/sickbeard.pid already exists during auto updates 2014-06-19 10:36:31 -07:00
echel0n
4443a5a649 Fix for mass edit 2014-06-19 10:28:07 -07:00
echel0n
5f7b8465d0 Fixed issue with extractZip function. 2014-06-19 10:04:16 -07:00
echel0n
f9b9fd23c2 Merge pull request #613 from JackDandy/port_add_safe_replace_smaller_but_proper
Port:Add safe replace existing file is larger but new file is proper.
2014-06-19 09:47:57 -07:00
echel0n
7ce409e90d Merge pull request #612 from JackDandy/port_fix_BTN_duplicate_search_params
Port:Fix BTN adding same search parameters multiple times.
2014-06-19 09:47:45 -07:00
echel0n
0499d5b6aa Merge pull request #611 from JackDandy/port_fix_change_setting_episode_status
Port fix change setting episode status
2014-06-19 09:47:25 -07:00
echel0n
1fa8686422 Merge pull request #610 from JackDandy/port_fix_omgwtfnzbs_findPropers
Port:Fix omgwtfnzbs findPropers.
2014-06-19 09:46:58 -07:00
echel0n
6e3f52c6f4 Merge pull request #609 from JackDandy/refactor_scheduler_and_ports
Refactor scheduler and upstream ports.
2014-06-19 09:46:46 -07:00
echel0n
d5550288fc Merge pull request #608 from lennyk/nfo_rename_option
Option to NOT rename .nfo to .nfo-orig
2014-06-19 09:45:34 -07:00
echel0n
cf13581db6 Merge pull request #607 from fittysix/patch-2
Add moderator to confirmed TPB torrent posters
2014-06-19 09:44:38 -07:00
echel0n
a43d7b7593 Merge pull request #596 from adam111316/anime-1080p-fix
Fix for 1080p HDTV anime
2014-06-19 09:43:48 -07:00
echel0n
b312c9dcda Merge pull request #593 from tutipeti/feature/synods_destination
Destination option for the Synology DS
2014-06-19 09:43:27 -07:00
echel0n
cfc56a569d Merge pull request #599 from nielsenj/patch-2
Fixed setting ratio in Transmission
2014-06-19 09:42:54 -07:00
echel0n
8dd4585145 Fix for pushover notifications. 2014-06-19 09:42:20 -07:00
echel0n
495a1a4fb3 Merge pull request #604 from rawsonm88/pushover-custom_api_key
Add UI option for users to enter their own Pushover API key
2014-06-19 08:58:20 -07:00
echel0n
07685f4295 Fixed issues with webroot settings and reverse proxies.
Fixed issues with WebAPI and WebAPI builder.
2014-06-19 08:47:28 -07:00
JackDandy
bf99164978 Refactor scheduler and upstream ports.
Move start time check from properFinder and showUpdater into scheduler.
Add show how long to next propers search at end of each run.
Change proper finder and show updater to silent thread logging.
Change Scheduler runImmediately to run_delay.
2014-06-19 16:38:15 +01:00
JackDandy
ff524fc7e4 Port:Fix omgwtfnzbs findPropers. 2014-06-19 16:37:29 +01:00
JackDandy
bec213ee05 Port:Change setting status to UNAIRED for future episodes (GC-2397).
Only set status to UNAIRED if current status is SKIPPED, UNAIRED, UNKNOWN or WANTED, should prevent re-downloading of early releases that are already downloaded and deleted (status IGNORED) or archived.
2014-06-19 16:36:54 +01:00
JackDandy
1c487f92f9 Port:Fix not setting status if show location is missing but sickbeard.ADD_SHOWS_WO_DIR is set 2014-06-19 16:36:53 +01:00
JackDandy
42f018bf06 Port:Fix BTN adding same search parameters multiple times. 2014-06-19 16:36:13 +01:00
JackDandy
821c1237b3 Port:Add safe replace existing file is larger but new file is proper. 2014-06-19 16:34:17 +01:00
echel0n
2b7df8e67d Added backup and restore feature, this allows you to backup your config.ini and sickbeard.db files into a zipfile and save it to a destination of your choice and as well you can restore the same zip file later on then perform a restart to have the changes take affect automatically. Backups are saved date/time stamped. 2014-06-19 07:31:44 -07:00
echel0n
acadce4d96 Fix for setting status via episode status manager 2014-06-19 01:37:44 -07:00
Mark Rawson
e50ce507e5 Bugfix - fix issue with Pushover test notifications, false-positive if api/user keys removed in UI but not yet saved 2014-06-19 00:13:16 +01:00
Mark Rawson
abb7c78dac Pushover - remove hard-coded API key, add API register link to UI. 2014-06-19 00:11:20 +01:00
Mark Rawson
3f78f88c78 Add logging for pushover message limit error (429) 2014-06-18 21:50:48 +01:00
echel0n
c792e34c43 FreeNAS test fix #4 2014-06-18 13:41:20 -07:00
Mark Rawson
03c9b303e0 Merge branch 'dev' of https://github.com/echel0n/SickRage into pushover-custom_api_key 2014-06-18 21:38:44 +01:00
echel0n
cefbe3859a Test fix #3 for freenas 2014-06-18 13:12:19 -07:00
oldskool
37c3354325 cherry-pick a Sickbeard pull request add an option to NOT rename .nfo to .nfo-orig
from oldskool:nfo_orig
credit to oldskool

Fixing issue 2404: Option to NOT rename .nfo to .nfo-orig

Conflicts:
	data/interfaces/default/config_postProcessing.tmpl
	sickbeard/__init__.py
	sickbeard/postProcessor.py
	sickbeard/webserve.py
2014-06-18 12:52:10 -07:00
echel0n
51247710bb Reverse proxy support fixed 2014-06-18 12:51:33 -07:00
echel0n
0ae8b5429b WebAPI showPosters fixed! 2014-06-18 10:06:06 -07:00
echel0n
bd582d18d0 Fix for showPoster() api calls 2014-06-18 09:28:03 -07:00
echel0n
e202cbc0ac Fixed basic auth realm issue, needed to be quoted. 2014-06-18 08:38:43 -07:00
echel0n
878ef9acf6 Added return to self.redirect to conform to proper way of handling redirects when using tornado 2014-06-18 08:14:30 -07:00
echel0n
0e962f83cb Fix for feedcache logging.
Fix for adding new and existing shows.
Fix for static content.
2014-06-18 08:06:50 -07:00
fittysix
c5045d0f1e Add moderator to confirmed torrent posters
I think we can trust these guys :)
2014-06-18 07:04:16 -06:00
echel0n
fd88c77d26 Fix for 401/404 errors now just redirect back to home page.
Fix for static mapping issues.
2014-06-18 05:56:26 -07:00
echel0n
d01a1eed26 Turned caching off, testing for blank page issues. 2014-06-18 04:08:45 -07:00
echel0n
652de9172b Testing force update 2014-06-18 02:16:14 -07:00
echel0n
29c5c4de4d Fixed issue of forbidden error 2014-06-18 02:13:22 -07:00
echel0n
c9f800128e Fix for force update. 2014-06-18 02:04:02 -07:00
echel0n
cf4cbd9a34 Fix for missing WITH statement 2014-06-18 01:53:11 -07:00
echel0n
032ddf2425 Fixed issues with web root settings not working.
Fixed more NoneType iterable errors.
2014-06-17 23:55:45 -07:00
echel0n
b47b2e1f58 Fix for NoneType issues related to redirects 2014-06-17 14:25:35 -07:00
Mark Rawson
764be940ac Add UI option to input users own Pushover API key 2014-06-17 21:37:09 +01:00
echel0n
4513525cc4 Fix for basicauth and no user/pass set 2014-06-17 13:06:43 -07:00
echel0n
3989f722a7 Fixed issues with basic auth and NoneType errors 2014-06-17 12:51:23 -07:00
echel0n
cc86dda802 Fix for NoneType is not iterable issue 2014-06-17 11:16:04 -07:00
echel0n
18a1681a61 Fixed issue with facicon.ico file and static link being incorrect causing 404 errors. 2014-06-17 09:33:45 -07:00
echel0n
067438b5d9 Fix for scene exception update error, please delete cache.db file for this to fix tow take affect. 2014-06-17 09:07:48 -07:00
echel0n
2eec706197 Fix for failed download handling and sql issues 2014-06-17 09:02:23 -07:00
echel0n
98ff924b1c Fix for nullhandler issues for py2.6 users,
Fix for rsstorrents.
2014-06-17 08:46:07 -07:00
echel0n
c09ceb5e6c Added error logging for webserver gets and posts 2014-06-16 22:00:03 -07:00
echel0n
327df6682e Updated tornado to latest stable code, fixes issues with auto-reload 2014-06-16 21:54:00 -07:00
echel0n
9790b30b90 Fix for force update and autoreload 2014-06-16 20:53:16 -07:00
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