Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bluewhale

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bluewhale - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

dist/css/dockerboard-d4e7b68e.css

7

bower.json

@@ -29,4 +29,9 @@ {

"angular-loading-bar": "0.6.x",
"angular-moment": "0.8.x"
"angular-moment": "0.8.x",
"angular-translate": "2.5.x",
"angular-translate-storage-local": "2.5.x",
"angular-translate-loader-static-files": "~2.5.2",
"angular-translate-storage-cookie": "~2.5.2",
"angular-cookies": "1.3.8"
}
}
0.6.2 / 2015-01-13
==================
* update jshint rules
* tweak codes style
0.6.0 / 2015-01-08

@@ -3,0 +9,0 @@ ==================

2

package.json
{
"name": "bluewhale",
"version": "0.6.1",
"version": "0.6.2",
"description": "Dockerboard Web Client",

@@ -5,0 +5,0 @@ "main": "dist/index.html",

@@ -0,5 +1,10 @@

(function (angular) {
'use strict';
angular.module(dockerboardApp.name, dockerboardApp.dependencies)
.config(['$locationProvider', '$urlRouterProvider', function($locationProvider, $urlRouterProvider) {
.config([
'$locationProvider',
'$urlRouterProvider',
'$translateProvider',
function($locationProvider, $urlRouterProvider, $translateProvider) {

@@ -11,40 +16,12 @@ // Redirect to home view when route not found

//$locationProvider.html5Mode(true);
}
])
.run(['$rootScope', function($rootScope) {
$rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) {
console.log('State Change: transition begins!');
});
$rootScope.$on('$stateChangeSuccess', function(event, toState, toParams, fromState, fromParams) {
console.log('State Change: State change success!');
// langs
$translateProvider.useStaticFilesLoader({
prefix: 'data/locale-',
suffix: '.json'
});
$rootScope.$on('$stateChangeError', function(event, toState, toParams, fromState, fromParams) {
console.log('State Change: Error!');
});
$rootScope.$on('$stateNotFound', function(event, toState, toParams, fromState, fromParams) {
console.log('State Change: State not found!');
});
$rootScope.$on('$viewContentLoading', function(event, viewConfig) {
console.log('View Load: the view is loaded, and DOM rendered!');
});
$rootScope.$on('$viewcontentLoaded', function(event, viewConfig) {
console.log('View Load: the view is loaded, and DOM rendered!');
});
}]);
//Then define the init function for starting up the application
angular.element(document).ready(function() {
//Fixing facebook bug with redirect
if (window.location.hash === '#_=_') {
window.location.hash = '#!';
}
//Then init the app
//angular.bootstrap(document, [dockerboardApp.name]);
});
$translateProvider.preferredLanguage('en');
$translateProvider.useLocalStorage();
}
]);
})(angular);

@@ -12,3 +12,5 @@ (function (angular, app) {

'angular-loading-bar',
'angularMoment'
'angularMoment',
'ngCookies',
'pascalprecht.translate'
];

@@ -15,0 +17,0 @@ app.registerModule = registerModule;

(function () {
'use strict';
'use strict';
dockerboardApp.registerModule('dockerboard.filters');
dockerboardApp.registerModule('dockerboard.filters');
angular.module('dockerboard.filters')
.filter('sanitize', ['$sce', function ($sce) {
return function(htmlCode) {
return htmlCode ? $sce.trustAsHtml(htmlCode + '') : '';
};
}])
angular.module('dockerboard.filters')
.filter('sanitize', ['$sce', function ($sce) {
return function(htmlCode) {
return htmlCode ? $sce.trustAsHtml(htmlCode + '') : '';
};
}])
.filter('escape', ['$window', function ($window) {
return function (url) {
return $window.encodeURIComponent($window.encodeURIComponent(url));
}
}])
.filter('escape', ['$window', function ($window) {
return function (url) {
return $window.encodeURIComponent($window.encodeURIComponent(url));
};
}])
.filter('unescape', ['$window', function ($window) {
return function (url) {
return url ? $window.decodeURIComponent($window.decodeURIComponent(url)) : '';
}
}])
.filter('unescape', ['$window', function ($window) {
return function (url) {
return url ? $window.decodeURIComponent($window.decodeURIComponent(url)) : '';
};
}])
.filter('formatImageId', ['limitToFilter', function (limitToFilter) {
var reg = /[\-\:\.\/_]/;
.filter('formatImageId', ['limitToFilter', function (limitToFilter) {
var reg = /[\-\:\.\/_]/;
return formatImageId;
return formatImageId;
function formatImageId(id) {
if (reg.exec(id)) {
return id;
}
return limitToFilter(id, 12);
function formatImageId(id) {
if (reg.exec(id)) {
return id;
}
}]);
return limitToFilter(id, 12);
}
}]);
})();

@@ -23,5 +23,5 @@ (function () {

alert('add node');
}
};
}
})()

@@ -32,3 +32,3 @@ (function () {

$scope.queryParams = Containers.queryParams;
$scope.queryParams.host = Hosts.getCurrentHostUrl()
$scope.queryParams.host = Hosts.getCurrentHostUrl();

@@ -188,3 +188,3 @@ $scope.queryParamsFilters = '';

null,
function (data) {
function () {
$mdDialog.hide();

@@ -237,3 +237,3 @@ $location.path('/containers');

$scope.params,
function (data) {
function () {
var running = !$scope.container.State.Running;

@@ -292,3 +292,3 @@ if ($scope.action == 'restart') {

$scope.logs = data.text || '';
})
});
};

@@ -295,0 +295,0 @@

@@ -47,3 +47,3 @@ (function () {

Id: encodeURIComponent(Hosts.getCurrentHostUrl($scope.hosts[index]))
}, function (data) {
}, function () {
$scope.hosts.splice(index, 1);

@@ -76,3 +76,3 @@ });

);
})
});
};

@@ -116,3 +116,3 @@

);
})
});
};

@@ -119,0 +119,0 @@ }

@@ -28,3 +28,3 @@ (function () {

$mdToast.simple()
.content("Please enter text for searching.")
.content('Please enter text for searching.')
.position('top right')

@@ -31,0 +31,0 @@ .action('Close')

@@ -35,3 +35,3 @@ (function () {

$scope.goHome = function($event) {
$scope.goHome = function() {
$scope.menu.selectSection(null);

@@ -38,0 +38,0 @@ $scope.menu.selectPage(null, null);

@@ -14,3 +14,3 @@ (function () {

templateUrl: '/js/modules/system/views/system.tpl.html'
})
});
}

@@ -17,0 +17,0 @@ ]);

@@ -18,3 +18,3 @@ (function () {

},
transformResponse: function (data, headers) {
transformResponse: function (data) {
return { text: data };

@@ -21,0 +21,0 @@ },

@@ -15,3 +15,3 @@ (function () {

},
transformResponse: function (data, headers) {
transformResponse: function (data) {
return { text: data };

@@ -18,0 +18,0 @@ },

@@ -23,5 +23,5 @@ (function () {

return h && (h.URL.Scheme + '://' + h.URL.Host);
}
};
return res;
}]);
})();
(function () {
'use strict';
'use strict';
angular.module('dockerboard.services')
.factory('Images', ['$resource', function ($resource) {
var res = $resource('/api/images/:Id', {
Id: '@Id'
}, {
delete: {
method: 'POST',
headers: {
'X-HTTP-Method-Override': 'DELETE'
},
params: {
force: false,
noprune: false
}
angular.module('dockerboard.services')
.factory('Images', ['$resource', function ($resource) {
var res = $resource('/api/images/:Id', {
Id: '@Id'
}, {
delete: {
method: 'POST',
headers: {
'X-HTTP-Method-Override': 'DELETE'
},
search: {
// hack
params: {
Id: 'search'
},
isArray: true
params: {
force: false,
noprune: false
}
},
search: {
// hack
params: {
Id: 'search'
},
create: {
method: 'POST',
// hack
params: {
Id: ''
},
transformResponse: function (data, headers) {
return { text: data };
}
isArray: true
},
create: {
method: 'POST',
// hack
params: {
Id: ''
},
transformResponse: function (data) {
return { text: data };
}
});
}
});
res.queryParams = {
all: false,
filters: ''
};
res.queryParams = {
all: false,
filters: ''
};
res.basicAttributes = [
'Id',
'Author',
'Comment',
'DockerVersion',
'Architecture',
'Os',
'Size',
'VirtualSize',
'Created',
'Parent'
];
return res;
}]);
res.basicAttributes = [
'Id',
'Author',
'Comment',
'DockerVersion',
'Architecture',
'Os',
'Size',
'VirtualSize',
'Created',
'Parent'
];
return res;
}]);
})();

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

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

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

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

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

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc