Commit graph

644 commits

Author SHA1 Message Date
JackDandy
ac6d1f69d9 Change refactor manual search processing.
Change reduce browser I/O on displayShow.
Fix displayShow bug where click holding on a season btn and then dragging away leaves 50% white.

Devel:
Change sets and lists are assigned by reference, so snatched_eps are deep copied in base_info().
Change comment out BaseSearchQueueItem::copy() as deprecated for base_info().
Change improve ajax consumer to reduce polling.
Simplify SimpleNamespace init in base_info().
Use base info instead of thread object for MANUAL_SEARCH_HISTORY in (ManualSearchQueueItem + FailedQueueItem) to streamline the finished search processing in webserve, this means add_dt has to be moved to BaseSearchQueueItem for base_info().
SimpleNameSpace Ref error is now in PYC, not sure if this is valid tho.
2018-10-02 20:04:52 +01:00
Prinz23
89905fc94d Change add BaseSearchQueueItem and base_info() for thread-safe checks.
Change to making simple base info of search_queue items instead of full deep copies.
Change move TVShow.getOverview logic to helpers.episode_status_overview() and call it with parameter in tv.py and webserve.py
2018-10-02 16:32:08 +01:00
JackDandy
85a5f6ea00 Change code refactor.
Devel:
Use camel case for JS vars.
Correct typos.
Define attr added_dt.
Remove redundant try/expect.
2018-10-02 16:32:07 +01:00
Prinz23
1d00b0e4c2 Fix manual search button on displayShow and episode view page.
Change feedback result of manual search on the clicked button image/tooltip.

Devel:
Change items from search to retry with Archived status on displayShow page.
Change keep manual/failed search item progress for 30 mins in internal manual_search_history.
Fix buttons for snatched statuses.
Change set wantedquality list for failed to True (needed to also search for previously skipped and similar status items).
Change make get_queued_manual() and get_current_manualsearch_item() thread-safe.
Change only return retrystatus true to ui if use_failed_downloads is enabled.
Change add multi-ep snatches to ajax response.
2018-10-02 16:32:06 +01:00
JackDandy
000ea7a649 Fix sorting results. 2018-09-13 04:46:35 +01:00
JackDandy
5f72582686 Add display first 20 results with link to display more.
Add search results sort by Z to A.
Add search results sort by newest aired.
Add search results sort by oldest aired.
2018-09-13 04:22:46 +01:00
JackDandy
8c69a48975 Change site services tester to fallback to http if error with SSL. 2018-09-13 04:05:39 +01:00
JackDandy
139dd5a571 Fix error updating shows with certain paths.
Change refactor scene_numbering.
Change update LimeTorrents icon.
2018-09-08 13:21:17 +01:00
JackDandy
da568fd7ab Merge branch 'master' into develop 2018-07-17 14:39:34 +01:00
JackDandy
52218fcd6b Change TorrentDay and fix for Emby updater when no folders are returned from API. 2018-07-17 14:30:39 +01:00
JackDandy
21c6e80fe7 Change save config values only where reqd. reduces file by up to 75%. 2018-06-17 18:17:07 +01:00
JackDandy
15d2907c04 Add 'Map an NZBGet "DestDir"' setting to config/Search/NZB Results tab (select NZBGet). 2018-06-15 18:46:46 +01:00
Prinz23
1458314c17 Add base mapping logic for NZBGet. 2018-06-15 12:58:45 +01:00
JackDandy
86284aae7a Fix submitting a bulk change. 2018-06-15 01:46:35 +01:00
JackDandy
c5b5a7af0c Fix issue when deleting files and "Send to trash for actions" is enabled. 2018-06-13 02:50:06 +01:00
Prinz23
0da750aa4d Detect newznab server type so that Spotweb is listed as (sw nzb) with a specific default image. 2018-06-02 15:43:41 +01:00
JackDandy
7028bb2f4a Add TVDB, TheXem, and GitHub buttons to page History/Layout "Provider fails" that fetches a site Up/Down report. 2018-05-30 20:38:22 +01:00
JackDandy
e31e479977 Add keep up to x most recent downloads.
Change add "Keep up to x most recent downloads" to Edit Show/Other.
Change add "Keep up to x most recent downloads" to Manage/Bulk Change/Edit.
Change append number of downloads to keep to the number of file(s) at Display Show.
Change add "Keep up to x most recent downloads" to add show finally step.
Add prune to refreshDir/rescan.
Add helper function remove_file.
2018-05-30 00:01:53 +01:00
JackDandy
e176e561ba Merge branch 'master' into develop 2018-05-21 23:57:52 +01:00
JackDandy
a9500e01d5 Fix utf8 in folders for SickGear-NG.py post processing script, script version bumped 1.5 to 1.6.
Remove NMA notifier.
2018-05-21 23:44:23 +01:00
Prinz23
0dce254473 Fix importing TV shows with utf8 characters in parent folders on Windows.
Fix import; add unicode encoding for str values of args and kwargs to ek.ek on Windows.
Fix incorrect logic mixing seasons (All wanted episode numbers are checked against all season, not just the season belonging to the episode number).
2018-05-21 23:20:06 +01:00
JackDandy
531491f30c Merge branch 'master' into develop 2018-05-17 04:39:52 +01:00
Prinz23
1b835fb85e Fix changing master id via search method. 2018-05-17 04:37:40 +01:00
JackDandy
aab67a45f7 Change consolidate provider filters into 'Only allow releases that are'.
Add provider filters, Only allow releases that are ...
  'scene releases (srrDB/predb listed)', 'or contain' text or regex,
  'non scene if no recent search results', 'non scene if no active search results',
  'not scene nuked', and 'nuked if no active search results'.

Add scene release checking to PROPER search task.
Change refactor core Proper functions.
Pep8 common tests.
2018-05-17 04:18:44 +01:00
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
807945e7ee Fix issue on displayShow. 2018-05-02 13:57:11 +01:00
JackDandy
a88696e421 Change use copy of showObj for UI to preserve original object structs. 2018-05-02 00:27:02 +01:00
JackDandy
26fd782b79 Fix IMDb links to older shows on displayShow and editShow. 2018-05-01 13:20:24 +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
668c682310 Merge branch 'master' into develop 2018-04-19 14:16:43 +01:00
JackDandy
d9e03aa1fb Change improve searching torrent provider BTScene.
Change improve text for abandoned show IDs.
Change DRY refactor provider result creation.
Change catch failures to shutdown Emby socket.
2018-04-19 13:57:47 +01:00
JackDandy
3cafa6b472 Merge branch 'master' into develop 2018-04-13 12:24:58 +01:00
JackDandy
12363d01d5 Change various providers.
Change accept theTVDB Url in addshow search field.
Change Nzb.org usenet provider add config scene only/nuked.
Change SpeedCD torrent provider improve copy/paste cookie support.
Change BTScene, LimeTorrents, SkyTorrents, Torlock, Torrentz, TPB torrent providers.
Add AlphaReign, EZTV torrent providers.
2018-04-13 12:11:21 +01:00
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
JackDandy
ae6289695f Change notify enabled Emby, Kodi, and Plex clients to update on deleted. 2018-03-20 14:17:41 +00:00
JackDandy
ae7cdbd3cf Change some log messages from info to debug type. 2018-03-19 11:36:05 +00: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
d109b752db Merge branch 'master' into develop 2018-03-13 22:05:25 +00:00
JackDandy
8d30118e14 Fix changing status from "Skipped" to "Wanted" in Manage/Episode Status. 2018-03-13 22:02:53 +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
Prinz23
ab3e6e0649 Fix Trakt, recommended and watchlist (send_oauth is now sent). 2018-03-01 15:59:17 +00:00
JackDandy
1d09d1f4da Merge branch 'master' into develop 2018-02-19 00:00:26 +00:00
JackDandy
02c6eb1f56 Add Paramount Network icon.
Change strict modes for a couple of subliminal cases.
2018-02-18 23:52:44 +00:00
Prinz23
6f9db7f3b4 Add SickGear-NZBGet dedicated post processing script, see.. \autoProcessTV\SickGear-NG\INSTALL.txt 2018-02-05 23:51:37 +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
JackDandy
9abc7e0105 Change DRY the browse_trakt function that was duplicated with slight changes for API. 2018-02-02 03:42:11 +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