mirror of
https://github.com/bitwarden/web
synced 2025-12-18 17:23:24 +00:00
Update 2018-03-30T14:56:49.669Z
This commit is contained in:
14
index.html
14
index.html
@@ -15,9 +15,9 @@
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
|
||||
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
|
||||
<meta name="x-stylesheet-test" content="" class="fa invisible" />
|
||||
<script src="js/fallback-styles.min.js?v=nbpi6"></script>
|
||||
<script src="js/fallback-styles.min.js?v=ucqrsv"></script>
|
||||
|
||||
<link rel="stylesheet" href="css/vault.min.css?v=nbpi6" />
|
||||
<link rel="stylesheet" href="css/vault.min.css?v=ucqrsv" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="images/icons/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="images/icons/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="images/icons/favicon-16x16.png">
|
||||
@@ -35,11 +35,11 @@
|
||||
integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular.min.js"
|
||||
integrity="sha384-R6kAKgTgRiD5889XyzYD/aMryNA4Yr9EBnt6rIXuukLgVONifQDnHNaadrSNakQl" crossorigin="anonymous"></script>
|
||||
<script src="js/fallback-scripts.min.js?v=nbpi6"></script>
|
||||
<script src="js/settings.js?v=nbpi6"></script>
|
||||
<script src="js/fallback-scripts.min.js?v=ucqrsv"></script>
|
||||
<script src="js/settings.js?v=ucqrsv"></script>
|
||||
|
||||
<script src="js/lib.min.js?v=nbpi6"></script>
|
||||
<script src="js/bw.min.js?v=nbpi6"></script>
|
||||
<script src="js/app.min.js?v=nbpi6"></script>
|
||||
<script src="js/lib.min.js?v=ucqrsv"></script>
|
||||
<script src="js/bw.min.js?v=ucqrsv"></script>
|
||||
<script src="js/app.min.js?v=ucqrsv"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
84
js/app.min.js
vendored
84
js/app.min.js
vendored
@@ -25,7 +25,7 @@ angular
|
||||
]);
|
||||
|
||||
angular.module("bit")
|
||||
.constant("appSettings", {"apiUri":"/api","identityUri":"/identity","iconsUri":"https://icons.bitwarden.com","stripeKey":"pk_live_bpN0P37nMxrMQkcaHXtAybJk","braintreeKey":"production_qfbsv8kc_njj2zjtyngtjmbjd","selfHosted":false,"version":"1.24.2","environment":"Production"});
|
||||
.constant("appSettings", {"apiUri":"/api","identityUri":"/identity","iconsUri":"https://icons.bitwarden.com","stripeKey":"pk_live_bpN0P37nMxrMQkcaHXtAybJk","braintreeKey":"production_qfbsv8kc_njj2zjtyngtjmbjd","selfHosted":false,"version":"1.25.0","environment":"Production"});
|
||||
|
||||
angular
|
||||
.module('bit.accounts', ['ui.bootstrap', 'ngCookies']);
|
||||
@@ -40,10 +40,10 @@ angular
|
||||
.module('bit.global', []);
|
||||
|
||||
angular
|
||||
.module('bit.organization', ['ui.bootstrap']);
|
||||
.module('bit.reports', ['toastr', 'ngSanitize']);
|
||||
|
||||
angular
|
||||
.module('bit.reports', ['toastr', 'ngSanitize']);
|
||||
.module('bit.organization', ['ui.bootstrap']);
|
||||
|
||||
angular
|
||||
.module('bit.services', ['ngResource', 'ngStorage', 'angular-jwt']);
|
||||
@@ -2243,6 +2243,45 @@ angular
|
||||
};
|
||||
}]);
|
||||
|
||||
angular
|
||||
.module('bit.tools')
|
||||
|
||||
.controller('reportsBreachController', ["$scope", "apiService", "toastr", "authService", function ($scope, apiService, toastr, authService) {
|
||||
$scope.loading = true;
|
||||
$scope.error = false;
|
||||
$scope.breachAccounts = [];
|
||||
$scope.email = null;
|
||||
|
||||
$scope.$on('$viewContentLoaded', function () {
|
||||
authService.getUserProfile().then(function (userProfile) {
|
||||
$scope.email = userProfile.email;
|
||||
return apiService.hibp.get({ email: $scope.email }).$promise;
|
||||
}).then(function (response) {
|
||||
var breachAccounts = [];
|
||||
for (var i = 0; i < response.length; i++) {
|
||||
var breach = {
|
||||
id: response[i].Name,
|
||||
title: response[i].Title,
|
||||
domain: response[i].Domain,
|
||||
date: new Date(response[i].BreachDate),
|
||||
reportedDate: new Date(response[i].AddedDate),
|
||||
modifiedDate: new Date(response[i].ModifiedDate),
|
||||
count: response[i].PwnCount,
|
||||
description: response[i].Description,
|
||||
classes: response[i].DataClasses,
|
||||
image: 'https://haveibeenpwned.com/Content/Images/PwnedLogos/' + response[i].Name + '.' + response[i].LogoType
|
||||
};
|
||||
breachAccounts.push(breach);
|
||||
}
|
||||
$scope.breachAccounts = breachAccounts;
|
||||
$scope.loading = false;
|
||||
}, function (response) {
|
||||
$scope.error = response.status !== 404;
|
||||
$scope.loading = false;
|
||||
});
|
||||
});
|
||||
}]);
|
||||
|
||||
angular
|
||||
.module('bit.organization')
|
||||
|
||||
@@ -5410,45 +5449,6 @@ angular
|
||||
}
|
||||
}]);
|
||||
|
||||
angular
|
||||
.module('bit.tools')
|
||||
|
||||
.controller('reportsBreachController', ["$scope", "apiService", "toastr", "authService", function ($scope, apiService, toastr, authService) {
|
||||
$scope.loading = true;
|
||||
$scope.error = false;
|
||||
$scope.breachAccounts = [];
|
||||
$scope.email = null;
|
||||
|
||||
$scope.$on('$viewContentLoaded', function () {
|
||||
authService.getUserProfile().then(function (userProfile) {
|
||||
$scope.email = userProfile.email;
|
||||
return apiService.hibp.get({ email: $scope.email }).$promise;
|
||||
}).then(function (response) {
|
||||
var breachAccounts = [];
|
||||
for (var i = 0; i < response.length; i++) {
|
||||
var breach = {
|
||||
id: response[i].Name,
|
||||
title: response[i].Title,
|
||||
domain: response[i].Domain,
|
||||
date: new Date(response[i].BreachDate),
|
||||
reportedDate: new Date(response[i].AddedDate),
|
||||
modifiedDate: new Date(response[i].ModifiedDate),
|
||||
count: response[i].PwnCount,
|
||||
description: response[i].Description,
|
||||
classes: response[i].DataClasses,
|
||||
image: 'https://haveibeenpwned.com/Content/Images/PwnedLogos/' + response[i].Name + '.' + response[i].LogoType
|
||||
};
|
||||
breachAccounts.push(breach);
|
||||
}
|
||||
$scope.breachAccounts = breachAccounts;
|
||||
$scope.loading = false;
|
||||
}, function (response) {
|
||||
$scope.error = response.status !== 404;
|
||||
$scope.loading = false;
|
||||
});
|
||||
});
|
||||
}]);
|
||||
|
||||
angular
|
||||
.module('bit.services')
|
||||
|
||||
|
||||
2
js/fallback-styles.min.js
vendored
2
js/fallback-styles.min.js
vendored
@@ -1,4 +1,4 @@
|
||||
var cacheTag = 'nbpi6' || '';
|
||||
var cacheTag = 'ucqrsv' || '';
|
||||
|
||||
function loadStylesheetIfMissing(property, value, paths) {
|
||||
var scripts = document.getElementsByTagName('SCRIPT'),
|
||||
|
||||
7878
js/lib.min.js
vendored
7878
js/lib.min.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -5,6 +5,6 @@
|
||||
<title>U2F Connector</title>
|
||||
</head>
|
||||
<body>
|
||||
<script src="js/u2f.min.js?v=nbpi6"></script>
|
||||
<script src="js/u2f.min.js?v=ucqrsv"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": "1.24.2"
|
||||
"version": "1.25.0"
|
||||
}
|
||||
Reference in New Issue
Block a user