1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00
SickRage/sickbeard
JackDandy 477b0806b0 Fix API response header for JSON content type and the return of JSONP data.
The API should return application/json Content-Type for JSON data instead of application/html. Tornado expects a dict in order to JSON encode and send header "Content-Type:application/json". SR already encodes data plus it supports JSONP. So, the encoded string data is wrapped into a dict, and a test is added at Tornado def write() to unwrap and skip encoding, in order to set the correct content-header and also use JSONP.

Added file HACKS.txt to serve as a reminder for anyone updating the library.
2014-11-11 13:22:03 +00:00
..
clients Make failed torrent log message more verbose 2014-10-13 23:10:19 +08:00
databases Anime propers 2014-07-27 21:04:17 +08:00
indexers add checkbox to control proxying indexers 2014-10-10 19:08:53 +08:00
metadata Fix post processing when using tvrage indexer and mediabrowser metadata generation 2014-11-09 13:44:47 +08:00
name_parser Fix ABD regex for certain filenames 2014-10-13 19:19:33 +08:00
notifiers Update growl.py with missing registration of update notification 2014-11-08 20:59:07 +08:00
providers Fix missing kat url in config_providers 2014-11-09 13:45:10 +10:00
__init__.py Add send2trash, General Config/Send to trash, and catch show dir not found exception. 2014-11-05 05:36:16 +00:00
autoPostProcesser.py Doesn't start a scheduled task for things not enabled to not waste resources. 2014-07-28 21:46:56 -07:00
blackandwhitelist.py Fixed issues with editing/saving custom scene exceptions. 2014-07-14 19:00:53 -07:00
browser.py Fix for newznab provider settings not saving properly 2014-08-29 03:29:56 -07:00
bs4_parser.py Created a context manager wrapper for BeautifulSoup4 so that we can cleanup/clear tags/context on exit via WITH statements. 2014-07-21 21:26:58 -07:00
classes.py Fixed TorrentSearchResult instance has no attribute 'content' errpr 2014-08-28 22:22:55 -07:00
common.py Fix some of the unit tests 2014-09-16 18:25:59 +08:00
config.py Fixed backlog frequency calculator code for realtime changes 2014-09-15 02:35:14 -07:00
dailysearcher.py Fixes exception generated in thread DAILYSEARCHER: 'NoneType' object has no attribute 'getEpisode' 2014-09-25 23:12:16 +08:00
db.py Fixes daily search and speed improvements 2014-09-20 20:34:00 +08:00
encodingKludge.py Fixed issues with editing/saving custom scene exceptions. 2014-07-14 19:00:53 -07:00
event_queue.py Fix for threading schedualers and subtitles. 2014-07-19 17:03:23 -07:00
exceptions.py Added anime support with anidb support. 2014-05-25 23:29:22 -07:00
failed_history.py Fixed issues with editing/saving custom scene exceptions. 2014-07-14 19:00:53 -07:00
failedProcessor.py Fixed SearchFailedDownload when selecting multiple ep's as failed in displayShow 2014-09-19 10:55:05 +02:00
generic_queue.py Fixes issues with scene exception updating when editing a show, should resolve problems with it duplicating scene exception name over and over again. 2014-07-19 22:29:19 -07:00
gh_api.py Fixes for updating/checkout of source installed versions. 2014-07-30 15:57:08 -07:00
helpers.py Add an anonymous redirect builder for external links. 2014-11-10 04:01:53 +00:00
history.py Anime propers 2014-07-27 21:04:17 +08:00
image_cache.py Added in context to aid in garbage cleanup to help reduce memory usage. 2014-06-30 10:48:18 -07:00
logger.py Add send2trash, General Config/Send to trash, and catch show dir not found exception. 2014-11-05 05:36:16 +00:00
name_cache.py Added ability to set a default indexer for trakt notifier used for adding shows from watch list so that SickRage knows what indexer to set the show as. 2014-07-23 22:07:01 -07:00
naming.py Custom naming for anime 2014-09-29 19:40:16 +08:00
network_timezones.py Change reporting failed network_timezones.txt updates from an error to a warning. 2014-11-10 04:45:26 +00:00
nzbget.py Add priority option for daily snatches (inc force) 2014-08-11 22:07:02 +02:00
nzbSplitter.py Added proxy support to Indexer APIs. 2014-07-27 03:59:21 -07:00
postProcessor.py Do not log ERROR when show isn't in list. Log WARNING instead. 2014-08-30 16:17:09 +02:00
processTV.py 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
properFinder.py Fixed high CPU usage during searches, adding conditional check to prevent un-needed name parsing of search results when search result was previously already parsed and checked during filtering of bad releases 2014-09-06 17:25:07 -07:00
rssfeeds.py PEP8 changes for rss feed cache code 2014-08-31 12:56:45 -07:00
sab.py App name change in code. 2014-05-23 05:37:22 -07:00
sbdatetime.py Added date formats for d/m/y 2014-10-22 12:19:06 +10:00
scene_exceptions.py Fixes anime exceptions being cleared when editing the exceptions on editShow page 2014-08-23 11:55:00 +08:00
scene_numbering.py Fixed AttributeError: 'NoneType' object has no attribute 'is_scene' in scene_numbering code. 2014-08-30 01:47:00 -07:00
scheduler.py Doesn't start a scheduled task for things not enabled to not waste resources. 2014-07-28 21:46:56 -07:00
search_queue.py This is a check used in webserve.py getManualSearchStatus(), to get the current running queuitem, if it is a manual or failed/retry search. If so, the frontend will report the matching episode as in status "searching". 2014-09-23 11:06:02 +02:00
search.py This is a first attempt of getting the season pack downloading to work. 2014-09-25 13:18:07 +02:00
searchBacklog.py Fixed typo in searchBacklog. Introduced with search from delta functionality. 2014-09-19 10:49:37 +02:00
show_name_helpers.py Add global required words 2014-10-06 01:08:32 +08:00
show_queue.py fixes to make trakt watch list work 2014-09-24 22:46:09 +10:00
showUpdater.py Moved code for cleaning up cache folder to seperate function located in helper.py. 2014-07-27 04:58:14 -07:00
subtitles.py Doesn't start a scheduled task for things not enabled to not waste resources. 2014-07-28 21:46:56 -07:00
traktChecker.py fixes to make trakt watch list work 2014-09-24 22:46:09 +10:00
tv.py Add send2trash, General Config/Send to trash, and catch show dir not found exception. 2014-11-05 05:36:16 +00:00
tvcache.py Fix for custom newznab providers with leading integer in name 2014-10-10 15:39:13 +08:00
ui.py Added in context to aid in garbage cleanup to help reduce memory usage. 2014-06-30 10:48:18 -07:00
versionChecker.py Overhaul General Configuration. Tweak top navbar. Fix imdb and other images. 2014-10-27 00:29:12 +00:00
webapi.py Fix API response header for JSON content type and the return of JSONP data. 2014-11-11 13:22:03 +00:00
webserve.py Change improve Add Show/Add Trending Show page. 2014-11-07 22:45:56 +00:00
webserveInit.py Shutdown/restarts now wait for Tornado to finish shutting down before proceeding further 2014-07-30 18:57:31 -07:00