Comparing version 0.1.0 to 0.2.0
@@ -8,7 +8,7 @@ 'use strict'; | ||
var pkg = require('./package.json'); | ||
var plugins = require('gulp-load-plugins')(); | ||
var proxyMiddleware = require('proxy-middleware'); | ||
var plugins = require('gulp-load-plugins')(); | ||
var runSequence = require('run-sequence'); | ||
var url = require('url'); | ||
var vinylPaths = require('vinyl-paths'); | ||
var runSequence = require('run-sequence'); | ||
@@ -30,3 +30,2 @@ var AUTOPREFIXER_BROWSERS = [ | ||
var autoprefixer = plugins.autoprefixer; | ||
var concat = plugins.concat; | ||
var csso = plugins.csso; | ||
@@ -33,0 +32,0 @@ var debug = plugins.debug; |
0.2.0 / 2014-12-31 | ||
================== | ||
* support multi hosts, switch, add, delete | ||
0.1.0 / 2014-12-29 | ||
@@ -3,0 +8,0 @@ ================== |
{ | ||
"name": "bluewhale", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Dockerboard Web Client", | ||
@@ -22,13 +22,12 @@ "main": "dist/index.html", | ||
"bower": "*", | ||
"browser-sync": "^1.8.0", | ||
"del": "^1.1.0", | ||
"glob": "^4.3.1", | ||
"gulp": "^3.8.10", | ||
"browser-sync": "^1.8.2", | ||
"del": "^1.1.1", | ||
"glob": "^4.3.2", | ||
"gulp": "*", | ||
"gulp-autoprefixer": "^2.0.0", | ||
"gulp-concat": "^2.4.2", | ||
"gulp-csso": "^0.2.9", | ||
"gulp-debug": "^1.0.1", | ||
"gulp-filter": "^1.0.2", | ||
"gulp-debug": "^2.0.0", | ||
"gulp-filter": "^2.0.0", | ||
"gulp-if": "^1.2.5", | ||
"gulp-imagemin": "^2.0.0", | ||
"gulp-imagemin": "^2.1.0", | ||
"gulp-jade": "^0.10.0", | ||
@@ -42,3 +41,3 @@ "gulp-jscs": "^1.3.1", | ||
"gulp-rev": "^2.0.1", | ||
"gulp-sass": "ajoslin/gulp-sass#master", | ||
"gulp-sass": "^1.2.4", | ||
"gulp-uglify": "^1.0.2", | ||
@@ -48,4 +47,4 @@ "gulp-usemin": "^0.3.8", | ||
"jshint-summary": "^0.4.0", | ||
"karma": "^0.12.28", | ||
"karma-chrome-launcher": "^0.1.7", | ||
"karma": "*", | ||
"karma-chrome-launcher": "*", | ||
"node-webkit-builder": "^1.0.4", | ||
@@ -52,0 +51,0 @@ "proxy-middleware": "^0.9.0", |
@@ -6,3 +6,3 @@ | ||
[![badge](http://dockeri.co/image/dockerboard/bluewhale)](https://registry.hub.docker.com/u/dockerboard/bluewhare/) | ||
[![badge](http://dockeri.co/image/dockerboard/bluewhale)](https://registry.hub.docker.com/u/dockerboard/bluewhale/) | ||
@@ -12,3 +12,3 @@ | ||
![Dockerboard Screenshot](https://github.com/dockerboard/bluewhale/blob/master/screenshots/dockerboard.gif?raw=true) | ||
![Dockerboard Screenshot](https://raw.githubusercontent.com/dockerboard/bluewhale/master/screenshots/dockerboard.gif) | ||
@@ -15,0 +15,0 @@ ## Quickstart |
@@ -21,3 +21,3 @@ (function () { | ||
return function (url) { | ||
return url ? $window.decodeURIComponent(url) : ''; | ||
return url ? $window.decodeURIComponent($window.decodeURIComponent(url)) : ''; | ||
} | ||
@@ -24,0 +24,0 @@ }]) |
@@ -28,6 +28,7 @@ (function () { | ||
ContainersController.$inject = ['$scope', 'Containers']; | ||
function ContainersController($scope, Containers) { | ||
ContainersController.$inject = ['$scope', 'Containers', 'Hosts']; | ||
function ContainersController($scope, Containers, Hosts) { | ||
$scope.queryParams = Containers.queryParams; | ||
$scope.queryParams = angular.copy(Containers.queryParams); | ||
$scope.queryParams.host = Hosts.getCurrentHostUrl() | ||
@@ -47,5 +48,5 @@ $scope.fetch = function () { | ||
ContainerController.$inject = ['$scope', '$stateParams', '$location', '$mdDialog', 'limitToFilter', 'amTimeAgoFilter', 'Containers']; | ||
function ContainerController($scope, $stateParams, $location, $mdDialog, limitToFilter, amTimeAgoFilter, Containers) { | ||
Containers.get({Id: $stateParams.Id}, function (data) { | ||
ContainerController.$inject = ['$scope', '$stateParams', '$location', '$mdDialog', 'limitToFilter', 'amTimeAgoFilter', 'Containers', 'Hosts']; | ||
function ContainerController($scope, $stateParams, $location, $mdDialog, limitToFilter, amTimeAgoFilter, Containers, Hosts) { | ||
Containers.get({Id: $stateParams.Id, host: Hosts.getCurrentHostUrl()}, function (data) { | ||
formatBasicAttributes(data); | ||
@@ -52,0 +53,0 @@ $scope.container = data; |
@@ -28,6 +28,7 @@ (function () { | ||
ImagesController.$inject = ['$scope', 'Images']; | ||
function ImagesController($scope, Images) { | ||
ImagesController.$inject = ['$scope', 'Images', 'Hosts']; | ||
function ImagesController($scope, Images, Hosts) { | ||
$scope.queryParams = Images.queryParams; | ||
$scope.queryParams = angular.copy(Images.queryParams); | ||
$scope.queryParams.host = Hosts.getCurrentHostUrl(); | ||
@@ -86,4 +87,4 @@ $scope.queryParamsFilters = ''; | ||
ImageController.$inject = ['$scope', '$location', '$stateParams', '$mdDialog', 'limitToFilter', 'amTimeAgoFilter', 'prettyBytesFilter', 'Images', 'ImageActions']; | ||
function ImageController($scope, $location, $stateParams, $mdDialog, limitToFilter, amTimeAgoFilter, prettyBytesFilter, Images, ImageActions) { | ||
ImageController.$inject = ['$scope', '$location', '$stateParams', '$mdDialog', 'limitToFilter', 'amTimeAgoFilter', 'prettyBytesFilter', 'Images', 'ImageActions', 'Hosts']; | ||
function ImageController($scope, $location, $stateParams, $mdDialog, limitToFilter, amTimeAgoFilter, prettyBytesFilter, Images, ImageActions, Hosts) { | ||
// Fix contains `/` issue. | ||
@@ -123,3 +124,3 @@ $stateParams.Id = $stateParams.Id.replace(/%(25)/g, '%').replace(/\//g, '%2F'); | ||
Images.get({Id: $stateParams.Id}, function (data) { | ||
Images.get({Id: $stateParams.Id, host: Hosts.getCurrentHostUrl()}, function (data) { | ||
formatBasicAttributes(data); | ||
@@ -144,4 +145,4 @@ $scope.image = data; | ||
DestoryDialogController.$inject = ['$scope', '$location', '$mdDialog', 'Images', 'image', 'imageShortId']; | ||
function DestoryDialogController($scope, $location, $mdDialog, Images, image, imageShortId) { | ||
DestoryDialogController.$inject = ['$scope', '$location', '$mdDialog', 'Images', 'image', 'imageShortId', 'Hosts']; | ||
function DestoryDialogController($scope, $location, $mdDialog, Images, image, imageShortId, Hosts) { | ||
$scope.image = image; | ||
@@ -166,3 +167,4 @@ $scope.imageShortId = imageShortId; | ||
force: $scope.params.force, | ||
noprune: $scope.params.noprune | ||
noprune: $scope.params.noprune, | ||
host: Hosts.getCurrentHostUrl() | ||
}, | ||
@@ -187,7 +189,7 @@ null, | ||
ImageHistoryController.$inject = ['$scope', '$stateParams', 'ImageActions']; | ||
function ImageHistoryController($scope, $stateParams, ImageActions) { | ||
ImageHistoryController.$inject = ['$scope', '$stateParams', 'ImageActions', 'Hosts']; | ||
function ImageHistoryController($scope, $stateParams, ImageActions, Hosts) { | ||
$scope.imageShortId = $stateParams.Id; | ||
ImageActions.history( | ||
{ Id: $scope.imageShortId }, | ||
{ Id: $scope.imageShortId, host: Hosts.getCurrentHostUrl() }, | ||
function (data) { | ||
@@ -194,0 +196,0 @@ $scope.commits = data; |
@@ -9,4 +9,4 @@ (function () { | ||
SidenavController.$inject = ['$scope', '$location', '$mdSidenav', '$timeout', '$rootScope', 'Menu']; | ||
function SidenavController($scope, $location, $mdSidenav, $timeout, $rootScope, Menu) { | ||
SidenavController.$inject = ['$scope', '$location', '$mdSidenav', '$timeout', '$rootScope', 'Menu', 'Hosts']; | ||
function SidenavController($scope, $location, $mdSidenav, $timeout, $rootScope, Menu, Hosts) { | ||
$scope.menu = Menu; | ||
@@ -26,2 +26,8 @@ | ||
$scope.host = Hosts.getCurrentHostUrl(); | ||
$rootScope.$on('$hostChangeSuccess', function (e, data) { | ||
$scope.host = Hosts.getCurrentHostUrl(data); | ||
}); | ||
$scope.path = function() { | ||
@@ -28,0 +34,0 @@ return $location.path(); |
@@ -99,3 +99,4 @@ (function () { | ||
if (currSection === section.url) { | ||
self.selectPage(segments[2], segments[3]); | ||
// Force escape image repo | ||
self.selectPage(escape(segments[2]), escape(segments[3])); | ||
self.selectSection(section); | ||
@@ -114,2 +115,6 @@ activated = true; | ||
function escape(s) { | ||
return s && s.replace(/%/g, '%25'); | ||
} | ||
})(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4139113
30
92
3373
5