From e343f8e35eeac4d942218968b29326724e395332 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Thu, 23 Feb 2017 16:31:29 -0800 Subject: [PATCH] Removed old UI --- .gitignore | 2 +- build.sh | 6 +- gulp/build.js | 18 - gulp/clean.js | 8 - gulp/copy.js | 31 - gulp/errorHandler.js | 7 - gulp/gulpFile.js | 10 - gulp/handlebars.js | 55 - gulp/imageMin.js | 15 - gulp/less.js | 51 - gulp/paths.js | 21 - gulp/start.js | 112 - gulp/stripBom.js | 27 - gulp/watch.js | 19 - gulp/webpack.js | 13 - gulpFile.js | 8 +- src/UI/.idea/.name | 1 - src/UI/.idea/NzbDrone.UI.iml | 11 - src/UI/.idea/codeStyleSettings.xml | 59 - src/UI/.idea/dictionaries/Keivan.xml | 20 - src/UI/.idea/dictionaries/Keivan_Beigi.xml | 13 - src/UI/.idea/dictionaries/Mark.xml | 3 - src/UI/.idea/encodings.xml | 7 - .../inspectionProfiles/Project_Default.xml | 117 - .../inspectionProfiles/profiles_settings.xml | 7 - src/UI/.idea/jsLibraryMappings.xml | 8 - src/UI/.idea/jsLinters/jshint.xml | 72 - src/UI/.idea/jsLinters/jslint.xml | 13 - src/UI/.idea/misc.xml | 6 - src/UI/.idea/modules.xml | 8 - .../runConfigurations/Debug___Chrome.xml | 23 - .../runConfigurations/Debug___Firefox.xml | 23 - src/UI/.idea/scopes/NzbDrone.xml | 3 - src/UI/.idea/scopes/scope_settings.xml | 5 - src/UI/.idea/vcs.xml | 7 - src/UI/.jshintrc | 19 - src/UI/Activity/ActivityLayout.js | 84 - src/UI/Activity/ActivityLayoutTemplate.hbs | 11 - .../Blacklist/BlacklistActionsCell.js | 28 - .../Activity/Blacklist/BlacklistCollection.js | 47 - src/UI/Activity/Blacklist/BlacklistLayout.js | 114 - .../Blacklist/BlacklistLayoutTemplate.hbs | 11 - src/UI/Activity/Blacklist/BlacklistModel.js | 17 - .../Details/BlacklistDetailsLayout.js | 14 - .../BlacklistDetailsLayoutTemplate.hbs | 18 - .../Blacklist/Details/BlacklistDetailsView.js | 5 - .../Details/BlacklistDetailsViewTemplate.hbs | 23 - .../History/Details/HistoryDetailsAge.js | 22 - .../History/Details/HistoryDetailsLayout.js | 35 - .../Details/HistoryDetailsLayoutTemplate.hbs | 23 - .../History/Details/HistoryDetailsView.js | 6 - .../Details/HistoryDetailsViewTemplate.hbs | 122 - src/UI/Activity/History/HistoryCollection.js | 87 - src/UI/Activity/History/HistoryDetailsCell.js | 21 - src/UI/Activity/History/HistoryLayout.js | 161 - .../History/HistoryLayoutTemplate.hbs | 11 - src/UI/Activity/History/HistoryModel.js | 12 - src/UI/Activity/History/HistoryQualityCell.js | 30 - src/UI/Activity/Queue/ProgressCell.js | 23 - src/UI/Activity/Queue/QueueActionsCell.js | 60 - .../Queue/QueueActionsCellTemplate.hbs | 19 - src/UI/Activity/Queue/QueueCollection.js | 87 - src/UI/Activity/Queue/QueueLayout.js | 97 - src/UI/Activity/Queue/QueueLayoutTemplate.hbs | 11 - src/UI/Activity/Queue/QueueModel.js | 12 - src/UI/Activity/Queue/QueueStatusCell.js | 91 - .../Queue/QueueStatusCellTemplate.hbs | 8 - src/UI/Activity/Queue/QueueView.js | 40 - src/UI/Activity/Queue/RemoveFromQueueView.js | 34 - .../Queue/RemoveFromQueueViewTemplate.hbs | 49 - src/UI/Activity/Queue/TimeleftCell.js | 48 - src/UI/Activity/activity.less | 27 - src/UI/AddSeries/AddSeriesCollection.js | 22 - src/UI/AddSeries/AddSeriesLayout.js | 53 - src/UI/AddSeries/AddSeriesLayoutTemplate.hbs | 17 - src/UI/AddSeries/AddSeriesView.js | 182 - src/UI/AddSeries/AddSeriesViewTemplate.hbs | 24 - src/UI/AddSeries/EmptyView.js | 5 - src/UI/AddSeries/EmptyViewTemplate.hbs | 3 - src/UI/AddSeries/ErrorView.js | 13 - src/UI/AddSeries/ErrorViewTemplate.hbs | 7 - .../AddExistingSeriesCollectionView.js | 51 - ...ddExistingSeriesCollectionViewTemplate.hbs | 5 - .../Existing/UnmappedFolderCollection.js | 20 - .../AddSeries/Existing/UnmappedFolderModel.js | 3 - .../AddSeries/MonitoringTooltipTemplate.hbs | 18 - src/UI/AddSeries/NotFoundView.js | 13 - src/UI/AddSeries/NotFoundViewTemplate.hbs | 7 - .../RootFolders/RootFolderCollection.js | 10 - .../RootFolders/RootFolderCollectionView.js | 8 - .../RootFolderCollectionViewTemplate.hbs | 13 - .../RootFolders/RootFolderItemView.js | 28 - .../RootFolderItemViewTemplate.hbs | 9 - .../AddSeries/RootFolders/RootFolderLayout.js | 80 - .../RootFolders/RootFolderLayoutTemplate.hbs | 36 - .../AddSeries/RootFolders/RootFolderModel.js | 8 - .../RootFolderSelectionPartial.hbs | 11 - .../AddSeries/SearchResultCollectionView.js | 29 - src/UI/AddSeries/SearchResultView.js | 288 - src/UI/AddSeries/SearchResultViewTemplate.hbs | 109 - .../AddSeries/SeriesTypeSelectionPartial.hbs | 5 - .../StartingSeasonSelectionPartial.hbs | 13 - src/UI/AddSeries/addSeries.less | 173 - src/UI/AppLayout.js | 20 - src/UI/Calendar/CalendarCollection.js | 14 - src/UI/Calendar/CalendarFeedView.js | 60 - src/UI/Calendar/CalendarFeedViewTemplate.hbs | 93 - src/UI/Calendar/CalendarLayout.js | 96 - src/UI/Calendar/CalendarLayoutTemplate.hbs | 23 - src/UI/Calendar/CalendarView.js | 284 - src/UI/Calendar/UpcomingCollection.js | 28 - src/UI/Calendar/UpcomingCollectionView.js | 34 - src/UI/Calendar/UpcomingItemView.js | 28 - src/UI/Calendar/UpcomingItemViewTemplate.hbs | 18 - src/UI/Calendar/calendar.less | 254 - src/UI/Cells/ApprovalStatusCell.js | 33 - src/UI/Cells/ApprovalStatusCellTemplate.hbs | 11 - src/UI/Cells/DeleteEpisodeFileCell.js | 27 - src/UI/Cells/Edit/QualityCellEditor.js | 74 - .../Cells/Edit/QualityCellEditorTemplate.hbs | 9 - src/UI/Cells/EpisodeActionsCell.js | 44 - src/UI/Cells/EpisodeFilePathCell.js | 19 - src/UI/Cells/EpisodeMonitoredCell.js | 57 - src/UI/Cells/EpisodeNumberCell.js | 71 - src/UI/Cells/EpisodeProgressCell.js | 28 - src/UI/Cells/EpisodeProgressCellTemplate.hbs | 1 - src/UI/Cells/EpisodeStatusCell.js | 127 - src/UI/Cells/EpisodeTitleCell.js | 29 - src/UI/Cells/EventTypeCell.js | 48 - src/UI/Cells/FileSizeCell.js | 13 - src/UI/Cells/IndexerCell.js | 11 - src/UI/Cells/NzbDroneCell.js | 61 - src/UI/Cells/ProfileCell.js | 29 - src/UI/Cells/QualityCell.js | 8 - src/UI/Cells/QualityCellTemplate.hbs | 5 - src/UI/Cells/RelativeDateCell.js | 34 - src/UI/Cells/RelativeTimeCell.js | 30 - src/UI/Cells/ReleaseTitleCell.js | 20 - src/UI/Cells/SeasonFolderCell.js | 14 - src/UI/Cells/SelectAllCell.js | 45 - src/UI/Cells/SeriesActionsCell.js | 45 - src/UI/Cells/SeriesStatusCell.js | 32 - src/UI/Cells/SeriesTitleCell.js | 6 - src/UI/Cells/SeriesTitleTemplate.hbs | 1 - src/UI/Cells/TemplatedCell.js | 21 - src/UI/Cells/ToggleCell.js | 48 - src/UI/Cells/cells.less | 253 - src/UI/Commands/CommandCollection.js | 20 - src/UI/Commands/CommandController.js | 94 - .../CommandMessengerCollectionView.js | 11 - src/UI/Commands/CommandMessengerItemView.js | 45 - src/UI/Commands/CommandModel.js | 50 - src/UI/Config.js | 69 - src/UI/Content/Backgrid/backgrid.less | 3 - src/UI/Content/Backgrid/filter.less | 11 - src/UI/Content/Backgrid/paginator.less | 66 - src/UI/Content/Backgrid/selectall.less | 12 - src/UI/Content/Bootstrap/.csscomb.json | 304 - src/UI/Content/Bootstrap/.csslintrc | 19 - src/UI/Content/Bootstrap/alerts.less | 73 - src/UI/Content/Bootstrap/badges.less | 66 - src/UI/Content/Bootstrap/bootstrap.less | 56 - src/UI/Content/Bootstrap/breadcrumbs.less | 26 - src/UI/Content/Bootstrap/button-groups.less | 244 - src/UI/Content/Bootstrap/buttons.less | 166 - src/UI/Content/Bootstrap/carousel.less | 269 - src/UI/Content/Bootstrap/close.less | 34 - src/UI/Content/Bootstrap/code.less | 69 - .../Bootstrap/component-animations.less | 33 - src/UI/Content/Bootstrap/dropdowns.less | 216 - src/UI/Content/Bootstrap/forms.less | 607 - src/UI/Content/Bootstrap/glyphicons.less | 305 - src/UI/Content/Bootstrap/grid.less | 84 - src/UI/Content/Bootstrap/input-groups.less | 167 - src/UI/Content/Bootstrap/jumbotron.less | 52 - src/UI/Content/Bootstrap/labels.less | 64 - src/UI/Content/Bootstrap/list-group.less | 130 - src/UI/Content/Bootstrap/media.less | 66 - src/UI/Content/Bootstrap/mixins.less | 40 - src/UI/Content/Bootstrap/mixins/alerts.less | 14 - .../Bootstrap/mixins/background-variant.less | 9 - .../Bootstrap/mixins/border-radius.less | 18 - src/UI/Content/Bootstrap/mixins/buttons.less | 68 - .../Bootstrap/mixins/center-block.less | 7 - src/UI/Content/Bootstrap/mixins/clearfix.less | 22 - src/UI/Content/Bootstrap/mixins/forms.less | 85 - .../Content/Bootstrap/mixins/gradients.less | 59 - .../Bootstrap/mixins/grid-framework.less | 91 - src/UI/Content/Bootstrap/mixins/grid.less | 122 - .../Content/Bootstrap/mixins/hide-text.less | 21 - src/UI/Content/Bootstrap/mixins/image.less | 33 - src/UI/Content/Bootstrap/mixins/labels.less | 12 - .../Content/Bootstrap/mixins/list-group.less | 30 - .../Content/Bootstrap/mixins/nav-divider.less | 10 - .../Bootstrap/mixins/nav-vertical-align.less | 9 - src/UI/Content/Bootstrap/mixins/opacity.less | 8 - .../Content/Bootstrap/mixins/pagination.less | 24 - src/UI/Content/Bootstrap/mixins/panels.less | 24 - .../Bootstrap/mixins/progress-bar.less | 10 - .../Bootstrap/mixins/reset-filter.less | 8 - .../Content/Bootstrap/mixins/reset-text.less | 18 - src/UI/Content/Bootstrap/mixins/resize.less | 6 - .../mixins/responsive-visibility.less | 15 - src/UI/Content/Bootstrap/mixins/size.less | 10 - .../Content/Bootstrap/mixins/tab-focus.less | 9 - .../Content/Bootstrap/mixins/table-row.less | 28 - .../Bootstrap/mixins/text-emphasis.less | 9 - .../Bootstrap/mixins/text-overflow.less | 8 - .../Bootstrap/mixins/vendor-prefixes.less | 227 - src/UI/Content/Bootstrap/modals.less | 150 - src/UI/Content/Bootstrap/navbar.less | 660 - src/UI/Content/Bootstrap/navs.less | 242 - src/UI/Content/Bootstrap/normalize.less | 424 - src/UI/Content/Bootstrap/pager.less | 54 - src/UI/Content/Bootstrap/pagination.less | 89 - src/UI/Content/Bootstrap/panels.less | 271 - src/UI/Content/Bootstrap/popovers.less | 131 - src/UI/Content/Bootstrap/print.less | 101 - src/UI/Content/Bootstrap/progress-bars.less | 87 - .../Content/Bootstrap/responsive-embed.less | 35 - .../Bootstrap/responsive-utilities.less | 194 - src/UI/Content/Bootstrap/scaffolding.less | 161 - src/UI/Content/Bootstrap/tables.less | 234 - src/UI/Content/Bootstrap/theme.less | 291 - src/UI/Content/Bootstrap/thumbnails.less | 36 - src/UI/Content/Bootstrap/tooltip.less | 101 - src/UI/Content/Bootstrap/type.less | 302 - src/UI/Content/Bootstrap/utilities.less | 55 - src/UI/Content/Bootstrap/variables.less | 867 -- src/UI/Content/Bootstrap/wells.less | 29 - src/UI/Content/FontAwesome/FontAwesome.otf | Bin 93888 -> 0 bytes src/UI/Content/FontAwesome/animated.less | 34 - .../Content/FontAwesome/bordered-pulled.less | 16 - src/UI/Content/FontAwesome/core.less | 13 - src/UI/Content/FontAwesome/fixed-width.less | 6 - src/UI/Content/FontAwesome/font-awesome.less | 17 - .../FontAwesome/fontawesome-webfont.eot | Bin 60767 -> 0 bytes .../FontAwesome/fontawesome-webfont.svg | 565 - .../FontAwesome/fontawesome-webfont.ttf | Bin 122092 -> 0 bytes .../FontAwesome/fontawesome-webfont.woff | Bin 71508 -> 0 bytes .../FontAwesome/fontawesome-webfont.woff2 | Bin 56780 -> 0 bytes src/UI/Content/FontAwesome/icons.less | 596 - src/UI/Content/FontAwesome/larger.less | 13 - src/UI/Content/FontAwesome/list.less | 19 - src/UI/Content/FontAwesome/mixins.less | 27 - src/UI/Content/FontAwesome/path.less | 15 - .../Content/FontAwesome/rotated-flipped.less | 20 - src/UI/Content/FontAwesome/stacked.less | 20 - src/UI/Content/FontAwesome/variables.less | 606 - src/UI/Content/Images/404.png | Bin 103643 -> 0 bytes src/UI/Content/Images/background/logo.png | Bin 24530 -> 0 bytes src/UI/Content/Images/favicon-debug.ico | Bin 16958 -> 0 bytes src/UI/Content/Images/favicon.ico | Bin 16958 -> 0 bytes src/UI/Content/Images/logos/128.png | Bin 3452 -> 0 bytes src/UI/Content/Images/logos/32.png | Bin 1015 -> 0 bytes src/UI/Content/Images/logos/48.png | Bin 1396 -> 0 bytes src/UI/Content/Images/logos/64.png | Bin 1778 -> 0 bytes src/UI/Content/Images/poster-dark.png | Bin 2553 -> 0 bytes src/UI/Content/Images/safari/logo.svg | 1 - src/UI/Content/Images/touch/114.png | Bin 3058 -> 0 bytes src/UI/Content/Images/touch/144.png | Bin 3855 -> 0 bytes src/UI/Content/Images/touch/57.png | Bin 1655 -> 0 bytes src/UI/Content/Images/touch/72.png | Bin 1937 -> 0 bytes src/UI/Content/Messenger/messenger.css | 101 - src/UI/Content/Messenger/messenger.flat.css | 462 - src/UI/Content/Overrides/bootstrap.less | 82 - .../Overrides/bootstrap.tagsinput.less | 35 - .../Overrides/bootstrap.toggle-switch.less | 33 - src/UI/Content/Overrides/browser.less | 17 - src/UI/Content/Overrides/fullcalendar.less | 49 - src/UI/Content/Overrides/messenger.less | 23 - src/UI/Content/badges.less | 37 - src/UI/Content/bootstrap.less | 3 - src/UI/Content/bootstrap.tagsinput.less | 50 - src/UI/Content/bootstrap.toggle-switch.css | 228 - src/UI/Content/checkbox-button.less | 33 - src/UI/Content/font.less | 47 - src/UI/Content/fonts/UbuntuMono-Regular.ttf | Bin 205748 -> 0 bytes src/UI/Content/fonts/opensans-light.eot | Bin 19762 -> 0 bytes src/UI/Content/fonts/opensans-light.ttf | Bin 222412 -> 0 bytes src/UI/Content/fonts/opensans-light.woff | Bin 22656 -> 0 bytes src/UI/Content/fonts/opensans-regular.eot | Bin 19216 -> 0 bytes src/UI/Content/fonts/opensans-regular.ttf | Bin 217360 -> 0 bytes src/UI/Content/fonts/opensans-regular.woff | Bin 21956 -> 0 bytes src/UI/Content/fonts/opensans-semibold.eot | Bin 19716 -> 0 bytes src/UI/Content/fonts/opensans-semibold.ttf | Bin 221328 -> 0 bytes src/UI/Content/fonts/opensans-semibold.woff | Bin 22604 -> 0 bytes src/UI/Content/fonts/ubuntumono-regular.eot | Bin 23691 -> 0 bytes src/UI/Content/fonts/ubuntumono-regular.woff | Bin 27392 -> 0 bytes src/UI/Content/form.less | 145 - src/UI/Content/fullcalendar.css | 1069 -- src/UI/Content/icons.less | 510 - src/UI/Content/legend.less | 32 - src/UI/Content/mixins.less | 21 - src/UI/Content/navbar.less | 235 - src/UI/Content/overrides.less | 6 - src/UI/Content/prefixer.less | 344 - src/UI/Content/progress-bars.less | 39 - src/UI/Content/robots.txt | 2 - src/UI/Content/spinner.less | 130 - src/UI/Content/theme.less | 306 - src/UI/Content/typeahead.less | 152 - src/UI/Content/utilities.less | 19 - src/UI/Content/variables.less | 13 - src/UI/Content/zero.clipboard.swf | Bin 6580 -> 0 bytes src/UI/Controller.js | 59 - src/UI/Episode/EpisodeDetailsLayout.js | 130 - .../Episode/EpisodeDetailsLayoutTemplate.hbs | 35 - .../History/EpisodeHistoryActionsCell.js | 35 - .../History/EpisodeHistoryDetailsCell.js | 28 - .../Episode/History/EpisodeHistoryLayout.js | 84 - .../History/EpisodeHistoryLayoutTemplate.hbs | 1 - src/UI/Episode/History/NoHistoryView.js | 5 - .../Episode/History/NoHistoryViewTemplate.hbs | 3 - src/UI/Episode/Search/ButtonsView.js | 5 - src/UI/Episode/Search/ButtonsViewTemplate.hbs | 4 - src/UI/Episode/Search/EpisodeSearchLayout.js | 82 - .../Search/EpisodeSearchLayoutTemplate.hbs | 1 - src/UI/Episode/Search/ManualLayout.js | 86 - .../Episode/Search/ManualLayoutTemplate.hbs | 2 - src/UI/Episode/Search/NoResultsView.js | 5 - .../Episode/Search/NoResultsViewTemplate.hbs | 1 - .../Episode/Summary/EpisodeSummaryLayout.js | 119 - .../Summary/EpisodeSummaryLayoutTemplate.hbs | 14 - src/UI/Episode/Summary/NoFileView.js | 5 - src/UI/Episode/Summary/NoFileViewTemplate.hbs | 3 - src/UI/EpisodeFile/Editor/EmptyView.js | 5 - .../EpisodeFile/Editor/EmptyViewTemplate.hbs | 5 - .../Editor/EpisodeFileEditorLayout.js | 200 - .../EpisodeFileEditorLayoutTemplate.hbs | 28 - .../EpisodeFile/Editor/QualitySelectView.js | 35 - .../Editor/QualitySelectViewTemplate.hbs | 10 - src/UI/Form/ActionTemplate.hbs | 7 - src/UI/Form/CaptchaTemplate.hbs | 15 - src/UI/Form/CheckboxTemplate.hbs | 23 - src/UI/Form/FormBuilder.js | 66 - src/UI/Form/FormHelpPartial.hbs | 8 - src/UI/Form/FormMessage.js | 17 - src/UI/Form/HiddenTemplate.hbs | 1 - src/UI/Form/PasswordTemplate.hbs | 8 - src/UI/Form/PathTemplate.hbs | 8 - src/UI/Form/SelectTemplate.hbs | 12 - src/UI/Form/TagTemplate.hbs | 9 - src/UI/Form/TextboxTemplate.hbs | 9 - src/UI/Form/UrlTemplate.hbs | 8 - src/UI/Handlebars/Handlebars.Debug.js | 7 - src/UI/Handlebars/Helpers/DateTime.js | 90 - src/UI/Handlebars/Helpers/EachReverse.js | 16 - src/UI/Handlebars/Helpers/Enumerable.js | 21 - src/UI/Handlebars/Helpers/Episode.js | 66 - src/UI/Handlebars/Helpers/Html.js | 40 - src/UI/Handlebars/Helpers/Numbers.js | 14 - src/UI/Handlebars/Helpers/Quality.js | 12 - src/UI/Handlebars/Helpers/Series.js | 84 - src/UI/Handlebars/Helpers/String.js | 7 - src/UI/Handlebars/Helpers/System.js | 18 - .../backbone.marionette.templates.js | 36 - src/UI/Health/HealthCollection.js | 13 - src/UI/Health/HealthModel.js | 3 - src/UI/Health/HealthView.js | 37 - src/UI/Hotkeys/Hotkeys.js | 34 - src/UI/Hotkeys/HotkeysView.js | 6 - src/UI/Hotkeys/HotkeysViewTemplate.hbs | 45 - src/UI/Hotkeys/hotkeys.less | 23 - src/UI/Instrumentation/ErrorHandler.js | 86 - src/UI/Instrumentation/StringFormat.js | 13 - src/UI/JsLibraries/backbone.backgrid.js | 2764 ---- .../backbone.backgrid.paginator.js | 352 - .../backbone.backgrid.selectall.js | 243 - src/UI/JsLibraries/backbone.collectionview.js | 1072 -- src/UI/JsLibraries/backbone.deep.model.js | 437 - src/UI/JsLibraries/backbone.js | 1571 --- src/UI/JsLibraries/backbone.marionette.js | 2329 ---- src/UI/JsLibraries/backbone.modelbinder.js | 576 - src/UI/JsLibraries/backbone.pageable.js | 1345 -- src/UI/JsLibraries/backbone.validation.js | 606 - src/UI/JsLibraries/backbone.wreqr.js | 276 - src/UI/JsLibraries/bootstrap.js | 2363 ---- src/UI/JsLibraries/bootstrap.tagsinput.js | 617 - src/UI/JsLibraries/filesize.js | 141 - src/UI/JsLibraries/fullcalendar.js | 10879 ---------------- src/UI/JsLibraries/handlebars.helpers.js | 145 - src/UI/JsLibraries/handlebars.runtime.js | 660 - src/UI/JsLibraries/jdu.js | 302 - src/UI/JsLibraries/jquery-ui.js | 4233 ------ src/UI/JsLibraries/jquery.backstretch.js | 377 - src/UI/JsLibraries/jquery.dotdotdot.js | 632 - src/UI/JsLibraries/jquery.easypiechart.js | 357 - src/UI/JsLibraries/jquery.js | 10351 --------------- src/UI/JsLibraries/jquery.knob.js | 672 - src/UI/JsLibraries/jquery.signalR.js | 2193 ---- src/UI/JsLibraries/locale/placeholder.txt | 1 - src/UI/JsLibraries/lodash.underscore.js | 4619 ------- src/UI/JsLibraries/messenger.js | 1263 -- src/UI/JsLibraries/moment.js | 3111 ----- src/UI/JsLibraries/typeahead.js | 1716 --- src/UI/JsLibraries/zero.clipboard.js | 2581 ---- src/UI/LifeCycle.js | 3 - src/UI/ManualImport/Cells/EpisodesCell.js | 46 - src/UI/ManualImport/Cells/PathCell.js | 16 - src/UI/ManualImport/Cells/QualityCell.js | 23 - src/UI/ManualImport/Cells/SeasonCell.js | 47 - src/UI/ManualImport/Cells/SeriesCell.js | 45 - src/UI/ManualImport/EmptyView.js | 5 - src/UI/ManualImport/EmptyViewTemplate.hbs | 1 - .../Episode/SelectEpisodeLayout.js | 81 - .../Episode/SelectEpisodeLayoutTemplate.hbs | 21 - .../ManualImport/Episode/SelectEpisodeRow.js | 20 - src/UI/ManualImport/ErrorView.js | 5 - src/UI/ManualImport/ErrorViewTemplate.hbs | 1 - .../ManualImport/Folder/SelectFolderView.js | 84 - .../Folder/SelectFolderViewTemplate.hbs | 43 - src/UI/ManualImport/ManualImportCollection.js | 80 - src/UI/ManualImport/ManualImportLayout.js | 264 - .../ManualImportLayoutTemplate.hbs | 26 - src/UI/ManualImport/ManualImportModel.js | 4 - src/UI/ManualImport/ManualImportRow.js | 41 - .../Quality/SelectQualityLayout.js | 43 - .../Quality/SelectQualityLayoutTemplate.hbs | 19 - .../ManualImport/Quality/SelectQualityView.js | 37 - .../Quality/SelectQualityViewTemplate.hbs | 33 - .../ManualImport/Season/SelectSeasonLayout.js | 28 - .../Season/SelectSeasonLayoutTemplate.hbs | 29 - .../ManualImport/Series/SelectSeriesLayout.js | 101 - .../Series/SelectSeriesLayoutTemplate.hbs | 30 - src/UI/ManualImport/Series/SelectSeriesRow.js | 13 - .../Summary/ManualImportSummaryView.js | 20 - .../ManualImportSummaryViewTemplate.hbs | 19 - src/UI/ManualImport/manualimport.less | 63 - src/UI/Mixins/AsChangeTrackingModel.js | 22 - src/UI/Mixins/AsEditModalView.js | 114 - src/UI/Mixins/AsFilteredCollection.js | 79 - src/UI/Mixins/AsModelBoundView.js | 46 - src/UI/Mixins/AsNamedView.js | 31 - src/UI/Mixins/AsPageableCollection.js | 45 - src/UI/Mixins/AsPersistedStateCollection.js | 72 - src/UI/Mixins/AsSortedCollection.js | 130 - src/UI/Mixins/AsSortedCollectionView.js | 24 - src/UI/Mixins/AsValidatedView.js | 93 - src/UI/Mixins/AutoComplete.js | 51 - src/UI/Mixins/CopyToClipboard.js | 22 - src/UI/Mixins/DirectoryAutoComplete.js | 29 - src/UI/Mixins/FileBrowser.js | 32 - src/UI/Mixins/TagInput.js | 156 - src/UI/Mixins/backbone.signalr.mixin.js | 46 - src/UI/Navbar/NavbarLayout.js | 63 - src/UI/Navbar/NavbarLayoutTemplate.hbs | 44 - src/UI/Navbar/Search.js | 42 - src/UI/Profile/ProfileCollection.js | 13 - src/UI/Profile/ProfileModel.js | 9 - src/UI/Profile/ProfileSelectionPartial.hbs | 5 - src/UI/Quality/QualityDefinitionCollection.js | 7 - src/UI/Quality/QualityDefinitionModel.js | 14 - src/UI/Release/AgeCell.js | 33 - src/UI/Release/DownloadReportCell.js | 49 - src/UI/Release/PeersCell.js | 40 - src/UI/Release/ProtocolCell.js | 24 - src/UI/Release/ReleaseCollection.js | 56 - src/UI/Release/ReleaseLayout.js | 78 - src/UI/Release/ReleaseLayoutTemplate.hbs | 7 - src/UI/Release/ReleaseModel.js | 3 - src/UI/Rename/RenamePreviewCollection.js | 34 - src/UI/Rename/RenamePreviewCollectionView.js | 6 - .../RenamePreviewEmptyCollectionView.js | 6 - ...namePreviewEmptyCollectionViewTemplate.hbs | 3 - src/UI/Rename/RenamePreviewFormatView.js | 21 - .../RenamePreviewFormatViewTemplate.hbs | 3 - src/UI/Rename/RenamePreviewItemView.js | 39 - .../Rename/RenamePreviewItemViewTemplate.hbs | 20 - src/UI/Rename/RenamePreviewLayout.js | 124 - src/UI/Rename/RenamePreviewLayoutTemplate.hbs | 34 - src/UI/Rename/RenamePreviewModel.js | 3 - src/UI/Rename/rename.less | 42 - src/UI/Router.js | 25 - src/UI/SeasonPass/SeasonPassFooterView.js | 139 - .../SeasonPassFooterViewTemplate.hbs | 36 - src/UI/SeasonPass/SeasonPassLayout.js | 152 - .../SeasonPass/SeasonPassLayoutTemplate.hbs | 13 - src/UI/SeasonPass/SeasonsCell.js | 26 - src/UI/SeasonPass/SeasonsCellTemplate.hbs | 37 - src/UI/SeasonPass/seasonpass.less | 54 - src/UI/Series/Delete/DeleteSeriesTemplate.hbs | 50 - src/UI/Series/Delete/DeleteSeriesView.js | 41 - src/UI/Series/Details/EpisodeNumberCell.js | 47 - .../Details/EpisodeNumberCellTemplate.hbs | 39 - src/UI/Series/Details/EpisodeWarningCell.js | 21 - src/UI/Series/Details/InfoView.js | 18 - src/UI/Series/Details/InfoViewTemplate.hbs | 69 - src/UI/Series/Details/SeasonCollectionView.js | 44 - src/UI/Series/Details/SeasonLayout.js | 301 - .../Series/Details/SeasonLayoutTemplate.hbs | 50 - src/UI/Series/Details/SeriesDetailsLayout.js | 258 - .../Series/Details/SeriesDetailsTemplate.hbs | 35 - src/UI/Series/Edit/EditSeriesView.js | 54 - src/UI/Series/Edit/EditSeriesViewTemplate.hbs | 104 - .../Editor/Organize/OrganizeFilesView.js | 33 - .../Organize/OrganizeFilesViewTemplate.hbs | 25 - .../Series/Editor/SeriesEditorFooterView.js | 126 - .../Editor/SeriesEditorFooterViewTemplate.hbs | 54 - src/UI/Series/Editor/SeriesEditorLayout.js | 184 - .../Editor/SeriesEditorLayoutTemplate.hbs | 7 - src/UI/Series/EpisodeCollection.js | 62 - src/UI/Series/EpisodeFileCollection.js | 28 - src/UI/Series/EpisodeFileModel.js | 3 - src/UI/Series/EpisodeModel.js | 20 - src/UI/Series/Index/EmptyTemplate.hbs | 16 - src/UI/Series/Index/EmptyView.js | 5 - .../Series/Index/EpisodeProgressPartial.hbs | 4 - src/UI/Series/Index/FooterModel.js | 4 - src/UI/Series/Index/FooterView.js | 5 - src/UI/Series/Index/FooterViewTemplate.hbs | 46 - .../Overview/SeriesOverviewCollectionView.js | 8 - .../SeriesOverviewCollectionViewTemplate.hbs | 1 - .../Index/Overview/SeriesOverviewItemView.js | 7 - .../SeriesOverviewItemViewTemplate.hbs | 56 - .../Posters/SeriesPostersCollectionView.js | 8 - .../SeriesPostersCollectionViewTemplate.hbs | 1 - .../Index/Posters/SeriesPostersItemView.js | 19 - .../Posters/SeriesPostersItemViewTemplate.hbs | 30 - src/UI/Series/Index/SeriesIndexItemView.js | 35 - src/UI/Series/Index/SeriesIndexLayout.js | 354 - .../Index/SeriesIndexLayoutTemplate.hbs | 12 - src/UI/Series/SeasonCollection.js | 10 - src/UI/Series/SeasonModel.js | 11 - src/UI/Series/SeriesCollection.js | 121 - src/UI/Series/SeriesController.js | 34 - src/UI/Series/SeriesModel.js | 31 - src/UI/Series/series.less | 471 - .../Add/DownloadClientAddCollectionView.js | 9 - ...ownloadClientAddCollectionViewTemplate.hbs | 14 - .../Add/DownloadClientAddItemView.js | 58 - .../Add/DownloadClientAddItemViewTemplate.hbs | 30 - .../Add/DownloadClientSchemaModal.js | 39 - .../Delete/DownloadClientDeleteView.js | 19 - .../DownloadClientDeleteViewTemplate.hbs | 13 - .../DownloadClientCollection.js | 25 - .../DownloadClientCollectionView.js | 25 - .../DownloadClientCollectionViewTemplate.hbs | 16 - .../DownloadClient/DownloadClientItemView.js | 24 - .../DownloadClientItemViewTemplate.hbs | 13 - .../DownloadClient/DownloadClientLayout.js | 32 - .../DownloadClientLayoutTemplate.hbs | 6 - .../DownloadClient/DownloadClientModel.js | 3 - .../DownloadClientSettingsModel.js | 7 - .../DownloadHandling/DownloadHandlingView.js | 50 - .../DownloadHandlingViewTemplate.hbs | 93 - .../DroneFactory/DroneFactoryView.js | 21 - .../DroneFactory/DroneFactoryViewTemplate.hbs | 34 - .../Edit/DownloadClientEditView.js | 56 - .../Edit/DownloadClientEditViewTemplate.hbs | 68 - .../RemotePathMappingCollection.js | 7 - .../RemotePathMappingCollectionView.js | 28 - ...emotePathMappingCollectionViewTemplate.hbs | 24 - .../RemotePathMappingDeleteView.js | 19 - .../RemotePathMappingDeleteViewTemplate.hbs | 13 - .../RemotePathMappingEditView.js | 45 - .../RemotePathMappingEditViewTemplate.hbs | 63 - .../RemotePathMappingItemView.js | 25 - .../RemotePathMappingItemViewTemplate.hbs | 12 - .../RemotePathMappingModel.js | 4 - .../DownloadClient/downloadclient.less | 33 - .../Settings/General/GeneralSettingsModel.js | 7 - src/UI/Settings/General/GeneralView.js | 136 - .../Settings/General/GeneralViewTemplate.hbs | 382 - .../Indexers/Add/IndexerAddCollectionView.js | 9 - .../Add/IndexerAddCollectionViewTemplate.hbs | 18 - .../Indexers/Add/IndexerAddItemView.js | 52 - .../Add/IndexerAddItemViewTemplate.hbs | 30 - .../Indexers/Add/IndexerSchemaModal.js | 39 - .../Indexers/Delete/IndexerDeleteView.js | 19 - .../Delete/IndexerDeleteViewTemplate.hbs | 13 - .../Settings/Indexers/Edit/IndexerEditView.js | 122 - .../Indexers/Edit/IndexerEditViewTemplate.hbs | 92 - src/UI/Settings/Indexers/IndexerCollection.js | 25 - .../Indexers/IndexerCollectionView.js | 25 - .../IndexerCollectionViewTemplate.hbs | 16 - src/UI/Settings/Indexers/IndexerItemView.js | 24 - .../Indexers/IndexerItemViewTemplate.hbs | 27 - src/UI/Settings/Indexers/IndexerLayout.js | 30 - .../Indexers/IndexerLayoutTemplate.hbs | 5 - src/UI/Settings/Indexers/IndexerModel.js | 3 - .../Settings/Indexers/IndexerSettingsModel.js | 7 - .../Indexers/Options/IndexerOptionsView.js | 12 - .../Options/IndexerOptionsViewTemplate.hbs | 61 - .../Restriction/RestrictionCollection.js | 7 - .../Restriction/RestrictionCollectionView.js | 26 - .../RestrictionCollectionViewTemplate.hbs | 24 - .../Restriction/RestrictionDeleteView.js | 19 - .../RestrictionDeleteViewTemplate.hbs | 13 - .../Restriction/RestrictionEditView.js | 55 - .../RestrictionEditViewTemplate.hbs | 60 - .../Restriction/RestrictionItemView.js | 28 - .../RestrictionItemViewTemplate.hbs | 12 - .../Indexers/Restriction/RestrictionModel.js | 4 - src/UI/Settings/Indexers/indexers.less | 33 - .../FileManagement/FileManagementView.js | 23 - .../FileManagementViewTemplate.hbs | 98 - .../MediaManagement/MediaManagementLayout.js | 28 - .../MediaManagementLayoutTemplate.hbs | 6 - .../MediaManagementSettingsModel.js | 7 - .../Naming/Basic/BasicNamingModel.js | 3 - .../Naming/Basic/BasicNamingView.js | 118 - .../Naming/Basic/BasicNamingViewTemplate.hbs | 102 - .../MediaManagement/Naming/NamingModel.js | 7 - .../Naming/NamingSampleModel.js | 3 - .../MediaManagement/Naming/NamingView.js | 85 - .../Naming/NamingViewTemplate.hbs | 262 - .../Partials/AbsoluteEpisodeNamingPartial.hbs | 8 - .../Naming/Partials/AirDateNamingPartial.hbs | 9 - .../Naming/Partials/EpisodeNamingPartial.hbs | 7 - .../Partials/EpisodeTitleNamingPartial.hbs | 11 - .../Partials/MediaInfoNamingPartial.hbs | 11 - .../Partials/OriginalTitleNamingPartial.hbs | 1 - .../Naming/Partials/QualityNamingPartial.hbs | 11 - .../Partials/ReleaseGroupNamingPartial.hbs | 8 - .../Naming/Partials/SeasonNamingPartial.hbs | 7 - .../Partials/SeparatorNamingPartial.hbs | 10 - .../Partials/SeriesTitleNamingPartial.hbs | 12 - .../Permissions/PermissionsView.js | 11 - .../Permissions/PermissionsViewTemplate.hbs | 74 - .../MediaManagement/Sorting/SortingView.js | 39 - .../Sorting/SortingViewTemplate.hbs | 138 - .../Settings/Metadata/MetadataCollection.js | 7 - .../Metadata/MetadataCollectionView.js | 9 - .../MetadataCollectionViewTemplate.hbs | 8 - src/UI/Settings/Metadata/MetadataEditView.js | 19 - .../Metadata/MetadataEditViewTemplate.hbs | 45 - src/UI/Settings/Metadata/MetadataItemView.js | 24 - .../Metadata/MetadataItemViewTemplate.hbs | 23 - src/UI/Settings/Metadata/MetadataLayout.js | 20 - .../Metadata/MetadataLayoutTemplate.hbs | 3 - src/UI/Settings/Metadata/MetadataModel.js | 3 - src/UI/Settings/Metadata/metadata.less | 37 - .../Add/NotificationAddCollectionView.js | 8 - .../NotificationAddCollectionViewTemplate.hbs | 14 - .../Add/NotificationAddItemView.js | 64 - .../Add/NotificationAddItemViewTemplate.hbs | 30 - .../Add/NotificationSchemaModal.js | 18 - .../Delete/NotificationDeleteView.js | 18 - .../Delete/NotificationDeleteViewTemplate.hbs | 13 - .../Edit/NotificationEditView.js | 141 - .../Edit/NotificationEditViewTemplate.hbs | 148 - .../Notifications/NotificationCollection.js | 7 - .../NotificationCollectionView.js | 25 - .../NotificationCollectionViewTemplate.hbs | 16 - .../Notifications/NotificationItemView.js | 24 - .../NotificationItemViewTemplate.hbs | 47 - .../Notifications/NotificationModel.js | 3 - .../Settings/Notifications/notifications.less | 37 - src/UI/Settings/Profile/AllowedLabeler.js | 19 - .../Profile/Delay/DelayProfileCollection.js | 7 - .../Delay/DelayProfileCollectionView.js | 13 - .../Profile/Delay/DelayProfileItemView.js | 25 - .../Delay/DelayProfileItemViewTemplate.hbs | 57 - .../Profile/Delay/DelayProfileLayout.js | 101 - .../Delay/DelayProfileLayoutTemplate.hbs | 24 - .../Profile/Delay/DelayProfileModel.js | 3 - .../Delay/Delete/DelayProfileDeleteView.js | 21 - .../Delete/DelayProfileDeleteViewTemplate.hbs | 13 - .../Delay/Edit/DelayProfileEditView.js | 122 - .../Edit/DelayProfileEditViewTemplate.hbs | 84 - src/UI/Settings/Profile/DeleteProfileView.js | 16 - .../Profile/DeleteProfileViewTemplate.hbs | 13 - .../Profile/Edit/EditProfileItemView.js | 5 - .../Edit/EditProfileItemViewTemplate.hbs | 3 - .../Profile/Edit/EditProfileLayout.js | 118 - .../Edit/EditProfileLayoutTemplate.hbs | 36 - .../Settings/Profile/Edit/EditProfileView.js | 28 - .../Profile/Edit/EditProfileViewTemplate.hbs | 45 - .../Edit/QualitySortableCollectionView.js | 17 - .../Profile/Language/LanguageCollection.js | 12 - .../Profile/Language/LanguageModel.js | 3 - src/UI/Settings/Profile/LanguageLabel.js | 15 - .../Profile/ProfileCollectionTemplate.hbs | 16 - .../Settings/Profile/ProfileCollectionView.js | 43 - src/UI/Settings/Profile/ProfileLayout.js | 28 - .../Profile/ProfileLayoutTemplate.hbs | 5 - .../Profile/ProfileSchemaCollection.js | 7 - src/UI/Settings/Profile/ProfileView.js | 35 - .../Settings/Profile/ProfileViewTemplate.hbs | 13 - src/UI/Settings/Profile/profile.less | 43 - src/UI/Settings/ProviderSettingsModelBase.js | 71 - .../QualityDefinitionCollectionTemplate.hbs | 16 - .../QualityDefinitionCollectionView.js | 10 - .../Definition/QualityDefinitionItemView.js | 95 - .../QualityDefinitionItemViewTemplate.hbs | 31 - src/UI/Settings/Quality/QualityLayout.js | 21 - .../Quality/QualityLayoutTemplate.hbs | 3 - src/UI/Settings/Quality/quality.less | 135 - src/UI/Settings/SettingsLayout.js | 252 - src/UI/Settings/SettingsLayoutTemplate.hbs | 49 - src/UI/Settings/SettingsModelBase.js | 34 - src/UI/Settings/ThingyAddCollectionView.js | 13 - src/UI/Settings/ThingyHeaderGroupView.js | 18 - .../ThingyHeaderGroupViewTemplate.hbs | 2 - src/UI/Settings/UI/UiSettingsModel.js | 7 - src/UI/Settings/UI/UiView.js | 22 - src/UI/Settings/UI/UiViewTemplate.hbs | 124 - src/UI/Settings/settings.less | 161 - src/UI/Settings/thingy.less | 65 - src/UI/Shared/ApiData.js | 17 - .../ControlPanel/ControlPanelController.js | 18 - .../Shared/ControlPanel/ControlPanelRegion.js | 41 - src/UI/Shared/FileBrowser/EmptyView.js | 5 - .../Shared/FileBrowser/EmptyViewTemplate.hbs | 3 - .../FileBrowser/FileBrowserCollection.js | 28 - .../Shared/FileBrowser/FileBrowserLayout.js | 162 - .../FileBrowser/FileBrowserLayoutTemplate.hbs | 26 - src/UI/Shared/FileBrowser/FileBrowserModel.js | 3 - .../Shared/FileBrowser/FileBrowserNameCell.js | 18 - src/UI/Shared/FileBrowser/FileBrowserRow.js | 24 - .../Shared/FileBrowser/FileBrowserTypeCell.js | 28 - src/UI/Shared/FileBrowser/filebrowser.less | 24 - src/UI/Shared/FormatHelpers.js | 71 - src/UI/Shared/Grid/HeaderCell.js | 155 - src/UI/Shared/Grid/JumpToPageTemplate.hbs | 9 - src/UI/Shared/Grid/Pager.js | 188 - src/UI/Shared/Grid/PagerTemplate.hbs | 16 - src/UI/Shared/LoadingView.js | 6 - src/UI/Shared/LoadingViewTemplate.hbs | 10 - src/UI/Shared/Messenger.js | 66 - src/UI/Shared/Modal/ModalController.js | 93 - src/UI/Shared/Modal/ModalRegion.js | 7 - src/UI/Shared/Modal/ModalRegion2.js | 30 - src/UI/Shared/Modal/ModalRegionBase.js | 65 - src/UI/Shared/NotFoundView.js | 5 - src/UI/Shared/NotFoundViewTemplate.hbs | 4 - src/UI/Shared/NzbDroneController.js | 67 - src/UI/Shared/SignalRBroadcaster.js | 76 - src/UI/Shared/Styles/card.less | 10 - src/UI/Shared/Styles/clickable.less | 3 - .../Toolbar/Button/ButtonCollectionView.js | 22 - src/UI/Shared/Toolbar/Button/ButtonView.js | 85 - src/UI/Shared/Toolbar/ButtonCollection.js | 6 - src/UI/Shared/Toolbar/ButtonModel.js | 11 - src/UI/Shared/Toolbar/ButtonTemplate.hbs | 1 - .../Radio/RadioButtonCollectionView.js | 37 - .../Shared/Toolbar/Radio/RadioButtonView.js | 50 - src/UI/Shared/Toolbar/RadioButtonTemplate.hbs | 1 - .../Sorting/SortingButtonCollectionView.js | 38 - .../SortingButtonCollectionViewTemplate.hbs | 8 - .../Toolbar/Sorting/SortingButtonView.js | 70 - .../Sorting/SortingButtonViewTemplate.hbs | 4 - src/UI/Shared/Toolbar/ToolbarLayout.js | 108 - .../Shared/Toolbar/ToolbarLayoutTemplate.hbs | 2 - src/UI/Shared/Tooltip.js | 47 - src/UI/Shared/UiSettingsController.js | 26 - src/UI/Shared/UiSettingsModel.js | 29 - src/UI/Shared/VersionChangeMonitor.js | 13 - src/UI/Shared/piwikCheck.js | 12 - src/UI/Shims/backbone.backgrid.selectall.js | 4 - src/UI/Shims/backbone.collectionview.js | 4 - src/UI/Shims/backbone.deep.model.js | 4 - src/UI/Shims/backbone.js | 7 - src/UI/Shims/backbone.marionette.js | 10 - src/UI/Shims/backbone.validation.js | 8 - src/UI/Shims/backgrid.js | 19 - src/UI/Shims/backgrid.paginator.js | 5 - src/UI/Shims/handlebars.js | 1 - src/UI/Shims/jquery.js | 11 - src/UI/Shims/jquery.signalR.js | 4 - src/UI/Shims/messenger.js | 6 - src/UI/Shims/underscore.js | 4 - src/UI/System/Backup/BackupCollection.js | 15 - src/UI/System/Backup/BackupEmptyView.js | 5 - .../System/Backup/BackupEmptyViewTemplate.hbs | 1 - src/UI/System/Backup/BackupFilenameCell.js | 6 - .../Backup/BackupFilenameCellTemplate.hbs | 1 - src/UI/System/Backup/BackupLayout.js | 94 - src/UI/System/Backup/BackupLayoutTemplate.hbs | 10 - src/UI/System/Backup/BackupModel.js | 3 - src/UI/System/Backup/BackupTypeCell.js | 26 - src/UI/System/Info/About/AboutView.js | 10 - .../System/Info/About/AboutViewTemplate.hbs | 20 - .../Info/DiskSpace/DiskSpaceCollection.js | 7 - .../System/Info/DiskSpace/DiskSpaceLayout.js | 58 - .../DiskSpace/DiskSpaceLayoutTemplate.hbs | 5 - .../System/Info/DiskSpace/DiskSpaceModel.js | 3 - .../Info/DiskSpace/DiskSpacePathCell.js | 22 - src/UI/System/Info/Health/HealthCell.js | 12 - src/UI/System/Info/Health/HealthLayout.js | 57 - .../Info/Health/HealthLayoutTemplate.hbs | 6 - src/UI/System/Info/Health/HealthOkView.js | 5 - .../Info/Health/HealthOkViewTemplate.hbs | 3 - src/UI/System/Info/Health/HealthWikiCell.js | 24 - src/UI/System/Info/MoreInfo/MoreInfoView.js | 5 - .../Info/MoreInfo/MoreInfoViewTemplate.hbs | 28 - src/UI/System/Info/SystemInfoLayout.js | 24 - .../System/Info/SystemInfoLayoutTemplate.hbs | 15 - src/UI/System/Info/info.less | 3 - src/UI/System/Logs/Files/ContentsModel.js | 13 - src/UI/System/Logs/Files/ContentsView.js | 5 - .../Logs/Files/ContentsViewTemplate.hbs | 11 - src/UI/System/Logs/Files/DownloadLogCell.js | 12 - src/UI/System/Logs/Files/FilenameCell.js | 12 - src/UI/System/Logs/Files/LogFileCollection.js | 12 - src/UI/System/Logs/Files/LogFileLayout.js | 135 - .../Logs/Files/LogFileLayoutTemplate.hbs | 12 - src/UI/System/Logs/Files/LogFileModel.js | 3 - src/UI/System/Logs/Files/Row.js | 14 - src/UI/System/Logs/LogsCollection.js | 64 - src/UI/System/Logs/LogsLayout.js | 64 - src/UI/System/Logs/LogsLayoutTemplate.hbs | 17 - src/UI/System/Logs/LogsModel.js | 3 - .../Logs/Table/Details/LogDetailsView.js | 6 - .../Table/Details/LogDetailsViewTemplate.hbs | 23 - src/UI/System/Logs/Table/LogLevelCell.js | 12 - src/UI/System/Logs/Table/LogRow.js | 14 - src/UI/System/Logs/Table/LogTimeCell.js | 31 - src/UI/System/Logs/Table/LogsTableLayout.js | 184 - .../Logs/Table/LogsTableLayoutTemplate.hbs | 11 - .../System/Logs/Updates/LogFileCollection.js | 12 - src/UI/System/Logs/Updates/LogFileModel.js | 3 - src/UI/System/Logs/logs.less | 25 - src/UI/System/StatusModel.js | 9 - src/UI/System/SystemLayout.js | 150 - src/UI/System/SystemLayoutTemplate.hbs | 31 - src/UI/System/Task/ExecuteTaskCell.js | 30 - src/UI/System/Task/NextExecutionCell.js | 34 - src/UI/System/Task/TaskCollection.js | 15 - src/UI/System/Task/TaskIntervalCell.js | 21 - src/UI/System/Task/TaskLayout.js | 71 - src/UI/System/Task/TaskLayoutTemplate.hbs | 5 - src/UI/System/Task/TaskModel.js | 3 - src/UI/System/Update/EmptyView.js | 5 - src/UI/System/Update/EmptyViewTemplate.hbs | 1 - src/UI/System/Update/UpdateCollection.js | 7 - src/UI/System/Update/UpdateCollectionView.js | 8 - src/UI/System/Update/UpdateItemView.js | 31 - .../System/Update/UpdateItemViewTemplate.hbs | 43 - src/UI/System/Update/UpdateLayout.js | 29 - src/UI/System/Update/UpdateLayoutTemplate.hbs | 5 - src/UI/System/Update/UpdateModel.js | 3 - src/UI/System/Update/update.less | 51 - src/UI/Tags/TagCollection.js | 14 - src/UI/Tags/TagHelpers.js | 25 - src/UI/Tags/TagModel.js | 3 - src/UI/Wanted/ControlsColumnTemplate.hbs | 1 - src/UI/Wanted/Cutoff/CutoffUnmetCollection.js | 63 - src/UI/Wanted/Cutoff/CutoffUnmetLayout.js | 188 - .../Cutoff/CutoffUnmetLayoutTemplate.hbs | 11 - src/UI/Wanted/Missing/MissingCollection.js | 61 - src/UI/Wanted/Missing/MissingLayout.js | 240 - .../Wanted/Missing/MissingLayoutTemplate.hbs | 11 - src/UI/Wanted/WantedLayout.js | 68 - src/UI/Wanted/WantedLayoutTemplate.hbs | 10 - src/UI/app.js | 160 - src/UI/index.html | 101 - src/UI/jQuery/RouteBinder.js | 63 - src/UI/jQuery/ToTheTop.js | 23 - src/UI/jQuery/jquery.ajax.js | 23 - src/UI/jQuery/jquery.spin.js | 62 - src/UI/jQuery/jquery.validation.js | 105 - src/UI/login.html | 54 - src/UI/main.js | 60 - src/UI/oauth.html | 13 - src/UI/polyfills.js | 39 - src/UI/reqres.js | 10 - src/UI/vendor.js | 34 - src/UI/vent.js | 39 - 860 files changed, 3 insertions(+), 99703 deletions(-) delete mode 100644 gulp/build.js delete mode 100644 gulp/clean.js delete mode 100644 gulp/copy.js delete mode 100644 gulp/errorHandler.js delete mode 100644 gulp/gulpFile.js delete mode 100644 gulp/handlebars.js delete mode 100644 gulp/imageMin.js delete mode 100644 gulp/less.js delete mode 100644 gulp/paths.js delete mode 100644 gulp/start.js delete mode 100644 gulp/stripBom.js delete mode 100644 gulp/watch.js delete mode 100644 gulp/webpack.js delete mode 100644 src/UI/.idea/.name delete mode 100644 src/UI/.idea/NzbDrone.UI.iml delete mode 100644 src/UI/.idea/codeStyleSettings.xml delete mode 100644 src/UI/.idea/dictionaries/Keivan.xml delete mode 100644 src/UI/.idea/dictionaries/Keivan_Beigi.xml delete mode 100644 src/UI/.idea/dictionaries/Mark.xml delete mode 100644 src/UI/.idea/encodings.xml delete mode 100644 src/UI/.idea/inspectionProfiles/Project_Default.xml delete mode 100644 src/UI/.idea/inspectionProfiles/profiles_settings.xml delete mode 100644 src/UI/.idea/jsLibraryMappings.xml delete mode 100644 src/UI/.idea/jsLinters/jshint.xml delete mode 100644 src/UI/.idea/jsLinters/jslint.xml delete mode 100644 src/UI/.idea/misc.xml delete mode 100644 src/UI/.idea/modules.xml delete mode 100644 src/UI/.idea/runConfigurations/Debug___Chrome.xml delete mode 100644 src/UI/.idea/runConfigurations/Debug___Firefox.xml delete mode 100644 src/UI/.idea/scopes/NzbDrone.xml delete mode 100644 src/UI/.idea/scopes/scope_settings.xml delete mode 100644 src/UI/.idea/vcs.xml delete mode 100644 src/UI/.jshintrc delete mode 100644 src/UI/Activity/ActivityLayout.js delete mode 100644 src/UI/Activity/ActivityLayoutTemplate.hbs delete mode 100644 src/UI/Activity/Blacklist/BlacklistActionsCell.js delete mode 100644 src/UI/Activity/Blacklist/BlacklistCollection.js delete mode 100644 src/UI/Activity/Blacklist/BlacklistLayout.js delete mode 100644 src/UI/Activity/Blacklist/BlacklistLayoutTemplate.hbs delete mode 100644 src/UI/Activity/Blacklist/BlacklistModel.js delete mode 100644 src/UI/Activity/Blacklist/Details/BlacklistDetailsLayout.js delete mode 100644 src/UI/Activity/Blacklist/Details/BlacklistDetailsLayoutTemplate.hbs delete mode 100644 src/UI/Activity/Blacklist/Details/BlacklistDetailsView.js delete mode 100644 src/UI/Activity/Blacklist/Details/BlacklistDetailsViewTemplate.hbs delete mode 100644 src/UI/Activity/History/Details/HistoryDetailsAge.js delete mode 100644 src/UI/Activity/History/Details/HistoryDetailsLayout.js delete mode 100644 src/UI/Activity/History/Details/HistoryDetailsLayoutTemplate.hbs delete mode 100644 src/UI/Activity/History/Details/HistoryDetailsView.js delete mode 100644 src/UI/Activity/History/Details/HistoryDetailsViewTemplate.hbs delete mode 100644 src/UI/Activity/History/HistoryCollection.js delete mode 100644 src/UI/Activity/History/HistoryDetailsCell.js delete mode 100644 src/UI/Activity/History/HistoryLayout.js delete mode 100644 src/UI/Activity/History/HistoryLayoutTemplate.hbs delete mode 100644 src/UI/Activity/History/HistoryModel.js delete mode 100644 src/UI/Activity/History/HistoryQualityCell.js delete mode 100644 src/UI/Activity/Queue/ProgressCell.js delete mode 100644 src/UI/Activity/Queue/QueueActionsCell.js delete mode 100644 src/UI/Activity/Queue/QueueActionsCellTemplate.hbs delete mode 100644 src/UI/Activity/Queue/QueueCollection.js delete mode 100644 src/UI/Activity/Queue/QueueLayout.js delete mode 100644 src/UI/Activity/Queue/QueueLayoutTemplate.hbs delete mode 100644 src/UI/Activity/Queue/QueueModel.js delete mode 100644 src/UI/Activity/Queue/QueueStatusCell.js delete mode 100644 src/UI/Activity/Queue/QueueStatusCellTemplate.hbs delete mode 100644 src/UI/Activity/Queue/QueueView.js delete mode 100644 src/UI/Activity/Queue/RemoveFromQueueView.js delete mode 100644 src/UI/Activity/Queue/RemoveFromQueueViewTemplate.hbs delete mode 100644 src/UI/Activity/Queue/TimeleftCell.js delete mode 100644 src/UI/Activity/activity.less delete mode 100644 src/UI/AddSeries/AddSeriesCollection.js delete mode 100644 src/UI/AddSeries/AddSeriesLayout.js delete mode 100644 src/UI/AddSeries/AddSeriesLayoutTemplate.hbs delete mode 100644 src/UI/AddSeries/AddSeriesView.js delete mode 100644 src/UI/AddSeries/AddSeriesViewTemplate.hbs delete mode 100644 src/UI/AddSeries/EmptyView.js delete mode 100644 src/UI/AddSeries/EmptyViewTemplate.hbs delete mode 100644 src/UI/AddSeries/ErrorView.js delete mode 100644 src/UI/AddSeries/ErrorViewTemplate.hbs delete mode 100644 src/UI/AddSeries/Existing/AddExistingSeriesCollectionView.js delete mode 100644 src/UI/AddSeries/Existing/AddExistingSeriesCollectionViewTemplate.hbs delete mode 100644 src/UI/AddSeries/Existing/UnmappedFolderCollection.js delete mode 100644 src/UI/AddSeries/Existing/UnmappedFolderModel.js delete mode 100644 src/UI/AddSeries/MonitoringTooltipTemplate.hbs delete mode 100644 src/UI/AddSeries/NotFoundView.js delete mode 100644 src/UI/AddSeries/NotFoundViewTemplate.hbs delete mode 100644 src/UI/AddSeries/RootFolders/RootFolderCollection.js delete mode 100644 src/UI/AddSeries/RootFolders/RootFolderCollectionView.js delete mode 100644 src/UI/AddSeries/RootFolders/RootFolderCollectionViewTemplate.hbs delete mode 100644 src/UI/AddSeries/RootFolders/RootFolderItemView.js delete mode 100644 src/UI/AddSeries/RootFolders/RootFolderItemViewTemplate.hbs delete mode 100644 src/UI/AddSeries/RootFolders/RootFolderLayout.js delete mode 100644 src/UI/AddSeries/RootFolders/RootFolderLayoutTemplate.hbs delete mode 100644 src/UI/AddSeries/RootFolders/RootFolderModel.js delete mode 100644 src/UI/AddSeries/RootFolders/RootFolderSelectionPartial.hbs delete mode 100644 src/UI/AddSeries/SearchResultCollectionView.js delete mode 100644 src/UI/AddSeries/SearchResultView.js delete mode 100644 src/UI/AddSeries/SearchResultViewTemplate.hbs delete mode 100644 src/UI/AddSeries/SeriesTypeSelectionPartial.hbs delete mode 100644 src/UI/AddSeries/StartingSeasonSelectionPartial.hbs delete mode 100644 src/UI/AddSeries/addSeries.less delete mode 100644 src/UI/AppLayout.js delete mode 100644 src/UI/Calendar/CalendarCollection.js delete mode 100644 src/UI/Calendar/CalendarFeedView.js delete mode 100644 src/UI/Calendar/CalendarFeedViewTemplate.hbs delete mode 100644 src/UI/Calendar/CalendarLayout.js delete mode 100644 src/UI/Calendar/CalendarLayoutTemplate.hbs delete mode 100644 src/UI/Calendar/CalendarView.js delete mode 100644 src/UI/Calendar/UpcomingCollection.js delete mode 100644 src/UI/Calendar/UpcomingCollectionView.js delete mode 100644 src/UI/Calendar/UpcomingItemView.js delete mode 100644 src/UI/Calendar/UpcomingItemViewTemplate.hbs delete mode 100644 src/UI/Calendar/calendar.less delete mode 100644 src/UI/Cells/ApprovalStatusCell.js delete mode 100644 src/UI/Cells/ApprovalStatusCellTemplate.hbs delete mode 100644 src/UI/Cells/DeleteEpisodeFileCell.js delete mode 100644 src/UI/Cells/Edit/QualityCellEditor.js delete mode 100644 src/UI/Cells/Edit/QualityCellEditorTemplate.hbs delete mode 100644 src/UI/Cells/EpisodeActionsCell.js delete mode 100644 src/UI/Cells/EpisodeFilePathCell.js delete mode 100644 src/UI/Cells/EpisodeMonitoredCell.js delete mode 100644 src/UI/Cells/EpisodeNumberCell.js delete mode 100644 src/UI/Cells/EpisodeProgressCell.js delete mode 100644 src/UI/Cells/EpisodeProgressCellTemplate.hbs delete mode 100644 src/UI/Cells/EpisodeStatusCell.js delete mode 100644 src/UI/Cells/EpisodeTitleCell.js delete mode 100644 src/UI/Cells/EventTypeCell.js delete mode 100644 src/UI/Cells/FileSizeCell.js delete mode 100644 src/UI/Cells/IndexerCell.js delete mode 100644 src/UI/Cells/NzbDroneCell.js delete mode 100644 src/UI/Cells/ProfileCell.js delete mode 100644 src/UI/Cells/QualityCell.js delete mode 100644 src/UI/Cells/QualityCellTemplate.hbs delete mode 100644 src/UI/Cells/RelativeDateCell.js delete mode 100644 src/UI/Cells/RelativeTimeCell.js delete mode 100644 src/UI/Cells/ReleaseTitleCell.js delete mode 100644 src/UI/Cells/SeasonFolderCell.js delete mode 100644 src/UI/Cells/SelectAllCell.js delete mode 100644 src/UI/Cells/SeriesActionsCell.js delete mode 100644 src/UI/Cells/SeriesStatusCell.js delete mode 100644 src/UI/Cells/SeriesTitleCell.js delete mode 100644 src/UI/Cells/SeriesTitleTemplate.hbs delete mode 100644 src/UI/Cells/TemplatedCell.js delete mode 100644 src/UI/Cells/ToggleCell.js delete mode 100644 src/UI/Cells/cells.less delete mode 100644 src/UI/Commands/CommandCollection.js delete mode 100644 src/UI/Commands/CommandController.js delete mode 100644 src/UI/Commands/CommandMessengerCollectionView.js delete mode 100644 src/UI/Commands/CommandMessengerItemView.js delete mode 100644 src/UI/Commands/CommandModel.js delete mode 100644 src/UI/Config.js delete mode 100644 src/UI/Content/Backgrid/backgrid.less delete mode 100644 src/UI/Content/Backgrid/filter.less delete mode 100644 src/UI/Content/Backgrid/paginator.less delete mode 100644 src/UI/Content/Backgrid/selectall.less delete mode 100644 src/UI/Content/Bootstrap/.csscomb.json delete mode 100644 src/UI/Content/Bootstrap/.csslintrc delete mode 100644 src/UI/Content/Bootstrap/alerts.less delete mode 100644 src/UI/Content/Bootstrap/badges.less delete mode 100644 src/UI/Content/Bootstrap/bootstrap.less delete mode 100644 src/UI/Content/Bootstrap/breadcrumbs.less delete mode 100644 src/UI/Content/Bootstrap/button-groups.less delete mode 100644 src/UI/Content/Bootstrap/buttons.less delete mode 100644 src/UI/Content/Bootstrap/carousel.less delete mode 100644 src/UI/Content/Bootstrap/close.less delete mode 100644 src/UI/Content/Bootstrap/code.less delete mode 100644 src/UI/Content/Bootstrap/component-animations.less delete mode 100644 src/UI/Content/Bootstrap/dropdowns.less delete mode 100644 src/UI/Content/Bootstrap/forms.less delete mode 100644 src/UI/Content/Bootstrap/glyphicons.less delete mode 100644 src/UI/Content/Bootstrap/grid.less delete mode 100644 src/UI/Content/Bootstrap/input-groups.less delete mode 100644 src/UI/Content/Bootstrap/jumbotron.less delete mode 100644 src/UI/Content/Bootstrap/labels.less delete mode 100644 src/UI/Content/Bootstrap/list-group.less delete mode 100644 src/UI/Content/Bootstrap/media.less delete mode 100644 src/UI/Content/Bootstrap/mixins.less delete mode 100644 src/UI/Content/Bootstrap/mixins/alerts.less delete mode 100644 src/UI/Content/Bootstrap/mixins/background-variant.less delete mode 100644 src/UI/Content/Bootstrap/mixins/border-radius.less delete mode 100644 src/UI/Content/Bootstrap/mixins/buttons.less delete mode 100644 src/UI/Content/Bootstrap/mixins/center-block.less delete mode 100644 src/UI/Content/Bootstrap/mixins/clearfix.less delete mode 100644 src/UI/Content/Bootstrap/mixins/forms.less delete mode 100644 src/UI/Content/Bootstrap/mixins/gradients.less delete mode 100644 src/UI/Content/Bootstrap/mixins/grid-framework.less delete mode 100644 src/UI/Content/Bootstrap/mixins/grid.less delete mode 100644 src/UI/Content/Bootstrap/mixins/hide-text.less delete mode 100644 src/UI/Content/Bootstrap/mixins/image.less delete mode 100644 src/UI/Content/Bootstrap/mixins/labels.less delete mode 100644 src/UI/Content/Bootstrap/mixins/list-group.less delete mode 100644 src/UI/Content/Bootstrap/mixins/nav-divider.less delete mode 100644 src/UI/Content/Bootstrap/mixins/nav-vertical-align.less delete mode 100644 src/UI/Content/Bootstrap/mixins/opacity.less delete mode 100644 src/UI/Content/Bootstrap/mixins/pagination.less delete mode 100644 src/UI/Content/Bootstrap/mixins/panels.less delete mode 100644 src/UI/Content/Bootstrap/mixins/progress-bar.less delete mode 100644 src/UI/Content/Bootstrap/mixins/reset-filter.less delete mode 100644 src/UI/Content/Bootstrap/mixins/reset-text.less delete mode 100644 src/UI/Content/Bootstrap/mixins/resize.less delete mode 100644 src/UI/Content/Bootstrap/mixins/responsive-visibility.less delete mode 100644 src/UI/Content/Bootstrap/mixins/size.less delete mode 100644 src/UI/Content/Bootstrap/mixins/tab-focus.less delete mode 100644 src/UI/Content/Bootstrap/mixins/table-row.less delete mode 100644 src/UI/Content/Bootstrap/mixins/text-emphasis.less delete mode 100644 src/UI/Content/Bootstrap/mixins/text-overflow.less delete mode 100644 src/UI/Content/Bootstrap/mixins/vendor-prefixes.less delete mode 100644 src/UI/Content/Bootstrap/modals.less delete mode 100644 src/UI/Content/Bootstrap/navbar.less delete mode 100644 src/UI/Content/Bootstrap/navs.less delete mode 100644 src/UI/Content/Bootstrap/normalize.less delete mode 100644 src/UI/Content/Bootstrap/pager.less delete mode 100644 src/UI/Content/Bootstrap/pagination.less delete mode 100644 src/UI/Content/Bootstrap/panels.less delete mode 100644 src/UI/Content/Bootstrap/popovers.less delete mode 100644 src/UI/Content/Bootstrap/print.less delete mode 100644 src/UI/Content/Bootstrap/progress-bars.less delete mode 100644 src/UI/Content/Bootstrap/responsive-embed.less delete mode 100644 src/UI/Content/Bootstrap/responsive-utilities.less delete mode 100644 src/UI/Content/Bootstrap/scaffolding.less delete mode 100644 src/UI/Content/Bootstrap/tables.less delete mode 100644 src/UI/Content/Bootstrap/theme.less delete mode 100644 src/UI/Content/Bootstrap/thumbnails.less delete mode 100644 src/UI/Content/Bootstrap/tooltip.less delete mode 100644 src/UI/Content/Bootstrap/type.less delete mode 100644 src/UI/Content/Bootstrap/utilities.less delete mode 100644 src/UI/Content/Bootstrap/variables.less delete mode 100644 src/UI/Content/Bootstrap/wells.less delete mode 100644 src/UI/Content/FontAwesome/FontAwesome.otf delete mode 100644 src/UI/Content/FontAwesome/animated.less delete mode 100644 src/UI/Content/FontAwesome/bordered-pulled.less delete mode 100644 src/UI/Content/FontAwesome/core.less delete mode 100644 src/UI/Content/FontAwesome/fixed-width.less delete mode 100644 src/UI/Content/FontAwesome/font-awesome.less delete mode 100644 src/UI/Content/FontAwesome/fontawesome-webfont.eot delete mode 100644 src/UI/Content/FontAwesome/fontawesome-webfont.svg delete mode 100644 src/UI/Content/FontAwesome/fontawesome-webfont.ttf delete mode 100644 src/UI/Content/FontAwesome/fontawesome-webfont.woff delete mode 100644 src/UI/Content/FontAwesome/fontawesome-webfont.woff2 delete mode 100644 src/UI/Content/FontAwesome/icons.less delete mode 100644 src/UI/Content/FontAwesome/larger.less delete mode 100644 src/UI/Content/FontAwesome/list.less delete mode 100644 src/UI/Content/FontAwesome/mixins.less delete mode 100644 src/UI/Content/FontAwesome/path.less delete mode 100644 src/UI/Content/FontAwesome/rotated-flipped.less delete mode 100644 src/UI/Content/FontAwesome/stacked.less delete mode 100644 src/UI/Content/FontAwesome/variables.less delete mode 100644 src/UI/Content/Images/404.png delete mode 100644 src/UI/Content/Images/background/logo.png delete mode 100644 src/UI/Content/Images/favicon-debug.ico delete mode 100644 src/UI/Content/Images/favicon.ico delete mode 100644 src/UI/Content/Images/logos/128.png delete mode 100644 src/UI/Content/Images/logos/32.png delete mode 100644 src/UI/Content/Images/logos/48.png delete mode 100644 src/UI/Content/Images/logos/64.png delete mode 100644 src/UI/Content/Images/poster-dark.png delete mode 100644 src/UI/Content/Images/safari/logo.svg delete mode 100644 src/UI/Content/Images/touch/114.png delete mode 100644 src/UI/Content/Images/touch/144.png delete mode 100644 src/UI/Content/Images/touch/57.png delete mode 100644 src/UI/Content/Images/touch/72.png delete mode 100644 src/UI/Content/Messenger/messenger.css delete mode 100644 src/UI/Content/Messenger/messenger.flat.css delete mode 100644 src/UI/Content/Overrides/bootstrap.less delete mode 100644 src/UI/Content/Overrides/bootstrap.tagsinput.less delete mode 100644 src/UI/Content/Overrides/bootstrap.toggle-switch.less delete mode 100644 src/UI/Content/Overrides/browser.less delete mode 100644 src/UI/Content/Overrides/fullcalendar.less delete mode 100644 src/UI/Content/Overrides/messenger.less delete mode 100644 src/UI/Content/badges.less delete mode 100644 src/UI/Content/bootstrap.less delete mode 100644 src/UI/Content/bootstrap.tagsinput.less delete mode 100644 src/UI/Content/bootstrap.toggle-switch.css delete mode 100644 src/UI/Content/checkbox-button.less delete mode 100644 src/UI/Content/font.less delete mode 100644 src/UI/Content/fonts/UbuntuMono-Regular.ttf delete mode 100644 src/UI/Content/fonts/opensans-light.eot delete mode 100644 src/UI/Content/fonts/opensans-light.ttf delete mode 100644 src/UI/Content/fonts/opensans-light.woff delete mode 100644 src/UI/Content/fonts/opensans-regular.eot delete mode 100644 src/UI/Content/fonts/opensans-regular.ttf delete mode 100644 src/UI/Content/fonts/opensans-regular.woff delete mode 100644 src/UI/Content/fonts/opensans-semibold.eot delete mode 100644 src/UI/Content/fonts/opensans-semibold.ttf delete mode 100644 src/UI/Content/fonts/opensans-semibold.woff delete mode 100644 src/UI/Content/fonts/ubuntumono-regular.eot delete mode 100644 src/UI/Content/fonts/ubuntumono-regular.woff delete mode 100644 src/UI/Content/form.less delete mode 100644 src/UI/Content/fullcalendar.css delete mode 100644 src/UI/Content/icons.less delete mode 100644 src/UI/Content/legend.less delete mode 100644 src/UI/Content/mixins.less delete mode 100644 src/UI/Content/navbar.less delete mode 100644 src/UI/Content/overrides.less delete mode 100644 src/UI/Content/prefixer.less delete mode 100644 src/UI/Content/progress-bars.less delete mode 100644 src/UI/Content/robots.txt delete mode 100644 src/UI/Content/spinner.less delete mode 100644 src/UI/Content/theme.less delete mode 100644 src/UI/Content/typeahead.less delete mode 100644 src/UI/Content/utilities.less delete mode 100644 src/UI/Content/variables.less delete mode 100644 src/UI/Content/zero.clipboard.swf delete mode 100644 src/UI/Controller.js delete mode 100644 src/UI/Episode/EpisodeDetailsLayout.js delete mode 100644 src/UI/Episode/EpisodeDetailsLayoutTemplate.hbs delete mode 100644 src/UI/Episode/History/EpisodeHistoryActionsCell.js delete mode 100644 src/UI/Episode/History/EpisodeHistoryDetailsCell.js delete mode 100644 src/UI/Episode/History/EpisodeHistoryLayout.js delete mode 100644 src/UI/Episode/History/EpisodeHistoryLayoutTemplate.hbs delete mode 100644 src/UI/Episode/History/NoHistoryView.js delete mode 100644 src/UI/Episode/History/NoHistoryViewTemplate.hbs delete mode 100644 src/UI/Episode/Search/ButtonsView.js delete mode 100644 src/UI/Episode/Search/ButtonsViewTemplate.hbs delete mode 100644 src/UI/Episode/Search/EpisodeSearchLayout.js delete mode 100644 src/UI/Episode/Search/EpisodeSearchLayoutTemplate.hbs delete mode 100644 src/UI/Episode/Search/ManualLayout.js delete mode 100644 src/UI/Episode/Search/ManualLayoutTemplate.hbs delete mode 100644 src/UI/Episode/Search/NoResultsView.js delete mode 100644 src/UI/Episode/Search/NoResultsViewTemplate.hbs delete mode 100644 src/UI/Episode/Summary/EpisodeSummaryLayout.js delete mode 100644 src/UI/Episode/Summary/EpisodeSummaryLayoutTemplate.hbs delete mode 100644 src/UI/Episode/Summary/NoFileView.js delete mode 100644 src/UI/Episode/Summary/NoFileViewTemplate.hbs delete mode 100644 src/UI/EpisodeFile/Editor/EmptyView.js delete mode 100644 src/UI/EpisodeFile/Editor/EmptyViewTemplate.hbs delete mode 100644 src/UI/EpisodeFile/Editor/EpisodeFileEditorLayout.js delete mode 100644 src/UI/EpisodeFile/Editor/EpisodeFileEditorLayoutTemplate.hbs delete mode 100644 src/UI/EpisodeFile/Editor/QualitySelectView.js delete mode 100644 src/UI/EpisodeFile/Editor/QualitySelectViewTemplate.hbs delete mode 100644 src/UI/Form/ActionTemplate.hbs delete mode 100644 src/UI/Form/CaptchaTemplate.hbs delete mode 100644 src/UI/Form/CheckboxTemplate.hbs delete mode 100644 src/UI/Form/FormBuilder.js delete mode 100644 src/UI/Form/FormHelpPartial.hbs delete mode 100644 src/UI/Form/FormMessage.js delete mode 100644 src/UI/Form/HiddenTemplate.hbs delete mode 100644 src/UI/Form/PasswordTemplate.hbs delete mode 100644 src/UI/Form/PathTemplate.hbs delete mode 100644 src/UI/Form/SelectTemplate.hbs delete mode 100644 src/UI/Form/TagTemplate.hbs delete mode 100644 src/UI/Form/TextboxTemplate.hbs delete mode 100644 src/UI/Form/UrlTemplate.hbs delete mode 100644 src/UI/Handlebars/Handlebars.Debug.js delete mode 100644 src/UI/Handlebars/Helpers/DateTime.js delete mode 100644 src/UI/Handlebars/Helpers/EachReverse.js delete mode 100644 src/UI/Handlebars/Helpers/Enumerable.js delete mode 100644 src/UI/Handlebars/Helpers/Episode.js delete mode 100644 src/UI/Handlebars/Helpers/Html.js delete mode 100644 src/UI/Handlebars/Helpers/Numbers.js delete mode 100644 src/UI/Handlebars/Helpers/Quality.js delete mode 100644 src/UI/Handlebars/Helpers/Series.js delete mode 100644 src/UI/Handlebars/Helpers/String.js delete mode 100644 src/UI/Handlebars/Helpers/System.js delete mode 100644 src/UI/Handlebars/backbone.marionette.templates.js delete mode 100644 src/UI/Health/HealthCollection.js delete mode 100644 src/UI/Health/HealthModel.js delete mode 100644 src/UI/Health/HealthView.js delete mode 100644 src/UI/Hotkeys/Hotkeys.js delete mode 100644 src/UI/Hotkeys/HotkeysView.js delete mode 100644 src/UI/Hotkeys/HotkeysViewTemplate.hbs delete mode 100644 src/UI/Hotkeys/hotkeys.less delete mode 100644 src/UI/Instrumentation/ErrorHandler.js delete mode 100644 src/UI/Instrumentation/StringFormat.js delete mode 100644 src/UI/JsLibraries/backbone.backgrid.js delete mode 100644 src/UI/JsLibraries/backbone.backgrid.paginator.js delete mode 100644 src/UI/JsLibraries/backbone.backgrid.selectall.js delete mode 100644 src/UI/JsLibraries/backbone.collectionview.js delete mode 100644 src/UI/JsLibraries/backbone.deep.model.js delete mode 100644 src/UI/JsLibraries/backbone.js delete mode 100644 src/UI/JsLibraries/backbone.marionette.js delete mode 100644 src/UI/JsLibraries/backbone.modelbinder.js delete mode 100644 src/UI/JsLibraries/backbone.pageable.js delete mode 100644 src/UI/JsLibraries/backbone.validation.js delete mode 100644 src/UI/JsLibraries/backbone.wreqr.js delete mode 100644 src/UI/JsLibraries/bootstrap.js delete mode 100644 src/UI/JsLibraries/bootstrap.tagsinput.js delete mode 100644 src/UI/JsLibraries/filesize.js delete mode 100644 src/UI/JsLibraries/fullcalendar.js delete mode 100644 src/UI/JsLibraries/handlebars.helpers.js delete mode 100644 src/UI/JsLibraries/handlebars.runtime.js delete mode 100644 src/UI/JsLibraries/jdu.js delete mode 100644 src/UI/JsLibraries/jquery-ui.js delete mode 100644 src/UI/JsLibraries/jquery.backstretch.js delete mode 100644 src/UI/JsLibraries/jquery.dotdotdot.js delete mode 100644 src/UI/JsLibraries/jquery.easypiechart.js delete mode 100644 src/UI/JsLibraries/jquery.js delete mode 100644 src/UI/JsLibraries/jquery.knob.js delete mode 100644 src/UI/JsLibraries/jquery.signalR.js delete mode 100644 src/UI/JsLibraries/locale/placeholder.txt delete mode 100644 src/UI/JsLibraries/lodash.underscore.js delete mode 100644 src/UI/JsLibraries/messenger.js delete mode 100644 src/UI/JsLibraries/moment.js delete mode 100644 src/UI/JsLibraries/typeahead.js delete mode 100644 src/UI/JsLibraries/zero.clipboard.js delete mode 100644 src/UI/LifeCycle.js delete mode 100644 src/UI/ManualImport/Cells/EpisodesCell.js delete mode 100644 src/UI/ManualImport/Cells/PathCell.js delete mode 100644 src/UI/ManualImport/Cells/QualityCell.js delete mode 100644 src/UI/ManualImport/Cells/SeasonCell.js delete mode 100644 src/UI/ManualImport/Cells/SeriesCell.js delete mode 100644 src/UI/ManualImport/EmptyView.js delete mode 100644 src/UI/ManualImport/EmptyViewTemplate.hbs delete mode 100644 src/UI/ManualImport/Episode/SelectEpisodeLayout.js delete mode 100644 src/UI/ManualImport/Episode/SelectEpisodeLayoutTemplate.hbs delete mode 100644 src/UI/ManualImport/Episode/SelectEpisodeRow.js delete mode 100644 src/UI/ManualImport/ErrorView.js delete mode 100644 src/UI/ManualImport/ErrorViewTemplate.hbs delete mode 100644 src/UI/ManualImport/Folder/SelectFolderView.js delete mode 100644 src/UI/ManualImport/Folder/SelectFolderViewTemplate.hbs delete mode 100644 src/UI/ManualImport/ManualImportCollection.js delete mode 100644 src/UI/ManualImport/ManualImportLayout.js delete mode 100644 src/UI/ManualImport/ManualImportLayoutTemplate.hbs delete mode 100644 src/UI/ManualImport/ManualImportModel.js delete mode 100644 src/UI/ManualImport/ManualImportRow.js delete mode 100644 src/UI/ManualImport/Quality/SelectQualityLayout.js delete mode 100644 src/UI/ManualImport/Quality/SelectQualityLayoutTemplate.hbs delete mode 100644 src/UI/ManualImport/Quality/SelectQualityView.js delete mode 100644 src/UI/ManualImport/Quality/SelectQualityViewTemplate.hbs delete mode 100644 src/UI/ManualImport/Season/SelectSeasonLayout.js delete mode 100644 src/UI/ManualImport/Season/SelectSeasonLayoutTemplate.hbs delete mode 100644 src/UI/ManualImport/Series/SelectSeriesLayout.js delete mode 100644 src/UI/ManualImport/Series/SelectSeriesLayoutTemplate.hbs delete mode 100644 src/UI/ManualImport/Series/SelectSeriesRow.js delete mode 100644 src/UI/ManualImport/Summary/ManualImportSummaryView.js delete mode 100644 src/UI/ManualImport/Summary/ManualImportSummaryViewTemplate.hbs delete mode 100644 src/UI/ManualImport/manualimport.less delete mode 100644 src/UI/Mixins/AsChangeTrackingModel.js delete mode 100644 src/UI/Mixins/AsEditModalView.js delete mode 100644 src/UI/Mixins/AsFilteredCollection.js delete mode 100644 src/UI/Mixins/AsModelBoundView.js delete mode 100644 src/UI/Mixins/AsNamedView.js delete mode 100644 src/UI/Mixins/AsPageableCollection.js delete mode 100644 src/UI/Mixins/AsPersistedStateCollection.js delete mode 100644 src/UI/Mixins/AsSortedCollection.js delete mode 100644 src/UI/Mixins/AsSortedCollectionView.js delete mode 100644 src/UI/Mixins/AsValidatedView.js delete mode 100644 src/UI/Mixins/AutoComplete.js delete mode 100644 src/UI/Mixins/CopyToClipboard.js delete mode 100644 src/UI/Mixins/DirectoryAutoComplete.js delete mode 100644 src/UI/Mixins/FileBrowser.js delete mode 100644 src/UI/Mixins/TagInput.js delete mode 100644 src/UI/Mixins/backbone.signalr.mixin.js delete mode 100644 src/UI/Navbar/NavbarLayout.js delete mode 100644 src/UI/Navbar/NavbarLayoutTemplate.hbs delete mode 100644 src/UI/Navbar/Search.js delete mode 100644 src/UI/Profile/ProfileCollection.js delete mode 100644 src/UI/Profile/ProfileModel.js delete mode 100644 src/UI/Profile/ProfileSelectionPartial.hbs delete mode 100644 src/UI/Quality/QualityDefinitionCollection.js delete mode 100644 src/UI/Quality/QualityDefinitionModel.js delete mode 100644 src/UI/Release/AgeCell.js delete mode 100644 src/UI/Release/DownloadReportCell.js delete mode 100644 src/UI/Release/PeersCell.js delete mode 100644 src/UI/Release/ProtocolCell.js delete mode 100644 src/UI/Release/ReleaseCollection.js delete mode 100644 src/UI/Release/ReleaseLayout.js delete mode 100644 src/UI/Release/ReleaseLayoutTemplate.hbs delete mode 100644 src/UI/Release/ReleaseModel.js delete mode 100644 src/UI/Rename/RenamePreviewCollection.js delete mode 100644 src/UI/Rename/RenamePreviewCollectionView.js delete mode 100644 src/UI/Rename/RenamePreviewEmptyCollectionView.js delete mode 100644 src/UI/Rename/RenamePreviewEmptyCollectionViewTemplate.hbs delete mode 100644 src/UI/Rename/RenamePreviewFormatView.js delete mode 100644 src/UI/Rename/RenamePreviewFormatViewTemplate.hbs delete mode 100644 src/UI/Rename/RenamePreviewItemView.js delete mode 100644 src/UI/Rename/RenamePreviewItemViewTemplate.hbs delete mode 100644 src/UI/Rename/RenamePreviewLayout.js delete mode 100644 src/UI/Rename/RenamePreviewLayoutTemplate.hbs delete mode 100644 src/UI/Rename/RenamePreviewModel.js delete mode 100644 src/UI/Rename/rename.less delete mode 100644 src/UI/Router.js delete mode 100644 src/UI/SeasonPass/SeasonPassFooterView.js delete mode 100644 src/UI/SeasonPass/SeasonPassFooterViewTemplate.hbs delete mode 100644 src/UI/SeasonPass/SeasonPassLayout.js delete mode 100644 src/UI/SeasonPass/SeasonPassLayoutTemplate.hbs delete mode 100644 src/UI/SeasonPass/SeasonsCell.js delete mode 100644 src/UI/SeasonPass/SeasonsCellTemplate.hbs delete mode 100644 src/UI/SeasonPass/seasonpass.less delete mode 100644 src/UI/Series/Delete/DeleteSeriesTemplate.hbs delete mode 100644 src/UI/Series/Delete/DeleteSeriesView.js delete mode 100644 src/UI/Series/Details/EpisodeNumberCell.js delete mode 100644 src/UI/Series/Details/EpisodeNumberCellTemplate.hbs delete mode 100644 src/UI/Series/Details/EpisodeWarningCell.js delete mode 100644 src/UI/Series/Details/InfoView.js delete mode 100644 src/UI/Series/Details/InfoViewTemplate.hbs delete mode 100644 src/UI/Series/Details/SeasonCollectionView.js delete mode 100644 src/UI/Series/Details/SeasonLayout.js delete mode 100644 src/UI/Series/Details/SeasonLayoutTemplate.hbs delete mode 100644 src/UI/Series/Details/SeriesDetailsLayout.js delete mode 100644 src/UI/Series/Details/SeriesDetailsTemplate.hbs delete mode 100644 src/UI/Series/Edit/EditSeriesView.js delete mode 100644 src/UI/Series/Edit/EditSeriesViewTemplate.hbs delete mode 100644 src/UI/Series/Editor/Organize/OrganizeFilesView.js delete mode 100644 src/UI/Series/Editor/Organize/OrganizeFilesViewTemplate.hbs delete mode 100644 src/UI/Series/Editor/SeriesEditorFooterView.js delete mode 100644 src/UI/Series/Editor/SeriesEditorFooterViewTemplate.hbs delete mode 100644 src/UI/Series/Editor/SeriesEditorLayout.js delete mode 100644 src/UI/Series/Editor/SeriesEditorLayoutTemplate.hbs delete mode 100644 src/UI/Series/EpisodeCollection.js delete mode 100644 src/UI/Series/EpisodeFileCollection.js delete mode 100644 src/UI/Series/EpisodeFileModel.js delete mode 100644 src/UI/Series/EpisodeModel.js delete mode 100644 src/UI/Series/Index/EmptyTemplate.hbs delete mode 100644 src/UI/Series/Index/EmptyView.js delete mode 100644 src/UI/Series/Index/EpisodeProgressPartial.hbs delete mode 100644 src/UI/Series/Index/FooterModel.js delete mode 100644 src/UI/Series/Index/FooterView.js delete mode 100644 src/UI/Series/Index/FooterViewTemplate.hbs delete mode 100644 src/UI/Series/Index/Overview/SeriesOverviewCollectionView.js delete mode 100644 src/UI/Series/Index/Overview/SeriesOverviewCollectionViewTemplate.hbs delete mode 100644 src/UI/Series/Index/Overview/SeriesOverviewItemView.js delete mode 100644 src/UI/Series/Index/Overview/SeriesOverviewItemViewTemplate.hbs delete mode 100644 src/UI/Series/Index/Posters/SeriesPostersCollectionView.js delete mode 100644 src/UI/Series/Index/Posters/SeriesPostersCollectionViewTemplate.hbs delete mode 100644 src/UI/Series/Index/Posters/SeriesPostersItemView.js delete mode 100644 src/UI/Series/Index/Posters/SeriesPostersItemViewTemplate.hbs delete mode 100644 src/UI/Series/Index/SeriesIndexItemView.js delete mode 100644 src/UI/Series/Index/SeriesIndexLayout.js delete mode 100644 src/UI/Series/Index/SeriesIndexLayoutTemplate.hbs delete mode 100644 src/UI/Series/SeasonCollection.js delete mode 100644 src/UI/Series/SeasonModel.js delete mode 100644 src/UI/Series/SeriesCollection.js delete mode 100644 src/UI/Series/SeriesController.js delete mode 100644 src/UI/Series/SeriesModel.js delete mode 100644 src/UI/Series/series.less delete mode 100644 src/UI/Settings/DownloadClient/Add/DownloadClientAddCollectionView.js delete mode 100644 src/UI/Settings/DownloadClient/Add/DownloadClientAddCollectionViewTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/Add/DownloadClientAddItemView.js delete mode 100644 src/UI/Settings/DownloadClient/Add/DownloadClientAddItemViewTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/Add/DownloadClientSchemaModal.js delete mode 100644 src/UI/Settings/DownloadClient/Delete/DownloadClientDeleteView.js delete mode 100644 src/UI/Settings/DownloadClient/Delete/DownloadClientDeleteViewTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/DownloadClientCollection.js delete mode 100644 src/UI/Settings/DownloadClient/DownloadClientCollectionView.js delete mode 100644 src/UI/Settings/DownloadClient/DownloadClientCollectionViewTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/DownloadClientItemView.js delete mode 100644 src/UI/Settings/DownloadClient/DownloadClientItemViewTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/DownloadClientLayout.js delete mode 100644 src/UI/Settings/DownloadClient/DownloadClientLayoutTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/DownloadClientModel.js delete mode 100644 src/UI/Settings/DownloadClient/DownloadClientSettingsModel.js delete mode 100644 src/UI/Settings/DownloadClient/DownloadHandling/DownloadHandlingView.js delete mode 100644 src/UI/Settings/DownloadClient/DownloadHandling/DownloadHandlingViewTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/DroneFactory/DroneFactoryView.js delete mode 100644 src/UI/Settings/DownloadClient/DroneFactory/DroneFactoryViewTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/Edit/DownloadClientEditView.js delete mode 100644 src/UI/Settings/DownloadClient/Edit/DownloadClientEditViewTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/RemotePathMapping/RemotePathMappingCollection.js delete mode 100644 src/UI/Settings/DownloadClient/RemotePathMapping/RemotePathMappingCollectionView.js delete mode 100644 src/UI/Settings/DownloadClient/RemotePathMapping/RemotePathMappingCollectionViewTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/RemotePathMapping/RemotePathMappingDeleteView.js delete mode 100644 src/UI/Settings/DownloadClient/RemotePathMapping/RemotePathMappingDeleteViewTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/RemotePathMapping/RemotePathMappingEditView.js delete mode 100644 src/UI/Settings/DownloadClient/RemotePathMapping/RemotePathMappingEditViewTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/RemotePathMapping/RemotePathMappingItemView.js delete mode 100644 src/UI/Settings/DownloadClient/RemotePathMapping/RemotePathMappingItemViewTemplate.hbs delete mode 100644 src/UI/Settings/DownloadClient/RemotePathMapping/RemotePathMappingModel.js delete mode 100644 src/UI/Settings/DownloadClient/downloadclient.less delete mode 100644 src/UI/Settings/General/GeneralSettingsModel.js delete mode 100644 src/UI/Settings/General/GeneralView.js delete mode 100644 src/UI/Settings/General/GeneralViewTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/Add/IndexerAddCollectionView.js delete mode 100644 src/UI/Settings/Indexers/Add/IndexerAddCollectionViewTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/Add/IndexerAddItemView.js delete mode 100644 src/UI/Settings/Indexers/Add/IndexerAddItemViewTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/Add/IndexerSchemaModal.js delete mode 100644 src/UI/Settings/Indexers/Delete/IndexerDeleteView.js delete mode 100644 src/UI/Settings/Indexers/Delete/IndexerDeleteViewTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/Edit/IndexerEditView.js delete mode 100644 src/UI/Settings/Indexers/Edit/IndexerEditViewTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/IndexerCollection.js delete mode 100644 src/UI/Settings/Indexers/IndexerCollectionView.js delete mode 100644 src/UI/Settings/Indexers/IndexerCollectionViewTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/IndexerItemView.js delete mode 100644 src/UI/Settings/Indexers/IndexerItemViewTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/IndexerLayout.js delete mode 100644 src/UI/Settings/Indexers/IndexerLayoutTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/IndexerModel.js delete mode 100644 src/UI/Settings/Indexers/IndexerSettingsModel.js delete mode 100644 src/UI/Settings/Indexers/Options/IndexerOptionsView.js delete mode 100644 src/UI/Settings/Indexers/Options/IndexerOptionsViewTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/Restriction/RestrictionCollection.js delete mode 100644 src/UI/Settings/Indexers/Restriction/RestrictionCollectionView.js delete mode 100644 src/UI/Settings/Indexers/Restriction/RestrictionCollectionViewTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/Restriction/RestrictionDeleteView.js delete mode 100644 src/UI/Settings/Indexers/Restriction/RestrictionDeleteViewTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/Restriction/RestrictionEditView.js delete mode 100644 src/UI/Settings/Indexers/Restriction/RestrictionEditViewTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/Restriction/RestrictionItemView.js delete mode 100644 src/UI/Settings/Indexers/Restriction/RestrictionItemViewTemplate.hbs delete mode 100644 src/UI/Settings/Indexers/Restriction/RestrictionModel.js delete mode 100644 src/UI/Settings/Indexers/indexers.less delete mode 100644 src/UI/Settings/MediaManagement/FileManagement/FileManagementView.js delete mode 100644 src/UI/Settings/MediaManagement/FileManagement/FileManagementViewTemplate.hbs delete mode 100644 src/UI/Settings/MediaManagement/MediaManagementLayout.js delete mode 100644 src/UI/Settings/MediaManagement/MediaManagementLayoutTemplate.hbs delete mode 100644 src/UI/Settings/MediaManagement/MediaManagementSettingsModel.js delete mode 100644 src/UI/Settings/MediaManagement/Naming/Basic/BasicNamingModel.js delete mode 100644 src/UI/Settings/MediaManagement/Naming/Basic/BasicNamingView.js delete mode 100644 src/UI/Settings/MediaManagement/Naming/Basic/BasicNamingViewTemplate.hbs delete mode 100644 src/UI/Settings/MediaManagement/Naming/NamingModel.js delete mode 100644 src/UI/Settings/MediaManagement/Naming/NamingSampleModel.js delete mode 100644 src/UI/Settings/MediaManagement/Naming/NamingView.js delete mode 100644 src/UI/Settings/MediaManagement/Naming/NamingViewTemplate.hbs delete mode 100644 src/UI/Settings/MediaManagement/Naming/Partials/AbsoluteEpisodeNamingPartial.hbs delete mode 100644 src/UI/Settings/MediaManagement/Naming/Partials/AirDateNamingPartial.hbs delete mode 100644 src/UI/Settings/MediaManagement/Naming/Partials/EpisodeNamingPartial.hbs delete mode 100644 src/UI/Settings/MediaManagement/Naming/Partials/EpisodeTitleNamingPartial.hbs delete mode 100644 src/UI/Settings/MediaManagement/Naming/Partials/MediaInfoNamingPartial.hbs delete mode 100644 src/UI/Settings/MediaManagement/Naming/Partials/OriginalTitleNamingPartial.hbs delete mode 100644 src/UI/Settings/MediaManagement/Naming/Partials/QualityNamingPartial.hbs delete mode 100644 src/UI/Settings/MediaManagement/Naming/Partials/ReleaseGroupNamingPartial.hbs delete mode 100644 src/UI/Settings/MediaManagement/Naming/Partials/SeasonNamingPartial.hbs delete mode 100644 src/UI/Settings/MediaManagement/Naming/Partials/SeparatorNamingPartial.hbs delete mode 100644 src/UI/Settings/MediaManagement/Naming/Partials/SeriesTitleNamingPartial.hbs delete mode 100644 src/UI/Settings/MediaManagement/Permissions/PermissionsView.js delete mode 100644 src/UI/Settings/MediaManagement/Permissions/PermissionsViewTemplate.hbs delete mode 100644 src/UI/Settings/MediaManagement/Sorting/SortingView.js delete mode 100644 src/UI/Settings/MediaManagement/Sorting/SortingViewTemplate.hbs delete mode 100644 src/UI/Settings/Metadata/MetadataCollection.js delete mode 100644 src/UI/Settings/Metadata/MetadataCollectionView.js delete mode 100644 src/UI/Settings/Metadata/MetadataCollectionViewTemplate.hbs delete mode 100644 src/UI/Settings/Metadata/MetadataEditView.js delete mode 100644 src/UI/Settings/Metadata/MetadataEditViewTemplate.hbs delete mode 100644 src/UI/Settings/Metadata/MetadataItemView.js delete mode 100644 src/UI/Settings/Metadata/MetadataItemViewTemplate.hbs delete mode 100644 src/UI/Settings/Metadata/MetadataLayout.js delete mode 100644 src/UI/Settings/Metadata/MetadataLayoutTemplate.hbs delete mode 100644 src/UI/Settings/Metadata/MetadataModel.js delete mode 100644 src/UI/Settings/Metadata/metadata.less delete mode 100644 src/UI/Settings/Notifications/Add/NotificationAddCollectionView.js delete mode 100644 src/UI/Settings/Notifications/Add/NotificationAddCollectionViewTemplate.hbs delete mode 100644 src/UI/Settings/Notifications/Add/NotificationAddItemView.js delete mode 100644 src/UI/Settings/Notifications/Add/NotificationAddItemViewTemplate.hbs delete mode 100644 src/UI/Settings/Notifications/Add/NotificationSchemaModal.js delete mode 100644 src/UI/Settings/Notifications/Delete/NotificationDeleteView.js delete mode 100644 src/UI/Settings/Notifications/Delete/NotificationDeleteViewTemplate.hbs delete mode 100644 src/UI/Settings/Notifications/Edit/NotificationEditView.js delete mode 100644 src/UI/Settings/Notifications/Edit/NotificationEditViewTemplate.hbs delete mode 100644 src/UI/Settings/Notifications/NotificationCollection.js delete mode 100644 src/UI/Settings/Notifications/NotificationCollectionView.js delete mode 100644 src/UI/Settings/Notifications/NotificationCollectionViewTemplate.hbs delete mode 100644 src/UI/Settings/Notifications/NotificationItemView.js delete mode 100644 src/UI/Settings/Notifications/NotificationItemViewTemplate.hbs delete mode 100644 src/UI/Settings/Notifications/NotificationModel.js delete mode 100644 src/UI/Settings/Notifications/notifications.less delete mode 100644 src/UI/Settings/Profile/AllowedLabeler.js delete mode 100644 src/UI/Settings/Profile/Delay/DelayProfileCollection.js delete mode 100644 src/UI/Settings/Profile/Delay/DelayProfileCollectionView.js delete mode 100644 src/UI/Settings/Profile/Delay/DelayProfileItemView.js delete mode 100644 src/UI/Settings/Profile/Delay/DelayProfileItemViewTemplate.hbs delete mode 100644 src/UI/Settings/Profile/Delay/DelayProfileLayout.js delete mode 100644 src/UI/Settings/Profile/Delay/DelayProfileLayoutTemplate.hbs delete mode 100644 src/UI/Settings/Profile/Delay/DelayProfileModel.js delete mode 100644 src/UI/Settings/Profile/Delay/Delete/DelayProfileDeleteView.js delete mode 100644 src/UI/Settings/Profile/Delay/Delete/DelayProfileDeleteViewTemplate.hbs delete mode 100644 src/UI/Settings/Profile/Delay/Edit/DelayProfileEditView.js delete mode 100644 src/UI/Settings/Profile/Delay/Edit/DelayProfileEditViewTemplate.hbs delete mode 100644 src/UI/Settings/Profile/DeleteProfileView.js delete mode 100644 src/UI/Settings/Profile/DeleteProfileViewTemplate.hbs delete mode 100644 src/UI/Settings/Profile/Edit/EditProfileItemView.js delete mode 100644 src/UI/Settings/Profile/Edit/EditProfileItemViewTemplate.hbs delete mode 100644 src/UI/Settings/Profile/Edit/EditProfileLayout.js delete mode 100644 src/UI/Settings/Profile/Edit/EditProfileLayoutTemplate.hbs delete mode 100644 src/UI/Settings/Profile/Edit/EditProfileView.js delete mode 100644 src/UI/Settings/Profile/Edit/EditProfileViewTemplate.hbs delete mode 100644 src/UI/Settings/Profile/Edit/QualitySortableCollectionView.js delete mode 100644 src/UI/Settings/Profile/Language/LanguageCollection.js delete mode 100644 src/UI/Settings/Profile/Language/LanguageModel.js delete mode 100644 src/UI/Settings/Profile/LanguageLabel.js delete mode 100644 src/UI/Settings/Profile/ProfileCollectionTemplate.hbs delete mode 100644 src/UI/Settings/Profile/ProfileCollectionView.js delete mode 100644 src/UI/Settings/Profile/ProfileLayout.js delete mode 100644 src/UI/Settings/Profile/ProfileLayoutTemplate.hbs delete mode 100644 src/UI/Settings/Profile/ProfileSchemaCollection.js delete mode 100644 src/UI/Settings/Profile/ProfileView.js delete mode 100644 src/UI/Settings/Profile/ProfileViewTemplate.hbs delete mode 100644 src/UI/Settings/Profile/profile.less delete mode 100644 src/UI/Settings/ProviderSettingsModelBase.js delete mode 100644 src/UI/Settings/Quality/Definition/QualityDefinitionCollectionTemplate.hbs delete mode 100644 src/UI/Settings/Quality/Definition/QualityDefinitionCollectionView.js delete mode 100644 src/UI/Settings/Quality/Definition/QualityDefinitionItemView.js delete mode 100644 src/UI/Settings/Quality/Definition/QualityDefinitionItemViewTemplate.hbs delete mode 100644 src/UI/Settings/Quality/QualityLayout.js delete mode 100644 src/UI/Settings/Quality/QualityLayoutTemplate.hbs delete mode 100644 src/UI/Settings/Quality/quality.less delete mode 100644 src/UI/Settings/SettingsLayout.js delete mode 100644 src/UI/Settings/SettingsLayoutTemplate.hbs delete mode 100644 src/UI/Settings/SettingsModelBase.js delete mode 100644 src/UI/Settings/ThingyAddCollectionView.js delete mode 100644 src/UI/Settings/ThingyHeaderGroupView.js delete mode 100644 src/UI/Settings/ThingyHeaderGroupViewTemplate.hbs delete mode 100644 src/UI/Settings/UI/UiSettingsModel.js delete mode 100644 src/UI/Settings/UI/UiView.js delete mode 100644 src/UI/Settings/UI/UiViewTemplate.hbs delete mode 100644 src/UI/Settings/settings.less delete mode 100644 src/UI/Settings/thingy.less delete mode 100644 src/UI/Shared/ApiData.js delete mode 100644 src/UI/Shared/ControlPanel/ControlPanelController.js delete mode 100644 src/UI/Shared/ControlPanel/ControlPanelRegion.js delete mode 100644 src/UI/Shared/FileBrowser/EmptyView.js delete mode 100644 src/UI/Shared/FileBrowser/EmptyViewTemplate.hbs delete mode 100644 src/UI/Shared/FileBrowser/FileBrowserCollection.js delete mode 100644 src/UI/Shared/FileBrowser/FileBrowserLayout.js delete mode 100644 src/UI/Shared/FileBrowser/FileBrowserLayoutTemplate.hbs delete mode 100644 src/UI/Shared/FileBrowser/FileBrowserModel.js delete mode 100644 src/UI/Shared/FileBrowser/FileBrowserNameCell.js delete mode 100644 src/UI/Shared/FileBrowser/FileBrowserRow.js delete mode 100644 src/UI/Shared/FileBrowser/FileBrowserTypeCell.js delete mode 100644 src/UI/Shared/FileBrowser/filebrowser.less delete mode 100644 src/UI/Shared/FormatHelpers.js delete mode 100644 src/UI/Shared/Grid/HeaderCell.js delete mode 100644 src/UI/Shared/Grid/JumpToPageTemplate.hbs delete mode 100644 src/UI/Shared/Grid/Pager.js delete mode 100644 src/UI/Shared/Grid/PagerTemplate.hbs delete mode 100644 src/UI/Shared/LoadingView.js delete mode 100644 src/UI/Shared/LoadingViewTemplate.hbs delete mode 100644 src/UI/Shared/Messenger.js delete mode 100644 src/UI/Shared/Modal/ModalController.js delete mode 100644 src/UI/Shared/Modal/ModalRegion.js delete mode 100644 src/UI/Shared/Modal/ModalRegion2.js delete mode 100644 src/UI/Shared/Modal/ModalRegionBase.js delete mode 100644 src/UI/Shared/NotFoundView.js delete mode 100644 src/UI/Shared/NotFoundViewTemplate.hbs delete mode 100644 src/UI/Shared/NzbDroneController.js delete mode 100644 src/UI/Shared/SignalRBroadcaster.js delete mode 100644 src/UI/Shared/Styles/card.less delete mode 100644 src/UI/Shared/Styles/clickable.less delete mode 100644 src/UI/Shared/Toolbar/Button/ButtonCollectionView.js delete mode 100644 src/UI/Shared/Toolbar/Button/ButtonView.js delete mode 100644 src/UI/Shared/Toolbar/ButtonCollection.js delete mode 100644 src/UI/Shared/Toolbar/ButtonModel.js delete mode 100644 src/UI/Shared/Toolbar/ButtonTemplate.hbs delete mode 100644 src/UI/Shared/Toolbar/Radio/RadioButtonCollectionView.js delete mode 100644 src/UI/Shared/Toolbar/Radio/RadioButtonView.js delete mode 100644 src/UI/Shared/Toolbar/RadioButtonTemplate.hbs delete mode 100644 src/UI/Shared/Toolbar/Sorting/SortingButtonCollectionView.js delete mode 100644 src/UI/Shared/Toolbar/Sorting/SortingButtonCollectionViewTemplate.hbs delete mode 100644 src/UI/Shared/Toolbar/Sorting/SortingButtonView.js delete mode 100644 src/UI/Shared/Toolbar/Sorting/SortingButtonViewTemplate.hbs delete mode 100644 src/UI/Shared/Toolbar/ToolbarLayout.js delete mode 100644 src/UI/Shared/Toolbar/ToolbarLayoutTemplate.hbs delete mode 100644 src/UI/Shared/Tooltip.js delete mode 100644 src/UI/Shared/UiSettingsController.js delete mode 100644 src/UI/Shared/UiSettingsModel.js delete mode 100644 src/UI/Shared/VersionChangeMonitor.js delete mode 100644 src/UI/Shared/piwikCheck.js delete mode 100644 src/UI/Shims/backbone.backgrid.selectall.js delete mode 100644 src/UI/Shims/backbone.collectionview.js delete mode 100644 src/UI/Shims/backbone.deep.model.js delete mode 100644 src/UI/Shims/backbone.js delete mode 100644 src/UI/Shims/backbone.marionette.js delete mode 100644 src/UI/Shims/backbone.validation.js delete mode 100644 src/UI/Shims/backgrid.js delete mode 100644 src/UI/Shims/backgrid.paginator.js delete mode 100644 src/UI/Shims/handlebars.js delete mode 100644 src/UI/Shims/jquery.js delete mode 100644 src/UI/Shims/jquery.signalR.js delete mode 100644 src/UI/Shims/messenger.js delete mode 100644 src/UI/Shims/underscore.js delete mode 100644 src/UI/System/Backup/BackupCollection.js delete mode 100644 src/UI/System/Backup/BackupEmptyView.js delete mode 100644 src/UI/System/Backup/BackupEmptyViewTemplate.hbs delete mode 100644 src/UI/System/Backup/BackupFilenameCell.js delete mode 100644 src/UI/System/Backup/BackupFilenameCellTemplate.hbs delete mode 100644 src/UI/System/Backup/BackupLayout.js delete mode 100644 src/UI/System/Backup/BackupLayoutTemplate.hbs delete mode 100644 src/UI/System/Backup/BackupModel.js delete mode 100644 src/UI/System/Backup/BackupTypeCell.js delete mode 100644 src/UI/System/Info/About/AboutView.js delete mode 100644 src/UI/System/Info/About/AboutViewTemplate.hbs delete mode 100644 src/UI/System/Info/DiskSpace/DiskSpaceCollection.js delete mode 100644 src/UI/System/Info/DiskSpace/DiskSpaceLayout.js delete mode 100644 src/UI/System/Info/DiskSpace/DiskSpaceLayoutTemplate.hbs delete mode 100644 src/UI/System/Info/DiskSpace/DiskSpaceModel.js delete mode 100644 src/UI/System/Info/DiskSpace/DiskSpacePathCell.js delete mode 100644 src/UI/System/Info/Health/HealthCell.js delete mode 100644 src/UI/System/Info/Health/HealthLayout.js delete mode 100644 src/UI/System/Info/Health/HealthLayoutTemplate.hbs delete mode 100644 src/UI/System/Info/Health/HealthOkView.js delete mode 100644 src/UI/System/Info/Health/HealthOkViewTemplate.hbs delete mode 100644 src/UI/System/Info/Health/HealthWikiCell.js delete mode 100644 src/UI/System/Info/MoreInfo/MoreInfoView.js delete mode 100644 src/UI/System/Info/MoreInfo/MoreInfoViewTemplate.hbs delete mode 100644 src/UI/System/Info/SystemInfoLayout.js delete mode 100644 src/UI/System/Info/SystemInfoLayoutTemplate.hbs delete mode 100644 src/UI/System/Info/info.less delete mode 100644 src/UI/System/Logs/Files/ContentsModel.js delete mode 100644 src/UI/System/Logs/Files/ContentsView.js delete mode 100644 src/UI/System/Logs/Files/ContentsViewTemplate.hbs delete mode 100644 src/UI/System/Logs/Files/DownloadLogCell.js delete mode 100644 src/UI/System/Logs/Files/FilenameCell.js delete mode 100644 src/UI/System/Logs/Files/LogFileCollection.js delete mode 100644 src/UI/System/Logs/Files/LogFileLayout.js delete mode 100644 src/UI/System/Logs/Files/LogFileLayoutTemplate.hbs delete mode 100644 src/UI/System/Logs/Files/LogFileModel.js delete mode 100644 src/UI/System/Logs/Files/Row.js delete mode 100644 src/UI/System/Logs/LogsCollection.js delete mode 100644 src/UI/System/Logs/LogsLayout.js delete mode 100644 src/UI/System/Logs/LogsLayoutTemplate.hbs delete mode 100644 src/UI/System/Logs/LogsModel.js delete mode 100644 src/UI/System/Logs/Table/Details/LogDetailsView.js delete mode 100644 src/UI/System/Logs/Table/Details/LogDetailsViewTemplate.hbs delete mode 100644 src/UI/System/Logs/Table/LogLevelCell.js delete mode 100644 src/UI/System/Logs/Table/LogRow.js delete mode 100644 src/UI/System/Logs/Table/LogTimeCell.js delete mode 100644 src/UI/System/Logs/Table/LogsTableLayout.js delete mode 100644 src/UI/System/Logs/Table/LogsTableLayoutTemplate.hbs delete mode 100644 src/UI/System/Logs/Updates/LogFileCollection.js delete mode 100644 src/UI/System/Logs/Updates/LogFileModel.js delete mode 100644 src/UI/System/Logs/logs.less delete mode 100644 src/UI/System/StatusModel.js delete mode 100644 src/UI/System/SystemLayout.js delete mode 100644 src/UI/System/SystemLayoutTemplate.hbs delete mode 100644 src/UI/System/Task/ExecuteTaskCell.js delete mode 100644 src/UI/System/Task/NextExecutionCell.js delete mode 100644 src/UI/System/Task/TaskCollection.js delete mode 100644 src/UI/System/Task/TaskIntervalCell.js delete mode 100644 src/UI/System/Task/TaskLayout.js delete mode 100644 src/UI/System/Task/TaskLayoutTemplate.hbs delete mode 100644 src/UI/System/Task/TaskModel.js delete mode 100644 src/UI/System/Update/EmptyView.js delete mode 100644 src/UI/System/Update/EmptyViewTemplate.hbs delete mode 100644 src/UI/System/Update/UpdateCollection.js delete mode 100644 src/UI/System/Update/UpdateCollectionView.js delete mode 100644 src/UI/System/Update/UpdateItemView.js delete mode 100644 src/UI/System/Update/UpdateItemViewTemplate.hbs delete mode 100644 src/UI/System/Update/UpdateLayout.js delete mode 100644 src/UI/System/Update/UpdateLayoutTemplate.hbs delete mode 100644 src/UI/System/Update/UpdateModel.js delete mode 100644 src/UI/System/Update/update.less delete mode 100644 src/UI/Tags/TagCollection.js delete mode 100644 src/UI/Tags/TagHelpers.js delete mode 100644 src/UI/Tags/TagModel.js delete mode 100644 src/UI/Wanted/ControlsColumnTemplate.hbs delete mode 100644 src/UI/Wanted/Cutoff/CutoffUnmetCollection.js delete mode 100644 src/UI/Wanted/Cutoff/CutoffUnmetLayout.js delete mode 100644 src/UI/Wanted/Cutoff/CutoffUnmetLayoutTemplate.hbs delete mode 100644 src/UI/Wanted/Missing/MissingCollection.js delete mode 100644 src/UI/Wanted/Missing/MissingLayout.js delete mode 100644 src/UI/Wanted/Missing/MissingLayoutTemplate.hbs delete mode 100644 src/UI/Wanted/WantedLayout.js delete mode 100644 src/UI/Wanted/WantedLayoutTemplate.hbs delete mode 100644 src/UI/app.js delete mode 100644 src/UI/index.html delete mode 100644 src/UI/jQuery/RouteBinder.js delete mode 100644 src/UI/jQuery/ToTheTop.js delete mode 100644 src/UI/jQuery/jquery.ajax.js delete mode 100644 src/UI/jQuery/jquery.spin.js delete mode 100644 src/UI/jQuery/jquery.validation.js delete mode 100644 src/UI/login.html delete mode 100644 src/UI/main.js delete mode 100644 src/UI/oauth.html delete mode 100644 src/UI/polyfills.js delete mode 100644 src/UI/reqres.js delete mode 100644 src/UI/vendor.js delete mode 100644 src/UI/vent.js diff --git a/.gitignore b/.gitignore index bd5b618c3..4dc71476c 100644 --- a/.gitignore +++ b/.gitignore @@ -120,7 +120,7 @@ _tests/ setup/Output/ *.~is -UI.Phantom/ +UI/ #VS outout folders bin diff --git a/build.sh b/build.sh index cede3c535..956cabdda 100755 --- a/build.sh +++ b/build.sh @@ -95,12 +95,8 @@ RunGulp() ProgressEnd 'yarn install' echo "##teamcity[progressStart 'Running gulp']" - CheckExitCode npm run build + CheckExitCode yarn run build --production echo "##teamcity[progressFinish 'Running gulp']" - - echo "##teamcity[progressStart 'Running gulp (phantom)']" - CheckExitCode yarn run build -- --production - echo "##teamcity[progressFinish 'Running gulp (phantom)']" } CreateMdbs() diff --git a/gulp/build.js b/gulp/build.js deleted file mode 100644 index 23f457baf..000000000 --- a/gulp/build.js +++ /dev/null @@ -1,18 +0,0 @@ -var gulp = require('gulp'); -var runSequence = require('run-sequence'); - -require('./clean'); -require('./less'); -require('./handlebars'); -require('./copy'); - -gulp.task('build', function() { - return runSequence('clean', [ - 'webpack', - 'less', - 'handlebars', - 'copyHtml', - 'copyContent', - 'copyJs' - ]); -}); diff --git a/gulp/clean.js b/gulp/clean.js deleted file mode 100644 index 73b5868a2..000000000 --- a/gulp/clean.js +++ /dev/null @@ -1,8 +0,0 @@ -var gulp = require('gulp'); -var del = require('del'); - -var paths = require('./paths'); - -gulp.task('clean', function() { - return del([paths.dest.root]); -}); diff --git a/gulp/copy.js b/gulp/copy.js deleted file mode 100644 index 9962defef..000000000 --- a/gulp/copy.js +++ /dev/null @@ -1,31 +0,0 @@ -var gulp = require('gulp'); -var print = require('gulp-print'); -var cache = require('gulp-cached'); -var livereload = require('gulp-livereload'); - -var paths = require('./paths.js'); - -gulp.task('copyJs', function () { - return gulp.src( - [ - paths.src.root + 'polyfills.js', - paths.src.root + 'JsLibraries/handlebars.runtime.js' - ]) - .pipe(cache('copyJs')) - .pipe(print()) - .pipe(gulp.dest(paths.dest.root)) - .pipe(livereload()); -}); - -gulp.task('copyHtml', function () { - return gulp.src(paths.src.html) - .pipe(cache('copyHtml')) - .pipe(gulp.dest(paths.dest.root)) - .pipe(livereload()); -}); - -gulp.task('copyContent', function () { - return gulp.src([paths.src.content + '**/*.*', '!**/*.less', '!**/*.css']) - .pipe(gulp.dest(paths.dest.content)) - .pipe(livereload()); -}); diff --git a/gulp/errorHandler.js b/gulp/errorHandler.js deleted file mode 100644 index db24e1a66..000000000 --- a/gulp/errorHandler.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - onError : function(error) { - //If you want details of the error in the console - console.log(error.toString()); - this.emit('end'); - } -}; \ No newline at end of file diff --git a/gulp/gulpFile.js b/gulp/gulpFile.js deleted file mode 100644 index fd48cf1b0..000000000 --- a/gulp/gulpFile.js +++ /dev/null @@ -1,10 +0,0 @@ -require('./watch.js'); -require('./build.js'); -require('./clean.js'); -require('./handlebars.js'); -require('./copy.js'); -require('./less.js'); -require('./stripBom.js'); -require('./imageMin.js'); -require('./webpack.js'); -require('./start.js'); diff --git a/gulp/handlebars.js b/gulp/handlebars.js deleted file mode 100644 index aab62f438..000000000 --- a/gulp/handlebars.js +++ /dev/null @@ -1,55 +0,0 @@ -var gulp = require('gulp'); -var handlebars = require('gulp-handlebars'); -var declare = require('gulp-declare'); -var concat = require('gulp-concat'); -var wrap = require("gulp-wrap"); -var livereload = require('gulp-livereload'); -var path = require('path'); -var streamqueue = require('streamqueue'); -var stripbom = require('gulp-stripbom'); - -var paths = require('./paths.js'); - -gulp.task('handlebars', function() { - - var coreStream = gulp.src([ - paths.src.templates, - '!*/**/*Partial.*' - ]) - .pipe(stripbom({ showLog : false })) - .pipe(handlebars()) - .pipe(declare({ - namespace : 'T', - noRedeclare : true, - processName : function(filePath) { - - filePath = path.relative(paths.src.root, filePath); - - return filePath.replace(/\\/g, '/') - .toLocaleLowerCase() - .replace('template', '') - .replace('.js', ''); - } - })); - - var partialStream = gulp.src([paths.src.partials]) - .pipe(stripbom({ showLog : false })) - .pipe(handlebars()) - .pipe(wrap('Handlebars.template(<%= contents %>)')) - .pipe(wrap('Handlebars.registerPartial(<%= processPartialName(file.relative) %>, <%= contents %>)', {}, { - imports : { - processPartialName : function(fileName) { - return JSON.stringify( - path.basename(fileName, '.js') - ); - } - } - })); - - return streamqueue({ objectMode : true }, - partialStream, - coreStream - ).pipe(concat('templates.js')) - .pipe(gulp.dest(paths.dest.root)) - .pipe(livereload()); -}); diff --git a/gulp/imageMin.js b/gulp/imageMin.js deleted file mode 100644 index 6c8236e03..000000000 --- a/gulp/imageMin.js +++ /dev/null @@ -1,15 +0,0 @@ -var gulp = require('gulp'); -var print = require('gulp-print'); -var paths = require('./paths.js'); - -gulp.task('imageMin', function() { - var imagemin = require('gulp-imagemin'); - return gulp.src(paths.src.images) - .pipe(imagemin({ - progressive : false, - optimizationLevel : 4, - svgoPlugins : [{ removeViewBox : false }] - })) - .pipe(print()) - .pipe(gulp.dest(paths.src.content + 'Images/')); -}); \ No newline at end of file diff --git a/gulp/less.js b/gulp/less.js deleted file mode 100644 index 380f81363..000000000 --- a/gulp/less.js +++ /dev/null @@ -1,51 +0,0 @@ -var gulp = require('gulp'); - -var less = require('gulp-less'); -var postcss = require('gulp-postcss'); -var sourcemaps = require('gulp-sourcemaps'); -var autoprefixer = require('autoprefixer'); -var livereload = require('gulp-livereload'); -var cleancss = require('gulp-clean-css'); -var print = require('gulp-print'); -var paths = require('./paths'); -var errorHandler = require('./errorHandler'); - -gulp.task('less', function() { - - var src = [ - paths.src.content + 'bootstrap.less', - paths.src.content + 'theme.less', - paths.src.content + 'overrides.less', - paths.src.content + 'bootstrap.toggle-switch.css', - paths.src.content + 'fullcalendar.css', - paths.src.content + 'Messenger/messenger.css', - paths.src.content + 'Messenger/messenger.flat.css', - paths.src.root + 'Series/series.less', - paths.src.root + 'Activity/activity.less', - paths.src.root + 'AddSeries/addSeries.less', - paths.src.root + 'Calendar/calendar.less', - paths.src.root + 'Cells/cells.less', - paths.src.root + 'ManualImport/manualimport.less', - paths.src.root + 'Settings/settings.less', - paths.src.root + 'System/Logs/logs.less', - paths.src.root + 'System/Update/update.less', - paths.src.root + 'System/Info/info.less' - ]; - - return gulp.src(src) - .pipe(print()) - .pipe(sourcemaps.init()) - .pipe(less({ - dumpLineNumbers : 'false', - compress : false, - yuicompress : false, - ieCompat : true, - strictImports : true - })) - .pipe(postcss([ autoprefixer({ browsers: ['last 2 versions'] }) ])) - .pipe(cleancss()) - .on('error', errorHandler.onError) - .pipe(sourcemaps.write(paths.dest.content)) - .pipe(gulp.dest(paths.dest.content)) - .pipe(livereload()); -}); diff --git a/gulp/paths.js b/gulp/paths.js deleted file mode 100644 index e05aa1d2b..000000000 --- a/gulp/paths.js +++ /dev/null @@ -1,21 +0,0 @@ -var paths = { - src : { - root : './src/UI/', - templates : './src/UI/**/*.hbs', - html : './src/UI/*.html', - partials : './src/UI/**/*Partial.hbs', - scripts : './src/UI/**/*.js', - less : ['./src/UI/**/*.less'], - content : './src/UI/Content/', - images : './src/UI/Content/Images/**/*', - exclude : { - libs : '!./src/UI/JsLibraries/**' - } - }, - dest : { - root : './_output/UI/', - content : './_output/UI/Content/' - } -}; - -module.exports = paths; diff --git a/gulp/start.js b/gulp/start.js deleted file mode 100644 index 5b5f88044..000000000 --- a/gulp/start.js +++ /dev/null @@ -1,112 +0,0 @@ -// will download and run sonarr (server) in a non-windows enviroment -// you can use this if you don't care about the server code and just want to work -// with the web code. - -var http = require('http'); -var gulp = require('gulp'); -var fs = require('fs'); -var targz = require('tar.gz'); -var del = require('del'); -var print = require('gulp-print'); -var spawn = require('child_process').spawn; - -function download(url, dest, cb) { - console.log('Downloading ' + url + ' to ' + dest); - var file = fs.createWriteStream(dest); - var request = http.get(url, function (response) { - response.pipe(file); - file.on('finish', function () { - console.log('Download completed'); - file.close(cb); - }); - }); -} - -function getLatest(cb) { - var branch = 'develop'; - process.argv.forEach(function (val) { - var branchMatch = /branch=([\S]*)/.exec(val); - if (branchMatch && branchMatch.length > 1) { - branch = branchMatch[1]; - } - }); - - var url = 'http://services.sonarr.tv/v1/update/' + branch + '?os=osx'; - - console.log('Checking for latest version:', url); - - http.get(url, function (res) { - var data = ''; - - res.on('data', function (chunk) { - data += chunk; - }); - - res.on('end', function () { - var updatePackage = JSON.parse(data).updatePackage; - console.log('Latest version available: ' + updatePackage.version + ' Release Date: ' + updatePackage.releaseDate); - cb(updatePackage); - }); - }).on('error', function (e) { - console.log('problem with request: ' + e.message); - }); -} - -function extract(source, dest, cb) { - console.log('extracting download page to ' + dest); - new targz().extract(source, dest, function (err) { - if (err) { - console.log(err); - } - console.log('Update package extracted.'); - cb(); - }); -} - -gulp.task('getSonarr', function () { - - //gulp.src('/Users/kayone/git/Sonarr/_start/2.0.0.3288/NzbDrone/*.*') - // .pipe(print()) - // .pipe(gulp.dest('./_output - - //return; - try { - fs.mkdirSync('./_start/'); - } catch (e) { - if (e.code != 'EEXIST') { - throw e; - } - } - - getLatest(function (package) { - var packagePath = "./_start/" + package.filename; - var dirName = "./_start/" + package.version; - download(package.url, packagePath, function () { - extract(packagePath, dirName, function () { - // clean old binaries - console.log('Cleaning old binaries'); - del.sync(['./_output/*', '!./_output/UI/']); - console.log('copying binaries to target'); - gulp.src(dirName + '/NzbDrone/*.*') - .pipe(gulp.dest('./_output/')); - }); - }); - }); -}); - -gulp.task('startSonarr', function () { - - var ls = spawn('mono', ['--debug', './_output/NzbDrone.exe']); - - ls.stdout.on('data', function (data) { - process.stdout.write('' + data); - }); - - ls.stderr.on('data', function (data) { - process.stdout.write('' + data); - }); - - ls.on('close', function (code) { - console.log('child process exited with code ' + code); - }); -}); diff --git a/gulp/stripBom.js b/gulp/stripBom.js deleted file mode 100644 index d10238c3e..000000000 --- a/gulp/stripBom.js +++ /dev/null @@ -1,27 +0,0 @@ -var gulp = require('gulp'); -var paths = require('./paths.js'); -var stripbom = require('gulp-stripbom'); - -var stripBom = function(dest) { - gulp.src([paths.src.scripts, paths.src.exclude.libs]) - .pipe(stripbom({ - showLog: false - })) - .pipe(gulp.dest(dest)); - - gulp.src(paths.src.less) - .pipe(stripbom({ - showLog: false - })) - .pipe(gulp.dest(dest)); - - gulp.src(paths.src.templates) - .pipe(stripbom({ - showLog: false - })) - .pipe(gulp.dest(dest)); -}; - -gulp.task('stripBom', function() { - stripBom(paths.src.root); -}); diff --git a/gulp/watch.js b/gulp/watch.js deleted file mode 100644 index 49a85f2b9..000000000 --- a/gulp/watch.js +++ /dev/null @@ -1,19 +0,0 @@ -var gulp = require('gulp'); -var livereload = require('gulp-livereload'); - -var paths = require('./paths.js'); - -require('./handlebars.js'); -require('./less.js'); -require('./copy.js'); -require('./webpack.js'); - -gulp.task('watch', ['handlebars', 'less', 'copyHtml', 'copyContent', 'copyJs'], function () { - livereload.listen(); - gulp.start('webpackWatch'); - gulp.watch([paths.src.scripts, paths.src.exclude.libs], ['copyJs']); - gulp.watch(paths.src.templates, ['handlebars']); - gulp.watch([paths.src.less, paths.src.exclude.libs], ['less']); - gulp.watch([paths.src.html], ['copyHtml']); - gulp.watch([paths.src.content + '**/*.*', '!**/*.less'], ['copyContent']); -}); diff --git a/gulp/webpack.js b/gulp/webpack.js deleted file mode 100644 index 64570593c..000000000 --- a/gulp/webpack.js +++ /dev/null @@ -1,13 +0,0 @@ -var gulp = require('gulp'); -var webpackStream = require('webpack-stream'); -var livereload = require('gulp-livereload'); -var webpackConfig = require('../webpack.config'); - -gulp.task('webpack', function() { - return gulp.src('main.js').pipe(webpackStream(webpackConfig)).pipe(gulp.dest('')); -}); - -gulp.task('webpackWatch', function() { - webpackConfig.watch = true; - return gulp.src('main.js').pipe(webpackStream(webpackConfig)).pipe(gulp.dest('')).pipe(livereload()); -}); diff --git a/gulpFile.js b/gulpFile.js index fea49f151..73636a918 100644 --- a/gulpFile.js +++ b/gulpFile.js @@ -1,7 +1 @@ -var phantom = require('./frontend/gulp/helpers/phantom'); - -if (phantom) { - require('./frontend/gulp/gulpFile.js'); -} else { - require('./gulp/gulpFile.js'); -} +require('./frontend/gulp/gulpFile.js'); diff --git a/src/UI/.idea/.name b/src/UI/.idea/.name deleted file mode 100644 index 78ec2c0fe..000000000 --- a/src/UI/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -NzbDrone.UI \ No newline at end of file diff --git a/src/UI/.idea/NzbDrone.UI.iml b/src/UI/.idea/NzbDrone.UI.iml deleted file mode 100644 index 2184ad470..000000000 --- a/src/UI/.idea/NzbDrone.UI.iml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/src/UI/.idea/codeStyleSettings.xml b/src/UI/.idea/codeStyleSettings.xml deleted file mode 100644 index 7598f4c8e..000000000 --- a/src/UI/.idea/codeStyleSettings.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/UI/.idea/dictionaries/Keivan.xml b/src/UI/.idea/dictionaries/Keivan.xml deleted file mode 100644 index e85a39c0f..000000000 --- a/src/UI/.idea/dictionaries/Keivan.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - deps - mixins - nzbdrone - rootdir - rootfolder - rootfolders - signalr - sonarr - templated - thetvdb - trakt - tvdb - xlarge - yyyy - - - \ No newline at end of file diff --git a/src/UI/.idea/dictionaries/Keivan_Beigi.xml b/src/UI/.idea/dictionaries/Keivan_Beigi.xml deleted file mode 100644 index 00d8e4cec..000000000 --- a/src/UI/.idea/dictionaries/Keivan_Beigi.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - backgrid - bnzbd - clickable - couldn - mouseenter - mouseleave - navbar - - - \ No newline at end of file diff --git a/src/UI/.idea/dictionaries/Mark.xml b/src/UI/.idea/dictionaries/Mark.xml deleted file mode 100644 index ecbbe884c..000000000 --- a/src/UI/.idea/dictionaries/Mark.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/UI/.idea/encodings.xml b/src/UI/.idea/encodings.xml deleted file mode 100644 index e55d06786..000000000 --- a/src/UI/.idea/encodings.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/src/UI/.idea/inspectionProfiles/Project_Default.xml b/src/UI/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 7aba4e3c2..000000000 --- a/src/UI/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,117 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/UI/.idea/inspectionProfiles/profiles_settings.xml b/src/UI/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index 3b312839b..000000000 --- a/src/UI/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/UI/.idea/jsLibraryMappings.xml b/src/UI/.idea/jsLibraryMappings.xml deleted file mode 100644 index 62c621f94..000000000 --- a/src/UI/.idea/jsLibraryMappings.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/UI/.idea/jsLinters/jshint.xml b/src/UI/.idea/jsLinters/jshint.xml deleted file mode 100644 index 0b5c0e41e..000000000 --- a/src/UI/.idea/jsLinters/jshint.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/UI/.idea/jsLinters/jslint.xml b/src/UI/.idea/jsLinters/jslint.xml deleted file mode 100644 index 822a7aa5e..000000000 --- a/src/UI/.idea/jsLinters/jslint.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - diff --git a/src/UI/.idea/misc.xml b/src/UI/.idea/misc.xml deleted file mode 100644 index e9e9ba1c3..000000000 --- a/src/UI/.idea/misc.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/UI/.idea/modules.xml b/src/UI/.idea/modules.xml deleted file mode 100644 index ab774833e..000000000 --- a/src/UI/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/src/UI/.idea/runConfigurations/Debug___Chrome.xml b/src/UI/.idea/runConfigurations/Debug___Chrome.xml deleted file mode 100644 index 47bd06dc9..000000000 --- a/src/UI/.idea/runConfigurations/Debug___Chrome.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/UI/.idea/runConfigurations/Debug___Firefox.xml b/src/UI/.idea/runConfigurations/Debug___Firefox.xml deleted file mode 100644 index d9e99acc3..000000000 --- a/src/UI/.idea/runConfigurations/Debug___Firefox.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/UI/.idea/scopes/NzbDrone.xml b/src/UI/.idea/scopes/NzbDrone.xml deleted file mode 100644 index 17c1c9c5e..000000000 --- a/src/UI/.idea/scopes/NzbDrone.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/UI/.idea/scopes/scope_settings.xml b/src/UI/.idea/scopes/scope_settings.xml deleted file mode 100644 index 922003b84..000000000 --- a/src/UI/.idea/scopes/scope_settings.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/UI/.idea/vcs.xml b/src/UI/.idea/vcs.xml deleted file mode 100644 index 9ab281ac8..000000000 --- a/src/UI/.idea/vcs.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/UI/.jshintrc b/src/UI/.jshintrc deleted file mode 100644 index 888afe448..000000000 --- a/src/UI/.jshintrc +++ /dev/null @@ -1,19 +0,0 @@ -{ - "-W030": false, - "-W064": false, - "-W097": false, - "-W100": false, - "undef": true, - "curly": true, - "immed": true, - "eqeqeq": true, - "latedef": true, - "globals": { - "module": true, - "require": true, - "define": true, - "window": true, - "document": true, - "console": true - } -} diff --git a/src/UI/Activity/ActivityLayout.js b/src/UI/Activity/ActivityLayout.js deleted file mode 100644 index a8826a714..000000000 --- a/src/UI/Activity/ActivityLayout.js +++ /dev/null @@ -1,84 +0,0 @@ -var Marionette = require('marionette'); -var Backbone = require('backbone'); -var Backgrid = require('backgrid'); -var HistoryLayout = require('./History/HistoryLayout'); -var BlacklistLayout = require('./Blacklist/BlacklistLayout'); -var QueueLayout = require('./Queue/QueueLayout'); - -module.exports = Marionette.Layout.extend({ - template : 'Activity/ActivityLayoutTemplate', - - regions : { - queueRegion : '#queue', - history : '#history', - blacklist : '#blacklist' - }, - - ui : { - queueTab : '.x-queue-tab', - historyTab : '.x-history-tab', - blacklistTab : '.x-blacklist-tab' - }, - - events : { - 'click .x-queue-tab' : '_showQueue', - 'click .x-history-tab' : '_showHistory', - 'click .x-blacklist-tab' : '_showBlacklist' - }, - - initialize : function(options) { - if (options.action) { - this.action = options.action.toLowerCase(); - } - }, - - onShow : function() { - switch (this.action) { - case 'history': - this._showHistory(); - break; - case 'blacklist': - this._showBlacklist(); - break; - default: - this._showQueue(); - } - }, - - _navigate : function(route) { - Backbone.history.navigate(route, { - trigger : false, - replace : true - }); - }, - - _showHistory : function(e) { - if (e) { - e.preventDefault(); - } - - this.history.show(new HistoryLayout()); - this.ui.historyTab.tab('show'); - this._navigate('/activity/history'); - }, - - _showBlacklist : function(e) { - if (e) { - e.preventDefault(); - } - - this.blacklist.show(new BlacklistLayout()); - this.ui.blacklistTab.tab('show'); - this._navigate('/activity/blacklist'); - }, - - _showQueue : function(e) { - if (e) { - e.preventDefault(); - } - - this.queueRegion.show(new QueueLayout()); - this.ui.queueTab.tab('show'); - this._navigate('/activity/queue'); - } -}); \ No newline at end of file diff --git a/src/UI/Activity/ActivityLayoutTemplate.hbs b/src/UI/Activity/ActivityLayoutTemplate.hbs deleted file mode 100644 index c9c08ecf7..000000000 --- a/src/UI/Activity/ActivityLayoutTemplate.hbs +++ /dev/null @@ -1,11 +0,0 @@ - - -
-
-
-
-
\ No newline at end of file diff --git a/src/UI/Activity/Blacklist/BlacklistActionsCell.js b/src/UI/Activity/Blacklist/BlacklistActionsCell.js deleted file mode 100644 index 61ce7d102..000000000 --- a/src/UI/Activity/Blacklist/BlacklistActionsCell.js +++ /dev/null @@ -1,28 +0,0 @@ -var vent = require('vent'); -var NzbDroneCell = require('../../Cells/NzbDroneCell'); -var BlacklistDetailsLayout = require('./Details/BlacklistDetailsLayout'); - -module.exports = NzbDroneCell.extend({ - className : 'blacklist-actions-cell', - - events : { - 'click .x-details' : '_details', - 'click .x-delete' : '_delete' - }, - - render : function() { - this.$el.empty(); - this.$el.html('' + - ''); - - return this; - }, - - _details : function() { - vent.trigger(vent.Commands.OpenModalCommand, new BlacklistDetailsLayout({ model : this.model })); - }, - - _delete : function() { - this.model.destroy(); - } -}); diff --git a/src/UI/Activity/Blacklist/BlacklistCollection.js b/src/UI/Activity/Blacklist/BlacklistCollection.js deleted file mode 100644 index d7e2f1a16..000000000 --- a/src/UI/Activity/Blacklist/BlacklistCollection.js +++ /dev/null @@ -1,47 +0,0 @@ -var BlacklistModel = require('./BlacklistModel'); -var PageableCollection = require('backbone.pageable'); -var AsSortedCollection = require('../../Mixins/AsSortedCollection'); -var AsPersistedStateCollection = require('../../Mixins/AsPersistedStateCollection'); - -var Collection = PageableCollection.extend({ - url : window.NzbDrone.ApiRoot + '/blacklist', - model : BlacklistModel, - - state : { - pageSize : 15, - sortKey : 'date', - order : 1 - }, - - queryParams : { - totalPages : null, - totalRecords : null, - pageSize : 'pageSize', - sortKey : 'sortKey', - order : 'sortDir', - directions : { - '-1' : 'asc', - '1' : 'desc' - } - }, - - sortMappings : { - 'series' : { sortKey : 'series.sortTitle' } - }, - - parseState : function(resp) { - return { totalRecords : resp.totalRecords }; - }, - - parseRecords : function(resp) { - if (resp) { - return resp.records; - } - - return resp; - } -}); -Collection = AsSortedCollection.call(Collection); -Collection = AsPersistedStateCollection.call(Collection); - -module.exports = Collection; \ No newline at end of file diff --git a/src/UI/Activity/Blacklist/BlacklistLayout.js b/src/UI/Activity/Blacklist/BlacklistLayout.js deleted file mode 100644 index 22d7da60e..000000000 --- a/src/UI/Activity/Blacklist/BlacklistLayout.js +++ /dev/null @@ -1,114 +0,0 @@ -var vent = require('vent'); -var Marionette = require('marionette'); -var Backgrid = require('backgrid'); -var BlacklistCollection = require('./BlacklistCollection'); -var SeriesTitleCell = require('../../Cells/SeriesTitleCell'); -var QualityCell = require('../../Cells/QualityCell'); -var RelativeDateCell = require('../../Cells/RelativeDateCell'); -var BlacklistActionsCell = require('./BlacklistActionsCell'); -var GridPager = require('../../Shared/Grid/Pager'); -var LoadingView = require('../../Shared/LoadingView'); -var ToolbarLayout = require('../../Shared/Toolbar/ToolbarLayout'); - -module.exports = Marionette.Layout.extend({ - template : 'Activity/Blacklist/BlacklistLayoutTemplate', - - regions : { - blacklist : '#x-blacklist', - toolbar : '#x-toolbar', - pager : '#x-pager' - }, - - columns : [ - { - name : 'series', - label : 'Series', - cell : SeriesTitleCell - }, - { - name : 'sourceTitle', - label : 'Source Title', - cell : 'string' - }, - { - name : 'quality', - label : 'Quality', - cell : QualityCell, - sortable : false - }, - { - name : 'date', - label : 'Date', - cell : RelativeDateCell - }, - { - name : 'this', - label : '', - cell : BlacklistActionsCell, - sortable : false - } - ], - - initialize : function() { - this.collection = new BlacklistCollection({ tableName : 'blacklist' }); - - this.listenTo(this.collection, 'sync', this._showTable); - this.listenTo(vent, vent.Events.CommandComplete, this._commandComplete); - }, - - onShow : function() { - this.blacklist.show(new LoadingView()); - this._showToolbar(); - this.collection.fetch(); - }, - - _showTable : function(collection) { - - this.blacklist.show(new Backgrid.Grid({ - columns : this.columns, - collection : collection, - className : 'table table-hover' - })); - - this.pager.show(new GridPager({ - columns : this.columns, - collection : collection - })); - }, - - _showToolbar : function() { - var leftSideButtons = { - type : 'default', - storeState : false, - items : [ - { - title : 'Clear Blacklist', - icon : 'icon-sonarr-clear', - command : 'clearBlacklist' - } - ] - }; - - this.toolbar.show(new ToolbarLayout({ - left : [ - leftSideButtons - ], - context : this - })); - }, - - _refreshTable : function(buttonContext) { - this.collection.state.currentPage = 1; - var promise = this.collection.fetch({ reset : true }); - - if (buttonContext) { - buttonContext.ui.icon.spinForPromise(promise); - } - }, - - _commandComplete : function(options) { - if (options.command.get('name') === 'clearblacklist') { - this._refreshTable(); - } - } -}); diff --git a/src/UI/Activity/Blacklist/BlacklistLayoutTemplate.hbs b/src/UI/Activity/Blacklist/BlacklistLayoutTemplate.hbs deleted file mode 100644 index 8f78eb0db..000000000 --- a/src/UI/Activity/Blacklist/BlacklistLayoutTemplate.hbs +++ /dev/null @@ -1,11 +0,0 @@ -
-
-
-
-
-
-
-
-
-
-
diff --git a/src/UI/Activity/Blacklist/BlacklistModel.js b/src/UI/Activity/Blacklist/BlacklistModel.js deleted file mode 100644 index e103f718f..000000000 --- a/src/UI/Activity/Blacklist/BlacklistModel.js +++ /dev/null @@ -1,17 +0,0 @@ -var Backbone = require('backbone'); -var SeriesCollection = require('../../Series/SeriesCollection'); - -module.exports = Backbone.Model.extend({ - - //Hack to deal with Backbone 1.0's bug - initialize : function() { - this.url = function() { - return this.collection.url + '/' + this.get('id'); - }; - }, - - parse : function(model) { - model.series = SeriesCollection.get(model.seriesId); - return model; - } -}); \ No newline at end of file diff --git a/src/UI/Activity/Blacklist/Details/BlacklistDetailsLayout.js b/src/UI/Activity/Blacklist/Details/BlacklistDetailsLayout.js deleted file mode 100644 index cdcbf25f0..000000000 --- a/src/UI/Activity/Blacklist/Details/BlacklistDetailsLayout.js +++ /dev/null @@ -1,14 +0,0 @@ -var Marionette = require('marionette'); -var BlacklistDetailsView = require('./BlacklistDetailsView'); - -module.exports = Marionette.Layout.extend({ - template : 'Activity/Blacklist/Details/BlacklistDetailsLayoutTemplate', - - regions : { - bodyRegion : '.modal-body' - }, - - onShow : function() { - this.bodyRegion.show(new BlacklistDetailsView({ model : this.model })); - } -}); \ No newline at end of file diff --git a/src/UI/Activity/Blacklist/Details/BlacklistDetailsLayoutTemplate.hbs b/src/UI/Activity/Blacklist/Details/BlacklistDetailsLayoutTemplate.hbs deleted file mode 100644 index 3cdfa99c7..000000000 --- a/src/UI/Activity/Blacklist/Details/BlacklistDetailsLayoutTemplate.hbs +++ /dev/null @@ -1,18 +0,0 @@ - diff --git a/src/UI/Activity/Blacklist/Details/BlacklistDetailsView.js b/src/UI/Activity/Blacklist/Details/BlacklistDetailsView.js deleted file mode 100644 index 1b7bc883d..000000000 --- a/src/UI/Activity/Blacklist/Details/BlacklistDetailsView.js +++ /dev/null @@ -1,5 +0,0 @@ -var Marionette = require('marionette'); - -module.exports = Marionette.ItemView.extend({ - template : 'Activity/Blacklist/Details/BlacklistDetailsViewTemplate' -}); \ No newline at end of file diff --git a/src/UI/Activity/Blacklist/Details/BlacklistDetailsViewTemplate.hbs b/src/UI/Activity/Blacklist/Details/BlacklistDetailsViewTemplate.hbs deleted file mode 100644 index d29a878fc..000000000 --- a/src/UI/Activity/Blacklist/Details/BlacklistDetailsViewTemplate.hbs +++ /dev/null @@ -1,23 +0,0 @@ -
- -
Name:
-
{{sourceTitle}}
- - {{#if protocol}} - {{#unless_eq protocol compare="unknown"}} -
Protocol:
-
{{protocol}}
- {{/unless_eq}} - {{/if}} - - {{#if indexer}} -
Indexer:
-
{{indexer}}
- {{/if}} - - - {{#if message}} -
Message:
-
{{message}}
- {{/if}} -
diff --git a/src/UI/Activity/History/Details/HistoryDetailsAge.js b/src/UI/Activity/History/Details/HistoryDetailsAge.js deleted file mode 100644 index a7c40f69a..000000000 --- a/src/UI/Activity/History/Details/HistoryDetailsAge.js +++ /dev/null @@ -1,22 +0,0 @@ -var Handlebars = require('handlebars'); -var FormatHelpers = require('../../../Shared/FormatHelpers'); - -Handlebars.registerHelper('historyAge', function() { - - var age = this.age; - var unit = FormatHelpers.plural(Math.round(age), 'day'); - var ageHours = parseFloat(this.ageHours); - var ageMinutes = this.ageMinutes ? parseFloat(this.ageMinutes) : null; - - if (age < 2) { - age = ageHours.toFixed(1); - unit = FormatHelpers.plural(Math.round(ageHours), 'hour'); - } - - if (age < 2 && ageMinutes) { - age = parseFloat(ageMinutes).toFixed(1); - unit = FormatHelpers.plural(Math.round(ageMinutes), 'minute'); - } - - return new Handlebars.SafeString('
Age (when grabbed):
{0} {1}
'.format(age, unit)); -}); diff --git a/src/UI/Activity/History/Details/HistoryDetailsLayout.js b/src/UI/Activity/History/Details/HistoryDetailsLayout.js deleted file mode 100644 index 5654a3e72..000000000 --- a/src/UI/Activity/History/Details/HistoryDetailsLayout.js +++ /dev/null @@ -1,35 +0,0 @@ -var $ = require('jquery'); -var vent = require('vent'); -var Marionette = require('marionette'); -var HistoryDetailsView = require('./HistoryDetailsView'); - -module.exports = Marionette.Layout.extend({ - template : 'Activity/History/Details/HistoryDetailsLayoutTemplate', - - regions : { - bodyRegion : '.modal-body' - }, - - events : { - 'click .x-mark-as-failed' : '_markAsFailed' - }, - - onShow : function() { - this.bodyRegion.show(new HistoryDetailsView({ model : this.model })); - }, - - _markAsFailed : function() { - var url = window.NzbDrone.ApiRoot + '/history/failed'; - var data = { - id : this.model.get('id') - }; - - $.ajax({ - url : url, - type : 'POST', - data : data - }); - - vent.trigger(vent.Commands.CloseModalCommand); - } -}); \ No newline at end of file diff --git a/src/UI/Activity/History/Details/HistoryDetailsLayoutTemplate.hbs b/src/UI/Activity/History/Details/HistoryDetailsLayoutTemplate.hbs deleted file mode 100644 index ec1181c90..000000000 --- a/src/UI/Activity/History/Details/HistoryDetailsLayoutTemplate.hbs +++ /dev/null @@ -1,23 +0,0 @@ - diff --git a/src/UI/Activity/History/Details/HistoryDetailsView.js b/src/UI/Activity/History/Details/HistoryDetailsView.js deleted file mode 100644 index a883b0cb4..000000000 --- a/src/UI/Activity/History/Details/HistoryDetailsView.js +++ /dev/null @@ -1,6 +0,0 @@ -var Marionette = require('marionette'); -require('./HistoryDetailsAge'); - -module.exports = Marionette.ItemView.extend({ - template : 'Activity/History/Details/HistoryDetailsViewTemplate' -}); \ No newline at end of file diff --git a/src/UI/Activity/History/Details/HistoryDetailsViewTemplate.hbs b/src/UI/Activity/History/Details/HistoryDetailsViewTemplate.hbs deleted file mode 100644 index b70b8e4cb..000000000 --- a/src/UI/Activity/History/Details/HistoryDetailsViewTemplate.hbs +++ /dev/null @@ -1,122 +0,0 @@ -{{#if_eq eventType compare="grabbed"}} -
- -
Name:
-
{{sourceTitle}}
- - {{#with data}} - {{#if indexer}} -
Indexer:
-
{{indexer}}
- {{/if}} - - {{#if releaseGroup}} -
Release Group:
-
{{releaseGroup}}
- {{/if}} - - {{#if nzbInfoUrl}} -
Info:
-
{{nzbInfoUrl}}
- {{/if}} - - {{#if downloadClient}} -
Download Client:
-
{{downloadClient}}
- {{/if}} - - {{#if downloadId}} -
Grab ID:
-
{{downloadId}}
- {{/if}} - - {{#if age}} - {{historyAge}} - {{/if}} - - {{#if publishedDate}} -
Published Date:
-
{{ShortDate publishedDate}} {{LTS publishedDate}}
- {{/if}} - {{/with}} -
-{{/if_eq}} - -{{#if_eq eventType compare="downloadFailed"}} -
- -
Name:
-
{{sourceTitle}}
- - {{#with data}} -
Message:
-
{{message}}
- {{/with}} -
-{{/if_eq}} - -{{#if_eq eventType compare="downloadFolderImported"}} -
- - {{#if sourceTitle}} -
Name:
-
{{sourceTitle}}
- {{/if}} - - {{#with data}} - {{#if droppedPath}} -
Source:
-
{{droppedPath}}
- {{/if}} - - {{#if importedPath}} -
Imported To:
-
{{importedPath}}
- {{/if}} - {{/with}} -
-{{/if_eq}} - -{{#if_eq eventType compare="episodeFileDeleted"}} -
- -
Path:
-
{{sourceTitle}}
- - {{#with data}} -
Reason:
-
- {{#if_eq reason compare="Manual"}} - File was deleted by via UI - {{/if_eq}} - - {{#if_eq reason compare="MissingFromDisk"}} - Sonarr was unable to find the file on disk so it was removed - {{/if_eq}} - - {{#if_eq reason compare="Upgrade"}} - File was deleted to import an upgrade - {{/if_eq}} -
- {{/with}} -
-{{/if_eq}} - -{{#if_eq eventType compare="episodeFileRenamed"}} -
- -
Source Path:
-
{{sourceTitle}}
- - {{#with data}} -
Source Relative Path:
-
{{sourceRelativePath}}
- -
Path:
-
{{path}}
- -
Relative Path:
-
{{relativePath}}
- {{/with}} -
-{{/if_eq}} diff --git a/src/UI/Activity/History/HistoryCollection.js b/src/UI/Activity/History/HistoryCollection.js deleted file mode 100644 index 661e2221a..000000000 --- a/src/UI/Activity/History/HistoryCollection.js +++ /dev/null @@ -1,87 +0,0 @@ -var HistoryModel = require('./HistoryModel'); -var PageableCollection = require('backbone.pageable'); -var AsFilteredCollection = require('../../Mixins/AsFilteredCollection'); -var AsSortedCollection = require('../../Mixins/AsSortedCollection'); -var AsPersistedStateCollection = require('../../Mixins/AsPersistedStateCollection'); - -var Collection = PageableCollection.extend({ - url : window.NzbDrone.ApiRoot + '/history', - model : HistoryModel, - - state : { - pageSize : 15, - sortKey : 'date', - order : 1 - }, - - queryParams : { - totalPages : null, - totalRecords : null, - pageSize : 'pageSize', - sortKey : 'sortKey', - order : 'sortDir', - directions : { - '-1' : 'asc', - '1' : 'desc' - } - }, - - filterModes : { - 'all' : [ - null, - null - ], - 'grabbed' : [ - 'eventType', - '1' - ], - 'imported' : [ - 'eventType', - '3' - ], - 'failed' : [ - 'eventType', - '4' - ], - 'deleted' : [ - 'eventType', - '5' - ], - 'renamed' : [ - 'eventType', - '6' - ] - }, - - sortMappings : { - 'series' : { sortKey : 'series.sortTitle' } - }, - - initialize : function(options) { - delete this.queryParams.episodeId; - - if (options) { - if (options.episodeId) { - this.queryParams.episodeId = options.episodeId; - } - } - }, - - parseState : function(resp) { - return { totalRecords : resp.totalRecords }; - }, - - parseRecords : function(resp) { - if (resp) { - return resp.records; - } - - return resp; - } -}); - -Collection = AsFilteredCollection.call(Collection); -Collection = AsSortedCollection.call(Collection); -Collection = AsPersistedStateCollection.call(Collection); - -module.exports = Collection; diff --git a/src/UI/Activity/History/HistoryDetailsCell.js b/src/UI/Activity/History/HistoryDetailsCell.js deleted file mode 100644 index 4a1a8a53f..000000000 --- a/src/UI/Activity/History/HistoryDetailsCell.js +++ /dev/null @@ -1,21 +0,0 @@ -var vent = require('vent'); -var NzbDroneCell = require('../../Cells/NzbDroneCell'); - -module.exports = NzbDroneCell.extend({ - className : 'history-details-cell', - - events : { - 'click' : '_showDetails' - }, - - render : function() { - this.$el.empty(); - this.$el.html(''); - - return this; - }, - - _showDetails : function() { - vent.trigger(vent.Commands.ShowHistoryDetails, { model : this.model }); - } -}); \ No newline at end of file diff --git a/src/UI/Activity/History/HistoryLayout.js b/src/UI/Activity/History/HistoryLayout.js deleted file mode 100644 index 29d6f44af..000000000 --- a/src/UI/Activity/History/HistoryLayout.js +++ /dev/null @@ -1,161 +0,0 @@ -var Marionette = require('marionette'); -var Backgrid = require('backgrid'); -var HistoryCollection = require('./HistoryCollection'); -var EventTypeCell = require('../../Cells/EventTypeCell'); -var SeriesTitleCell = require('../../Cells/SeriesTitleCell'); -var EpisodeNumberCell = require('../../Cells/EpisodeNumberCell'); -var EpisodeTitleCell = require('../../Cells/EpisodeTitleCell'); -var HistoryQualityCell = require('./HistoryQualityCell'); -var RelativeDateCell = require('../../Cells/RelativeDateCell'); -var HistoryDetailsCell = require('./HistoryDetailsCell'); -var GridPager = require('../../Shared/Grid/Pager'); -var ToolbarLayout = require('../../Shared/Toolbar/ToolbarLayout'); -var LoadingView = require('../../Shared/LoadingView'); - -module.exports = Marionette.Layout.extend({ - template : 'Activity/History/HistoryLayoutTemplate', - - regions : { - history : '#x-history', - toolbar : '#x-history-toolbar', - pager : '#x-history-pager' - }, - - columns : [ - { - name : 'eventType', - label : '', - cell : EventTypeCell, - cellValue : 'this' - }, - { - name : 'series', - label : 'Series', - cell : SeriesTitleCell - }, - { - name : 'episode', - label : 'Episode', - cell : EpisodeNumberCell, - sortable : false - }, - { - name : 'episode', - label : 'Episode Title', - cell : EpisodeTitleCell, - sortable : false - }, - { - name : 'this', - label : 'Quality', - cell : HistoryQualityCell, - sortable : false - }, - { - name : 'date', - label : 'Date', - cell : RelativeDateCell - }, - { - name : 'this', - label : '', - cell : HistoryDetailsCell, - sortable : false - } - ], - - initialize : function() { - this.collection = new HistoryCollection({ tableName : 'history' }); - this.listenTo(this.collection, 'sync', this._showTable); - }, - - onShow : function() { - this.history.show(new LoadingView()); - this._showToolbar(); - }, - - _showTable : function(collection) { - - this.history.show(new Backgrid.Grid({ - columns : this.columns, - collection : collection, - className : 'table table-hover' - })); - - this.pager.show(new GridPager({ - columns : this.columns, - collection : collection - })); - }, - - _showToolbar : function() { - var filterOptions = { - type : 'radio', - storeState : true, - menuKey : 'history.filterMode', - defaultAction : 'all', - items : [ - { - key : 'all', - title : '', - tooltip : 'All', - icon : 'icon-sonarr-all', - callback : this._setFilter - }, - { - key : 'grabbed', - title : '', - tooltip : 'Grabbed', - icon : 'icon-sonarr-downloading', - callback : this._setFilter - }, - { - key : 'imported', - title : '', - tooltip : 'Imported', - icon : 'icon-sonarr-imported', - callback : this._setFilter - }, - { - key : 'failed', - title : '', - tooltip : 'Failed', - icon : 'icon-sonarr-download-failed', - callback : this._setFilter - }, - { - key : 'deleted', - title : '', - tooltip : 'Deleted', - icon : 'icon-sonarr-deleted', - callback : this._setFilter - }, - { - key : 'renamed', - title : '', - tooltip : 'Renamed', - icon : 'icon-sonarr-rename', - callback : this._setFilter - } - ] - }; - - this.toolbar.show(new ToolbarLayout({ - right : [ - filterOptions - ], - context : this - })); - }, - - _setFilter : function(buttonContext) { - var mode = buttonContext.model.get('key'); - - this.collection.state.currentPage = 1; - var promise = this.collection.setFilterMode(mode); - - if (buttonContext) { - buttonContext.ui.icon.spinForPromise(promise); - } - } -}); diff --git a/src/UI/Activity/History/HistoryLayoutTemplate.hbs b/src/UI/Activity/History/HistoryLayoutTemplate.hbs deleted file mode 100644 index bffb274fe..000000000 --- a/src/UI/Activity/History/HistoryLayoutTemplate.hbs +++ /dev/null @@ -1,11 +0,0 @@ -
-
-
-
-
-
-
-
-
-
-
diff --git a/src/UI/Activity/History/HistoryModel.js b/src/UI/Activity/History/HistoryModel.js deleted file mode 100644 index f8ec8c538..000000000 --- a/src/UI/Activity/History/HistoryModel.js +++ /dev/null @@ -1,12 +0,0 @@ -var Backbone = require('backbone'); -var SeriesModel = require('../../Series/SeriesModel'); -var EpisodeModel = require('../../Series/EpisodeModel'); - -module.exports = Backbone.Model.extend({ - parse : function(model) { - model.series = new SeriesModel(model.series); - model.episode = new EpisodeModel(model.episode); - model.episode.set('series', model.series); - return model; - } -}); \ No newline at end of file diff --git a/src/UI/Activity/History/HistoryQualityCell.js b/src/UI/Activity/History/HistoryQualityCell.js deleted file mode 100644 index c65aa042b..000000000 --- a/src/UI/Activity/History/HistoryQualityCell.js +++ /dev/null @@ -1,30 +0,0 @@ -var NzbDroneCell = require('../../Cells/NzbDroneCell'); - -module.exports = NzbDroneCell.extend({ - className : 'history-quality-cell', - - render : function() { - - var title = ''; - var quality = this.model.get('quality'); - var revision = quality.revision; - - if (revision.real && revision.real > 0) { - title += ' REAL'; - } - - if (revision.version && revision.version > 1) { - title += ' PROPER'; - } - - title = title.trim(); - - if (this.model.get('qualityCutoffNotMet')) { - this.$el.html('{1}'.format(title, quality.quality.name)); - } else { - this.$el.html('{1}'.format(title, quality.quality.name)); - } - - return this; - } -}); \ No newline at end of file diff --git a/src/UI/Activity/Queue/ProgressCell.js b/src/UI/Activity/Queue/ProgressCell.js deleted file mode 100644 index 1f69bf017..000000000 --- a/src/UI/Activity/Queue/ProgressCell.js +++ /dev/null @@ -1,23 +0,0 @@ -var NzbDroneCell = require('../../Cells/NzbDroneCell'); - -module.exports = NzbDroneCell.extend({ - className : 'progress-cell', - - render : function() { - this.$el.empty(); - - if (this.cellValue) { - - var status = this.model.get('status').toLowerCase(); - - if (status === 'downloading') { - var progress = 100 - (this.model.get('sizeleft') / this.model.get('size') * 100); - - this.$el.html('
'.format(progress.toFixed(1)) + - '
'.format(progress)); - } - } - - return this; - } -}); diff --git a/src/UI/Activity/Queue/QueueActionsCell.js b/src/UI/Activity/Queue/QueueActionsCell.js deleted file mode 100644 index ad3f75144..000000000 --- a/src/UI/Activity/Queue/QueueActionsCell.js +++ /dev/null @@ -1,60 +0,0 @@ -'use strict'; - -var $ = require('jquery'); -var _ = require('underscore'); -var vent = require('../../vent'); -var TemplatedCell = require('../../Cells/TemplatedCell'); -var RemoveFromQueueView = require('./RemoveFromQueueView'); - -module.exports = TemplatedCell.extend({ - - template : 'Activity/Queue/QueueActionsCellTemplate', - className : 'queue-actions-cell', - - events : { - 'click .x-remove' : '_remove', - 'click .x-manual-import' : '_manualImport', - 'click .x-grab' : '_grab' - }, - - ui : { - import : '.x-import', - grab : '.x-grab' - }, - - _remove : function() { - var status = this.model.get('status'); - var showBlacklist = status !== 'Delay' && status !== 'DownloadClientUnavailable'; - - vent.trigger(vent.Commands.OpenModalCommand, new RemoveFromQueueView({ - model : this.model, - showBlacklist : showBlacklist - })); - }, - - _manualImport : function () { - vent.trigger(vent.Commands.ShowManualImport, - { - downloadId: this.model.get('downloadId'), - title: this.model.get('title') - }); - }, - - _grab : function() { - var self = this; - var data = _.omit(this.model.toJSON(), 'series', 'episode'); - - var promise = $.ajax({ - url : window.NzbDrone.ApiRoot + '/queue/grab', - type : 'POST', - data : JSON.stringify(data) - }); - - this.$(this.ui.grab).spinForPromise(promise); - - promise.success(function() { - //find models that have the same series id and episode ids and remove them - self.model.trigger('destroy', self.model); - }); - } -}); diff --git a/src/UI/Activity/Queue/QueueActionsCellTemplate.hbs b/src/UI/Activity/Queue/QueueActionsCellTemplate.hbs deleted file mode 100644 index 01e5b34ab..000000000 --- a/src/UI/Activity/Queue/QueueActionsCellTemplate.hbs +++ /dev/null @@ -1,19 +0,0 @@ -{{#if_eq status compare="Completed"}} - {{#if_eq trackedDownloadStatus compare="Warning"}} - - {{/if_eq}} -{{/if_eq}} - -{{#if_eq status compare="Delay"}} - - -{{else}} - {{#unless_eq status compare="DownloadClientUnavailable"}} - - {{/unless_eq}} -{{/if_eq}} - -{{#if_eq status compare="DownloadClientUnavailable"}} - - -{{/if_eq}} diff --git a/src/UI/Activity/Queue/QueueCollection.js b/src/UI/Activity/Queue/QueueCollection.js deleted file mode 100644 index 474cafe6b..000000000 --- a/src/UI/Activity/Queue/QueueCollection.js +++ /dev/null @@ -1,87 +0,0 @@ -var _ = require('underscore'); -var PageableCollection = require('backbone.pageable'); -//var PageableCollection = require('../../Shared/Grid/SonarrPageableCollection'); -var QueueModel = require('./QueueModel'); -var FormatHelpers = require('../../Shared/FormatHelpers'); -var AsSortedCollection = require('../../Mixins/AsSortedCollection'); -var AsPageableCollection = require('../../Mixins/AsPageableCollection'); -var moment = require('moment'); - -require('../../Mixins/backbone.signalr.mixin'); - -var QueueCollection = PageableCollection.extend({ - url : window.NzbDrone.ApiRoot + '/queue', - model : QueueModel, - - state : { - pageSize : 15, - sortKey: 'timeleft' - }, - - mode : 'client', - - findEpisode : function(episodeId) { - return _.find(this.fullCollection.models, function(queueModel) { - return queueModel.get('episode').id === episodeId; - }); - }, - - sortMappings : { - series : { - sortValue : function(model, attr) { - var series = model.get(attr); - - return series.get('sortTitle'); - } - }, - - episode : { - sortValue : function(model, attr) { - var episode = model.get('episode'); - - return FormatHelpers.pad(episode.get('seasonNumber'), 4) + FormatHelpers.pad(episode.get('episodeNumber'), 4); - } - }, - - episodeTitle : { - sortValue : function(model, attr) { - var episode = model.get('episode'); - - return episode.get('title'); - } - }, - - timeleft : { - sortValue : function(model, attr) { - var eta = model.get('estimatedCompletionTime'); - - if (eta) { - return moment(eta).unix(); - } - - return Number.MAX_VALUE; - } - }, - - sizeleft : { - sortValue : function(model, attr) { - var size = model.get('size'); - var sizeleft = model.get('sizeleft'); - - if (size && sizeleft) { - return sizeleft / size; - } - - return 0; - } - } - } -}); - -QueueCollection = AsSortedCollection.call(QueueCollection); -QueueCollection = AsPageableCollection.call(QueueCollection); - -var collection = new QueueCollection().bindSignalR(); -collection.fetch(); - -module.exports = collection; \ No newline at end of file diff --git a/src/UI/Activity/Queue/QueueLayout.js b/src/UI/Activity/Queue/QueueLayout.js deleted file mode 100644 index 462c6a568..000000000 --- a/src/UI/Activity/Queue/QueueLayout.js +++ /dev/null @@ -1,97 +0,0 @@ -var Marionette = require('marionette'); -var Backgrid = require('backgrid'); -var QueueCollection = require('./QueueCollection'); -var SeriesTitleCell = require('../../Cells/SeriesTitleCell'); -var EpisodeNumberCell = require('../../Cells/EpisodeNumberCell'); -var EpisodeTitleCell = require('../../Cells/EpisodeTitleCell'); -var QualityCell = require('../../Cells/QualityCell'); -var QueueStatusCell = require('./QueueStatusCell'); -var QueueActionsCell = require('./QueueActionsCell'); -var TimeleftCell = require('./TimeleftCell'); -var ProgressCell = require('./ProgressCell'); -var ProtocolCell = require('../../Release/ProtocolCell'); -var GridPager = require('../../Shared/Grid/Pager'); - -module.exports = Marionette.Layout.extend({ - template : 'Activity/Queue/QueueLayoutTemplate', - - regions : { - table : '#x-queue', - pager : '#x-queue-pager' - }, - - columns : [ - { - name : 'status', - label : '', - cell : QueueStatusCell, - cellValue : 'this' - }, - { - name : 'series', - label : 'Series', - cell : SeriesTitleCell - }, - { - name : 'episode', - label : 'Episode', - cell : EpisodeNumberCell - }, - { - name : 'episodeTitle', - label : 'Episode Title', - cell : EpisodeTitleCell, - cellValue : 'episode' - }, - { - name : 'quality', - label : 'Quality', - cell : QualityCell, - sortable : false - }, - { - name : 'protocol', - label : 'Protocol', - cell : ProtocolCell - }, - { - name : 'timeleft', - label : 'Time Left', - cell : TimeleftCell, - cellValue : 'this' - }, - { - name : 'sizeleft', - label : 'Progress', - cell : ProgressCell, - cellValue : 'this' - }, - { - name : 'status', - label : '', - cell : QueueActionsCell, - cellValue : 'this' - } - ], - - initialize : function() { - this.listenTo(QueueCollection, 'sync', this._showTable); - }, - - onShow : function() { - this._showTable(); - }, - - _showTable : function() { - this.table.show(new Backgrid.Grid({ - columns : this.columns, - collection : QueueCollection, - className : 'table table-hover' - })); - - this.pager.show(new GridPager({ - columns : this.columns, - collection : QueueCollection - })); - } -}); diff --git a/src/UI/Activity/Queue/QueueLayoutTemplate.hbs b/src/UI/Activity/Queue/QueueLayoutTemplate.hbs deleted file mode 100644 index e8e6a3c12..000000000 --- a/src/UI/Activity/Queue/QueueLayoutTemplate.hbs +++ /dev/null @@ -1,11 +0,0 @@ -
-
-
-
-
- -
-
-
-
-
\ No newline at end of file diff --git a/src/UI/Activity/Queue/QueueModel.js b/src/UI/Activity/Queue/QueueModel.js deleted file mode 100644 index f8ec8c538..000000000 --- a/src/UI/Activity/Queue/QueueModel.js +++ /dev/null @@ -1,12 +0,0 @@ -var Backbone = require('backbone'); -var SeriesModel = require('../../Series/SeriesModel'); -var EpisodeModel = require('../../Series/EpisodeModel'); - -module.exports = Backbone.Model.extend({ - parse : function(model) { - model.series = new SeriesModel(model.series); - model.episode = new EpisodeModel(model.episode); - model.episode.set('series', model.series); - return model; - } -}); \ No newline at end of file diff --git a/src/UI/Activity/Queue/QueueStatusCell.js b/src/UI/Activity/Queue/QueueStatusCell.js deleted file mode 100644 index 42cad2467..000000000 --- a/src/UI/Activity/Queue/QueueStatusCell.js +++ /dev/null @@ -1,91 +0,0 @@ -var Marionette = require('marionette'); -var NzbDroneCell = require('../../Cells/NzbDroneCell'); -var moment = require('moment'); -var UiSettingsModel = require('../../Shared/UiSettingsModel'); -var FormatHelpers = require('../../Shared/FormatHelpers'); - -module.exports = NzbDroneCell.extend({ - className : 'queue-status-cell', - template : 'Activity/Queue/QueueStatusCellTemplate', - - render : function() { - this.$el.empty(); - - if (this.cellValue) { - var status = this.cellValue.get('status').toLowerCase(); - var trackedDownloadStatus = this.cellValue.has('trackedDownloadStatus') ? this.cellValue.get('trackedDownloadStatus').toLowerCase() : 'ok'; - var icon = 'icon-sonarr-downloading'; - var title = 'Downloading'; - var itemTitle = this.cellValue.get('title'); - var content = itemTitle; - - if (status === 'paused') { - icon = 'icon-sonarr-paused'; - title = 'Paused'; - } - - if (status === 'queued') { - icon = 'icon-sonarr-queued'; - title = 'Queued'; - } - - if (status === 'completed') { - icon = 'icon-sonarr-downloaded'; - title = 'Downloaded'; - } - - if (status === 'delay') { - icon = 'icon-sonarr-pending'; - var ect = this.cellValue.get('estimatedCompletionTime'); - var time = '{0} at {1}'.format(FormatHelpers.relativeDate(ect), moment(ect).format(UiSettingsModel.time(true, false))); - title = 'Download delayed till {0}'.format(time); - } - - if (status === 'downloadclientunavailable') { - icon = 'icon-sonarr-client-unavailable'; - title = 'Download pending, download client is unavailable'; - } - - if (status === 'failed') { - icon = 'icon-sonarr-download-failed'; - title = 'Download failed'; - } - - if (status === 'warning') { - icon = 'icon-sonarr-download-warning'; - title = 'Download warning: check download client for more details'; - } - - if (trackedDownloadStatus === 'warning') { - icon += ' icon-sonarr-warning'; - - this.templateFunction = Marionette.TemplateCache.get(this.template); - content = this.templateFunction(this.cellValue.toJSON()); - } - - if (trackedDownloadStatus === 'error') { - if (status === 'completed') { - icon = 'icon-sonarr-import-failed'; - title = 'Import failed: ' + itemTitle; - } else { - icon = 'icon-sonarr-download-failed'; - title = 'Download failed'; - } - - this.templateFunction = Marionette.TemplateCache.get(this.template); - content = this.templateFunction(this.cellValue.toJSON()); - } - - this.$el.html(''.format(icon)); - this.$el.popover({ - content : content, - html : true, - trigger : 'hover', - title : title, - placement : 'right', - container : this.$el - }); - } - return this; - } -}); \ No newline at end of file diff --git a/src/UI/Activity/Queue/QueueStatusCellTemplate.hbs b/src/UI/Activity/Queue/QueueStatusCellTemplate.hbs deleted file mode 100644 index 477fdd028..000000000 --- a/src/UI/Activity/Queue/QueueStatusCellTemplate.hbs +++ /dev/null @@ -1,8 +0,0 @@ -{{#each statusMessages}} - {{title}} -
    - {{#each messages}} -
  • {{this}}
  • - {{/each}} -
-{{/each}} \ No newline at end of file diff --git a/src/UI/Activity/Queue/QueueView.js b/src/UI/Activity/Queue/QueueView.js deleted file mode 100644 index ccddebbc9..000000000 --- a/src/UI/Activity/Queue/QueueView.js +++ /dev/null @@ -1,40 +0,0 @@ -var _ = require('underscore'); -var Marionette = require('marionette'); -var QueueCollection = require('./QueueCollection'); - -module.exports = Marionette.ItemView.extend({ - tagName : 'span', - - initialize : function() { - this.listenTo(QueueCollection, 'sync', this.render); - QueueCollection.fetch(); - }, - - render : function() { - this.$el.empty(); - - if (QueueCollection.length === 0) { - return this; - } - - var count = QueueCollection.fullCollection.length; - var label = 'label-info'; - - var errors = QueueCollection.fullCollection.some(function(model) { - return model.has('trackedDownloadStatus') && model.get('trackedDownloadStatus').toLowerCase() === 'error'; - }); - - var warnings = QueueCollection.fullCollection.some(function(model) { - return model.has('trackedDownloadStatus') && model.get('trackedDownloadStatus').toLowerCase() === 'warning'; - }); - - if (errors) { - label = 'label-danger'; - } else if (warnings) { - label = 'label-warning'; - } - - this.$el.html('{1}'.format(label, count)); - return this; - } -}); \ No newline at end of file diff --git a/src/UI/Activity/Queue/RemoveFromQueueView.js b/src/UI/Activity/Queue/RemoveFromQueueView.js deleted file mode 100644 index 571738d7a..000000000 --- a/src/UI/Activity/Queue/RemoveFromQueueView.js +++ /dev/null @@ -1,34 +0,0 @@ -var vent = require('../../vent'); -var Marionette = require('marionette'); - -module.exports = Marionette.ItemView.extend({ - template : 'Activity/Queue/RemoveFromQueueViewTemplate', - - events : { - 'click .x-confirm-remove' : 'removeItem' - }, - - ui : { - blacklist : '.x-blacklist', - indicator : '.x-indicator' - }, - - initialize : function(options) { - this.templateHelpers = { - showBlacklist : options.showBlacklist - }; - }, - - removeItem : function() { - var blacklist = this.ui.blacklist.prop('checked') || false; - - this.ui.indicator.show(); - - this.model.destroy({ - data : { 'blacklist' : blacklist }, - wait : true - }).done(function() { - vent.trigger(vent.Commands.CloseModalCommand); - }); - } -}); diff --git a/src/UI/Activity/Queue/RemoveFromQueueViewTemplate.hbs b/src/UI/Activity/Queue/RemoveFromQueueViewTemplate.hbs deleted file mode 100644 index c0834ea69..000000000 --- a/src/UI/Activity/Queue/RemoveFromQueueViewTemplate.hbs +++ /dev/null @@ -1,49 +0,0 @@ -