1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 19:42:20 -05:00
Commit Graph

455 Commits

Author SHA1 Message Date
echel0n
269bf2333b Fix for issue #1111 2014-12-12 21:48:18 -08:00
echel0n
92a554da99 Fixed issue #1024 - EncodingKludge issue identified and fixed 2014-12-12 20:25:44 -08:00
echel0n
467c42747f Fixed issue #1105 2014-12-12 19:36:45 -08:00
echel0n
de24e52be6 Fixed issue #1055, adding existing shows with prompt for settings 2014-12-12 18:49:52 -08:00
echel0n
0209852af5 Fixed issues with network timezone downloads crashing on a empty return.
Changed version checker url and moved code to Home class.
Fixed WebUI issues caused by calling redirect method.
Fixed update checking issues, added no cache header.
Fixed WebAPI builder issues with show.delete cmd.
Fixed article sorting for both WebAPI and WebUI.
2014-12-12 17:52:32 -08:00
echel0n
0b403a419c Fixed issues with network timezone downloads crashing on a empty return.
Changed version checker url and moved code to Home class.
Fixed WebUI issues caused by calling redirect method.
Fixed update checking issues, added no cache header.
2014-12-12 12:18:33 -08:00
echel0n
979bf70f5c Fixed issues with network timezone downloads crashing on a empty return.
Changed version checker url and moved code to Home class.
Fixed WebUI issues caused by calling redirect method.
Fixed update checking issues.
2014-12-12 11:45:32 -08:00
echel0n
3f29439ff3 Fixed issues with network timezone downloads crashing on a empty return.
Changed version checker url.
2014-12-12 08:46:03 -08:00
echel0n
2cd72ad4e8 Fixed small cosmetic bug with trakt trending shows page.
KAT torrent provider now gets and stores size and publishing date info.

Fixed feedcache issue with KAT torrent provider

Added timeout for trakt trending shows page
2014-12-11 13:47:59 -08:00
echel0n
8066983384 Updated KAT provider urls.
KAT Provider now uses feedcache to get its results via rss feeds.

Fixed issues with Trakt.TV notifications and adding of trending shows

Improved Trakt trending shows page, now shows progress animation well it waits to load shows list.
2014-12-11 12:46:01 -08:00
echel0n
02a9148025 Updated KAT provider urls.
KAT Provider now uses feedcache to get its results via rss feeds.
Fixed issues with Trakt.TV notifications and adding of trending shows
2014-12-11 11:30:57 -08:00
echel0n
78bfc40757 Fixed manual post-processing issues with WebUI.
Decreased WebUI overall loadtime by shifting a few key methods around into there correct classes to allow them to become threaded.
2014-12-10 17:05:21 -08:00
echel0n
efc2aad782 Fixed issues serving static image content for banners/posters and misc other static images, improves overall performance of webui as well. 2014-12-10 15:54:25 -08:00
echel0n
3a2a5f9d70 Fixed issues with adding shows via WebUI 2014-12-10 12:05:29 -08:00
echel0n
785c2d37db Fixed issues with cached images not loading correctly, major speed improvement!
Fixed issues with saving config.
2014-12-10 10:30:38 -08:00
echel0n
405d54011f Fixed for result NoneType being returned 2014-12-10 06:23:00 -08:00
echel0n
5fa67936aa Fixed WebUI issue displaying main index home page 2014-12-10 05:47:35 -08:00
echel0n
7213fbac11 Fixed issues with WebUI crashing when using a custom web_root setting in the config, also fixed a few other misc WebUI related issues.
This resolves issue tickets #1065, #1064, #1049
2014-12-10 05:10:51 -08:00
echel0n
9466bddc3e Fixes for issues relating to multi-threading, webui, and databases 2014-12-08 11:58:51 -08:00
echel0n
a311b665ba Fix for unicode issues with image files 2014-12-08 07:37:14 -08:00
echel0n
46bd600da0 Improved async threading code for WebUI 2014-12-08 07:34:14 -08:00
echel0n
a5c961e3eb Testing threaded async webui code 2014-12-08 00:17:55 -08:00
echel0n
c6c0f9600b Fix UI notification issues with auth 2014-12-07 18:24:30 -08:00
echel0n
421e807aa6 Linked post to get for WebUI 2014-12-07 17:58:14 -08:00
echel0n
d44968789f Fixed issues regarding adding of existing shows. 2014-12-07 17:43:34 -08:00
echel0n
9e2c753d4b Fixed WebFileBrowser code in WebUI 2014-12-07 17:17:42 -08:00
echel0n
e7de90f688 Merge remote-tracking branch 'origin/develop' into develop
Conflicts:
	sickbeard/webapi.py
2014-12-07 15:57:32 -08:00
echel0n
5f58282260 Added new WebUI login interface 2014-12-07 12:58:41 -08:00
echel0n
589b7167c1 Improvements made to tv cache code for providers 2014-12-07 09:16:41 -08:00
echel0n
0365cc201b Fixes for issue #1026 - Trakt exceptions 2014-12-05 22:51:24 -08:00
echel0n
86e7912c41 Possible fix for issues #1016, #993, and #1024 - Unicode decode/encode issues 2014-12-05 20:13:50 -08:00
echel0n
b7a5fc85fe Added encoding tests to test suite.
Possible fix for issue #1016 - Unicode decode/encode issues
2014-12-05 18:46:44 -08:00
echel0n
4dc20f2d99 Merge remote-tracking branch 'origin/develop' into develop 2014-12-05 18:03:33 -08:00
echel0n
d536d43b6f Fixed issue #954 - Default EP status now hardcoded with a default of SKIPPED.
Fixed a issue that was causing show status to be set to NoneType randomly.
Fixed misc comparisons that were causing improper code executions.
Misc PEP8 coding fixes.
2014-12-05 18:03:20 -08:00
echel0n
cf08070ff7 Merge pull request #1020 from frdfsnlght/master
Copy headers set in request handlers to main handler
2014-12-04 17:46:23 -08:00
echel0n
4254916ae9 Fixed a bunch of bugs/issues with tvcache module code flow and added in proper error handling for the threaded cache updates plus resolved some provider issues. 2014-12-03 06:41:51 -08:00
echel0n
2354c74247 Updated IMDB libs.
Minor code improvements made to IndexerAPI modules.

New subtitle config feature which allows you to control if subtitles get there language codes appened to there filenames or not.

Added El Rey Network image.

Added code for generating imdbID's for shows missing there imdbID's such as shows from TVRage indexer..
2014-12-02 22:13:28 -08:00
echel0n
33e094a9aa Fix for issue #971 and issue #1007 - defaults to a status of UNKNOWN if a empty result is returned 2014-12-02 03:21:23 -08:00
John
d8943d06e0 Fix api/builder if your using a webroot 2014-11-29 23:09:23 +01:00
echel0n
42befb652d Fixed more issues with TraktAPI code 2014-11-29 03:38:41 -08:00
echel0n
9ecbd401f4 Name change XBMC -> Kodi 2014-11-28 14:47:43 -08:00
echel0n
76717fa52b Downgraded Trakt errors to trigger SR logger WARNINGS instead of ERROR messages 2014-11-28 14:18:48 -08:00
echel0n
c6b7348c37 Overhaul of Trakt.TV API handler 2014-11-28 14:07:26 -08:00
Tab Bennedum
ef8726448f Merge remote-tracking branch 'upstream/master'
Conflicts:
	sickbeard/webserve.py
2014-11-27 10:53:00 -05:00
echel0n
a0aa479b91 Merge remote-tracking branch 'origin/develop' into develop 2014-11-27 04:39:41 -08:00
echel0n
bfea9329b4 Added code to set proper content-type header on images being displayed via webgui 2014-11-26 21:42:56 -08:00
h3llrais3r
41d8210d10 Add custom nzb category and torrent label for anime 2014-11-26 21:48:37 +01:00
echel0n
360c3afa08 Removed FTFY, python 2.6 compatibility issues.
Re-coded encodingKludge encode/decode for unicode <-> utf-8
2014-11-25 17:22:31 -08:00
Tab Bennedum
c449ca97e3 Added correct Content-Type header to showPoster calls. 2014-11-25 14:48:53 -05:00
echel0n
6a140aa907 Added FTFY module to help with any encoding/decoding issues 2014-11-24 13:42:30 -08:00
echel0n
06d14d3450 Merge pull request #937 from miigotu/develop
Strip year from show title when adding existing shows, so show is found ...
2014-11-23 05:28:22 -08:00
echel0n
a18c72f2ea Small code fix for trakt.tv trending shows func
Fixes for Indexer API's
2014-11-23 04:51:10 -08:00
echel0n
29d22b8a8f Trakt.tv recommend shows and trending shows now work with both TVDB and TVRAGE Indexer's 2014-11-23 04:08:37 -08:00
echel0n
cf35e9778c Added per-show option that allows you to set the default status that gets applied to new and missing show episodes, default is SKIPPED
Fixed issues for failed/manual snatches always failing to complete
2014-11-23 01:17:37 -08:00
Dustyn Gibson
ed00cbc053 Strip year from show title when adding existing shows, so show is found on TVDB. Fix processing of NFO. 2014-11-22 18:39:29 -08:00
echel0n
4d41d881eb Fix for pyGitHub module not found issue.
Added in bugtracker class
2014-11-16 02:58:20 -08:00
echel0n
aa76734f56 Fix for bug #898, fixes issues with show image overlay when using small poster layout 2014-11-15 20:57:39 -08:00
echel0n
b1d7cdc1ad Fixed bug #895, automatic post-processing not being enabled when setting enabled from config. 2014-11-14 19:59:22 -08:00
echel0n
1c46813e89 Fixed adding of trending shows.
Fixed adding root directory issues.
2014-11-14 16:35:10 -08:00
tehspede
a1ce52df8f Fix missing HTML in notifications resulting in incorrect formatting. 2014-11-12 09:24:34 +02:00
Prinz23
732009fd98 Change how the "local/network" setting is handled to address some issues.
Move local/network setting datetime convert into it's own function.
Function parse_date_time() now returns when possible a correct timezone aware datetime.
Change webapi to use new converter.
Fix Daily Searcher.
Fix saving old DateTime setting.
Add safety check if network_dict is already loaded.
2014-11-11 18:15:25 +00:00
JackDandy
46cd85299e Change improve Add Show/Add Trending Show page.
Fix white screen of death when trying to add a show that is already in library by replacing "Add Show" button with "In library".
Add show sorting options.
Add handler for when Trakt returns no results.
Fix image links when anchor child images are not found at Trakt.
Add image to be used when Trakt posters are void.
2014-11-07 22:45:56 +00:00
JackDandy
ef4470bd78 Add send2trash, General Config/Send to trash, and catch show dir not found exception.
Add send2trash, a small package that sends files to the Trash (or Recycle Bin) natively and on all platforms. If send2trash is found not compatible, the user can use the default delete and manually delete failed send2trash files.
Add General Config/Misc/Send to trash for actions that involve removing shows and log rotation.
Add handling for the exception raised while deleting a show and show folder no longer exists.
2014-11-05 05:36:16 +00:00
Adam
1cf3237b9e Fixes changing root dirs on the mass edit page 2014-11-04 18:39:43 +08:00
Adam
d835e32063 Removed requirement for http login for API when an API key is provided 2014-11-02 23:50:47 +08:00
tehspede
b9b88b18a6 Combined 'Delete' and 'Remove' buttons in to one on the individual show pages. 2014-10-29 21:06:20 +02:00
JackDandy
d5863943c0 Fix theme identification for spinner when restarting. 2014-10-28 04:29:15 +00:00
Adam
9903819ce0 Implement automatic saving of poster layout sorting options on show list 2014-10-27 23:12:24 +08:00
JackDandy
3b5fe4b0de Overhaul General Configuration. Tweak top navbar. Fix imdb and other images.
Change to rename General Configuration -> "Web Interface" tab as "Interface".
Add a "User Interface" section to the "Interface" tab.
Change consolidate "Date and Time" and "Theme" tab content to "User Interface" section.
Add field in Advanced setting for a custom remote name used to populate branch versions.
Change theme name "original" to "light".
Improve text wording on all UI options under General Configuration.
Improve reduce over use of capitals.
Improve streamline UI layout, mark-up and some CSS styling of all General Configuration tabs.
Fix default top navbar background white-out behaviour on browsers that don't support gradients.
Improve top navbar gradient use for greater cross browser compatibility (e.g. Safari).
Fix dark theme divider between Season numbers on display show page.
Fix main background and border colour of logs on log page.
Fix imdb and three other images rejected by IExplorer because they were corrupt. Turns out that they were .ico files renamed to either .gif or .png instead of being properly converted.
Fix "Subtitle Language" drop down font colour when entering text on the Subtitles Search settings.
Clean up text, correct quotations, use spaces for code lines, tabs for html.
Update changelog.
2014-10-27 00:29:12 +00:00
JackDandy
6c8d72b9c1 Revert "Added gui for IMDB watchlists in Config General."
The main core of this code was lifted from Trakt code and not developed enough to be suitable for purpose given that the Trakt code isn't fully developed either. An issue found leading to this decision was that show statuses were set false instead of the expected default, however, worse was that users had no way of choosing shows to add, was not informed of what was actually going on once a URL was added to the UI, and was not offered options prior to adding shows like the normal add new show work-flow does. Basically, there are too many issues and this feature is too immature for inclusion.
2014-10-24 17:03:32 +01:00
JackDandy
85d022916f Add "Archive on first match" to Manage, Mass Update, Edit Selected page. 2014-10-16 22:41:46 +01:00
Ofir Brukner
b8c8e02394 Fixed a tiny bug in searchShowSubtitles, to show all languages instead of just the new one. 2014-10-13 12:49:05 +03:00
Ofir Brukner
b0426ca12d Fixed a few bugs.
Also fixed buggy search function in webserve.
2014-10-13 00:25:06 +03:00
Peter Maciocia
5aae8d7b48 add checkbox to control proxying indexers 2014-10-10 19:08:53 +08:00
adam111316
ef621a3b17 Merge pull request #861 from Supremicus/dev
UI Fixes
2014-10-09 08:10:48 +08:00
Supremicus
29403ff2cb Added small poster view back in 2014-10-09 10:00:36 +10:00
D. Casu
c8d5989676 Fixes calendar always being unprotected
SR now makes use of the "unprotected calendar" option in the advanced
settings.

Issue report:
https://sickrage.tv/forums/forum/help-support/bug-issue-reports/8904-calendar-always-unportected
2014-10-08 20:05:41 +02:00
adam
1668f80117 Add theme_name to config and expose THEME_NAME global 2014-10-08 14:08:26 +08:00
Ed Watson
1bb5c138fd changing /calendar.Adding Season and Episode to the description of the
event rather than location. (To stop my phone trying to navigate to TV
shows)
2014-10-07 12:55:58 +01:00
adam
52a1254cfa Add global required words 2014-10-06 01:08:32 +08:00
bobobo1618
60cc99bfd4 Catch airs/network set to None
Some shows don't have a network set, which causes an exception when the value is coerced to Unicode.
2014-10-02 10:31:13 +10:00
KontiSR
7165df7405 Added gui for IMDB watchlists in Config General.
Used regex checks with javascript popup, for checking if valid imdb csv watchlist.
Added test/test_tvdb_api.py for testing the tvdb api for retrieving shows by IMDB id.

TODO: Help for assisting users in getting the correct IMDB url.
maybe, make interval configurable

First changes for imdb watchlist checker

Thrown the couch code overboard and created my own version of an imdb watchlist scraper

Added IMDB thread and test values with an IMDB csv url. These values should be replaced by front end UI settings.

- Removed some tracelogs when unable to download watchlist
- Added settings for enabling and setting of the watchlist csv url
TODO:
- create UI for setting from frontend
- Implement frontend and backend checks for validating the csv url

Default interval is 1 hour.
2014-09-30 12:25:11 +02:00
adam
37f021feb6 Custom naming for anime 2014-09-29 19:40:16 +08:00
Adam
bc16d23b4f Temp fix for root dirs config resetting 2014-09-23 16:13:48 +08:00
KontiSR
c54e70e99b Fixed displaying of currently running searches 2014-09-19 13:56:49 +02:00
KontiSR
a4c8c53c91 Fixed SearchFailedDownload when selecting multiple ep's as failed in displayShow
Searched for other occurrences for the search_queue.FailedQueueItem() call.
Changed segment to [segment]

The failedDownloadQueueItem always expects a single epObj in the segment. But when checking multiple episodes as "Failed" in displayShow, an array is provided. I've changed the queueItem to always iterate over it as an array. And i've made sure that when retry a single episode, it's also send to the queueItem as an array (with a single element).
I've had to adapt the queuing functionality in webserve for this.
2014-09-19 10:55:05 +02:00
Adam
9f92601262 Add first revision of calendar to coming episodes 2014-09-16 17:29:57 +08:00
KontiSR
bdac98db4b Implemented the queuing functionality also for Failed downloads.
ajaxEpSearch.js now also processes the clicks for Retries. SO merged those together and removed ajaxEpRetry.js.
2014-09-15 15:01:18 +02:00
KontiSR
419e35f300 sbRoot missing in some img url's
Added queued.png image.. for manual searching

Fixed issue where consecutive manual searches where not queued properly
Added first backend processing for retrieving all queued searches. This should fix the frondend blocking when doing manual searches for episodes, because the backend is free sooner. It now only queues the search.
Created a returning ajax call for getting a list of all searches in queue en running on the displayShow page.

For the getManualSearchStatus() function, only use curItem from the ManualSearchQueueItem or FailedQueueItem threads.

Conflicts:
	sickbeard/search_queue.py
2014-09-15 13:31:16 +02:00
echel0n
47eb4fd21a Fixed backlog frequency calculator code for realtime changes 2014-09-15 02:35:14 -07:00
echel0n
e78392f04a Backlog frequency determined by algo that takes into account daily search frequency to prevent overlap of searches, automatically calculates allowed minimum value that is user-settable 2014-09-15 02:23:11 -07:00
echel0n
417047f590 Added ability to set number of days to start backlog searches from, eg 7 days would search for episodes 7 days and older 2014-09-15 01:57:50 -07:00
echel0n
442631105b Fix for TypeError: list indices must be integers, not str in Indexer API code 2014-09-14 18:24:08 -07:00
Adam
f5d3f71c70 Add search queue info to ManageSearches page 2014-09-08 11:54:43 +08:00
djoole
6a393cc755 Added an option in Post Processing options do activated/deactivate postponing postprocess if sync files are present in download TV dir (activated by default) 2014-09-07 12:45:19 +02:00
echel0n
59675f27ac Fixed failed download handling.
Improved search queue code.
2014-09-06 21:36:23 -07:00
echel0n
a0ef748f3b Fixed saving general settings rootDir error 2014-09-06 16:35:10 -07:00
echel0n
a32de0d523 Merge pull request #769 from KontiSR/dev
Added gui for for choosing newznab (tv) categories
2014-09-05 19:16:46 -07:00
Adam
0daf226313 Test #2 to fix daily/backlog checkboxes with custom newznab server 2014-09-04 07:52:39 +08:00
Adam
281247a90f Fix for daily/backlog checkbox values not saving correctly on providers 2014-09-03 18:40:56 +08:00