Commit graph

604 commits

Author SHA1 Message Date
Adam
e58dd2ce3a Change pushbullet from urllib2 to requests
Change to make pushbullet error messages clearer
2015-07-05 09:56:19 +08:00
JackDandy
f6730c6ec7 Change refactor and code simplification for newznab providers. 2015-07-03 17:32:43 +01:00
JackDandy
afd590d817 Change provider RSS torrent code to use General Config/Advanced/Proxy host setting, simplify and PEP8. 2015-07-03 17:06:55 +01:00
Adam
680491684d Change py2 file and reload functions to py2/3 compatible open and reload_module functions 2015-06-14 11:49:23 +08:00
Adam
7ffd36388b Change py2 iteritems to py2/3 compatible statements using six library 2015-06-14 00:58:36 +08:00
Adam
37496189f1 Change py2 exception clauses to py2/3 compatible clauses
Add py2/3 regression testing for exception clauses

Any new code added with old py2 style exceptions will now fail the travis test
2015-06-08 22:56:45 +08:00
JackDandy
72f23bce14 Fix show list view when no shows exist and "Group show lists shows into" is set to anything other than "One Show List". 2015-06-06 06:25:35 +01:00
Prinz23
0cce23ee5a Fix getManualSearchStatus: object has no attribute 'segment' 2015-06-03 13:39:49 +02:00
Prinz23
8e26612540 Fix Backlog Force and Un-/Pause Buttons on Manage Searches Page 2015-05-12 18:29:49 +02:00
Prinz23
2e711423b9 Add Search Queue Overview page
* Add expandable search queue details on the Manage Searches page
* Fix failed status episodes not included in next_episode search function
* Change prevent another show update from running if one is already running
* Change split Force backlog button on the Manage Searches page into: Force Limited, Force Full
* Change refactor properFinder to be part of the search
* Change improve threading of generic_queue, show_queue and search_queue
* Change disable the Force buttons on the Manage Searches page while a search is running
* Change disable the Pause buttons on the Manage Searches page if a search is not running
* Change scheduler forceRun
* Change staggered periods of testing and updating of all shows "ended" status up to 460 days
2015-05-10 17:22:54 +02:00
JackDandy
4f4858f4e4 Change to post process files ordered largest to smallest and tidied PP logging output.
Add "then trash subdirs and files" to the Process method "Move" on the manual post process page.
Add using show scene exceptions with post processing.
Change overhaul processTV into a thread safe class.
Change postProcessor and processTV to PEP8 standards.
Change overhaul Manual Post-Processing page in line with layout style and improve texts.
Change Force Processes enabled, only the largest video file of many will be processed instead of all files.
Change visual ui of Postprocessing results to match the logs and errors view.
Change remove ugly printing of episode object during PP seen in external apps like sabnzbd.
Change to streamline output toward actual work done instead of showing all vars.
Change pp report items from describing actions about to happen to instead detail the actual outcome of actions.
Add clarity to the output of a successful post process but with some issues rather than "there were problems".
Add a conclusive bottom line to the pp result report.
2015-05-08 04:18:30 +01:00
JackDandy
e41947cac8 Change reduce html payload across page template files. 2015-05-07 02:13:57 +01:00
JackDandy
e64cd430b8 Fix issue changing a custom show list group name that is in use.
The bug resulted in the db containing stale group names but worse, orphaned shows disappeared from the Show List page entirely.
PEP8 and code cleanup to SG conventions.
Changed texts to describe this feature more clearly from tag to group names.
Repositioned this feature on the add show, edit show, and config pages.
Change the drop down select to dynamically hide/show the list of group names and change the respectively selected help texts.
Change insert space between items in the list of group names for readability.
Notify user if an attempt to remove an in use group name is prevented.
Change Show List progress bar code, smaller page load, efficient use of js render engine.
Removed fixed column widths, this means multiple groups have different column widths, but the original approach is preferred because fixed widths look bad with long show titles.
2015-05-05 23:52:59 +01:00
JackDandy
cab3b43903 Add support for country network image files to the Show List view. 2015-05-04 21:11:49 +01:00
JackDandy
d39157f4a9 Add handling for shows that do not have a total number of episodes.
For rare case where a show can be in the db and added to the indexer and then the episodes removed from the indexer but not the show.
2015-05-03 17:27:10 +01:00
adam
65ce53b289 Add custom show lists to home page 2015-05-02 16:34:30 +08:00
JackDandy
ebdbf43d8b Merge pull request #321 from Prinz23/feature/AddSearchUnaired
Add Option to search for Unaired Episodes
2015-04-28 19:17:16 +01:00
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