1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-17 23:05:11 -05:00
Commit Graph

1192 Commits

Author SHA1 Message Date
echel0n
847a172462 Merge remote-tracking branch 'origin/dev' 2014-07-02 13:43:47 -07:00
echel0n
36e12a5d4d Fix for hdtorrents uid issues. 2014-07-02 13:39:27 -07:00
echel0n
ddd9376faf Fix for torrentday uid issues. 2014-07-02 13:38:05 -07:00
echel0n
d6431570f1 TPB season pack searches fixed 2014-07-02 13:06:29 -07:00
echel0n
cadb2dba72 Testing fix for post-processing and search issues. 2014-07-02 12:36:00 -07:00
echel0n
ae398031fd Merge remote-tracking branch 'origin/dev' 2014-07-02 11:52:55 -07:00
echel0n
12ac388dc2 Fixed startup/restart/shutdown issues on Windows, Linux, FreeBSD platforms tested.
Fixed for updating issues.

Fixed high cpu and memory usage.
2014-07-02 11:51:14 -07:00
echel0n
1fc909299d Fixed start/restart/shutdown issues including any issues with daemonizing. 2014-07-01 06:08:10 -07:00
echel0n
130daf7d0a Added trending shows feature, this allows you to choose from a wide selection of popular/trending shows with rating stats and easily add the show into SR by simply clicking the plus sign. 2014-07-01 01:49:12 -07:00
nielsenj
6d8e79c78a Adds custom RSS provider ratio setting.
Adds ratio setting to the custom RSS provider.
2014-06-30 22:48:49 -07:00
echel0n
83e1da31a7 Merge remote-tracking branch 'origin/dev' 2014-06-30 12:07:51 -07:00
echel0n
9136df2ae5 RSS Feeds purges every 7 days now. 2014-06-30 12:02:45 -07:00
echel0n
7bff5a246f Fix for rss feeds clearcache 2014-06-30 11:57:16 -07:00
echel0n
a1cef0b958 Added in context to aid in garbage cleanup to help reduce memory usage. 2014-06-30 10:48:18 -07:00
echel0n
2e8c8a262f Fix for api builder. 2014-06-30 09:37:42 -07:00
echel0n
a16bf8ca2c Fix for anidb errors 2014-06-30 09:21:21 -07:00
echel0n
75f69396d4 Reverted some changes. 2014-06-30 08:57:32 -07:00
echel0n
0e665cbbb2 Fix for scene exceptions error. 2014-06-30 06:36:20 -07:00
echel0n
4575c58348 SQL Query performance gains added and memory footprint reduced. 2014-06-30 06:18:02 -07:00
echel0n
b19aafb807 Memory cleanup in sql db routines for mass actions. 2014-06-30 04:55:49 -07:00
echel0n
5e507b3849 More memory reductions and cleanups 2014-06-30 04:44:36 -07:00
echel0n
adb4715b3e Removed all scene exception memory caches, fetches data from DB now directly. 2014-06-30 04:09:55 -07:00
echel0n
0a80d0c3dd Fixed memory leak in scene exceptions. 2014-06-30 03:20:49 -07:00
echel0n
18d7884c2d Reverting previous changes 2014-06-30 02:42:04 -07:00
echel0n
33a28d20a3 Cleanup leftover fd sockets on restart 2014-06-30 02:38:07 -07:00
echel0n
9d5b2da19e Testing fix to help reduce memory footprint. 2014-06-30 02:23:32 -07:00
echel0n
e7b5a2c6c0 Test fix for webroot issues. 2014-06-30 01:15:10 -07:00
echel0n
508c094f48 Fixed robots.txt method. 2014-06-30 01:12:41 -07:00
echel0n
bc2016a3ac Merge remote-tracking branch 'origin/dev' 2014-06-30 00:01:18 -07:00
echel0n
c478d45c36 Maintenance tasks are no longer blocking startup.
Scene exceptions now perform a lastRefresh check so they don't constantly update for no reason.
2014-06-29 23:59:27 -07:00
echel0n
2c98a5a448 Fixed "show must be added to list", regexes now check if numbers following after the series name is a date or part of the series name to properly parse and return correct show object.
Fixes TVDB and TVRAGE cache_location variable.
2014-06-29 23:20:19 -07:00
echel0n
e1ce1c3ce4 Merge pull request #621 from rawsonm88/fix/backlog_scheduler
Fix next backlog date
2014-06-29 22:42:22 -07:00
echel0n
b5f433b6c8 Merge pull request #622 from nielsenj/fixrsscookies
Fixrsscookies
2014-06-29 22:41:49 -07:00
echel0n
c62245b5a3 Merge remote-tracking branch 'origin/dev' 2014-06-29 21:00:02 -07:00
echel0n
96fa0953e3 Fixed issues with popup notifications. 2014-06-29 20:58:34 -07:00
nielsenj
77ea8117c6 Added request headers param.
A recent update/change in RSS cache removed the cookies for custom RSS provider. This re-adds it.
2014-06-29 20:52:11 -07:00
nielsenj
8f16fad1ec Added request headers param. 2014-06-29 20:50:12 -07:00
echel0n
1e012b5d12 Merge remote-tracking branch 'origin/dev' 2014-06-29 19:53:15 -07:00
echel0n
eece317c75 Fix for tornado write issues on GET and POST methods. 2014-06-29 19:52:04 -07:00
echel0n
1145f90208 Disabled caching for notification tests. 2014-06-29 19:39:29 -07:00
echel0n
6f52a4fd27 Merge remote-tracking branch 'origin/dev' 2014-06-29 19:18:09 -07:00
echel0n
06e99ce4a7 Fix for uncaught exception error for 404 errors 2014-06-29 19:17:15 -07:00
echel0n
de07881ada Merge remote-tracking branch 'origin/dev' 2014-06-29 19:00:01 -07:00
echel0n
145433e19a Corrected self.finish to self.write 2014-06-29 18:57:02 -07:00
echel0n
6ce68e3d97 Fixed redirects and blank pages ... FINALY! 2014-06-29 18:54:41 -07:00
Mark Rawson
4252daf098 Fix next backlog date in API / altered display of next backlog date in UI 2014-06-29 16:49:47 +01:00
echel0n
b3d46f77e9 Fix for TypeError: write() 2014-06-29 03:07:25 -07:00
echel0n
0c57676aed Updated tornado source code.
Created custom class for rss feed parser.
2014-06-29 03:05:33 -07:00
echel0n
feabf20c8c Test fix #5 for blank pages 2014-06-28 23:19:04 -07:00
echel0n
cafdc57b2c Testing fix for redirect issues and blank pages.
Fix for create pid issues.
Fix for creating index on tv provider cache tables.
2014-06-28 22:54:29 -07:00
echel0n
ca60203e9e Test #3 for blank pages.
Syncs show library with trakt.tv show library on startup.
Adds/Removes shows individually to/from trakt.tv library.
Added use_recommended feature to trakt.tv notifier config page.
2014-06-28 20:28:00 -07:00
echel0n
77a659c17f Test #2 for blank pages, turned cache on and removed all cache disabling entries. 2014-06-28 18:11:35 -07:00
echel0n
84da4147fb Testing fix for cache issues causing blank pages, caching has been turned off. 2014-06-28 14:40:33 -07:00
echel0n
cfbb7678a9 Fixed duplicate tv cache issue. 2014-06-27 20:33:31 -07:00
echel0n
cbda4d424d Small fix for new trakt feature 2014-06-27 04:04:54 -07:00
echel0n
df7aa364aa Added feature that gets all recommended shows from your trakt.tv account and lets you add the show like you would if adding a new show and searching. 2014-06-27 04:00:16 -07:00
echel0n
335cc55380 Merge remote-tracking branch 'origin/dev' 2014-06-26 17:17:11 -07:00
echel0n
301f124cbb Fixed dailysearcher to only update the cache results for each provider once at start of the dailysearch routine instead of per-show which was wasting cycles and time. 2014-06-26 17:13:41 -07:00
echel0n
858951d31c Fix for H.264 issues related to regexes and matching for parsing release names. 2014-06-26 16:45:40 -07:00
echel0n
d091c3a138 Fixed SQL Syntax errors 2014-06-26 15:57:06 -07:00
echel0n
13cbffb6d4 Deletes duplicates found in tv provider cache before creating unique index for provider table or just performs cleanup of any duplicate record period. 2014-06-26 03:29:05 -07:00
echel0n
9f8c49ce88 Fixed issue with tvcache filling with duplicate data. 2014-06-26 03:20:07 -07:00
echel0n
29e9ffdcb7 Merge remote-tracking branch 'origin/dev' 2014-06-25 22:06:46 -07:00
echel0n
9d8f695e5a Reverted previous changes made to regexes as no longer needed and started to cause false matches for h264 as a season and episode number result. 2014-06-25 22:03:26 -07:00
echel0n
637d465675 Merge remote-tracking branch 'origin/dev' 2014-06-25 21:50:31 -07:00
echel0n
12ee35a5e6 Fix for manual updates when auto-upate option is enabled. 2014-06-25 21:48:21 -07:00
echel0n
303055c787 Merge remote-tracking branch 'origin/dev' 2014-06-25 21:41:03 -07:00
echel0n
e0eea79ec5 Fix for ABD and Sports shows issue with toordinal function. 2014-06-25 21:39:34 -07:00
echel0n
b6e7455666 Merge remote-tracking branch 'origin/dev' 2014-06-25 21:06:51 -07:00
echel0n
b6e7635a32 Removed tornado's auto-reload function and reverted back to using our original method of performing auto-updates, this should also correct 500 internal server issues for those that got them after updates where performed automatically. 2014-06-25 20:41:18 -07:00
echel0n
20aa4b6331 Fixed trakt.tv error, TypeError: 'NoneType' object has no attribute '__getitem__' 2014-06-25 15:47:57 -07:00
echel0n
b9ff73dbc6 Merge remote-tracking branch 'origin/dev' 2014-06-24 19:07:02 -07:00
echel0n
42e1994cba Fix show name matching, trys main show name pattern then if no show object is retrieved it attempts using the alternative pattern. 2014-06-24 18:57:05 -07:00
echel0n
f16ee09501 Updated regex for show series name matching, faster matching. 2014-06-24 18:42:03 -07:00
echel0n
32e90d70d2 Merge remote-tracking branch 'origin/dev' 2014-06-24 17:42:44 -07:00
echel0n
7d2f7c8233 Fixed ImportError: cannot import name OrderedDict 2014-06-24 17:40:38 -07:00
echel0n
6c3f34fd8d Possible fix for EpisodeNotFoundByAbsoluteNumberException errors 2014-06-24 17:37:03 -07:00
echel0n
78b0a07e7d Merge remote-tracking branch 'origin/dev' 2014-06-24 17:06:38 -07:00
echel0n
7fff3e0d63 Added zip extraction exception logging. 2014-06-24 17:02:19 -07:00
echel0n
92828eca54 Added error logging for backup zip creation. 2014-06-24 16:59:14 -07:00
echel0n
696a1a9f4a Fixed issue with backup/resotre config file variable 2014-06-24 16:47:52 -07:00
echel0n
10bea520a7 Fixed backup/restore issues, uses correct data directory variable now. 2014-06-24 16:40:13 -07:00
echel0n
dbf950ec99 Merge remote-tracking branch 'origin/dev' 2014-06-24 06:51:45 -07:00
echel0n
cc6e9aa0f5 Fixed compiled regex pattern ordering, fixes issues that where causing H.264 to be matched as S2E64 2014-06-24 06:48:00 -07:00
echel0n
cba2aaf003 Merge remote-tracking branch 'origin/dev' 2014-06-24 01:10:48 -07:00
echel0n
cec01405d8 Fix for release results x264 issue 2014-06-24 00:42:13 -07:00
echel0n
5f0265e769 Fixed post-processing loop issue. 2014-06-24 00:06:39 -07:00
echel0n
fcd54c93d6 Fixed minor regex mistake in code. 2014-06-23 23:59:08 -07:00
echel0n
5c5b6f49e1 Fixed regex patterns for both show and release names.
Fixed post-processing loop issue.
2014-06-23 23:45:21 -07:00
echel0n
6aaf5c8eb0 Merge remote-tracking branch 'origin/dev' 2014-06-23 20:48:46 -07:00
echel0n
c878c6d303 Shows now perform a dirty check to confirm if any records have been altered before trying to save to the DB, improves overall performance and speed of sickrage.
Browser does not get launched on restarts as a restarted check is performed now.
2014-06-23 20:25:20 -07:00
echel0n
386355e130 Updates/Restarts now use the same process instead of spawning a new one so the PID remains the same.
Fixed issue for restarts/updates on windows.
2014-06-23 08:18:01 -07:00
echel0n
3a70a6effe Merge remote-tracking branch 'origin/dev' 2014-06-22 20:41:03 -07:00
echel0n
3c370fc5c9 Fix for tornado redirect function, was not properly returning. 2014-06-22 19:51:00 -07:00
echel0n
5500e0b245 Merge remote-tracking branch 'origin/dev' 2014-06-22 18:53:45 -07:00
echel0n
f6c40d4b25 Fixed DB issues related to displaying plot details for show episodes. 2014-06-22 18:52:46 -07:00
echel0n
da20c5f81f Merge remote-tracking branch 'origin/dev' 2014-06-22 18:27:10 -07:00
echel0n
0599a89565 Fix for DB issues on new installs relating to database version checks. 2014-06-22 18:24:55 -07:00
echel0n
b0149cc65d Fix so that scene converting does not happening when performing naming pattern routines. 2014-06-22 13:06:20 -07:00
echel0n
688263bd62 Fix for missing code in Name Parser 2014-06-22 12:58:26 -07:00
echel0n
0573a8add6 Fix for NoneType name parsing issues from new test code.
Fix for h264/x264 matching as absolute number.
2014-06-22 12:25:54 -07:00
echel0n
b1c9b71846 Testing new faster method of obtaining show object via regex matching for series name during Name Parsing for results. 2014-06-22 11:33:58 -07:00
echel0n
b36292d83d Merge remote-tracking branch 'origin/dev' 2014-06-22 10:43:38 -07:00
echel0n
7defffb4f1 Moved scene conversion routine in Name Parser to end so that it only converts the best result match and not every single one wasting time and cycles. 2014-06-22 10:27:00 -07:00
echel0n
3e78004d36 Fix for KeyError: None in displayShows 2014-06-21 22:03:59 -07:00
echel0n
788448feef Merge remote-tracking branch 'origin/dev' 2014-06-21 18:38:07 -07:00
echel0n
61e1e5d2c2 Fix for __exit__ DB errors 2014-06-21 18:35:57 -07:00
echel0n
0a6deaaf63 Merge remote-tracking branch 'origin/dev' 2014-06-21 18:08:28 -07:00
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
26d578c671 Merge remote-tracking branch 'origin/dev' 2014-06-21 17:15:46 -07:00
echel0n
ac9d78bc0f Name parser performance fixed, manual searches fixed. 2014-06-21 17:11:53 -07:00
echel0n
4126a369b4 Merge remote-tracking branch 'origin/dev' 2014-06-21 15:54:02 -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
faa6ca5103 Fixed version string 2014-06-20 16:57:03 -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
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
echel0n
78c4211925 Fixed issue with scene exception updating for custom names. 2014-05-30 05:30:28 -07:00
echel0n
9b78e3dc5e Fix for scene exception and scene numbering updates when editing a show. 2014-05-30 04:52:37 -07:00
echel0n
997896a540 Fix for transactionals and None Types in sql lists 2014-05-30 04:42:31 -07:00
echel0n
db6cf0b22b Fix for daily searcher NoneType error.
Added XEM icon to show display, indicates if show has scene mapping available or not plus clicking on the icon will take you to the XEM mapping page.
2014-05-30 04:06:51 -07:00
echel0n
70e7f1bfce Fixed issues with scene numbering being overwritten by ep objects.
Converted more object saves to database to use transactionals, better performance.
2014-05-30 03:01:49 -07:00
echel0n
05cca0dfe0 Fixed post-processing issues with shows being rejected and saying they didn't exist when infact they did.
Fixed a issue in our name parser code that would of resulted in searches failing completely.
2014-05-30 01:16:12 -07:00
echel0n
f01c5852d4 Improved find propers code.
Backlog and manual searches now check cache first for search results.
2014-05-30 00:51:24 -07:00
echel0n
1abef89b29 Scene numbering now updates every 1 hour or is forced when needed so that searches always have up-to-date information before hand. 2014-05-30 00:51:06 -07:00
echel0n
a2439c8c64 Added ability to mass set shows to search by scene numbering. 2014-05-30 00:50:45 -07:00
echel0n
a92de48aec Added new show option that allows you to choose if you want to search via scene numbering or indexer numbering.
Scene numbers and scene absolute numbers now only display if prooper show options are selected.

Scene absolute numbers are now able to be set by user.

Fixed issues with user set scene numbers not correctly applying to episode objects.
2014-05-30 00:50:27 -07:00
Nils Vogels
cea8fd3216 Fix typo 2014-05-29 17:35:51 +02:00
echel0n
e1ee01579d Fixed issues with TVDB retrieving banners and posters.
Fixed unicode issues with Indexer API's
Fixed issues with scene numbering.
Fixed issues with black and white lists for anime shows when editing a show.
2014-05-29 06:27:05 -07:00
echel0n
4a4eec0a9e Fix for restart issues 2014-05-29 02:21:26 -07:00
echel0n
6fc93be7b5 Fix for restart spawning more then one process of SickRage 2014-05-29 01:00:13 -07:00
echel0n
42b621103f Fix for restart and PID issues. 2014-05-29 00:00:59 -07:00
echel0n
6558b8ac71 Code cleanup 2014-05-28 23:24:23 -07:00
echel0n
2dcd26e69c Update imdbpy libs to v5.0
Fixed invalid indexer id issues for TVRage shows.

Fixed issues for getting posters and backdrops for TVRage shows.

We now convert XML straight to a dict object for Indexer APIs, improved overall performance api's

Fixed issues with TVRage shows and displaying genre's properly.
2014-05-28 23:09:38 -07:00
Nils Vogels
7bf12460be PEP8 cleanups 2014-05-29 02:44:00 +02:00
Nils Vogels
0e34c8c4b3 Backport from https://github.com/thezoggy/Sick-Beard, applied to our branch
General cleanups in notifiers.

* Cleaned up notifier ui page wording so they follow similar pattern.
* Better exception handling for pyTivo and NMJ
* Cleaned up logging entries, trying to standardize on what level we report and verbiage (not using contractions, prune out duplicate/excessive entries)
2014-05-29 02:30:38 +02:00
echel0n
e009641804 SickRage now stores the XEM scene data to the main DB under tv_episodes for faster lookups and better linkages with epiosde objects, insures we have scene data on hand when we want it!
Adding functions to lookup scene season and ep info via scene absolute numbers.

We now try and create a show object from parsed release info before we consider it a valid parsed result to insure we even have the show in our show list, also used to validate anime releases.

Misc bug fixes here and there.
2014-05-28 14:16:03 -07:00
Nils Vogels
9e455c424a Merge branch 'FuzzyMoments' of https://github.com/JackDandy/SickRage into JackDandy-FuzzyMoments 2014-05-28 00:17:24 +02:00
echel0n
34da3f53d8 Added Black and White list for release groups for anime shows.
Fixed anime show list splitter.

Added check for anime shows and providers so we don't perform searches with a provider that doesn't support the type of show genre we are searching.
2014-05-27 03:09:57 -07:00