Commit graph

77 commits

Author SHA1 Message Date
JackDandy
7c53e1e5f6 Change remove redundant xsrf handling for POSTs that don't use web and API. 2018-04-04 00:11:17 +01:00
JackDandy
f3310e29f2 Change improve security.
Change improve security with DNS rebinding prevention, set "Allowed browser hostnames" at config/General/Web Interface.
Change improve security with cross-site request forgery (xsrf) protection on web forms.
Change improve security by sending header flag httponly with cookies
Change improve security by sending header flag secure with SSL cookies
Change improve test for creating self-signed SSL cert.
Change force restart when switching SSL on/off.
Change enable Tornado serve_traceback feature.
Change PEP8 tweaks.
2018-04-02 19:24:50 +01:00
Prinz23
e8ade6ffcf Update Tornado Web Server 4.5.1 (79b2683) → 5.0.1 (35a538f). 2018-03-28 01:24:09 +01:00
JackDandy
8d9406d5fc Add choose to delete watched episodes from a list of played media at Kodi, Emby, and/or Plex.
Add episode watched state system that integrates with Kodi, Plex, and/or Emby, instructions at Shows/History/Layout/"Watched".
Add installable SickGear Kodi repository containing addon "SickGear Watched State Updater".
Change add Emby setting for watched state scheduler at Config/Notifications/Emby/"Update watched interval".
Change add Plex setting for watched state scheduler at Config/Notifications/Plex/"Update watched interval".
Add API cmd=sg.updatewatchedstate, instructions for use are linked to in layout "Watched" at /history.
Change history page table filter input values are saved across page refreshes.
Change history page table filter inputs, accept values like "dvd or web" to only display both.
Change history page table filter inputs, press 'ESC' key inside a filter input to reset it.
Add provider activity stats to Shows/History/Layout/ drop down.
Change move provider failures table from Manage/Media Search to Shows/History/Layout/Provider fails.
Change sort provider failures by most recent failure, and with paused providers at the top.
Change remove table form non-testing version 20007, that was reassigned.
2018-03-06 02:12:45 +00:00
Prinz23
85a1656dd3 Fix "too many redirects" or "no CSS/JS content" delivered.
Init # Main Handler last for Tornado.
2017-02-02 00:21:24 +00:00
JackDandy
23df14758f Change webserver startup to correctly use xheaders in reverse proxy or load balance set-ups. 2017-02-01 03:17:16 +00:00
JackDandy
0bcc2c03e6 Change fanart images to not use cache as cache is not required.
Change rename "Manual Post-Processing" menu item to "Process Media".
Change rename "Search Providers" -> "Media Providers".
Change rename "Manage Searches" -> "Media Search".
Change rename "Episode Status Management" -> "Episode Status".
Change rename "Mass Update" -> "Bulk Change".
Change indicate default home on "Shows Menu".
Change relocate "Episodes" menu to "Shows"/"Episode Schedule".
Change relocate "History" menu to "Shows"/"History".
Change remove restart/shutdown buttons from "Show List".
Change remove superfluous buttons from all submenus.
2016-12-18 22:17:40 +00:00
Prinz23
6b418ddea9 Change load cached images (Trakt) on demand.
Cleanup cache every day during show update (files older then 30 days).
2016-10-03 23:33:53 +01:00
JackDandy
b124b453fe Add search crawler exclusions. 2015-08-10 22:07:55 +01:00
Prinz23
2e711423b9 Add Search Queue Overview page
* Add expandable search queue details on the Manage Searches page
* Fix failed status episodes not included in next_episode search function
* Change prevent another show update from running if one is already running
* Change split Force backlog button on the Manage Searches page into: Force Limited, Force Full
* Change refactor properFinder to be part of the search
* Change improve threading of generic_queue, show_queue and search_queue
* Change disable the Force buttons on the Manage Searches page while a search is running
* Change disable the Pause buttons on the Manage Searches page if a search is not running
* Change scheduler forceRun
* Change staggered periods of testing and updating of all shows "ended" status up to 460 days
2015-05-10 17:22:54 +02:00
adam
2dab61478e Remove various unused code 2015-03-16 23:13:20 +08:00
adam
55458e549b Add hidden cache debug page 2015-02-27 09:45:22 +08:00
Adam
71d7938fac Change webserve code to a logical layout and PEP8 2015-02-24 00:26:33 +08:00
Adam
d0326cda7e Change replace HTTP auth with a login page
Change to improve webserve code
Add logout menu item with confirmation
Add 404 error page
2015-02-22 11:54:53 +08:00
JackDandy
57f01e6584 Fix restart issue. 2014-12-14 19:05:50 +00:00
JackDandy
c03429a25a Remove orphaned file and cleanup class naming. 2014-11-13 05:36:47 +00:00
JackDandy
eb0ea69e5d Remove browser player from Config General and Display Shows page. 2014-11-13 02:49:55 +00:00
Supremicus
4c8c6b21d5 Change logos, text etc. branding to SickGear. 2014-11-12 20:56:40 +00:00
echel0n
429db5b7d4 Shutdown/restarts now wait for Tornado to finish shutting down before proceeding further 2014-07-30 18:57:31 -07:00
echel0n
e5ac585b6a Fix for webui becoming unresponsive when using SSL and possibly in other situations as well. 2014-07-23 23:36:44 -07:00
echel0n
d02c0bd6eb Fixed issues with editing/saving custom scene exceptions.
Fixed charmap issues for anime show names.

Fixed issues with display show page and epCat key errors.

Fixed duplicate log messages for clearing provider caches.

Fixed issues with email notifier ep names not properly being encoded to UTF-8.

TVDB<->TVRAGE Indexer ID mapping is now performed on demand to be used when needed such as newznab providers can be searched with tvrage_id's and some will return tvrage_id's that later can be used to create show objects from for faster and more accurate name parsing, mapping is done via Trakt API calls.

Added stop event signals to schedualed tasks, SR now waits indefinate till task has been fully stopped before completing a restart or shutdown event.

NameParserCache is now persistent and stores 200 parsed results at any given time for quicker lookups and better performance, this helps maintain results between updates or shutdown/startup events.

Black and White lists for anime now only get used for anime shows as intended, performance gain for non-anime shows that dont need to load these lists.

Internal name cache now builds it self on demand when needed per show request plus checks if show is already in cache and if true exits routine to save time.

Schedualer and QueueItems classes are now a sub-class of threading.Thread and a stop threading event signal has been added to each.

If I forgot to list something it doesn't mean its not fixed so please test and report back if anything is wrong or has been corrected by this new release.
2014-07-14 19:00:53 -07:00
echel0n
2f0683ec1e Fixed restart/updating issues for synology/qnap devices, may also resolve other OS related simular issues. 2014-07-11 16:37:09 -07:00
echel0n
424674464f Playing videos from display show page has now been made opt-in, you can enable/disable via general config menu.
Swapped out video-js player for jwplayer to support mkv video codec.

Fixed issue with videos not playing.
2014-07-11 04:05:33 -07:00
echel0n
172dec1017 Startup/Restart issues resolved. 2014-07-10 17:20:31 -07:00
echel0n
a103035ac2 Testing fix for web_root issues. 2014-07-09 13:14:53 -07:00
echel0n
2d0c31510e Fixed issues with trakt and root dirs.
Fixed web root issues.
2014-07-09 11:41:04 -07:00
echel0n
74f73bcc34 New event queue system in place, currently handles shutdown and restart calls.
Fixed ctrl-c issues with new event queue system.
Added a sleep timer to the NameParser class to help lower cpu usage spikes.
2014-07-08 15:26:26 -07:00
echel0n
9f1250d750 Turned autoreload off as it was turned on when we set debugging to true for tornado. 2014-07-06 06:18:09 -07:00
echel0n
7a95b0bb14 Added new InvalidShowException to NameParser, Removed isGoodResult search check and now attached parsed result show objects and compare them against the show object we use to search with instead. 2014-07-06 06:11:04 -07:00
echel0n
f7502294c5 Added in better error handling for tornado web server.
Fixed HTTPS issues, web root issues should now be corrected as well.
2014-07-05 17:57:43 -07:00
echel0n
04f6b8fc8b Fixed web_root issues, Play videos directly from browser when displaying show via HTML5/JS ** WORK IN PROGRESS ** 2014-07-03 16:51:39 -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
75f69396d4 Reverted some changes. 2014-06-30 08:57:32 -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
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
07685f4295 Fixed issues with webroot settings and reverse proxies.
Fixed issues with WebAPI and WebAPI builder.
2014-06-19 08:47:28 -07:00
echel0n
acadce4d96 Fix for setting status via episode status manager 2014-06-19 01:37:44 -07:00
echel0n
c792e34c43 FreeNAS test fix #4 2014-06-18 13:41:20 -07:00
echel0n
51247710bb Reverse proxy support fixed 2014-06-18 12:51:33 -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
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
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
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
3989f722a7 Fixed issues with basic auth and NoneType errors 2014-06-17 12:51:23 -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
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