Commit graph

1983 commits

Author SHA1 Message Date
JackDandy
385b176eec Change add 'hevc', 'x265' and some langs to Config Search/Episode Search/Ignore result with any word. 2015-06-08 18:44:55 +01: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
93c219d82e Add Rarbg torrent provider.
Note: The merging of all qualities into one category in API v2 mean more results likely to be cropped. The vendor switched to this method from their (imho, better) original of listing category numbers. It was suggested that clients add and maintain all possible search strings that signify as quality. However, this would still trigger misses, introduce other issues, plus add needless non-standard API complexity. Conclusion; as designed, SG will utilise other configured providers when this one fails to hit targets, this provider should not be configured as a sole provider.
2015-06-08 13:04:59 +01:00
Adam
cf0ee24cb4 Remove feedcache implementation and library
This functionality really isn't needed and the code offers no benefit for our needs
2015-06-06 15:16:18 +08:00
JackDandy
56a3411649 Change refactor and code simplification for torrent providers. 2015-06-06 06:31:20 +01: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
JackDandy
fed5e11532 Change first run after install to set up the main db to the latest schema instead of upgrading.
Change don't create a backup from an initial zero byte main database file, PEP8 and code tidy up.
Change move the previous InitialSchema into migration_tests to preserve migration development.
2015-06-06 06:21:17 +01:00
adam111316
88d9feb0ac Merge pull request #382 from adam111316/feature/FixLibraryImports
Fix to correctly load local libraries instead of system installed lib…
2015-06-06 13:00:16 +08:00
Adam
e06e671d67 Fix to correctly load local libraries instead of system installed libraries
This fix correctly places the local libraries at the start of the sys.path such that they are loaded instead of any libraries that may already exist on the users system. This prevents the issue where a system library that isn't supported by SickGear is loaded and causes errors during operation.
2015-06-05 18:12:05 +08:00
JackDandy
1242481803 Change typo. 2015-06-04 23:09:36 +01:00
JackDandy
f3b1487e00 Change handling of general HTTP error response codes to prevent issues.
Add handling for CloudFlare custom HTTP response codes.
2015-06-04 02:07:04 +01:00
Prinz23
0cce23ee5a Fix getManualSearchStatus: object has no attribute 'segment' 2015-06-03 13:39:49 +02:00
JackDandy
96b5188a32 Change provider Womble's use SSL. 2015-06-02 15:30:42 +01:00
JackDandy
39bda5f328 Fix provider SCC failing to find episodes of air by date shows.
Fix searching propers.
Fix stop snatching releases for episodes already completed.
Fix handle null server responses.
Change remove 1 of 3 requests per search to save 30% time.
2015-05-27 13:37:48 +01:00
adam
d47ad5f332 Change to only rebuild namecache on show update instead of on every search
Add removal of old entries from namecache on show deletion
2015-05-26 09:33:58 +08:00
Adam
821e38adf7 Merge branch 'master' into develop 2015-05-25 11:06:09 +08:00
Adam
9d08b8ef8f Fix erroneous multiple downloads of torrent files which causes snatches to fail under certain conditions
Namely this fixes snatching with the IPtorrents provider. This issue is masked in develop as the requests library has been updated and fixes the error that is generated
2015-05-25 11:03:30 +08:00
Adam
58811b3c76 Merge remote-tracking branch 'feature/TidyCacheDatabase' into develop 2015-05-19 07:35:21 +08:00
JackDandy
9ad4b4cd30 Remove EZRSS provider. 2015-05-18 19:54:25 +01:00
adam
a78f99ece2 Change to consolidate cache database migration code 2015-05-18 22:52:20 +08:00
Sami Haahtinen
7109371ee0 Fix history consolidation to only update an episode status if the history disagrees with the status.
Addresses an issue in the detection of previously processed files that
caused an episode status to change unconditionally.
2015-05-16 18:09:58 +03: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
adam111316
f854e9cab5 Merge pull request #353 from adam111316/feature/ChangeHelpersUnittests
Change helpers doctests to unittests
2015-05-10 14:22:44 +08:00
JackDandy
f463ad5705 Fix issue, when adding an existing show set its default group to ensure it appears on the show list page. 2015-05-10 01:32:57 +01:00
Adam
6a6f3d7ad8 Change helpers doctests to unittests 2015-05-09 20:47:20 +08:00
JackDandy
2c6dcdc84d Change URL of scene exceptions file for TVRage indexer. 2015-05-08 11:25:39 +01: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
Sami Haahtinen
deda4bc65a Change request handling in torrent clients
Simplify request responses within torrent clients. There is no need to
pass the response through the parent class when dealing with requests.
In many places this makes the code more readable and simplifies logic.
2015-05-06 21:40:13 +03: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
2083dfdb30 Change prevent wasted API hit where show and exception names create a duplicate sanitised year. 2015-04-29 02:15:45 +01:00
JackDandy
837265b6f6 Change no longer fetch xml and zip and adjust code inline with library updates. 2015-04-29 02:09:06 +01: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
Adam
a9da4c2486 Merge branch 'master' into develop 2015-04-25 16:49:50 +08: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
Adam
edcea76060 Merge branch 'master' into develop 2015-04-19 14:52:04 +08:00
Adam
f0fb6b8349 Fix IPTorrents provider search strings and URL for new site changes 2015-04-19 14:49:56 +08:00
Adam
7caef44bb9 Change to consolidate and tidy some provider code [part 2] 2015-04-18 13:17:47 +08:00
Adam
7477a79cb8 Change to consolidate and tidy some provider code 2015-04-18 10:28:44 +08:00
Prinz23
53f272515a Fix Backlog Init
Fix the limited backlog to execute as and when expected and in line with SickBeard.

The backlog scheduled frequency is the higher of either 12 hours or 2 x the "Recent search frequency" + 7 minutes.

On application startup and every backlog scheduled frequency the backlog will either ...
a) do a full run if the number of days passed since the full backlog has reached the setting(1)...
b) do a limited run if the number of days passed since the full backlog is less than setting(1)...
... (1) "Backlog search frequency" in Search Settings.

Change the default full "Backlog search frequency" to 21 days within a range of 2 - 35 (see Search Settings).
2015-04-15 17:47:04 +02:00
Adam
89e25e6da4 Add ToTV provider 2015-04-15 12:44:42 +08:00
Adam
ee0dfbc357 Fix season pack search errors 2015-04-15 12:17:28 +08:00
Adam
6dc6341e05 Fix provider consolidation cache upgrade 2015-04-03 13:59:23 +08:00
Prinz23
0a7c594a6f Fix XEM Exceptions 2015-04-02 12:05:33 +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
09a3051797 Merge pull request #316 from JackDandy/feature/FixShowsWithNullIMDbId
Fix loading shows from the DB that have NULL IMDb id.
2015-03-29 15:32:14 +01:00
JackDandy
59e547fac3 Fix loading shows from the DB that have NULL IMDb id. 2015-03-29 15:25:34 +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
d479fbfc5a Change improve backlog search. 2015-03-29 03:27:59 +01: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
ad96bb745f Merge pull request #296 from vergessen/feature/AddProviderAnimenzb
Add provider Animenzb
2015-03-26 11:30:23 +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
vergessen
9384447b85 code cleanup 2015-03-25 08:11:50 -05:00
vergessen
afbe99da65 add animenzb provider 2015-03-25 08:11:50 -05:00
Adam
94d0ce3e44 Add show overview from indexers to the database 2015-03-23 11:05:19 +10: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
f663212a74 Change no longer stamp files where airdates are never.
Prevent media from being file stamped 1.1.2001 as the value of a never airdate is 1. This issue can present for season 0 specials.
2015-03-19 23:12:19 +00:00
JackDandy
58d5452dc3 Change to gracefully handle some "key not found" failures when TVDB or TVRage return "Not Found" during show updates. 2015-03-19 15:40:12 +00: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
vergessen
d0ccf9f27a Fix release group not recognised from manually downloaded filename. 2015-03-18 21:37:08 +00:00
JackDandy
97ca6f4c69 Fix issue with missing QueueItemForceUpdate object has no attribute 'force_web'. 2015-03-17 19:34:12 +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
Adam
ba69616cf4 Change log rotation to occur at midnight
Change to keep a maximum of 7 log files
Add automatic compression of old log files
2015-03-17 09:50:59 +08: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
adam111316
5567a66b44 Merge pull request #281 from adam111316/feature/FixNameCache
Fix updating of scene exception name cache after adding exceptions on Ed...
2015-03-17 09:17:26 +08:00
adam111316
8b5cdb5a44 Merge pull request #279 from adam111316/feature/RemoveUnusedCode
Remove various unused code
2015-03-17 09:16:01 +08:00
Adam
bf510f709c Fix updating of scene exception name cache after adding exceptions on Editshow page 2015-03-17 09:08:09 +08:00
adam
2dab61478e Remove various unused code 2015-03-16 23:13:20 +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
334797a888 Merge pull request #270 from JackDandy/feature/ChangeReduceLogging
Change to simplify and reduce logging output of Recent-Search and Backlo...
2015-03-13 18:38:21 +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
JackDandy
e6b7feef3d Change to simplify and reduce logging output of Recent-Search and Backlog processes. 2015-03-13 18:21:46 +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
2854ae8bfa Merge branch 'release/0.7.0' into develop 2015-03-03 20:18:06 +08:00
Supremicus
3f357dec08 Remove defunct Fanzub provider 2015-03-03 19:25:46 +08: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
742efdb805 Change database code to PEP8 standards 2015-03-02 17:50:12 +08:00
Adam
d479984e49 Change common and config code to PEP8 standards 2015-03-01 21:52:02 +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
Adam
026123dc69 Change browser, bs4 parser and classes code to PEP8 standards 2015-03-01 10:35:06 +08:00
Adam
0c8ab4db9c Remove unused force variable from code and PEP8 2015-03-01 10:05:20 +08:00
JackDandy
c4f4cae440 Change Wombles to use tv-dvd section. 2015-02-28 17:41:18 +00:00
JackDandy
e92ac49cea Change to improve the integrity of the already post processed video checker.
This reduces the likelihood where new files are skipped even though a video does not exist in the target location.
2015-02-28 14:21:11 +00: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
1aee6fcae2 Fix updating of pull requests 2015-02-27 09:36:19 +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
87d46b2c3f Remove unused SickBeardURLOpener and AuthURLOpener classes 2015-02-24 15:02:20 +08:00
Adam
71d7938fac Change webserve code to a logical layout and PEP8 2015-02-24 00:26:33 +08:00
JackDandy
ae50f300e7 Change TPB webproxy list and add SSL variants, PEP8 and code cleanup. 2015-02-23 00:44:29 +00:00
JackDandy
f8e9d1aa7d Change FreshOnTv login parameter and use secure URLs.
Add logging of Cloudflare blocking.
Add prevention of vacant cookie tracebacks.
2015-02-22 17:46:48 +00:00
JackDandy
71590dbf07 Change TorrentBytes login parameter in line with site change.
Add SSL download query argument.
Ensure search term is cleansed before use.
2015-02-22 17:42:08 +00:00
JackDandy
55b0758b0f Change SCC URLs to remove redirection overhead.
PEP8 and code cleanup.
2015-02-22 17:34:04 +00: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
33aa238060 Merge branch 'feature/AddReleaseGroupsOptions' into develop 2015-02-15 15:48:02 +08:00
JackDandy
692422cafa Change when picking a best result to only test items that have a size specifier against the failed history. 2015-02-15 02:47:46 +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
74722c3a90 Change IPT URLs to reduce redirects. 2015-02-14 16:53:30 +00:00
JackDandy
068443c4b9 Fix SSL authentication on Synology stations.
Disables certification verification for SYNO requests; not an ideal fix as a mitm process can be established as a result.  However, permits using SSL until a full fix is available.
2015-02-14 16:37:21 +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
mmccurdy07
b8a4afc923 Update the Plex notifier from a port at midgetspy/sickbeard. 2015-02-14 02:45:00 +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
65007c953d Change uT params from unicode to str.format as magnet URLs worked but sending files in POST bodies failed. 2015-02-12 21:28:42 +00:00
JackDandy
f798406931 Change to ensure uTorrent API parameters are ordered for uT 2.2.1 compatibility. 2015-02-12 16:32:06 +00:00
Supremicus
bab72a5644 Change The Pirate Bay back
* Change The Pirate Bay url back as it's now back up and oldpiratebay
hasn't been updated for weeks
* Remove duplicate thepiratebay icon
2015-02-11 14:36:39 +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
acafdbb16a Add proxy request url parsing to enforce netloc only matching which prevents false positives when url query parts contain FQDNs. 2015-02-11 00:19:37 +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
c720c0b913 Add support for a proxy host PAC url on the General Config/Advanced Settings page. 2015-02-10 14:22:12 +00:00
JackDandy
9f5b00d66c Merge branch 'hotfix/0.6.3' into develop 2015-02-10 05:48:09 +00:00
JackDandy
c48981972f Change KickAssTorrents URL. 2015-02-10 05:32:59 +00:00
Supremicus
47da38a914 Logging message tweaks and minor PEP8 tweaks
* Change corrected spelling & better clarified various log messages
* Change minor PEP8 tweaks in sab.py
* Add api disabled error code for newznab providers
2015-02-08 12:59:10 +10:00
JackDandy
d945bd18e4 Fix rename of excluded metadata. 2015-02-07 18:11:40 +00:00
Adam
ed8e806e14 Fix black and white list initialization on new show creation 2015-01-23 06:57:40 +08: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
c016f38998 Merge branch 'hotfix/0.6.1' into develop 2015-01-20 22:18:19 +08:00
adam
16356ccbfc Fix snatching from TorrentBytes provider 2015-01-20 22:01:11 +08:00
adam
ea99736939 Change anime release groups to in memory storage for lowered latency 2015-01-20 19:36:19 +08:00
Adam
b344aaf1ec Remove obsolete tvtorrents search provider 2015-01-18 21:56:10 +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
9b3fd0b7a9 Add TVRage network name standardization 2015-01-12 18:45:41 +08:00
adam
7f5651bb41 Fix slow database operations (port from midgetspy/sickbeard) 2015-01-11 12:27:57 +08:00
Adam
a36fe55d41 Add log message for when trakt does not return a watchlist 2015-01-10 10:24:22 +08:00
Prinz23
3b4346b053 Fix for: 'NoneType' object is not iterable in trakt module 2015-01-09 21:41:45 +01: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
adam
c500a14d06 Add daily search to recent search renaming to config migration code 2015-01-07 19:54:19 +08:00
JackDandy
c16903bd73 Change "Daily" search to "Recent" search. 2015-01-07 19:54:18 +08:00
adam
c02de5eea5 Merge branch 'feature/FixBtnAnime' into develop 2015-01-05 22:50:53 +08:00
adam
3c295485ee Add BTN api call parameter debug logging 2015-01-05 22:47:33 +08:00
Adam
7b969b334b Fix anime searches on BTN provider 2015-01-03 21:09:05 +08:00
Adam
b8804973ca Add pull request checkout option to General Config/Advanced Settings 2015-01-02 07:44:27 +08:00
Adam
a1e8d21614 Fix name parser unit tests and regex
Add anime unit test cases (port from lad1337/sickbeard)
Fix normal tv show regex (port from midgetspy/sickbeard)
Fix anime regex (port from lad1337/sickbeard)
2015-01-02 07:14:43 +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
Supremicus
b2ca923270 Fix Womble's Index searching
* Fix Womble's Index searching (ssl disabled for now, old categories are
the new active ones again)
2014-12-28 01:14:40 +10:00
Supremicus
7b3499f958 Change ThePirateBay to use oldpiratebay
* Change ThePirateBay to use oldpiratebay as a temporary fix
2014-12-22 17:47:11 +10:00
JackDandy
c729e6d3a8 Add lowercase PM to the General Config/Interface/Time style selection.
Change re-factor sbdatetime classes.
Add param "markup" to sbdatetime.sbftime() and sbdatetime.sbfdatetime() that when set True will return time dimensions HTML class wrapped.
Add HTML class wrapping to the dimension parser of fuzzy time.
Change General Config/Interface/Trim zero padding to Trim date and time, now handles 2:00 pm > 2 pm.
Fix trim zero of military time hour to not use 12 hr time.
2014-12-20 11:57:53 +00:00
JackDandy
6e6cec3b66 Fix to use new TorrentDay URLs. 2014-12-14 19:16:50 +00:00
JackDandy
57f01e6584 Fix restart issue. 2014-12-14 19:05:50 +00:00
adam
2af732c731 Fix duplicate entries in cache database 2014-12-14 12:12:00 +00:00
JackDandy
8f4974f2b9 Merge pull request #101 from adam111316/feature/FixPortChecking 2014-12-13 18:39:24 +00:00
adam
a419f53ca9 Fix port checking code preventing startup directly after a SG restart 2014-12-13 13:32:08 +08:00
JackDandy
aa9346222e Fix SQL statements that have dynamic table names to use proper syntax. 2014-12-13 04:16:50 +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
e7b11c5f4b Fix article removal for sorting on Display Show, and API pages.
Remove Javascript regex boundary from Python regex.
2014-12-09 21:33:40 +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
Supremicus
26497b066e Change KickassTorrents provider URLs 2014-12-09 13:31:56 +00:00
Adam
f579b90d7c Add database migration code 2014-12-09 20:34:44 +08:00
adam
87c78b50b2 Revert "Merge pull request #19 from adam111316/feature/AddNetworkStandardization" 2014-12-07 21:22:42 +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
mmccurdy07
e28d4c18f7 Change Plex notifications: allow authenticated library updates (port from mmccurdy07)
Change to allow authenticated access to Media Server.
Change Config/Notifications/Plex logo, description, and label texts.

Adapted port commit/955a48b577875ac8e94ea5efb445c28c57b7d9cb from
mmccurdy07/Sick-Beard/commits/development (by Supremicus).
2014-12-03 14:30:20 +00:00
Supremicus
e3688e0ab6 Update plex notifier (port from SickBeard) 2014-12-03 03:11:18 +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
5f5080d3ab Merge branch 'release/0.4.0' into develop 2014-11-23 21:07:46 +00:00
Adam
7930cbcd80 Fix reduces time API endpoint Shows takes to return results.
Fix indexer mapper caching.
Fix tvrage API garbage collection.
2014-11-23 20:57:38 +00:00
Adam
a046729436 Add TVRage network name standardization 2014-11-23 22:16:23 +08: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
bb2d874d2b Fix searches freezing due to unescaped ignored or required words
Conflicts:
	CHANGES.md
2014-11-22 19:20:01 +08:00
JackDandy
b92eecb41b Change airdateModifyStamp to handle hour that is "00:00". 2014-11-20 18:35:14 +00:00
JackDandy
f164934888 Fix API endpoint Episode.SetStatus to "Wanted". 2014-11-20 16:37:58 +00:00
JackDandy
6da09b8db0 Change suppress HTTPS verification InsecureRequestWarning.
Suppress this potentially confusing warning because many sites use self-certified certificates.

Change a couple of lib references to be full paths.
2014-11-20 03:07:44 +00:00
Adam
d599406861 Remove old version checking code that no longer applies to SickGear's release system 2014-11-18 15:46:23 +08: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
Adam
ff654aa894 Remove obsolete Animezb provider
Animezb provider no longer exists
2014-11-17 11:49:02 +00:00
Adam
8b5ab27444 Remove unsupported t411 provider
Removing unsupported french private tracker
2014-11-17 14:50:44 +08:00
JackDandy
b6d079fe48 Fix the log output of the limited backlog search for episodes missed.
The log text backwardly reported processing was for missed episodes older than x days. It's for episodes missed during the last x days.
2014-11-16 02:19:15 +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
c03429a25a Remove orphaned file and cleanup class naming. 2014-11-13 05:36:47 +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
Adam
b29d730313 Merge branch 'hotfix/0.2.2' into develop 2014-11-12 16:52:22 +08:00
Adam
fc09e56a37 Change updater URLs to reflect new repository location 2014-11-12 16:34:01 +08: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
477b0806b0 Fix API response header for JSON content type and the return of JSONP data.
The API should return application/json Content-Type for JSON data instead of application/html. Tornado expects a dict in order to JSON encode and send header "Content-Type:application/json". SR already encodes data plus it supports JSONP. So, the encoded string data is wrapped into a dict, and a test is added at Tornado def write() to unwrap and skip encoding, in order to set the correct content-header and also use JSONP.

Added file HACKS.txt to serve as a reminder for anyone updating the library.
2014-11-11 13:22:03 +00:00
JackDandy
afce91f79d Change reporting failed network_timezones.txt updates from an error to a warning.
Tone down the language used and error to a warning for this common temporary server side fault.
2014-11-10 04:45:26 +00:00
JackDandy
0607b912d8 Add an anonymous redirect builder for external links.
Add anonymous redirect to external links on pages... Add Trending Show, Add Existing Shows, Add New Shows, Coming Episodes, Display Show, Config Notifications, Config Anime, Subtitle Providers, ASCII chart on General Config Advanced, links of newly created Usenet and Torrent providers.
Update xbmc link to Kodi at Config Notifications.
Fix irc protocol link to not use http protocol linkage on Config/Help and align lower right side column to the upper right side text.
2014-11-10 04:01:53 +00:00
Adam
687d2b96ab Fix post processing when using tvrage indexer and mediabrowser metadata generation 2014-11-09 13:44:47 +08:00
Supremicus
c0d6641f04 Fix missing kat url in config_providers 2014-11-09 13:45:10 +10:00
Brendann
e58f3fd9cd Update growl.py with missing registration of update notification
Update CHANGES.md

Added line to growl registration which adds common.NOTIFY_GIT_UPDATE as a sickrage notification type.
growl on some systems will not show notification unless it is registered.
2014-11-08 20:59:07 +08: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
Adam
16b146284d Fix invalid responses when using sickbeard.searchtvdb api command 2014-11-07 08:19:27 +08: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
tehspede
ae94ab6d80 Change API now uses Timezone setting at General Config/Interface/User Interface/ at relevant endpoints 2014-11-04 00:26:22 +02:00
Adam
d835e32063 Removed requirement for http login for API when an API key is provided 2014-11-02 23:50:47 +08:00
Adam
f6eda6954d Merge branch 'subtitle_api' of https://github.com/Hellowlol/SickRage into develop 2014-11-01 11:56:48 +08:00
Adam
72b9708a40 Merge branch 'feature/fix_indexers_config' of https://github.com/pmaciocia/SickBeard-TVRage into develop 2014-11-01 11:48:32 +08:00
JackDandy
d6950bc6f1 Fix exception raised when converting 12pm to 24hr format, also handles 12am.
Triggered when setting file modify time (e.g. during PP and also scheduled show updates).
2014-10-31 15:29:18 +00:00
John
f185c1fee0 add subtitle to cmd show and shows 2014-10-30 22:24:08 +01:00
Peter Maciocia
ea3a165987 fix not loading proxy_indexers config 2014-10-30 19:39:44 +00:00
tehspede
b9b88b18a6 Combined 'Delete' and 'Remove' buttons in to one on the individual show pages. 2014-10-29 21:06:20 +02:00
Adam
dda6cfce57 Fixes errors occurring when a show folder is deleted outside of SickRage 2014-10-28 14:47:47 +08: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
adam
e2841c2a9c Merge branch 'hotfix/0.2.1' into develop 2014-10-22 14:45:03 +08:00
Anthony Snavely
3494d071b9 Fix HD-Torrents
Fix HD-Torrents so it works properly.
2014-10-22 14:39:33 +08:00
Supremicus
82343608a0 Added date formats for d/m/y 2014-10-22 12:19:06 +10:00
adam111316
bd6cc51975 Merge pull request #21 from SickragePVR/feature/FixIPT
Feature/fix ipt
2014-10-19 02:39:22 +08:00
JackDandy
b7c37ccaf7 Fix searching IPTorrentsProvider. 2014-10-17 04:21:21 +01:00
JackDandy
85d022916f Add "Archive on first match" to Manage, Mass Update, Edit Selected page. 2014-10-16 22:41:46 +01:00
adam
d452f199b6 Merge branch 'hotfix/0.1.0' into develop 2014-10-16 20:35:18 +08:00
adam
4e6afd7615 Update repo urls from echel0n to point to SickragePVR. Should fix autoupdating to the correct repo 2014-10-16 19:55:33 +08:00
Adam
560ffca7dd Make hardlink debug error more verbose 2014-10-13 23:20:44 +08:00
Adam
16a54e62d6 Make failed torrent log message more verbose 2014-10-13 23:10:19 +08:00
Adam
d2077453b6 Fix ABD regex for certain filenames 2014-10-13 19:19:33 +08: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
Adam
d5daa14dc0 Fixes crash on general settings page when git output is none 2014-10-12 17:28:58 +08:00
Peter Maciocia
5aae8d7b48 add checkbox to control proxying indexers 2014-10-10 19:08:53 +08:00
adam
c26eb39695 Fix for custom newznab providers with leading integer in name 2014-10-10 15:39:13 +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
adam111316
e4fad0b6b0 Merge pull request #853 from nielsenj/fixSeedIdleTime
Fixes SR setting SeedIdleLimit no matter what
2014-10-08 15:50:01 +08:00
adam
1668f80117 Add theme_name to config and expose THEME_NAME global 2014-10-08 14:08:26 +08:00
Justin Nielsen
78806a2223 Fixes SR setting SeedIdleLimit no matter what 2014-10-07 13:39:11 -07:00
adam111316
fe71731da6 Merge pull request #852 from tactmaster/dev
Changing /calendar to add Season and Episode to the description
2014-10-08 00:18:44 +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
a72779d5d3 Fix omgwtfnzb provider retention = 1 bug 2014-10-07 08:27:02 +08:00
Adam
58e8df3c0d Adjust timeout for clients for slower machines 2014-10-06 17:50:22 +08:00
adam111316
a8767e0a51 Merge pull request #849 from adam111316/global_required_words
Add global required words
2014-10-06 01:46:40 +08:00
adam111316
ba7d8f8e66 Merge pull request #848 from echel0n/transmission_timeout
Adjust transmission timeout for slower systems
2014-10-06 01:27:23 +08:00
adam
52a1254cfa Add global required words 2014-10-06 01:08:32 +08:00
adam
24b7c85100 Fix git checkout when notifiers are enabled 2014-10-06 00:54:46 +08:00
adam
db41f2f1fc Adjust transmission timeout for slower systems 2014-10-06 00:39:56 +08:00
Adam
b83b8721a0 Fix anime naming patterns being stored as sports naming patterns 2014-10-04 13:08:48 +08:00
Adam
d8e52f2098 Fixes displayshow error for series with special characters 2014-10-03 07:34:09 +08:00
Adam
4adad577c8 Fixes show folder not deleting if files remain in folder 2014-10-02 19:20:03 +08:00
Adam
0822d15d36 Add sizing field on show page 2014-10-02 16:41:13 +08:00
adam111316
f2f7243e97 Merge pull request #840 from bobobo1618/patch-1
Catch airs/network set to None
2014-10-02 08:37:21 +08:00
adam111316
f00dee3338 Merge pull request #837 from Hellowlol/process_api
add postprocess to api
2014-10-02 08:35:35 +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
John
6fe49066c8 add postprocess to api 2014-10-01 01:13:04 +02: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
164724a63d Fixes error: SHOWUPDATER: local variable 'cur_indexerid' referenced before assignment 2014-09-28 10:16:22 +08:00
Adam
2230420720 Fixes exception generated in thread DAILYSEARCHER: 'NoneType' object has no attribute 'getEpisode' 2014-09-25 23:12:16 +08:00
KontiSR
0d415fcc20 This is a first attempt of getting the season pack downloading to work.
Unfortunately some of the old code I modified is still not 100% clear to me.. so I can't really oversee if this will work. That's why I suggest, this should be extensively tested, before merging into master!

I broke backlog searching.. Should be working again.

Tested, and seems to be working fine!
2014-09-25 13:18:07 +02:00
adam111316
80e03a1475 Merge pull request #827 from KontiSR/properfix_updating_client_with_queuitem_status
This is a check used in webserve.py getManualSearchStatus(), to get the ...
2014-09-25 17:49:24 +08:00
adam111316
c94da47bab Merge pull request #832 from seiki/master
fix transmission seed time
2014-09-25 16:49:17 +08:00
adam111316
43d340bace Merge pull request #830 from KontiSR/showstatus_missing
Not skipping when self.status = None, but assigning empty string ''
2014-09-25 14:48:32 +08:00
seiki
6a17ffae3c fix transmission seed time 2014-09-24 21:47:11 -03:00
adam111316
615f89df01 Merge pull request #826 from EchelonFour/trakt_fixes
fixes to make trakt watch list work
2014-09-25 08:09:26 +08:00
adam111316
fc96e5a7d6 Merge pull request #824 from adam111316/thread_dailysearch
Threads dailysearcher process for each provider. Allows dailysearcher to...
2014-09-24 22:22:18 +08:00
KontiSR
32a88cf105 Not skipping when self.status = None, but assigning empty string ''
Added addiontional check for checking of the self.status is filled with the show status. If not, debug message is generated and the show is not updated.
2014-09-24 15:49:50 +02:00
Frank Fenton
557a286231 fixes to make trakt watch list work 2014-09-24 22:46:09 +10:00
Adam
c1a199d698 Fix for attribute error when no newznab responses are available 2014-09-23 22:15:13 +08:00
KontiSR
058f9d1399 This is a check used in webserve.py getManualSearchStatus(), to get the current running queuitem, if it is a manual or failed/retry search. If so, the frontend will report the matching episode as in status "searching".
The function is_manualsearch_in_progress() is introduced for this purpose and only reference in webserve.py.
Previously when a daily search is running, and a manual search is queued behind it, it will wrongly give back that the manual search is running, this could result in unexpected behavior.
2014-09-23 11:06:02 +02:00
Adam
bc16d23b4f Temp fix for root dirs config resetting 2014-09-23 16:13:48 +08:00
Adam
0aedf52997 Threads dailysearcher process for each provider. Allows dailysearcher to continue other operations without having to wait for providers with slow network operation 2014-09-22 13:41:29 +08:00
echel0n
b0d550b3fb Fix for no attr success 2014-09-21 13:42:01 -07:00
echel0n
f15d5cff57 Revert "Fix for updating queue icon when DailySearchQueueItem is running." 2014-09-21 13:37:14 -07:00
KontiSR
69bb4d6373 Fix for updating queue icon when DailySearchQueueItem is running.
Did not had any impact on searching.. only unexpected behavior when updating the spinner or queue img.
2014-09-21 12:18:43 +02:00
adam
5ac3895600 Fixes daily search and speed improvements 2014-09-20 20:34:00 +08:00
echel0n
36bf98fcc5 Merge pull request #812 from sdbarker/pushbullet-fixes
Updates to Pushbullet functionality to address rejected keys / connections, provide "All Devices" functionality
2014-09-19 20:56:10 -07:00
echel0n
1adaf8b0d0 Merge pull request #813 from KontiSR/dev_fix_searchbacklog
Fixed typo in searchBacklog. Introduced with search from delta functiona...
2014-09-19 20:55:59 -07:00
echel0n
0a8e714b0e Merge pull request #814 from KontiSR/dev_failed_download_fixes
Fixed SearchFailedDownload when selecting multiple ep's as failed in dis...
2014-09-19 20:55:52 -07:00
echel0n
a20b9cb6ba Merge pull request #815 from KontiSR/dev_fix_tokyotosho_no_rows_returned
Dev fix tokyotosho no rows returned
2014-09-19 20:54:38 -07:00
echel0n
f54412fc3d Merge pull request #816 from KontiSR/fix_newznab_offset
Fix offset calculation. No more unnecessary (double) searches.
2014-09-19 20:54:29 -07:00
echel0n
2a8c00e774 Merge pull request #817 from KontiSR/dev_nyaatorrent_qualityparsing
Fixed the qualityparsing for nyaatorrent search results
2014-09-19 20:54:09 -07:00
echel0n
8a10b0ced5 Merge pull request #818 from KontiSR/dev_addsearchstring_newznab_no_ep_par
Made improvements for searching for anime on newznab providers, who have...
2014-09-19 20:53:58 -07:00
darkdragon2000
7ba97b6b01 Update kat.py
Fix search string for air-by-date to only return episodes for the date searched.
2014-09-19 16:45:59 -04:00
KontiSR
d0dac45315 Made improvements for searching for anime on newznab providers, who haven't straitened out there anime episode parsing.
Should provide more search result using for example: usenet-crawler, nZEDb, spotweb.

Newznab now also searches by q= querystring. Ommits the Ep.

Needed to cast ep (int) to str, for str concatenation

add searchstrings for searching newznab providers excluding the ep= paramater. I've added the episode to the q= param. querystring could look like: ?q=showname%2043
2014-09-19 16:17:49 +02:00
KontiSR
fd4e26795f Fix offset calculation. No more unnecessary (double) searches.
For anime shows: if no absolute numbering is available, use the default numbering.
2014-09-19 15:49:26 +02:00
KontiSR
7e3b9848bd Fixed the qualityparsing for nyaatorrent search results 2014-09-19 15:43:31 +02:00
KontiSR
c54e70e99b Fixed displaying of currently running searches 2014-09-19 13:56:49 +02:00
KontiSR
4b1b3c6488 When no absolute episode number retrieved, fall backto the scene_episode. Else search will be done for episode: 00 2014-09-19 12:06:59 +02:00
KontiSR
8b678445cc Fix exception for when no results returned. 2014-09-19 12:05:50 +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
KontiSR
47cd8b53f0 Fixed typo in searchBacklog. Introduced with search from delta functionality. 2014-09-19 10:49:37 +02:00
Scott D. Barker
50dc83892f - Update Pushbullet notifier to no longer base64 encode the API key which was causing Pushbullet to reject the key and connections
- Update Pushbullet notifier's authorization header to reflect their API
- Update the JS that populates the Pushbullet device list to provide an "All Devices" option
2014-09-17 20:24:27 -07:00
KontiSR
4c8b100be9 Shouldn't be copy() but update().
Tested now, and at least the exception is gone.
2014-09-17 13:43:10 +02:00
KontiSR
4bfb271e8d Can't += dicts. Need to dict.copy()
Bug in master while doing daily search: https://sickrage.tv/forums/forum/help-support/bug-issue-reports/8358-unsupported-operand-type-s-for-dict-and-dict
2014-09-17 10:18:47 +02:00
Adam
f0d8bcb62c Fix some of the unit tests 2014-09-16 18:25:59 +08:00
adam111316
9e20c33013 Merge pull request #804 from adam111316/calendar
Add first revision of calendar to coming episodes
2014-09-16 17:34:18 +08:00
Adam
9f92601262 Add first revision of calendar to coming episodes 2014-09-16 17:29:57 +08:00
echel0n
f5a6d45d8f Fixed unicode error 2014-09-15 12:13:16 -07:00
echel0n
1e8233d430 Merge pull request #803 from tresni/fixrsstorrent
Fix RssTorrent where there may be empty values in configuration
2014-09-15 12:12:22 -07:00
echel0n
9eec99cd14 Reverted backlog search nextrun changes 2014-09-15 06:42:24 -07:00
echel0n
41dbbbaa9b Fix backlog nextrun to return datetime instead of just date 2014-09-15 06:29:16 -07: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
627debcf88 Building of name cache executed now at start of searches to prevent building cache for show more then once when not needed 2014-09-15 02:46:08 -07: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
67bd1a9e98 Fix for daily searches and high cpu usage plus increases search speed 2014-09-15 01:28:11 -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
echel0n
f211a7eccf Added sleep timer for proper finder code to prevent high CPU usage 2014-09-14 18:03:21 -07:00
echel0n
4fe3a96051 Possible fix for high CPU usage when doing NZB searches 2014-09-14 17:59:37 -07:00
echel0n
22d7230b3f Fix for AttributeError: 'FailedQueueItem' object has no attribute 'ep_obj' 2014-09-14 17:40:59 -07:00
Brian Hartvigsen
93f06af300 Fix where there may be empty values (such as cookies) in older configurations 2014-09-14 13:11:57 -06:00
Adam
1d41a638ee Update .travis.yml, fix imports and tests 2014-09-13 13:20:47 +08:00
Adam
80a028d1a6 Add TokyoToshokanProvider logo 2014-09-12 20:41:16 +08:00
adam111316
2a5706c7fd Merge pull request #793 from adam111316/TT
Add TokyoToshokanProvider support
2014-09-12 20:00:42 +08:00