Commit graph

637 commits

Author SHA1 Message Date
JackDandy
2b0543d11c Change network names to only display on top line of Day by Day layout on Episode View and reposition country part of network name into the hover over in Day by Day layout. 2015-04-28 18:42:46 +01:00
Prinz23
8f69adaada Fix clearing provider cache 2015-04-25 16:48:15 +08:00
Prinz23
4ae30ab6ad Add option "Search for unaired episodes" to config/Search Settings
* Change reduce time to search recent result list by searching only once for a best result
* Fix replacing episodes that have a lower quality than what is selected in the initial and archive quality list
* Fix to include episodes marked Failed in the recent and backlog search processes
* Fix display of search status for an alternative release after episode is manually set to "Failed" on the Display Show page
* Change handle more varieties of media quality
* Change to prevent another scheduled search when one of the same type is already running
2015-04-24 20:45:45 +02:00
adam111316
f2a0415944 Merge pull request #317 from adam111316/feature/ChangeProviderCaching
Change provider cache storage structure
2015-04-01 11:46:30 +08:00
Adam
24236eba6f Change provider cache storage structure
Add handling for failed cache database upgrades
2015-04-01 11:25:24 +08:00
JackDandy
86443c21ca Merge pull request #314 from JackDandy/feature/ChangeOnlyAddValidItemsToSaveDB
Change only add valid items to save to DB.
2015-03-29 15:33:39 +01:00
JackDandy
e5d4269c10 Change only add valid items to save to DB. 2015-03-29 12:20:29 +01:00
Adam
d4305eac9f Change location of SQL from home template to webserve
Remove unused max_download_count variable
2015-03-29 18:55:16 +08:00
JackDandy
b4b1859a2e Add IMDb lookup to "Update" action on Manage/Mass Update page.
(Credit and thanks to Prinz23 for his initiating efforts)

Fix display indexer provided start year on the displayShow page when no IMDb data exists.
Fix display indexer provided genres on the displayShow page when no IMDb data exists.
Fix display IMDb indexer with correct IMDb id on the displayShow page only when IMDb data exists.
Fix to correctly display show runtime when available on the displayShow page.
Fix to correctly initialise IMDb id loaded from db.
Other misc IMDb related db fixes.
Fix saving of Sort By/Next Episode in Layout Poster on Show List page.
2015-03-28 17:43:32 +00:00
Prinz23
6206926643 Add "File logging level" to General Config/Advanced Settings. 2015-03-27 18:42:37 +00:00
JackDandy
059f617d29 Change overhaul more on the displayShow page.
Fix disabling IMDb broke page.
Fix counting of files.
Add some tooltips to bottom show details for clarity.
Change glyph to right side of "Show/Hide episodes" button text to improve visual when toggling button.
Change red text on blue tag to white text on red tag to improve readability of invalid locations.

Change some label tags to fit with edit show page.
Fix handle when a show in db has all episodes removed from indexer.
Add the name of show that will be displayed to the hover of the Prev/Next show buttons.
Add hover tooltips for nfo and tbn columns for browsers that use the title attr.
Change Special link moved from "Season" line to "Specials" line on displayShow.
Change code re-factored in readiness for live option switching, clean up and add closures of html tables.
2015-03-26 05:13:01 +00:00
Supremicus
c1fe671a82 Overhaul displayShow for new features
* Change overhaul displayShow to ready for new features
* Add section for show plot to displayShow
* Add option to view show background on displayShow (transparent and
opaque) for when background downloading is added (disabled)
* Add option to collapse seasons and leave current season open on
displayShow (disabled)
* Add filesize to episode location qtip on displayShow
* Change selected options from editShow will only show when enabled now
on displayShow
2015-03-23 11:05:13 +10:00
JackDandy
518f5ebae5 Add indication of shows with never aired episodes and other changes to the Episode Overview page.
Add "Collapse" button and visuals for Expanding... and Collapsing... states.
Add the number of episodes marked with the status being queried.
Add indication of shows with never aired episodes.
Change to separate "Set as wanted" to prevent disaster selection.
Remove restriction to not display snatched eps link in footer.
Change the shows episodes count text colour to visually separete from year numbers at the end of show names.
2015-03-19 00:32:22 +00:00
JackDandy
09f5e0622d Add "Status of removed episodes" to apply (or not) a preferred status to episodes whose files are detected as removed.
"Archived" can now be set so that removed episodes still count toward download completion statistics. See setting on page config/Post Processing/File Handling.
Remove redundant "Skip remove detection" from the config/Post Processing/File Handling page
Change combos on this page to be all consistent.
Improve vertical alignment of the label text before drop down combos.
Change to highlight the current selected item in combos.
Fix some inconsistent CSS line spacing.
2015-03-17 17:12:30 +00:00
JackDandy
f73de91d0f Add IMDb update capability back to the "Force Full Update" button on the Display Show page. 2015-03-17 01:37:08 +00:00
Adam
bf510f709c Fix updating of scene exception name cache after adding exceptions on Editshow page 2015-03-17 09:08:09 +08:00
JackDandy
743e1e4fb9 Fix to correctly use wanted_begin and wanted_latest when adding shows. 2015-03-16 11:45:56 +00:00
JackDandy
c96dbf7ea6 Change to reduce the time taken to "Update shows" with show data.
Add "Enable IMDb info" option to config/General/Interface.
Change to not display IMDb info on UI when "Enable IMDb info" is disabled.
Change genre tags on displayShow page to link to IMDb instead of Trakt.
Change to reduce the time taken to "Update shows" with show data.
Change when IMDb info is updated...
a) stop updating the IMDb info during the scheduled daily update for every show.
b) update the IMDb info for a show after snatching an episode for it.
Develop changes...
Fix being able to actually turn IMDb off when it has been turned on.
Remove IMDb option from General Settings.
Change IMDb option to enable by default now the slow operation has been eliminated from process flows.
2015-03-14 15:09:39 +00:00
JackDandy
d9d8bcdb0b Merge pull request #262 from JackDandy/feature/AddSetWantedOnAddShow
Add option to the third step of "Add Show" to set episodes as wanted fro...
2015-03-13 18:22:43 +00:00
Adam
d5fb963b73 Merge branch 'feature/ToggleImdb' into develop 2015-03-14 00:18:01 +08:00
JackDandy
75ebd0136e Change to no longer require restart with the "Scan and post process" option on page config/Post Processing. 2015-03-12 23:15:44 +00:00
JackDandy
e18250f371 Add option to the third step of "Add Show" to set episodes as wanted from the first and latest season, this triggers a backlog search on those episodes after the show is added.
Tweak log and notification texts used when adding an existing show.
2015-03-12 16:54:30 +00:00
Adam
42b5fe7570 Change IMDb updater to a toggleable option under General Settings (disabled by default due to slow operations) 2015-03-13 00:06:47 +08:00
adam
d1687dd401 Change layout of Recent Search code
Change naming of SEARCHQUEUE threads for shorter log lines
Fix Recent Search running status on Manage Searches page
2015-03-12 15:31:35 +08:00
JackDandy
1f8f396506 Merge pull request #261 from JackDandy/feature/ChangeBacklogOverview
Change "Force Backlog" button for paused shows on Backlog Overview page ...
2015-03-10 23:42:48 +00:00
JackDandy
74d701e6da Change "Force Backlog" button for paused shows on Backlog Overview page to "Paused" indicator. 2015-03-10 22:57:39 +00:00
JackDandy
438d2b88b5 Merge tag 'release_0.7.2' into develop 2015-03-10 22:26:32 +00:00
JackDandy
7e5aedff8f Merge tag 'release_0.7.1' into develop 2015-03-10 22:20:02 +00:00
JackDandy
b95be5e53d Fix Add From Trending page (indexer_id can be "None" which causes white screen when clicking "Add Show").
Conflicts:
	CHANGES.md
2015-03-10 17:16:07 +00:00
JackDandy
c014bebb8c Fix issues introduced by adding Anime options to the Add Show flow.
Fix error page when clicking "Add Recommended".
Remove failed Anime options from "Add Existing Show".
2015-03-10 17:01:02 +00:00
JackDandy
253d6eaf28 Fix the return flow from calls to the redirect function from executing incorrect code.
Among others, fixes the traceback when adding an existing show.
2015-03-10 16:34:55 +00:00
Adam
30720b9cbd Change general config's branches and pull request list generation for faster page loading 2015-03-03 00:21:40 +08:00
Adam
eb08119ac2 Merge branch 'release/0.7.0' into develop 2015-03-01 12:09:49 +08:00
Adam
7413b38640 Remove requirement for username to be provided on login page
Change login parameter descriptions on Config / General
2015-03-01 11:01:43 +08:00
JackDandy
ed52c99377 Change redirect from home to showlistView on changing Layout on showlistView. 2015-02-28 14:10:05 +00:00
Adam
9f55f91ce9 Merge branch 'release/0.7.0' into develop 2015-02-28 12:37:57 +08:00
adam
55458e549b Add hidden cache debug page 2015-02-27 09:45:22 +08:00
Adam
b3b84ecade Fix redirect to login page after login credentials are changed
Change login cookie from 'user' to 'sickgear-session'
2015-02-26 19:54:44 +08:00
JackDandy
9f7e678018 Fix traceback error when using the menu item Manage/Update Kodi. 2015-02-25 19:41:38 +00:00
JackDandy
d512189df3 Merge pull request #197 from Supremicus/feature/UpdatePushover 2015-02-25 13:12:05 +00:00
Supremicus
dc95006371 Add Kodi notifier and metadata 2015-02-25 22:33:40 +10:00
Supremicus
b63bbbbb19 Add priority, device, and sound support to Pushover notifier (port from midgetspy/sickbeard) 2015-02-25 21:30:52 +10:00
JackDandy
2d2eed9c2e Add a "Use as default home page" selector to General Config/Interface/User Interface. 2015-02-25 01:28:38 +00:00
JackDandy
8f7193ee93 Change authentication credentials to display more securely on config pages. 2015-02-24 16:13:07 +00:00
Adam
6414377c9c Merge remote-tracking branch 'remotes/Supremicus/feature/UpdatePushbullet' into develop 2015-02-24 15:47:57 +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
97429c084f Change overhaul UI of editShow and anime release groups, refactor and simplify code.
Change list order of option on the right of the displayShow page to be mostly inline with the order of options on editShow.
Change legend wording and text colour on the displayShow page.
Add output message if no release group results are available.
Add cleansing of text used in the processes to a add a show.
Add sorting of AniDB available group results.
Add error handling and related UI feedback to reflect result of AniDB communications.
Change description of config/search ignore and require words.
2015-02-21 22:34:20 +00:00
Supremicus
e23af0e462 Update Pushbullet notifier (port from midgetspy/sickbeard) 2015-02-17 16:39:35 +10:00
JackDandy
f8606cd855 Add setting "Update shows during hour" to General Config/Misc. 2015-02-16 03:25:02 +00:00
adam
56337a0615 Add anime release groups to add new show options page
Fix validation of release groups when no group is detected
2015-02-15 09:45:40 +08:00
JackDandy
aab7859dda Change to streamline iCal function and make it handle missing network names. 2015-02-15 00:05:29 +00:00
JackDandy
47f1c8eaaf Add support for multiple server hosts to Plex server notifier.
Add support for multiple server hosts to the updated Plex server notifier.
Change Plex Media Server settings section for multi server(s) and improve the layout in the config/notifications page.
Add logic to Plex notifier to update a single server where its TV section path matches the downloaded show. All server libraries are updated if no single server has a download path match.
Change the ui notifications to show the Plex Media Server(s) actioned for library updating.
Fix issue where PMS text wasn't initialised on the config/notifications page and added info about Plex clients.
Add ability to test Plex Server(s) on config/notifications page.
2015-02-14 13:55:59 +00:00
Supremicus
a5dfb0135d Boxcar2 notifier changes 2015-02-13 15:28:03 +10:00
Supremicus
73bdfc0777 Remove defunct boxcar notifier 2015-02-13 12:02:03 +10:00
JackDandy
320c4c854e Add logic to display overdue/future shows on the Episodes page/DayByDay layout. 2015-02-11 02:01:07 +00:00
JackDandy
a79dc4fa6a Merge branch 'hotfix/0.6.4' into develop 2015-02-10 20:23:24 +00:00
JackDandy
7e29161ab5 Fix issue where setting the status for an episode that doesn't need a db update fails. 2015-02-10 20:21:10 +00:00
JackDandy
a461961c84 Add handling of exceptional case with missing network name (NoneType) in Episode View.
A show should always have an original broadcaster (network), however, user input errors mean that a show can get added without this fundamental detail.
2015-01-21 16:48:15 +00:00
adam
4840059694 Merge branch 'hotfix/0.6.2' into develop 2015-01-21 19:44:09 +08:00
adam
ea40a14d90 Fix invalid addition of trailing slash to custom torrent RSS URLs 2015-01-21 19:39:06 +08:00
adam
ea99736939 Change anime release groups to in memory storage for lowered latency 2015-01-20 19:36:19 +08:00
Adam
36b3bb9a24 Change recent and backlog search timing
Remove recent and backlog search at start up options from GUI
Change recent and backlog search at start up default value to false
Change recent search to occur 5 minutes after start up
Change backlog search to occur 10 minutes after start up
Change UI footer to display time left until a backlog search
2015-01-12 21:41:51 +08:00
adam
7f5651bb41 Fix slow database operations (port from midgetspy/sickbeard) 2015-01-11 12:27:57 +08:00
JackDandy
ccb9bb329c Coming Episodes Overhaul.
Change Coming Episodes to "Episodes" page (API endpoint is not renamed).
Add coming episodes to episode view renaming to config migration code.
Change Layout term "Calender" to "Day by Day" on Episodes page.
Fix saving of sort modes to config file on Episodes page.
Add qTip episode plots to "Day by Day" on Episodes page.
Add article sorting to networks on Episodes page.
Add toggle sort direction and multidimensional sort to isotope on Episodes page.
Add text "[paused]" where appropriate to shows on layout Day by Day.
Simplified sort code in webserver and in template.
Change page auto refresh from 10 to 30 mins.
Add other UI tweaks.
2015-01-08 16:43:17 +00:00
JackDandy
c16903bd73 Change "Daily" search to "Recent" search. 2015-01-07 19:54:18 +08:00
Adam
b8804973ca Add pull request checkout option to General Config/Advanced Settings 2015-01-02 07:44:27 +08:00
Prinz23
42e089dfa1 Fix Add From Trending Show page to work with Trakt changes.
ID changed from number.
Poster URLs changed.
2014-12-31 18:08:26 +00:00
JackDandy
983f790a6e Change Display Show next/previous when show list is not split to loop around. 2014-12-13 04:08:36 +00:00
JackDandy
0bee101b22 Fix Display Show next/previous when show list is split.
Also add some styling to drop down combo.
2014-12-12 02:36:23 +00:00
JackDandy
c8c1a07f85 Overhaul all Add Show pages. 2014-12-11 18:43:36 +00:00
JackDandy
c19fc37051 Remove Config/Backup & Restore. 2014-12-09 15:35:36 +00:00
Adam
3f2254aee0 Fix missing Content-Type headers for posters and banners 2014-12-09 22:01:39 +08:00
JackDandy
75bd9f8718 Merge branch 'release/0.4.0' into develop 2014-12-04 10:42:13 +00:00
JackDandy
f72229c591 Fix article sorting for Display Show, and API pages. 2014-12-04 10:28:29 +00:00
Prinz23
bee6dae995 Remove redundant Coming Eps template code used in the old UI.
The submenu variable is no longer used on the Coming Eps page.
2014-12-03 02:50:47 +00:00
JackDandy
0dfe997ab3 Merge branch 'release/0.4.0' into develop 2014-11-27 03:51:01 +00:00
JackDandy
3cac799877 Fix article sorting for Coming Eps, Manage, Show List, and Trending Shows.
Increase article sorting strictness with a central helper function.
2014-11-27 03:34:41 +00:00
JackDandy
90eff209e0 Merge branch 'release/0.4.0' into develop 2014-11-26 01:19:44 +00:00
JackDandy
2808e8edf4 Add multi dimension sorting and clarify some variable naming. 2014-11-25 23:14:49 +00:00
Prinz23
fb70e80461 Fix items shown for the current week on Coming Episodes/Calendar Layout.
Other data: past and after next week isn't shown in this view.
Fix wrong sql operator being used.
Fix: convert tomorrow toordinal().
Change bring webapi inline to these changes.
2014-11-25 14:15:13 +00:00
JackDandy
2efe59bb0f Merge branch 'release/0.4.0' into develop 2014-11-24 01:20:51 +00:00
Prinz23
9ff267bd76 Fix Coming Eps Page to include shows +/- 1 day for time zone corrections.
More detail...
Episodes airing in a different time zone to the users own can be missing on the Coming Episodes Page. For today, the current day next week, and the last day in the missing episode range; these 3 days (+/- 1 day) can be missing episodes from the display if they air on a different day in their time zone compared to the users current day.

All episodes in the banner layout for today may display as red or green background even if not aired/missing yet because of their airing time. The background colour of the first episode of today in banner view would be shown for all episodes today in this view, since the variable for the episode ending which determines the background colour was only set for the first episode after the today's day header.

Technical detail...
Fix banner view: cur_ep_enddate wasn't set for every episode.
Remove duplicates from SQL result.
2014-11-24 01:07:14 +00:00
JackDandy
d90af06c2c Merge branch 'release/0.4.0' into develop 2014-11-23 04:06:48 +00:00
JackDandy
67c3352eee Fix Add Trending Shows "Not In library" now filters tvrage added shows.
Add a hover over text "In library" on Add Trending Shows to display tv database show was added from.
2014-11-23 03:28:45 +00:00
JackDandy
2de69d028b Add auto focus to home page Search Show box.
Add ability to auto focus on Show List/Layout:Simple when page is refreshed, can control this option via General Config/Interface.
2014-11-22 17:06:23 +00:00
Adam
8780d6a601 Add option to treat anime releases that lack a quality tag as HDTV instead of "unknown". 2014-11-17 15:58:17 +00:00
JackDandy
96cd8590a8 Change Add Show on Add Trending Show Page to use the full Add New Show flow.
All the features of adding a new show are now available to shows added on the Add Trending Show page.
2014-11-15 20:47:16 +00:00
Supremicus
65b33a6fe7 Add filtering of shows on Add Trending Shows page.
Add dropdown on the Add Trending Shows page to display all shows, shows not in library, or shows in library.
2014-11-15 05:49:46 +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
tehspede
a1ce52df8f Fix missing HTML in notifications resulting in incorrect formatting. 2014-11-12 09:24:34 +02:00
Prinz23
732009fd98 Change how the "local/network" setting is handled to address some issues.
Move local/network setting datetime convert into it's own function.
Function parse_date_time() now returns when possible a correct timezone aware datetime.
Change webapi to use new converter.
Fix Daily Searcher.
Fix saving old DateTime setting.
Add safety check if network_dict is already loaded.
2014-11-11 18:15:25 +00:00
JackDandy
46cd85299e Change improve Add Show/Add Trending Show page.
Fix white screen of death when trying to add a show that is already in library by replacing "Add Show" button with "In library".
Add show sorting options.
Add handler for when Trakt returns no results.
Fix image links when anchor child images are not found at Trakt.
Add image to be used when Trakt posters are void.
2014-11-07 22:45:56 +00:00
JackDandy
ef4470bd78 Add send2trash, General Config/Send to trash, and catch show dir not found exception.
Add send2trash, a small package that sends files to the Trash (or Recycle Bin) natively and on all platforms. If send2trash is found not compatible, the user can use the default delete and manually delete failed send2trash files.
Add General Config/Misc/Send to trash for actions that involve removing shows and log rotation.
Add handling for the exception raised while deleting a show and show folder no longer exists.
2014-11-05 05:36:16 +00:00
Adam
1cf3237b9e Fixes changing root dirs on the mass edit page 2014-11-04 18:39:43 +08:00
Adam
d835e32063 Removed requirement for http login for API when an API key is provided 2014-11-02 23:50:47 +08:00
tehspede
b9b88b18a6 Combined 'Delete' and 'Remove' buttons in to one on the individual show pages. 2014-10-29 21:06:20 +02:00
JackDandy
d5863943c0 Fix theme identification for spinner when restarting. 2014-10-28 04:29:15 +00:00
Adam
9903819ce0 Implement automatic saving of poster layout sorting options on show list 2014-10-27 23:12:24 +08:00
JackDandy
3b5fe4b0de Overhaul General Configuration. Tweak top navbar. Fix imdb and other images.
Change to rename General Configuration -> "Web Interface" tab as "Interface".
Add a "User Interface" section to the "Interface" tab.
Change consolidate "Date and Time" and "Theme" tab content to "User Interface" section.
Add field in Advanced setting for a custom remote name used to populate branch versions.
Change theme name "original" to "light".
Improve text wording on all UI options under General Configuration.
Improve reduce over use of capitals.
Improve streamline UI layout, mark-up and some CSS styling of all General Configuration tabs.
Fix default top navbar background white-out behaviour on browsers that don't support gradients.
Improve top navbar gradient use for greater cross browser compatibility (e.g. Safari).
Fix dark theme divider between Season numbers on display show page.
Fix main background and border colour of logs on log page.
Fix imdb and three other images rejected by IExplorer because they were corrupt. Turns out that they were .ico files renamed to either .gif or .png instead of being properly converted.
Fix "Subtitle Language" drop down font colour when entering text on the Subtitles Search settings.
Clean up text, correct quotations, use spaces for code lines, tabs for html.
Update changelog.
2014-10-27 00:29:12 +00:00
JackDandy
6c8d72b9c1 Revert "Added gui for IMDB watchlists in Config General."
The main core of this code was lifted from Trakt code and not developed enough to be suitable for purpose given that the Trakt code isn't fully developed either. An issue found leading to this decision was that show statuses were set false instead of the expected default, however, worse was that users had no way of choosing shows to add, was not informed of what was actually going on once a URL was added to the UI, and was not offered options prior to adding shows like the normal add new show work-flow does. Basically, there are too many issues and this feature is too immature for inclusion.
2014-10-24 17:03:32 +01:00
JackDandy
85d022916f Add "Archive on first match" to Manage, Mass Update, Edit Selected page. 2014-10-16 22:41:46 +01:00
Ofir Brukner
b8c8e02394 Fixed a tiny bug in searchShowSubtitles, to show all languages instead of just the new one. 2014-10-13 12:49:05 +03:00
Ofir Brukner
b0426ca12d Fixed a few bugs.
Also fixed buggy search function in webserve.
2014-10-13 00:25:06 +03:00
Peter Maciocia
5aae8d7b48 add checkbox to control proxying indexers 2014-10-10 19:08:53 +08:00
adam111316
ef621a3b17 Merge pull request #861 from Supremicus/dev
UI Fixes
2014-10-09 08:10:48 +08:00
Supremicus
29403ff2cb Added small poster view back in 2014-10-09 10:00:36 +10:00
D. Casu
c8d5989676 Fixes calendar always being unprotected
SR now makes use of the "unprotected calendar" option in the advanced
settings.

Issue report:
https://sickrage.tv/forums/forum/help-support/bug-issue-reports/8904-calendar-always-unportected
2014-10-08 20:05:41 +02:00
adam
1668f80117 Add theme_name to config and expose THEME_NAME global 2014-10-08 14:08:26 +08:00
Ed Watson
1bb5c138fd changing /calendar.Adding Season and Episode to the description of the
event rather than location. (To stop my phone trying to navigate to TV
shows)
2014-10-07 12:55:58 +01:00
adam
52a1254cfa Add global required words 2014-10-06 01:08:32 +08:00
bobobo1618
60cc99bfd4 Catch airs/network set to None
Some shows don't have a network set, which causes an exception when the value is coerced to Unicode.
2014-10-02 10:31:13 +10:00
KontiSR
7165df7405 Added gui for IMDB watchlists in Config General.
Used regex checks with javascript popup, for checking if valid imdb csv watchlist.
Added test/test_tvdb_api.py for testing the tvdb api for retrieving shows by IMDB id.

TODO: Help for assisting users in getting the correct IMDB url.
maybe, make interval configurable

First changes for imdb watchlist checker

Thrown the couch code overboard and created my own version of an imdb watchlist scraper

Added IMDB thread and test values with an IMDB csv url. These values should be replaced by front end UI settings.

- Removed some tracelogs when unable to download watchlist
- Added settings for enabling and setting of the watchlist csv url
TODO:
- create UI for setting from frontend
- Implement frontend and backend checks for validating the csv url

Default interval is 1 hour.
2014-09-30 12:25:11 +02:00
adam
37f021feb6 Custom naming for anime 2014-09-29 19:40:16 +08:00
Adam
bc16d23b4f Temp fix for root dirs config resetting 2014-09-23 16:13:48 +08:00
KontiSR
c54e70e99b Fixed displaying of currently running searches 2014-09-19 13:56:49 +02:00
KontiSR
a4c8c53c91 Fixed SearchFailedDownload when selecting multiple ep's as failed in displayShow
Searched for other occurrences for the search_queue.FailedQueueItem() call.
Changed segment to [segment]

The failedDownloadQueueItem always expects a single epObj in the segment. But when checking multiple episodes as "Failed" in displayShow, an array is provided. I've changed the queueItem to always iterate over it as an array. And i've made sure that when retry a single episode, it's also send to the queueItem as an array (with a single element).
I've had to adapt the queuing functionality in webserve for this.
2014-09-19 10:55:05 +02:00
Adam
9f92601262 Add first revision of calendar to coming episodes 2014-09-16 17:29:57 +08:00
KontiSR
bdac98db4b Implemented the queuing functionality also for Failed downloads.
ajaxEpSearch.js now also processes the clicks for Retries. SO merged those together and removed ajaxEpRetry.js.
2014-09-15 15:01:18 +02:00
KontiSR
419e35f300 sbRoot missing in some img url's
Added queued.png image.. for manual searching

Fixed issue where consecutive manual searches where not queued properly
Added first backend processing for retrieving all queued searches. This should fix the frondend blocking when doing manual searches for episodes, because the backend is free sooner. It now only queues the search.
Created a returning ajax call for getting a list of all searches in queue en running on the displayShow page.

For the getManualSearchStatus() function, only use curItem from the ManualSearchQueueItem or FailedQueueItem threads.

Conflicts:
	sickbeard/search_queue.py
2014-09-15 13:31:16 +02:00
echel0n
47eb4fd21a Fixed backlog frequency calculator code for realtime changes 2014-09-15 02:35:14 -07:00
echel0n
e78392f04a Backlog frequency determined by algo that takes into account daily search frequency to prevent overlap of searches, automatically calculates allowed minimum value that is user-settable 2014-09-15 02:23:11 -07:00
echel0n
417047f590 Added ability to set number of days to start backlog searches from, eg 7 days would search for episodes 7 days and older 2014-09-15 01:57:50 -07:00
echel0n
442631105b Fix for TypeError: list indices must be integers, not str in Indexer API code 2014-09-14 18:24:08 -07:00
Adam
f5d3f71c70 Add search queue info to ManageSearches page 2014-09-08 11:54:43 +08:00
djoole
6a393cc755 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
echel0n
59675f27ac Fixed failed download handling.
Improved search queue code.
2014-09-06 21:36:23 -07:00
echel0n
a0ef748f3b Fixed saving general settings rootDir error 2014-09-06 16:35:10 -07:00
echel0n
a32de0d523 Merge pull request #769 from KontiSR/dev
Added gui for for choosing newznab (tv) categories
2014-09-05 19:16:46 -07:00
Adam
0daf226313 Test #2 to fix daily/backlog checkboxes with custom newznab server 2014-09-04 07:52:39 +08:00
Adam
281247a90f Fix for daily/backlog checkbox values not saving correctly on providers 2014-09-03 18:40:56 +08:00
Woodpaker
8b4bb3a5a5 Fixed some git conflicts 2014-09-01 18:29:52 +02:00
Woodpaker
000467cc73 * Added saving of changed newznab categories in backend.
Added gui for selecting categories from multiselect box.
Created some helper function in js, for dynamically modifying selects/options

Made results of function for retrieving newznab capabilities more generic. In that now always a valid json is returned with success,tv_categories,error

Added gui elements for retrieving and displaying newznab capabilities

Added backend functions for calling ajax /getNewznabCategories?name=yourNewznabProvider&url=https://newznabprovURL&key=YourApiKey
Returns json.dumps() with TV category capabilities of newznab provider. Is going to be used for new gui element in adding newsnab provider.
2014-09-01 17:57:52 +02:00
echel0n
00a1ebfee3 Fixed TypeError: string indices must be integers error when mapping indexer id's
Added full delete feature to mass update, removes show from SR and deletes show folder from hard drive. Remove will just delete show from SR without deleting files from hard drive

Fixed XML errors for TVRage indexer api
2014-08-29 10:05:15 -07:00
echel0n
3cb1c573a3 Fix for newznab provider settings not saving properly
Added new show option, delete now removes show from showlist and deletes from hard drive, remove will just remove show from showlist but leave files on hard drive untouched
2014-08-29 03:29:56 -07:00
echel0n
bcffc09589 Replaced provider backlog only search option with 2 new options that allow you to enable daily searches and backlog searches individually per provider, default is enabled for both. 2014-08-28 22:16:25 -07:00
Woodpaker
6c28013586 webserve.py: small typo that prevented the absolute "scene absolute" numbering to update in the displayShow page.
scene_exceptions.py: scene exceptions were not saved. the exceptionCache variable used to cache the scene exceptions. The list with exceptions is updated in db, but when reopening your series edit page, the scene exception list is retrieved from the cache instead the db. I've created a small patch that updates the cache after updating the scene exceptions in db.
show_name_helpers.py: After each manual search the showName was added to the scene exceptions list. This was only added to the cache, but was anoying because up until a restart the list with scene exception names kept growing. Fixed this by refering to the function by value instead of by reference.
2014-08-17 21:17:20 +02:00
echel0n
27ac36cde9 Merge pull request #713 from piejanssens/dev
Add priority option for daily snatches (inc force)
2014-08-12 18:33:53 -07:00
piejanssens
e4282df953 Add priority option for daily snatches (inc force)
This adds a priority option that allows the user to specify the
priority to be used for daily/recent snatches instead of the default
high value ‘100’.

This also includes the use of priority ‘force’ which will let nzbget
download the task even if the queue is paused.
2014-08-11 22:07:02 +02:00
Adam
f4c0893d32 Fixes for trakt settings not saving 2014-08-11 19:29:35 +08:00
Jamie
18da621016 Trakt method, error checking, remove series 2014-08-09 00:07:17 +01:00
echel0n
3592e559d0 Fixed unbound method editShow() error 2014-08-08 00:18:03 -07:00
echel0n
a15258c784 Fixed massEdit issues. 2014-07-30 19:41:02 -07:00
echel0n
cdd190e1e7 Fixed trakt library update issues. 2014-07-28 21:46:20 -07:00
echel0n
534104b8b0 Changed how SickRage determins its branch version which will resolve issues with app switching back to master branch by mistke on startup. 2014-07-28 21:43:28 -07:00
echel0n
d916958abc Fixes for editshow functions. 2014-07-27 18:46:15 -07:00
echel0n
0f2941435f Testing checkout feature 2014-07-27 17:21:55 -07:00
echel0n
e9eca837a8 More fixes for webui branch checkout feature. 2014-07-27 16:22:57 -07:00
echel0n
f4b24bd85d Added a checkout branch button to the advanced config settings tab to tie things in better and make them easier. 2014-07-27 15:21:52 -07:00
echel0n
ef8b4e587d Fixed code that was preventing branch checkouts from working. 2014-07-27 14:23:40 -07:00
echel0n
7dc89c084f Added ability to switch branches from general settings/advanced, will perform a forced checkout of whatever branch you choose and restart automatically.
Git updates are now forced to overwrite locale changes to avoid needing to manually stash uncommited changes before being able to proceed with a update.

Fixed indexer mapping when unable to locate show on indexer that we are trying to map to.
2014-07-27 11:39:02 -07:00
echel0n
91ee2c9ef5 More fixes for Trakt.tv connection issues. 2014-07-27 07:49:13 -07:00
echel0n
4094e2ed3c Fix for trakt connection issues. 2014-07-27 07:39:33 -07:00
echel0n
b5e0282942 Fixed scene exceptions issue when editing shows. 2014-07-27 07:14:41 -07:00
echel0n
f67fa660be Tornado WebUI now asynchronous, huge performance increase. 2014-07-27 05:51:22 -07:00
echel0n
f404f6f3ee Merge pull request #660 from Prinz23/ical_fix
Remove old Code that caused an exception in the iCal Feed
2014-07-27 04:59:38 -07:00
echel0n
14c354b551 Added proxy support to Indexer APIs.
Provider getURL and downloadResult functions now removed and replaced with ones from helpers.py to help slim the code down plus allow more better control over request sessions.

Removed TVTumbler code.

Fixed HDBits provider.

Fixed config settings that were ment to be booleans but instead where set as str or int, should help resolve random html errors.

XEM Refresh check re-coded.

NameParser code for creating show object has been changed to only attempt at the very end once its found the bestMatch result, helps on resources and performance.
2014-07-27 03:59:21 -07:00
echel0n
bb437299d5 Added in missing redirects for config pages, should also resolve subtitle uncaught exception issues. 2014-07-24 12:43:01 -07:00
echel0n
b16ff81478 Fixes for thread naming issues where provider names are getting stacked on top each other per loop iteration.
Fix for speedcd no json data issue.

Fix for DB upgrade syntax errors caused by previous commit.
2014-07-24 09:12:29 -07:00
echel0n
de5db9be64 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.
Indexer mapping now uses indexer api calls to gather its information and then stores it to a new table called indexer_mapping for instant lookups later on.

Fixed trakt related issues for adding new shows and syncing.

Centered items at bottom of pages to just look a little nicer and fit properly.
2014-07-23 22:07:01 -07:00
Prinz23
8313e12267 The RegEx is also not needed anymore 2014-07-23 16:42:11 +02:00
Prinz23
b54724c058 Remove old Code that caused an exception in the iCal Feed 2014-07-23 16:32:41 +02:00
echel0n
f6d662ca6b Fixed TypeError: processEpisode() got an unexpected keyword argument issues when using nzbToMedia scripts. 2014-07-20 00:14:05 -07:00
echel0n
0cdd1cf813 Fix for threading schedualers and subtitles. 2014-07-19 17:03:23 -07:00
echel0n
1b84c6d281 Fix for subtitle processing. 2014-07-19 15:32:28 -07:00
echel0n
cf99eb9625 Fix for rls words 2014-07-19 06:27:53 -07:00
echel0n
5bc775dfb9 Fix for threading issues with backlogs and whitelist/blacklist issues for anime shows. 2014-07-17 22:57:35 -07:00
echel0n
7f20f5e27f Fixed whitelist error when editing shows, needs more code changes to fully function correctly.
Possible fix for threading exceptions.
2014-07-17 17:43:36 -07:00
echel0n
c0cf45830c Fix for processEpisode to accept both "on" and "1" as True conditions when passing in options for post-processing from scripts such as nzbToMedia. 2014-07-15 10:26:01 -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
9e365310b6 Fixed redirect issues which should now resolve reverse proxy web_root issues as well. 2014-07-11 12:33:49 -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
52f65ca735 Testing yet another possible fix for web_root 2014-07-09 13:50:46 -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
79a1b1c31e Fix for root dir location not being saved or set correctly for shows.
Fix for mass update edits of shows, bwlist no longer gets updated during this process as its not required. You can not change your root dir even if location does not exist so long as you have create_missing_show_dirs=1 in your config set so that there be auto-created during the next post-processing of a episode.
2014-07-07 20:27:24 -07:00
echel0n
ab69e52615 Fixed cheetah's template subclass to properly return correct line numbers in tracebacks so that we may properly debug errors. 2014-07-06 07:45:01 -07:00
echel0n
a3a3777d33 Fixed blackAndWhitelist for anime release groups. 2014-07-06 04:12:16 -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
93e2e93b63 Fix for edit shows and add shows. 2014-07-05 16:47:20 -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
Mark Rawson
8f19e84a80 Add global option to disable SickRage update notifications via notifiers. 2014-07-03 08:16:15 +01:00
echel0n
1fc909299d Fixed start/restart/shutdown issues including any issues with daemonizing. 2014-07-01 06:08:10 -07:00
echel0n
130daf7d0a Added trending shows feature, this allows you to choose from a wide selection of popular/trending shows with rating stats and easily add the show into SR by simply clicking the plus sign. 2014-07-01 01:49:12 -07:00
echel0n
75f69396d4 Reverted some changes. 2014-06-30 08:57:32 -07:00
echel0n
5e507b3849 More memory reductions and cleanups 2014-06-30 04:44:36 -07:00
echel0n
e7b5a2c6c0 Test fix for webroot issues. 2014-06-30 01:15:10 -07:00
echel0n
508c094f48 Fixed robots.txt method. 2014-06-30 01:12:41 -07:00
echel0n
96fa0953e3 Fixed issues with popup notifications. 2014-06-29 20:58:34 -07:00
echel0n
eece317c75 Fix for tornado write issues on GET and POST methods. 2014-06-29 19:52:04 -07:00
echel0n
1145f90208 Disabled caching for notification tests. 2014-06-29 19:39:29 -07:00
echel0n
06e99ce4a7 Fix for uncaught exception error for 404 errors 2014-06-29 19:17:15 -07:00
echel0n
145433e19a Corrected self.finish to self.write 2014-06-29 18:57:02 -07:00
echel0n
6ce68e3d97 Fixed redirects and blank pages ... FINALY! 2014-06-29 18:54:41 -07:00
echel0n
b3d46f77e9 Fix for TypeError: write() 2014-06-29 03:07:25 -07:00
echel0n
0c57676aed Updated tornado source code.
Created custom class for rss feed parser.
2014-06-29 03:05:33 -07:00
echel0n
feabf20c8c Test fix #5 for blank pages 2014-06-28 23:19:04 -07:00
echel0n
cafdc57b2c Testing fix for redirect issues and blank pages.
Fix for create pid issues.
Fix for creating index on tv provider cache tables.
2014-06-28 22:54:29 -07:00
echel0n
ca60203e9e Test #3 for blank pages.
Syncs show library with trakt.tv show library on startup.
Adds/Removes shows individually to/from trakt.tv library.
Added use_recommended feature to trakt.tv notifier config page.
2014-06-28 20:28:00 -07:00
echel0n
77a659c17f Test #2 for blank pages, turned cache on and removed all cache disabling entries. 2014-06-28 18:11:35 -07:00
echel0n
84da4147fb Testing fix for cache issues causing blank pages, caching has been turned off. 2014-06-28 14:40:33 -07:00
echel0n
cbda4d424d Small fix for new trakt feature 2014-06-27 04:04:54 -07:00
echel0n
df7aa364aa Added feature that gets all recommended shows from your trakt.tv account and lets you add the show like you would if adding a new show and searching. 2014-06-27 04:00:16 -07:00
echel0n
12ee35a5e6 Fix for manual updates when auto-upate option is enabled. 2014-06-25 21:48:21 -07:00
echel0n
696a1a9f4a Fixed issue with backup/resotre config file variable 2014-06-24 16:47:52 -07:00
echel0n
10bea520a7 Fixed backup/restore issues, uses correct data directory variable now. 2014-06-24 16:40:13 -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
3c370fc5c9 Fix for tornado redirect function, was not properly returning. 2014-06-22 19:51:00 -07:00
echel0n
f6c40d4b25 Fixed DB issues related to displaying plot details for show episodes. 2014-06-22 18:52:46 -07:00
echel0n
3e78004d36 Fix for KeyError: None in displayShows 2014-06-21 22:03:59 -07:00
echel0n
bbbc7469fb fix for tornado error handler 2014-06-21 15:52:10 -07:00
echel0n
7e0bb651b2 Database now closes connection after each query and reconnects if closed to ensure no more connection and locked database problems.
Fixed more internal 500 errors.
2014-06-21 15:46:59 -07:00
echel0n
2f73ab1e41 Removed tornado async features, testing to see if this resolves blank page and other related possible issues.
Removed double call to get_scene_exceptions when displaying shows.
2014-06-20 16:49:57 -07:00
echel0n
4443a5a649 Fix for mass edit 2014-06-19 10:28:07 -07:00
echel0n
6e3f52c6f4 Merge pull request #609 from JackDandy/refactor_scheduler_and_ports
Refactor scheduler and upstream ports.
2014-06-19 09:46:46 -07:00
echel0n
d5550288fc Merge pull request #608 from lennyk/nfo_rename_option
Option to NOT rename .nfo to .nfo-orig
2014-06-19 09:45:34 -07:00
echel0n
495a1a4fb3 Merge pull request #604 from rawsonm88/pushover-custom_api_key
Add UI option for users to enter their own Pushover API key
2014-06-19 08:58:20 -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
JackDandy
bf99164978 Refactor scheduler and upstream ports.
Move start time check from properFinder and showUpdater into scheduler.
Add show how long to next propers search at end of each run.
Change proper finder and show updater to silent thread logging.
Change Scheduler runImmediately to run_delay.
2014-06-19 16:38:15 +01:00
echel0n
2b7df8e67d Added backup and restore feature, this allows you to backup your config.ini and sickbeard.db files into a zipfile and save it to a destination of your choice and as well you can restore the same zip file later on then perform a restart to have the changes take affect automatically. Backups are saved date/time stamped. 2014-06-19 07:31:44 -07:00
echel0n
acadce4d96 Fix for setting status via episode status manager 2014-06-19 01:37:44 -07:00
Mark Rawson
03c9b303e0 Merge branch 'dev' of https://github.com/echel0n/SickRage into pushover-custom_api_key 2014-06-18 21:38:44 +01:00
echel0n
cefbe3859a Test fix #3 for freenas 2014-06-18 13:12:19 -07:00
oldskool
37c3354325 cherry-pick a Sickbeard pull request add an option to NOT rename .nfo to .nfo-orig
from oldskool:nfo_orig
credit to oldskool

Fixing issue 2404: Option to NOT rename .nfo to .nfo-orig

Conflicts:
	data/interfaces/default/config_postProcessing.tmpl
	sickbeard/__init__.py
	sickbeard/postProcessor.py
	sickbeard/webserve.py
2014-06-18 12:52:10 -07:00
echel0n
0ae8b5429b WebAPI showPosters fixed! 2014-06-18 10:06:06 -07:00
echel0n
e202cbc0ac Fixed basic auth realm issue, needed to be quoted. 2014-06-18 08:38:43 -07:00
echel0n
878ef9acf6 Added return to self.redirect to conform to proper way of handling redirects when using tornado 2014-06-18 08:14:30 -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
d01a1eed26 Turned caching off, testing for blank page issues. 2014-06-18 04:08:45 -07:00
echel0n
29c5c4de4d Fixed issue of forbidden error 2014-06-18 02:13:22 -07:00
echel0n
c9f800128e Fix for force update. 2014-06-18 02:04:02 -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
b47b2e1f58 Fix for NoneType issues related to redirects 2014-06-17 14:25:35 -07:00
Mark Rawson
764be940ac Add UI option to input users own Pushover API key 2014-06-17 21:37:09 +01:00
echel0n
4513525cc4 Fix for basicauth and no user/pass set 2014-06-17 13:06:43 -07:00
echel0n
3989f722a7 Fixed issues with basic auth and NoneType errors 2014-06-17 12:51:23 -07:00
echel0n
cc86dda802 Fix for NoneType is not iterable issue 2014-06-17 11:16:04 -07:00
echel0n
98ff924b1c Fix for nullhandler issues for py2.6 users,
Fix for rsstorrents.
2014-06-17 08:46:07 -07:00
echel0n
c09ceb5e6c Added error logging for webserver gets and posts 2014-06-16 22:00:03 -07:00
echel0n
327df6682e Updated tornado to latest stable code, fixes issues with auto-reload 2014-06-16 21:54:00 -07:00
echel0n
2ac1c5fdd5 Fixed forced updates to wait for auto-reload instead of performing a restart. 2014-06-16 05:31:57 -07:00
echel0n
dccf371ebd SSL issues fixed.
UI Notifications fixed.
Auto-updating option fixed to now work with auto-reload feature.
2014-06-16 05:19:07 -07:00
echel0n
489a181cdb Auto-reloads app on code changes automatically detected from git.
Fixed issues with basicauth/cookies and login page.
Parse results now displayed all the time.
2014-06-16 03:44:33 -07:00
echel0n
088e32b117 Fixed Web API to work with new tornado code! 2014-06-15 23:19:14 -07:00
echel0n
d8358882de Fixed issues with restarts and updates. 2014-06-15 22:45:52 -07:00
echel0n
23e2a483b5 Fixed API code to work with tornado. 2014-06-15 14:45:09 -07:00
echel0n
20e2ae2f86 Improved tornado async routines and shutdown routines. 2014-06-15 04:08:41 -07:00