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

444 Commits

Author SHA1 Message Date
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 , , 
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 - Trakt exceptions 2014-12-05 22:51:24 -08:00
echel0n
86e7912c41 Possible fix for issues , , and - Unicode decode/encode issues 2014-12-05 20:13:50 -08:00
echel0n
b7a5fc85fe Added encoding tests to test suite.
Possible fix for issue  - 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 - 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 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 and issue - 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 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 , fixes issues with show image overlay when using small poster layout 2014-11-15 20:57:39 -08:00
echel0n
b1d7cdc1ad Fixed bug , 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 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 from KontiSR/dev
Added gui for for choosing newznab (tv) categories
2014-09-05 19:16:46 -07:00
Adam
0daf226313 Test 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
Woodpaker
8b4bb3a5a5 Fixed some git conflicts 2014-09-01 18:29:52 +02:00
Woodpaker
000467cc73 * Added saving of changed newznab categories in backend.
Added gui for selecting categories from multiselect box.
Created some helper function in js, for dynamically modifying selects/options

Made results of function for retrieving newznab capabilities more generic. In that now always a valid json is returned with success,tv_categories,error

Added gui elements for retrieving and displaying newznab capabilities

Added backend functions for calling ajax /getNewznabCategories?name=yourNewznabProvider&url=https://newznabprovURL&key=YourApiKey
Returns json.dumps() with TV category capabilities of newznab provider. Is going to be used for new gui element in adding newsnab provider.
2014-09-01 17:57:52 +02:00
echel0n
00a1ebfee3 Fixed TypeError: string indices must be integers error when mapping indexer id's
Added full delete feature to mass update, removes show from SR and deletes show folder from hard drive. Remove will just delete show from SR without deleting files from hard drive

Fixed XML errors for TVRage indexer api
2014-08-29 10:05:15 -07:00
echel0n
3cb1c573a3 Fix for newznab provider settings not saving properly
Added new show option, delete now removes show from showlist and deletes from hard drive, remove will just remove show from showlist but leave files on hard drive untouched
2014-08-29 03:29:56 -07:00
echel0n
bcffc09589 Replaced provider backlog only search option with 2 new options that allow you to enable daily searches and backlog searches individually per provider, default is enabled for both. 2014-08-28 22:16:25 -07:00
Woodpaker
6c28013586 webserve.py: small typo that prevented the absolute "scene absolute" numbering to update in the displayShow page.
scene_exceptions.py: scene exceptions were not saved. the exceptionCache variable used to cache the scene exceptions. The list with exceptions is updated in db, but when reopening your series edit page, the scene exception list is retrieved from the cache instead the db. I've created a small patch that updates the cache after updating the scene exceptions in db.
show_name_helpers.py: After each manual search the showName was added to the scene exceptions list. This was only added to the cache, but was anoying because up until a restart the list with scene exception names kept growing. Fixed this by refering to the function by value instead of by reference.
2014-08-17 21:17:20 +02:00
echel0n
27ac36cde9 Merge pull request from piejanssens/dev
Add priority option for daily snatches (inc force)
2014-08-12 18:33:53 -07:00
piejanssens
e4282df953 Add priority option for daily snatches (inc force)
This adds a priority option that allows the user to specify the
priority to be used for daily/recent snatches instead of the default
high value ‘100’.

This also includes the use of priority ‘force’ which will let nzbget
download the task even if the queue is paused.
2014-08-11 22:07:02 +02:00
Adam
f4c0893d32 Fixes for trakt settings not saving 2014-08-11 19:29:35 +08:00
Jamie
18da621016 Trakt method, error checking, remove series 2014-08-09 00:07:17 +01:00
echel0n
3592e559d0 Fixed unbound method editShow() error 2014-08-08 00:18:03 -07:00