Commit graph

241 commits

Author SHA1 Message Date
Prinz23
0a1673d66a Change how show URLs are made for TV info sources.
Change add ID format to show_url in indexer_config.
Change display/edit show, episode view, and add new/existing, for URL creation.
Change revert temporary copying show_obj solution.
Change image download error to warning.
2018-05-08 00:19:33 +01:00
JackDandy
a0a682b02e Change search show result 'exists in db' text into a link to display show page. 2018-04-19 23:09:15 +01:00
JackDandy
7041713650 Change pick up the stragglers late to the more security party. 2018-04-03 00:05:13 +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
JackDandy
de32a1aa67 Merge branch 'master' into develop 2018-03-28 17:07:31 +01:00
JackDandy
7ea748a189 Fix clicking next and previous show buttons on macOS Safari. 2018-03-28 17:06:12 +01:00
JackDandy
d0a53bb483 Update moment.js 2.17.1 → 2.21.0 2018-03-28 00:47:17 +01:00
JackDandy
d4c3255c37 Update jquery.form plugin 3.51.0 → 4.2.2 2018-03-28 00:46:20 +01:00
JackDandy
0b14b251a2 Change add map parent folder setting at Notifications for Emby, Kodi, and Plex. 2018-03-15 14:52:16 +00: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
JackDandy
f7f59f2aac Merge branch 'master' into develop 2018-02-03 22:57:44 +00:00
JackDandy
fae9ae6bb7 Change terminology around the custom quality selection to improve clarity.
Change restrict changing custom download qualities to reasonable selections.
Add upgrade to quality selections on Add show page and Import existing show page.
2018-02-03 22:41:52 +00:00
Prinz23
fe1aabca00 Change overhaul and add API functions
Change API version... start with 10
Change set application response header to 'SickGear' + add API version
Change return timezone (of network) in API
Add indexer to calls
Add SickGear Command tip for old SickBeard commands
Add warning old sickbeard API calls only support tvdb shows
Add "tvdbid" fallback only for sickbeard calls
Add listcommands
Add list of all commands (old + new) in listcommand page at the beginning
Change hide 'listcommands' command from commands list, since it needs the API builder CSS + is html not json
Add missing help in webapi
Add episode info: absolute_number, scene_season, scene_episode, scene_absolute_number
Add fork to SB command
Add sg
Add sg.activatescenenumbering
Add sg.addrootdir
Add sg.checkscheduler
Add sg.deleterootdir
Add sg.episode
Add sg.episode.search
Add sg.episode.setstatus
Add sg.episode.subtitlesearch
Add sg.exceptions
Add sg.forcesearch
Add sg.future
Add sg.getdefaults
Add sg.getindexericon
Add sg.getindexers to list all indexers
Add sg.getmessages
Add sg.getnetworkicon
Add sg.getrootdirs
Add sg.getqualities
Add sg.getqualitystrings
Add sg.history
Add sg.history.clear
Add sg.history.trim
Add sg.listtraktaccounts
Add sg.listignorewords
Add sg.listrequiedwords
Add sg.logs
Add sg.pausebacklog
Add sg.postprocess
Add sg.ping
Add sg.restart
Add sg.searchqueue
Add sg.searchtv to search all indexers
Add sg.setexceptions
Add sg.setignorewords
Add sg.setrequiredwords
Add sg.setscenenumber
Add sg.show
Add sg.show.addexisting
Add sg.show.addnew
Add sg.show.cache
Add sg.show.delete
Add sg.show.getbanner
Add sg.show.getfanart
Add sg.show.getposter
Add sg.show.getquality
Add sg.show.listfanart
Add sg.show.ratefanart
Add sg.show.seasonlist
Add sg.show.seasons
Add sg.show.setquality
Add sg.show.stats
Add sg.show.refresh
Add sg.show.pause
Add sg.show.update
Add sg.shows
Add sg.shows.browsetrakt
Add sg.shows.forceupdate
Add sg.shows.queue
Add sg.shows.stats

Change sickbeard to sickgear
Change sickbeard_call to property
Change sg.episode.setstatus allow setting of quality
Change sg.history, history command output
Change sg.searchtv to list of indexers
Add uhd4kweb to qualities
Add upgrade_once to add existing shows
Add upgrade_once to add new show
Add upgrade_once to show quality settings (get/set)
Add 'ids' to Show + Shows
Add ids to coming eps + get tvdb id from ids
Add 'status_str' to coming eps
Add 'local_datetime' to comming eps + runtime
Add X-Filename response header to getbanner, getposter
Add X-Fanartname response header for sg.show.getfanart

Add missing fields to sb.show
Add missing fields to sb.shows
Change sb.seasons
Change overview optional
Change make overview optional in shows
Add setscenenumber to API builder
Change move set_scene_numbering_helper into scnene_numbering for use in web interface and API
Change use quality_map instead of fixed list
Add eigthlevel for API/builder page
Change limit indexer param to valid values
Fix wrong parameter in existing apiBuilder.tmpl that prevents javascript from continuing + add console error message for it
Fixed: filter missed shows correctly
Add @gen.coroutine
2018-02-02 03:12:07 +00:00
JackDandy
e630cc0fdf Change layout of quality custom to improve clarity.
Change tweak text of SD DVD to include BD/BR.
2018-01-29 19:26:52 +00:00
JackDandy
37b04e5e6f Change ManageSearches layout between collapsed Provider Failures tables from single to multi line. 2018-01-27 19:45:07 +00:00
JackDandy
56d8fffb9f Change UI footer tweaks + only display footer propers time if option is actually enabled. 2018-01-27 17:00:52 +00:00
JackDandy
0ead7771de Change improve the manage searches error stats UI and backend functions.
Add the improved error handling to torrent providers.
Change cache_db to always include db upgrade statements when running SG for the first time.
Change split newznab limit logic into a reusable function, hit_limit_update() and use in BTN prov.
Change tweak CSS to make things a little neater with button spacings.
Add the actual time when current limit will expire to the UI.
Change instead of terminology "errors", use "failures".
Change improve BTN error handling.
Change ensure provider name is output to log at times where it wasn't.
Change ensure failed request URLs and POST params are output to log.
Add time of last failure + type to should_skip log message.
Change code DRY and simplification for improved readability.
Change occurrences of "error" to "fail" for consistency.
Add tmr limit handling to omg and change log_failure_url level to warning.
Change log the failed URL when an API hit limit is reached.
Change "hit" to the more universally generic "tmr" - Too Many Requests.
Change Db columns containing "hit_" are renamed "tmr_"
2018-01-26 01:35:02 +00:00
Prinz23
f9cc6ed330 Add provider error table to page Manage/Media Search.
Add failure handling, skip provider for x hour(s) depending on count of failures.
Add detection of api hit limit reached.
Add failure count to omgwtfnzbs.
Change improve categories selection (manual search for example).
2018-01-25 20:48:24 +00:00
JackDandy
22ce0203cf Add quality tag to archived items, improve displayShow/"Change selected episodes to".
Use to prevent "Update to" on those select episodes while preserving the downloaded quality.
Change group "Downloaded" status qualities into one section.
Add "Downloaded/with archived quality" to set shows as downloaded using quality of archived status.
Add "Archived with/downloaded quality" to set shows as archived using quality of downloaded status.
Add "Archived with/default (min. initial quality of show here)".
Change when settings/Post Processing/File Handling/Status of removed episodes/Set Archived is enabled, set status and quality accordingly.
Add downloaded and archived statuses to Manage/Episode Status.
Add quality pills to Manage/Episode Status.
Change Manage/Episode Status season output format to be more readable.
Change add SNATCHED_ANY and ARCHIVED, refactor accordingly.
2017-12-04 19:27:50 +00:00
JackDandy
42db53f114 Change Bulk Changes and Notifications save to be web_root setting aware.
Change subtitle addons no longer need to be saved before Search Subtitles is enabled as a forbidden action to reuse an exited FindSubtitles thread is no longer attempted.
Fix tools menu not opening for some browsers.
2017-10-29 09:42:05 +00:00
JackDandy
3fa750651c Change overhaul Notifications, add Notifier Factory and DRY refactoring.
Notifiers are now loaded into memory on demand.
Add bubble links to Notifications config tabs.
Add Discordapp notifier to Notifications config/Social.
Add Gitter notifier to Notifications config/Social.
Change order of notifiers in Notifications config tabs.
Remove Pushalot notifier.
Remove XBMC notifier.

Refactor update_library, notify, test notify and test results functions.
Change most IDs and vars consistent for HTML, CSS, JS, and Python - related to notifications, camelCase for JS, underscore separated lower_case for python, hyphen separated-lowercase for CSS. A couple of exceptions have been left untouched in this clean up.
Change commented out some unused vars in preparation for later removal.
2017-10-25 16:51:44 +01:00
JackDandy
87ac49322a Change improve Slack notifier. 2017-09-16 15:04:31 +01:00
Brett Pemberton
c2fcf37498 Add Slack Notifications. 2017-09-16 00:25:39 +01:00
JackDandy
b203fb588e Change improve indication of abandoned IDs.
Add warn icon indicator of abandoned IDs to "Manage" menu bar and "Manage/Show Processes" menu item.
Add shows that have no replacement ID can be ignored at "Manage/Show Processes", the menu bar warn icon hides if all are ignored.
2017-09-12 01:43:35 +01:00
Prinz23
749f7bcd91 Change prevent showing 'Mark download as bad and retry?' dialog when status doesn't require it 2017-09-11 16:59:34 +01:00
JackDandy
23fd0bb3a9 Add changeable master Show ID when show no longer found at TV info source.
Add guiding links to assist user to change TV Info Source ID.
Change Edit Show/Other to expose editing of master ID field *when* required.
Change add feature to search for a replacement master ID *when* required.
2017-09-05 00:23:18 +01:00
JackDandy
11711b2238 Change show search, add options to choose order of search results.
Add option to sort search results by 'A to Z' or 'First aired'.
Add option to sort search results by 'Relevancy' using Fuzzywuzzy lib.
Change search result anchor text uses SORT_ARTICLE setting for display.
Change add server side search result ordering.
Change use iteritems instead of items to improve performance.
Change existing shows in DB are no longer selectable in result list.
Change add image to search result item hover over.
Change improve image load speed on browse Trakt/IMDb/AniDB pages.
Change PEP8.
2017-09-04 02:41:25 +01:00
Prinz23
39b162419c Change editshow saving empty scene exceptions.
Change replace invalid scene exceptions table season column with -1.
Fix already saved invalid scene_exceptions.
2017-07-12 12:54:18 +01:00
JackDandy
fc5e0df46c Merge branch 'master' into develop 2017-02-17 05:11:53 +00:00
JackDandy
d97bb7174d Remove Torrentshack.
Change improve provider title processing.
Change improve handling erroneous JSON responses.
Change improve find show with unicode characters.
Change improve result for providers Omgwtf, SpeedCD, Transmithenet, Zoogle.
Change validate .torrent files that contain optional header data.
Fix case where an episode status was not restored on failure.
Add raise log error if no wanted qualities are found.
Change add un/pw to Config/Media providers/Options for BTN API graceful fallback (can remove Api key for security).
Change only download torrent once when using blackhole.
Add Cloudflare module 1.6.8 (be0a536) to mitigate CloudFlare (IUAM) access validator.
Add Js2Py 0.43 (c1442f1) Cloudflare dependency.
Add pyjsparser 2.4.5 (cd5b829) Js2Py dependency.
2017-02-17 04:48:49 +00:00
JackDandy
ad4d0ffd37 Change just some reformatting. 2017-02-09 19:11:08 +00:00
Prinz23
89ba88eb96 Fix reload of homepage after restart in some browsers 2017-02-09 18:20:52 +01:00
JackDandy
3ef7b46724 Change restart/shutdown to use updated jQuery.
Add one time run to start up that deletes troublemaking compiled files.
2017-02-03 12:49:22 +00:00
JackDandy
04cd9927e8 Update jQuery 1.8.3 to 2.2.4. 2017-02-02 01:03:38 +00:00
JackDandy
b59a977696 Update jQuery-ui 1.10.4 to 1.12.1.
Minimum supported IE is 8. The release of this library removes code that supported IE7. Additionally, IE8, IE9, and IE10 support has been discontinued, however, the workarounds for these browsers are still present in this code.
2017-02-01 06:48:12 +00:00
JackDandy
90ed768962 Update tablesorter 2.17.7 to 2.28.5. 2017-02-01 06:42:51 +00:00
JackDandy
acc123cb5a Update jQuery SelectBoxes 2.2.4 to 2.2.6 2017-02-01 06:36:59 +00:00
JackDandy
d2e83cb8b2 Update jQuery UI Touch Punch 0.2.2 to 0.2.3. 2017-02-01 06:28:35 +00:00
JackDandy
74064aa001 Update jquery-tokeninput 1.60 to 1.62 (9c36e19). 2017-02-01 06:21:40 +00:00
JackDandy
b61c28348a Update qTip 2.2.1 to 2.2.2. 2017-02-01 06:16:10 +00:00
JackDandy
fbca78200f Update jquery.form plugin 3.35.0 to 3.51.0 (6bf24a5). 2017-02-01 06:09:53 +00:00
JackDandy
2d1cfee4ba Update imagesloaded 3.1.8 to 4.1.1. 2017-02-01 06:04:41 +00:00
JackDandy
25b8395b30 Update jQuery JSON 2.2 (c908771) to 2.6 (2339804). 2017-02-01 05:58:43 +00:00
JackDandy
50406be889 Update jquery.cookiejar 1.0.1 to 1.0.2. 2017-02-01 05:51:44 +00:00
JackDandy
5921272c8a Update jquery.cookie 1.0 (21349d9) to JS-Cookie 2.1.3 (c1aa987). 2017-02-01 05:46:43 +00:00
JackDandy
208a63c2a6 Update Bootstrap Hover Dropdown 2.0.11 to 2.2.1. 2017-02-01 05:38:51 +00:00
JackDandy
3d78c0e06a Update Bootstrap 3.2.0 to 3.3.7. 2017-02-01 05:33:30 +00:00
JackDandy
017a4e50b3 Update PNotify library 2.1.0 to 3.0.0 (175af26). 2017-02-01 03:58:16 +00:00
JackDandy
899b99effa Update moment.js 2.15.1 to 2.17.1. 2017-02-01 03:53:25 +00:00
JackDandy
802efa2cca Change improve page load time when loading images.
Update isotope library 2.2.2 to 3.0.1.
Add lazyload package 3.0.0 (2e318b1).
2017-01-01 18:16:51 +00:00