Commit Graph

366 Commits

Author SHA1 Message Date
kay.one 6828f099bc Removed all static state tracking from job provider. 2011-10-23 14:53:24 -07:00
Mark McDowall 10fc9a1981 Added Submenu to Missing, allows triggering of a backlog search as well as RSS Sync.
Removed unneeded cshtml file.
2011-10-21 16:33:54 -07:00
Mark McDowall 745d9d9355 TopSlider added for local series searching!
Should be easy to add others (would want to have it close other open ones, I think).
2011-10-20 16:36:47 -07:00
Mark McDowall a9bcbfad8c Added QuickAdd for adding series, not displayed currently, needs some prettifying. 2011-10-19 08:16:34 -07:00
Mark McDowall 1d31c1687c Fixed issue with invalid AirTimes for series causing Upcoming Views to fail. 2011-10-10 18:11:22 -07:00
Mark McDowall f627b551fc AuthenticationType is now configurable from /Settings/System. 2011-10-07 16:24:28 -07:00
Mark McDowall ec6a0e6b7f App_Data added to .gitignore
Added SetValue to ConfigFileProvider.
Added creating of default config file in ConfigFileProvider.
Added more ConfigFileProvider tests.
Added UI for Settings/System
2011-10-01 00:04:06 -07:00
Mark McDowall 71e1827ef8 Missing Grid uses ToBestDateString for formatting.
Fixed padding for No Data being cut off (also when loading) for the grids.
2011-09-30 09:18:13 -07:00
Mark McDowall 9714a96437 Upcoming/Index now uses .ToBestDateString() for Dates, only showing on FutureForecast grid (instead of all grids). Status is shown on grid and option to search for episode.
Series/Details season grids won't be as tall now, due to reduced padding.
2011-09-28 17:20:29 -07:00
Mark McDowall 6736afbeab Added NextAiring to Series (ResultColumn), which is used for Series/Index. Added tests and fixed broken tests after adding new property. 2011-09-28 10:56:30 -07:00
Mark McDowall 9271b39787 Added ToBestDateString for DateTime, using on Series/Details. 2011-09-27 17:10:08 -07:00
Mark McDowall 95b4250d5d Updated IndexerSettingsModel with better descriptions.
Enable checkbox for Indexer is now labeled as such.
Removed jscript load for deleted script.
A user will now be unable to add a rootDir if the SabDropDir value is the same (ignoring case).
A user will also be unable to set their SabDropDir to the same value as an exiting RootDir (Ignoring case).
The last two changes prevent users from possibly causing all TV shows to be deleted.
2011-09-22 17:18:41 -07:00
Mark McDowall 8c06dde28a Quality size sliders are implemented. Limits are calculated based on MB/Minute. 2011-09-15 21:42:30 -07:00
Mark McDowall f8ae95d36f Banner is now shown on Details view. 2011-09-10 16:01:15 -07:00
Mark McDowall be92686e0e AddNewSeries now uses the created folder name wghen added the series (since windows trims some characters from the end [periods]).
CreateDirectory moved from AddExisting to AddNew, since we don't want to try to create a folder for existing series.
2011-09-09 16:28:21 -07:00
Mark McDowall 7786f6a914 SeriesId is now passed back to the controller when adding a new/existing series. 2011-09-08 20:52:25 -07:00
Mark McDowall d330c65165 AutoComplete is now using jQuery UI AutoComplete.
Removed jquery.liveQuery.
2011-09-08 20:26:48 -07:00
Mark McDowall 070115a59a TopLogs will now return the count pass in, reduced to 5000 from 7500 to prevent JsonSerialization issues when being sent to the grid.
Added tests for TopLogs and GetPagedLogs.
2011-09-07 17:01:51 -07:00
Mark McDowall 73fadac397 Fixed parser to properly parse a more common naming convention where the episode title starts with an episode or series/episode combination.
SeriesController SaveEdit and Delete OrderBy Title with articles removed, with episodeCount.
Reworded Auto-configure button.
2011-09-06 23:43:10 -07:00
Mark McDowall c13c9d15c4 Default Log view uses client operations, added all logs view that uses paging (No support for sorting or filtering). 2011-09-05 12:59:39 -07:00
Mark McDowall 0b586de226 Added misnamed provider, PLINQ speeds it up, but still to slow for use, paging helps, but isn't consistent.
A bunch of files changed removing System.Linq, thanks Resharper :(
2011-09-03 20:05:44 -07:00
Mark McDowall 780abad3f7 Log view now uses proper paging so it doesn't take a year to load up each page. 2011-09-02 23:41:50 -07:00
Mark McDowall c2c62aa538 Stop throwing errors where it can't get the current message because there is no object. 2011-09-02 18:16:08 -07:00
Mark McDowall f02e92b005 Fixed EpisodeSorting examples layout.
Added Missing to main UI.
Add links to series from History and Missing.
Image for search link on Missing.
2011-08-30 17:15:22 -07:00
Mark McDowall ac3c3386fc Added delete and redownload commands to History Grid (redownload will delete the existing item from history and then start an episode search) 2011-08-26 17:59:51 -07:00
Mark McDowall 1d983801e8 SABnzbd settings will now dynamically get the categories available from SABnzbd when the category drop-box gets focus, it will use values on the page so there is no need to save your settings first. 2011-08-26 10:45:59 -07:00
Mark McDowall ad260c54cc Series Editor will now save the path properly. 2011-08-25 16:05:31 -07:00
Mark McDowall 88525a0b7c AddSeries javascript fixes.
Add new series now has a drop box for rootdir.
Moved add series javascript to addSeries.js.
2011-08-23 13:31:28 -07:00
Mark McDowall f6c9fa4f95 Added SeriesSearch and RenameSeries jobs.
Add UI controls for new jobs.
Skip ignored episodes when doing series/season searches.
2011-08-22 22:29:12 -07:00
Mark McDowall 1d1bbd3a23 Series/Details grids now use images for ignore/status/search/rename. 2011-08-22 20:52:08 -07:00
Mark McDowall d120a61ccb Series/Details specials grid will be generated like all others.
Added images for Episode Status, Ignored status removed
Updated SceneNameMappings.csv
2011-08-21 23:25:32 -07:00
Mark McDowall 66522b8109 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-21 18:21:48 -07:00
kay.one 1e9b279a9b Removed basic notification. client side notification should be used. 2011-08-21 18:19:34 -07:00
Mark McDowall 626b1407ee Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-21 18:09:18 -07:00
kay.one 1e9ae9a508 leftover notification code 2011-08-21 18:00:12 -07:00
Mark McDowall 350e0388de Updated JobProvider to allow jobs with two targets.
JobQueueItem class created instead of using Tuples.
Added Search for Season and Rename Season jobs , plus links for them on Series/Details.
Add GetSeasonFiles added to MediaFileProvider.
2011-08-21 17:48:37 -07:00
Mark McDowall bf17b63d2b Shitty merge, manually fixed it. 2011-08-08 16:38:55 -07:00
Mark McDowall ef16e72b09 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Web/Controllers/SettingsController.cs
2011-08-08 15:46:49 -07:00
kay.one 5ab07d7028 Added instant notification framework 2011-08-08 14:50:48 -07:00
Mark McDowall 127af22fe9 Fixed settings saving notifications, duplicate keys. 2011-08-05 20:05:41 -07:00
Mark McDowall aa82264774 Menus are now custom built, using AJAX loading of links where acceptable. 2011-08-05 19:04:35 -07:00
Mark McDowall 3507b97887 Settings save buttons are disabled until jQuery loads and attribute is removed (prevents saving without ajax if saving too quickly).
Notifications are set when saving now (progress) until basic is redone.
2011-08-04 21:38:18 -07:00
Mark McDowall 4f68d07c9a Fixed issue with missing episodes incorrectly using include specials.
Added tests for missing episodes.
2011-08-03 22:44:24 -07:00
Mark McDowall c88ead0585 Wired in the season and episode ignore saving.
Converted setSeasonIgnore & setEpisodeIgnore to use inline SQL.
Added tests for setSeasonIgnore & setEpisodeIgnore.
2011-08-03 18:45:45 -07:00
Mark McDowall c32346e6ea New series ignore editor on Series/Details.
Styling works, backend saving not yet implemented.
2011-08-03 00:26:39 -07:00
Mark McDowall e29fee9686 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-07-28 00:22:12 -07:00
Mark McDowall ee4b6c9442 ExternalNotifications enabled (Xbmc only right now).
- Grab, Download, Rename
Notification Settings for Xbmc uses definitions.
2011-07-28 00:21:49 -07:00
kay.one b4fb3002a4 Updated Add Series 2011-07-27 15:59:48 -07:00
kay.one d640fa65e8 Fixed orphaned job issue in JobController
System/Jobs now shows items currently in queue.
2011-07-10 21:53:34 -07:00
Mark McDowall 67299f0d97 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/NzbDrone.Core.Test.csproj
2011-07-09 19:48:02 -07:00
Mark McDowall 348ff5a386 XbmcProvider updated to include new Json API methods.
EventClient is used for sending CleanLibrary and Notifications (With NzbDrone Logo - Internal Resource).
Support for Dharma's HTTP Server (Deprecated), since Dharma doesn't support Json as well.
2011-07-09 11:19:33 -07:00
kay.one 6393d0a3f9 Added Tests for CentralDispatch 2011-07-07 22:41:08 -07:00
kay.one b086414d75 some cleanup 2011-07-07 20:57:44 -07:00
kay.one 452b5c8f84 Renamed sorting config keys 2011-07-07 20:36:02 -07:00
kay.one 15aedfc847 some db/migration cleanup 2011-07-07 20:27:11 -07:00
kay.one 861026f743 Fixed some petapoco issue with insert. 2011-07-02 16:45:29 -07:00
kay.one 555e62fd17 fixed some notification issues 2011-07-02 10:41:10 -07:00
kay.one a1caa789fe Instant progress notifications. Now use comet instead of pooling. 2011-07-02 01:56:58 -07:00
kay.one c7a219ddc6 Merge branch 'markus101'
Conflicts:
	NzbDrone.Web/NzbDrone.Web.csproj
2011-07-01 14:01:51 -07:00
kay.one 94e16a6037 root dir is done 2011-07-01 13:59:25 -07:00
Mark McDowall dc44a81099 Settings views all cleaned up. 2011-07-01 13:33:03 -07:00
kay.one 7c05157f19 Merge branch 'markus101'
Conflicts:
	NzbDrone.Web/NzbDrone.Web.csproj
2011-07-01 11:48:22 -07:00
Mark McDowall 859c5246d9 Overhauled Settings/Quality
CSS for Settings uses classes for aligning instead of label/input directly.
2011-07-01 02:10:42 -07:00
kay.one 3085bba59b more better 2011-07-01 00:52:44 -07:00
kay.one 9deea44c87 more root dir UI cleanup 2011-07-01 00:23:07 -07:00
kay.one 4253d0b4cb Merge branch 'markus101'
Conflicts:
	NzbDrone.Web/Views/Series/Index.cshtml
2011-06-29 23:19:44 -07:00
kay.one cece6e9bf6 Root Dir cleanup 2011-06-29 23:15:06 -07:00
Mark McDowall 63e303af3b New layout for Settings/Sabnzbd
Fixed scripting for Settings/Quality
2011-06-29 22:22:34 -07:00
Mark McDowall 87e9589761 Remove empty folders after importing new downloads.
Fixed American Dad test (new season added to TheTvDb).
Removed unneeded .ToList()
2011-06-25 19:50:18 -07:00
Mark McDowall 342406784a Fixed seriesGrid query and tests.
Fixed GetEpisodeModels that would fail due to a null AirDate.
2011-06-23 11:37:17 -07:00
Mark McDowall 938fa24a8e Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-23 00:05:18 -07:00
kay.one 69239bc371 Switched to SQLCE 4.0 2011-06-22 23:56:17 -07:00
Mark McDowall b6178c9eef Fixed an issue where RootPaths with a slash at the end would have double slash when adding a new Series. 2011-06-22 16:44:42 -07:00
Mark McDowall 3a065b86f1 Fixed series grid after save so it has proper counts. 2011-06-21 23:39:45 -07:00
kay.one cbfbb87926 fixed issue where series controller was still going to db for every file.
Increased log level
tweaked connection string to sqlite
2011-06-21 22:43:45 -07:00
Mark McDowall ecd0fb50a8 Removed extra injects that weren't needed.
Wrapped find series in try/catch to prevent a case where the series is in SceneMapping, but isn't in the users database. -Missed in last commit apparently.
2011-06-21 18:10:31 -07:00
Mark McDowall 47b997326b Fixed failure when trying to add the first root dir (Missing Telerik scripts for combobox). 2011-06-21 00:02:21 -07:00
Mark McDowall 208feb7d19 CleanFileName when getting new filename from MediaFileProvider. 2011-06-20 16:46:54 -07:00
Mark McDowall 431d850d32 SeriesProvider gets QualityProfile in single call to DB.
SeriesProvider.GetAllSeriesWithEpisodeCount gets seasonCount(with or without specials), total episode count & episodeWithFile count (excluding ignored episodes).
Added tests for SeriesWithEpisodeCount.
2011-06-20 00:13:17 -07:00
Mark McDowall 86ab26e2d9 UpcomingProvider now gets Series in call for episodes. 2011-06-19 20:08:09 -07:00
Mark McDowall 7b5556199f Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-19 17:23:59 -07:00
Mark McDowall 0972c956b8 HistoryProvider will return History Items with Episode and SeriesTitle. 2011-06-19 16:44:45 -07:00
kay.one 8b484601f6 Removed all warnings 2011-06-19 13:43:47 -07:00
Mark McDowall 8f4fe398ed Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-18 00:18:29 -07:00
kay.one 0e86653d8a Fixed bug where status was shown instead of title on SeriesDetail page 2011-06-17 23:41:31 -07:00
Mark McDowall d28e94868c Parser will remove quotes before trying to get filename from the path.
HistoryController - Gets Series from seriesProvider.
UpcomingComtroller - Gets Series from seriesProvider.
2011-06-17 20:11:04 -07:00
kay.one 3ef17273fd HistoryProvider now uses PetaPoco 2011-06-16 23:59:13 -07:00
Mark McDowall 1f0e71c68e Merge with Kayone. 2011-06-16 20:46:14 -07:00
Mark McDowall 3dbb38b54f MediaFileProvider moved to PetaPoco.
Season Grid now shows episodeFile quality.
2011-06-16 20:29:39 -07:00
kay.one 3cccb5858a Merge branch 'markus101'
Conflicts:
	NzbDrone.Core.Test/SeriesProviderTest.cs
	NzbDrone.Core/Providers/MediaFileProvider.cs
	NzbDrone.Core/Providers/SeriesProvider.cs
2011-06-16 19:48:24 -07:00
kay.one 190ce6b142 ConfigProvider now uses PetaPoco 2011-06-16 19:27:10 -07:00
Mark McDowall c3d4732baa Adding a root dir will not add it to the DB until after it is saved, also will not save if the path is blank. 2011-06-15 19:32:55 -07:00
Mark McDowall c8ae3de292 Upcoming view will no longer hit the DB with the same request so many times. 2011-06-14 08:14:33 -07:00
Mark McDowall 3572855c34 History view will no longer hit the DB with the same request so many times. 2011-06-14 08:07:48 -07:00
kay.one add780b431 Ninject is now forced to use proper constructor. 2011-06-13 18:23:04 -07:00
Mark McDowall ad89618f58 Directory controller will now swallow errors that would otherwise return invalid data to the client (forcing an annoying alert to the client), no results are returned when this happens. 2011-06-10 14:55:58 -07:00
Mark McDowall bda226096b Auto complete for paths added. Config text boxes are now wider. 2011-06-08 18:45:06 -07:00
Mark McDowall 54e7092e2d Added new helper to find the best file size format given a long with file size in bytes.
Added view under system to see which folders have not been processed in dropDir.
2011-06-07 23:15:35 -07:00
Mark McDowall c4163d1e0d SabDropDirectory is now editable on Settings/Sabnzbd 2011-06-07 00:08:37 -07:00
Mark McDowall 560706ae8f Fixed Renaming of episodes to include extension.
PostDownload Importing setup, need to setup job for period scan.
2011-06-06 23:29:07 -07:00
Mark McDowall 96670d0567 AddSeries/Index will show the RotoDirs Panel if no root dirs are in the DB. 2011-06-06 14:31:08 -07:00
Mark McDowall 4d3ba62e5d Episode renaming implemented on the Series/Details page. 2011-06-05 22:23:28 -07:00
Mark McDowall 381d67e56b Renamed image is in effect.
Series Detail by series will now store episodeFileId.
2011-06-05 15:19:07 -07:00
Mark McDowall 08b7b8c3e1 SeasonEditor moved to Gird Editor. 2011-06-04 22:23:50 -07:00
Mark McDowall 383dfe302f Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core/Providers/MediaFileProvider.cs
2011-06-04 11:47:35 -07:00
Mark McDowall 7291497ce0 Added search to Yesterday in Upcoming View. 2011-06-03 21:47:04 -07:00
kay.one d3be516fb2 removed Season/SeasonProvider, updated dbBenchmark tests. 2011-06-03 18:56:53 -07:00
Mark McDowall 90d9e7d41e Moved episodeCount logic to mediaFileProvider.
Episode count counts by 5 now, so it doesn't take forever.
2011-06-02 20:04:39 -07:00
Mark McDowall 467ed51432 AJax load episode count to keep initial loading time of Series Grid. 2011-06-02 00:23:38 -07:00
Mark McDowall 681353de3c Episode progress on Grid is now rounded. 2011-06-01 21:40:06 -07:00
Mark McDowall fdfd0a2153 Added Episodes of Episodes Total progress bar to Series Grid. 2011-06-01 20:36:30 -07:00
Mark McDowall 8d38f98338 Add Existing with Refresh button after modifying root dirs.
Renamed AddSeries/Add to AddSeries/Index
2011-05-31 13:50:19 -07:00
Mark McDowall f27c1d89f6 Moved root dir config to add series.
Cleaned up Indexers.cshtml.
Indexers is the new default Settings page.
2011-05-30 23:13:46 -07:00
Mark McDowall cd85964edd Fixed add new profile.
Removed DownloadPropers bool.
2011-05-29 15:44:05 -07:00
Mark McDowall 2788368f73 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-29 14:25:34 -07:00
Mark McDowall 803ad8ca91 Removed jQuery UI selectable, using custom select boxes now. Cutoff dropbox is dynamic (based on selected qualities). 2011-05-29 14:25:00 -07:00
Mark McDowall 556d5d9fb3 Quality Profile now uses jQuery UI Selectable instead of Sortable. 2011-05-29 01:59:25 -07:00
kay.one 18a20ff163 Some performance tweaks to speed up episode list view. 2011-05-28 23:58:24 -07:00
Mark McDowall 72e73b7513 All profiles (including the default ones) are now editable. 2011-05-28 21:07:11 -07:00
Mark McDowall 463881843e Combined AddNew and AddExisting Series pages.
Fixed AddNew Series
2011-05-28 00:16:16 -07:00
kay.one cbbb6e2b18 Oh hai search! 2011-05-26 23:03:57 -07:00
kay.one a6ad977114 Fixed import new series being stuck in a loop if an update failed
Seperated IndexerProviderTest from ProviderTests
Fixed some ToString() issues
Refactored IndexerBase/IndexerProvider
2011-05-26 19:12:28 -07:00
kay.one 500e9af6c3 Fixed a bug where reports weren't being added to history 2011-05-23 21:12:54 -07:00
kay.one 7b56711a4f Added episode status to episode grid 2011-05-22 10:29:10 -07:00
kay.one e4ff0d6471 Diskscan/Info update job refactoring and test 2011-05-20 17:23:49 -07:00
kay.one 53e6b60382 Renamed IndexerProviderBase to IndexerBase since its no longer a provider 2011-05-19 21:21:18 -07:00
kay.one 9c1ff4af6b initial stage of indexer refactoring. things compile. 2011-05-19 20:47:07 -07:00
kay.one 7330683a4a Merge branch 'markus101' 2011-05-18 21:01:49 -07:00
kay.one f89eff9305 some cleanup 2011-05-18 20:59:12 -07:00
kay.one 67d8bf4147 Removed indexertype property 2011-05-18 20:58:42 -07:00
kay.one 0e191f6a44 Added HealthController to web project for IIS Ping to use 2011-05-18 20:57:03 -07:00
Mark McDowall 0645a9e552 EpisodeSorting UI has descriptions, removed extra options.
Config for EpisodeSorting variables added.
2011-05-18 16:10:25 -07:00
Mark McDowall d6ae21506c Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-17 22:32:32 -07:00
Mark McDowall 7e44ee5020 Merge with Kayone's branch. 2011-05-17 22:32:23 -07:00
Mark McDowall 8e214029c9 Renamed Download settings to Sabnzbd settings.
Moved Download Propers to Quality settings.
Cleaned up Quality UI and enhanced it with some jQuery goodness. Mmmmm jQuery.
2011-05-17 20:39:26 -07:00
kay.one 45fde370d8 Removed post processor from solution 2011-05-17 20:10:39 -07:00
unknown 2f786bf424 JobProvider now fully works based on a queuing logic, which allows more than one job to be queued. (EasyButton included!) 2011-05-17 00:04:49 -07:00
Mark McDowall fdd6e37b24 Added NextScheduledRun to get the next scheduled run for a job, with a test. 2011-05-16 21:01:01 -07:00
unknown 8c372e938c fixed some settings value convert issues. would cause crash on clean installs. 2011-05-16 00:32:01 -07:00
Mark McDowall 9caacc4809 Added Season Monitored editor (linked from Season Count on Series Grid), It would be under AJAX Edit, but it won't play nice with lists.
Editor should support about 40 seasons without scrolling (TvDb doesn't list all seasons for large series)

Removed &pp=3 from SabProvider (it will use SAB's configured Post Processing value).
2011-05-15 23:27:02 -07:00
Mark McDowall 46e7c6f495 Added auto completion on General Settings for RootDir settings using jQuery UI. 2011-05-14 00:49:57 -07:00
Mark McDowall d65d79a5c9 Replaced save notifications for settings on page with AJAX Notifications. 2011-05-12 21:46:26 -07:00
Mark McDowall c5ea0dee17 Removed Edit page and Delete (w/o AJAX) from Series Controller.
Series grid now shows seasons count without counting season 0 (specials).
2011-05-11 22:21:48 -07:00
Mark McDowall d97382ad0c Added DeleteSeriesJob to remove series in BG.
Fixed SeriesUpdate Grid Edit to properly save SeasonFolder changes.
Added Delete to SeriesGrid.
2011-05-11 19:53:19 -07:00
Mark McDowall 49a059bdea AutoConfigure for SAB is setup, it works for systems with NzbDrone and SABnzbd on the same server only. 2011-05-10 23:46:26 -07:00
Mark McDowall 70bfc49b4e Series Grid AJAX'd.
Edit in popup for Series Grid using custom editing template.
2011-05-09 23:32:33 -07:00
Mark McDowall 5c1c8466c1 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-09 13:53:02 -07:00
Mark McDowall 11b96afd75 Merge conflicts resolved.
Added Language parsing.
2011-05-08 23:16:26 -07:00
kay.one 24c47801b3 system/config is now editable 2011-05-08 21:23:57 -07:00
kay.one cb4d0e2450 fixed blackhole config to be boolean 2011-05-08 20:31:01 -07:00