Commit graph

457 commits

Author SHA1 Message Date
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