Commit graph

336 commits

Author SHA1 Message Date
JackDandy
4dea2ad022 Add config/general/web interface/send security headers (default enabled).
Change use bare minimum requests for all usenet_crawler search modes.
Change use RSS endpoint for usenet_crawler in cache mode.
Fix ensure remaining unicode shownames are correctly 'UTF-8' and url encoded.
Fix omgwtf test of invalid auth, issue when enabling propers, and updating cache.
Change refactor shownames list into reusable show_name_helper methods.
Add season specific naming exceptions to nzb + btn.
2018-01-25 19:49:28 +00:00
Prinz23
6da32a5ed0 Add log message for not found on indexer when adding a new show.
Fix upgrade once ARCHIVED setting by postProcessor.
Fix determination of is_first_best_match.
Change improve smart selection of categories in manual and failed search modes.
Change refactor wantedQuality into own function that can be used in multiple places.
Change improve error resistance in neededQualities class.
Add log warning message if wantedQuality or eps_aired_in_season is missing for search.
Add check backlogitem for wantedQuality and add if missing.
Add use wantedQuality list in wantEpisode.
Change don't use wantedQualities for multipart.
2017-12-27 03:14:20 +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
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
07d72e05f1 Add Fuzzywuzzy lib to sort search results.
Change remove search results filtering from tv info source.
Change suppress startup warnings for Fuzzywuzzy and Cheetah libs.
Change show name aliases get a score -1 to give the main names priority.
Change replace findCertainShow with find_show_by_id for mapped multi-indexer.
Change add Trakt info source search interface.
Change directly send image after it's been cached.
Fix loading CachedImages images with TVDB API v2 changes.
2017-09-04 01:23:30 +01:00
JackDandy
92ef777f2b Merge branch 'master' into develop 2017-08-22 19:03:31 +01:00
JackDandy
d3f8be8c3d Change add a generic ping function, enabled by update_freq. 2017-08-22 18:16:25 +01:00
Prinz23
9d9dee175f Add optional start and stop ping threads, during start, shutdown and saving providers. 2017-08-22 18:16:24 +01:00
JackDandy
5e558ecadd Merge branch 'master' into develop 2017-08-20 13:09:06 +01:00
Prinz23
1bd9cf863e Fix infinite loop loading network_timezones.
Change add optional "stack_size" setting as integer to config.ini under "General" stanza.
Change prevent too many retries when loading network timezones, conversions, and zoneinfo in a short time.
Update to UnRar 5.50 beta 6.
2017-08-20 13:05:25 +01:00
Prinz23
653a717f42 Change increase performance by reducing TVDb API requests with a global token.
Change raise tvdb_error if any of the episodes pages return an error instead of an incomplete episode list.
Handle expired token.
2017-07-21 22:03:52 +01:00
JackDandy
9e7ad9f5b2 Add persistent hide/unhide cards to Add show/Trakt and Add show/IMDb Cards.
Change simplify dropdowns at all Add show/Cards.
2017-05-20 10:47:03 +01:00
JackDandy
fd9cfaf950 Merge branch 'master' into develop 2017-05-02 17:11:55 +01:00
JackDandy
9c06895d1e Change provider Transmithe.net is now Nebulance. 2017-05-02 17:08:28 +01:00
JackDandy
32fa3b43c1 Change do not have shows checked by default on import page. To re-enable import shows checked by default, 1) On config page 'Save' 2) Stop SG 3) Find 'import_default_checked_shows' in config.ini and set '1' 4) Start SG 2017-02-20 17:28:23 +00:00
JackDandy
0e27335f26 Add option to limit WebDL propers to original release group under Config/Search/Media Search.
Background: Identical episodes can originate from multiple WEBDL sources, e.g. NF, AMZN, iTunes, TV networks. An episode without issue from one source may have a release 'Proper'd from another which leads to the good file being overwritten. This option is enabled by default to limit overwriting WEBDL media to releases that only come from the original release group.
2017-02-17 05:33:56 +00:00
Prinz23
87e608f277 Add scheduled backlog switch. 2017-02-15 00:51:52 +00:00
JackDandy
08854942aa Change add IPv4 config option when enabling IPv6. 2017-02-09 20:48:46 +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
JackDandy
6fcf80c02d Add fanart to Episodes View, Display Show, Edit Show, and Media Renamer page.
Add "Maximum fanart image files per show to cache" to config General/Interface.
Add populate images when the daily show updater is run with a default maximum 3 images per show.
Change force full update in a show will replace existing images with new.
Add fanart livepanel to lower right of Episodes View and Display Show page.
Add highlight panel red until button is clicked a few times.
Add flick through multiple background images on Episodes View and Display Show page.
Add persistent move poster image to right hand side or hide on Display Show page (multi-click the eye).
Add persistent translucency of background images on Episodes View and Display Show page.
Add persistent fanart rating to avoid art completely, random display, random from a group, or display fave always.
Add persistent views of the show detail on Display Show page.
Add persistent views on Episodes View.
Add persistent button to collapse and expand card images on Episode View/Layout daybyday.
Add non persistent "Open gear" and "Full fanart" image views to Episodes View and Display Show page.
Add "smart" selection of fanart image to display on Episode view.
Change insert [!] and change text shade of ended shows in drop down show list on Display Show page.
Change button graphic for next and previous show of show list on Display Show page.
Add logic to hide some livepanel buttons until artwork becomes available or in other circumstances.
Add "(Ended)" where appropriate to show title on Display Show page.
Add links to fanart.tv where appropriate on Display Show page.
Change use tense for label "Airs" or "Aired" depending on if show ended.
Change display "No files" instead of "0 files" and "Upgrade once" instead of "End upgrade on first match".
Add persistent button to newest season to "Show all" episodes.
Add persistent button to all shown seasons to "Hide most" episodes.
Add button to older seasons to toggle "Show Season n" or "Show Specials" with "Hide..." episodes.
Add season level status counts next to each season header on display show page
Add sorting to season table headers on display show page
Add filename and size to quality badge on display show page, removed its redundant "downloaded" text
Remove redundant "Add show" buttons
Change combine the NFO and TBN columns into a single Meta column
Change reduce screen estate used by episode numbers columns
Change improve clarity of text on Add Show page.
Add "Reset fanart ratings" to show Edit/Other tab.
Add fanart usage to show Edit/Other tab.
Add fanart keys guide to show Edit/Other tab.
Change add placeholder tip to "Alternative release name(s)" on show Edit.
Change add placeholder tip to search box on shows Search.
Change hide Anime tips on show Edit when selecting its mutually exclusive options.
Change label "End upgrade on first match" to "Upgrade once" on show Edit.
Change improve performance rendering displayShow.
Add total episodes to start of show description (excludes specials if those are hidden).
Add "Add show" actions i.e. "Search", "Trakt cards", "IMDb cards", and "Anime" to Shows menu.
Add "Import (existing)" action to Tools menu.
Change SD quality from red to dark green, 2160p UHD 4K is red.
Change relocate the functions of Logs & Errors to the right side Tools menu -> View Log File.
Add warning indicator to the Tools menu in different colour depending on error count (green through red).
Change View Log error item output from reversed to natural order.
Change View Log add a typeface and some colour to improve readability.
Change View Log/Errors only display "Clear Errors" button when there are errors to clear.
Change improve performance of View Log File.
2016-12-16 21:03:14 +00:00
JackDandy
b9b6f70691 Change logger to properly cleanup used resources.
Fix rTorrent auth and magnet issue.
Change only backup db when necessary.
2016-12-09 20:08:41 +00:00
JackDandy
487a773ed1 Change add guidance when using the "unknown" quality selection. Pep8. 2016-11-16 22:18:48 +00:00
Prinz23
e071542b51 Change don't exclude "unknown" from search.
Fix UHD category select in Recent Search.
Change speed improvement in finding needed categories/qualities (sd, hd, uhd).
2016-11-14 01:50:25 +00:00
JackDandy
781d93597c Change consolidate shutdown with restart, improve systemd support, bring order to on-init globals. 2016-11-13 01:52:34 +00:00
JackDandy
5ca2391044 Change remove deprecated providers being saved to config.
Change prevent a missing slash typo and correct develop typo after a network outage.
2016-11-07 17:03:23 +00:00
JackDandy
440237a3c2 Change improve reverse proxy web_root support.
Change refactor restart process, reducing restart time, improving ui, and fixing web_root.
Change add response handling for invalid Plex Server hosts.
2016-10-28 15:59:19 +01:00
Prinz23
3ca199157a Add search setting "Disable auto full backlog". 2016-10-28 13:51:17 +01:00
Prinz23
3a5a40f240 Change improve security of cached image use.
Change add helper function to validate acceptable image file extension.
2016-10-06 21:17:27 +01:00
JackDandy
acef8c1ebb Add HD-Torrents provider.
Add freeleech options to fano, freshon, hdspace, phd, ptf providers.
Change SceneTime to cookie auth.
Remove ILT torrent provider.
2016-09-30 23:20:28 +01:00
JackDandy
326f5529d0 Fix add custom torrent RSS.
resolves SickGear/SickGear#781
2016-09-26 00:46:36 +01:00
Prinz23
9b3af8b84a Change optimise TheTVDB processes, 40% to 66% saved adding new and existing shows, 40% to 50% saved per show update.
Change improve shows with more episodes gain largest reductions in time spent processing.
Change when using "Add new show" reduce search time outs.
Change always allow incomplete show data.
Remove redundant config/general/"Allow incomplete show data".
2016-09-24 02:09:53 +01:00
Prinz23
d3a7f0ff5e Add smart logic to reduce api hits to newznab server types and improve how nzbs are downloaded.
Add newznab smart logic to avoid missing releases when there are a great many recent releases.
Change improve performance by using newznab server advertised capabilities.
Change config/providers newznab to display only non-default categories.
Change use scene season for wanted segment in backlog if show is scene numbering.
Change combine Manage Searches / Backlog Search / Limited and Full to Force.
Change consolidate limited and full backlog.
Change config / Search / Backlog search frequency to instead spread backlog searches over a number of days.
Change migrate minimum used value for search frequency into new minimum 7 for search spread.
Change restrict nzb providers to 1 backlog batch run per day.
Add to Config/Search/Unaired episodes/Allow episodes that are released early.
Add to Config/Search/Unaired episodes/Use specific api requests to search for early episode releases.
Add use related ids for newznab searches to increase search efficiency.
Add periodic update of related show ids.
Change terminology Edit Show/"Post processing" tab name to "Other".
Add advanced feature "Related show IDs" to Edit Show/Other used for finding episodes and TV info.
Add search info source image links to those that have zero id under Edit Show/Other/"Related show IDs".
Add "set master" button to Edit Show/Other/"Related show IDs" for info source that can be changed.
Change terminology displayShow "Indexers" to "Links" to cover internal and web links.
Change add related show info sources on displayShow page.
Change don't display "temporarily" defunct TVRage image link on displayShow pages unless it is master info source.
Change if a defunct info source is the master of a show then present a link on displayShow to edit related show IDs.
Change simplify the next backlog search run time display in the page footer.
Change try ssl when fetching data thetvdb, imdb, trakt, scene exception.
Change improve reliability to Trakt notifier by using show related id support.
Change improve config/providers newznab categories layout.
Change show loaded log message at start up and include info source.
Change if episode has no airdate then set status to unaired (was skipped).

Technical
Change move scene_exceptions table from cache.db to sickbeard.db.
Add related ids to show obj.
Add use of mapped indexer ids for newznab.
Add indexer to sql in wanted_eps.
Add aired in (scene) season for wanted episodes.
Add need_anime, need_sports, need_sd, need_hd, need_uhd to wanted episodes and added as parameter to update_providers.
Add fix for lib lockfile/mkdirlockfile.
Add set master TV info source logic.
Change harden ui input validation.
Add per action dialog confirmation.
Change to reload page under more events.
Change implement "Mark all added episodes Wanted to search for releases" when setting new info source.
2016-09-21 17:50:27 +01:00
JackDandy
1e8edb80b7 Change improve handling of SIGINT CTRL+C, SIGINT CTRL+BREAK(Windows) and SIGTERM. 2016-07-11 18:16:00 +01:00
JackDandy
c37ed638e4 Add qBitTorrent to Search Settings/Torrent Search.
Add "Test NZBGet" client to Search Settings/NZB Search/NZBGet.
2016-07-04 00:23:11 +01:00
JackDandy
e6eac3457d Change "Add New Show" results sorted newest show to oldest from top.
Change add show genre, network, and overview to "Add New Show" results.
Change improve highlight of shows found in database in "Add New Show" results.
Change use full first aired date where available in "Add New Show" results.
Change prevent duplicate results in "Add New Show".
2016-07-02 18:31:59 +01:00
JackDandy
9f2cf60dfd Change CPU throttling on General Config/Advanced to "Disabled" by default for new installs. 2016-06-17 00:44:27 +01:00
JackDandy
ebdc154d56 Add config.ini file only setting "remove_filename_chars".
To initialise,
1) At General config page, press 'Save' then 'Shutdown' SG
2) Open config.ini in a text editor, find and edit remove_filename_chars = "" e.g. remove_filename_chars = "'"
3) Save config.ini and start SG. With the example given, the ' character will not appear in file names.
2016-06-14 23:24:44 +01:00
JackDandy
eac69963f0 Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-06-08 01:55:13 +01:00
JackDandy
da52e3a16f Change instantly use saved value from Search Settings/Episode Search/"Check propers every" instead of after a restart.
Change centralise interval keys, texts, and values into the ProperSearcher class.
2016-05-01 20:34:09 +01:00
JackDandy
09741bbf8c Add IMDb Watchlists to 'View' drop down on the 'Add from IMDb' page.
Add 5 decades of 'IMDb Popular' selections to 'View' drop down on 'Add from... Browse Shows'.
Add 'Other Services' to 'View' drop down on 'Add from... Browse Shows'.
Add enable, disable and delete public IMDb watchlists to Config/General/Interface with a default 'SickGear' list.
Change prevent duplicate show ids from presenting items on 'Add from... Browse Shows'.
Change add 'nocache' kwarg to helpers.getURL to facilitate non-cached requests.
2016-05-01 20:24:20 +01:00
JackDandy
df4e61c661 Add Emby notifier to config/Notifications (thanks to Supremicus for the jumpstart) with a homebrew description. 2016-02-25 12:56:55 +00:00
Prinz23
cee865461c Change move dateutil-zoneinfo.tar.gz file to data files /cache.
Add dateutil library hack for new location.
2016-02-06 23:45:58 +00:00
JackDandy
101e698a86 Change refactor email notifier. 2016-01-20 19:18:10 +00:00
JackDandy
14bdd50e5b Change Add from Trakt/"Shows:" with Most Played. 2016-01-09 19:28:54 +00:00
Prinz23
b3be940d44 Add multiple Trakt account support to Config/Notifications/Social.
Add setting to Trakt notification to update collection with downloaded episode info.
Add Most Watched, Collected during the last month on Trakt.
Change Add from Trakt/"Shows:" with Anticipated, Popular views.
Change improve robustness of Trakt communications.
Change Trakt notifier logo.
Change pep8 and cleanup.
2015-12-22 12:56:17 +00:00
Prinz23
0bbaefe17b Change disable connection attempts and remove UI references to the TVRage info source.
Change TVDB to be the default indexer if selected indexer is not configured active.
Change add dummyIndexer for inactive Indexers.
Change don't update show for indexer that are marked inactive.
2015-12-22 12:54:41 +00:00
JackDandy
43778d8edd Change providers, add some, remove one, fix a snatch issue, rework ignore/require words, refactor code.
Add BitMeTV torrent provider.
Add TVChaosUK torrent provider.
Add HD-Space torrent provider.
Add Shazbat torrent provider.
Remove Animenzb provider.
Change use tvdbid for searching usenet providers.
Change consolidate global and per show ignore and require words functions.
Change "Require word" title and notes on Config Search page to properly describe its functional logic.
Add "Reject Blu-ray M2TS releases" to BTN provider.
Add regular expression capability to ignore and require words by starting wordlist with "regex:".
Add list shows with custom ignore and require words under the global counterparts on the Search Settings page.
Fix failure to search for more than one selected wanted episode.
2015-12-02 01:31:50 +00:00