mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
Merge branch 'master' of https://github.com/bitwarden/desktop into feature/browser-communication
This commit is contained in:
commit
77715443d9
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit 9aa3cbf73d9df9a2641654270911359593bcb5c5
|
Subproject commit f44e99d74dc011c026525d171f7d2940b60b6587
|
@ -25,4 +25,4 @@ $uri = "https://github.com/bitwarden/desktop/releases/download/v" + $version + "
|
|||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||||
Invoke-RestMethod -Uri $uri -OutFile $distSnap
|
Invoke-RestMethod -Uri $uri -OutFile $distSnap
|
||||||
|
|
||||||
snapcraft push $distSnap --release stable
|
snapcraft upload $distSnap --release stable
|
||||||
|
@ -90,6 +90,7 @@ import localePtBr from '@angular/common/locales/pt';
|
|||||||
import localePtPt from '@angular/common/locales/pt-PT';
|
import localePtPt from '@angular/common/locales/pt-PT';
|
||||||
import localeRo from '@angular/common/locales/ro';
|
import localeRo from '@angular/common/locales/ro';
|
||||||
import localeRu from '@angular/common/locales/ru';
|
import localeRu from '@angular/common/locales/ru';
|
||||||
|
import localeSr from '@angular/common/locales/sr';
|
||||||
import localeSk from '@angular/common/locales/sk';
|
import localeSk from '@angular/common/locales/sk';
|
||||||
import localeSv from '@angular/common/locales/sv';
|
import localeSv from '@angular/common/locales/sv';
|
||||||
import localeTh from '@angular/common/locales/th';
|
import localeTh from '@angular/common/locales/th';
|
||||||
@ -127,6 +128,7 @@ registerLocaleData(localePtPt, 'pt-PT');
|
|||||||
registerLocaleData(localeRo, 'ro');
|
registerLocaleData(localeRo, 'ro');
|
||||||
registerLocaleData(localeRu, 'ru');
|
registerLocaleData(localeRu, 'ru');
|
||||||
registerLocaleData(localeSk, 'sk');
|
registerLocaleData(localeSk, 'sk');
|
||||||
|
registerLocaleData(localeSr, 'sr');
|
||||||
registerLocaleData(localeSv, 'sv');
|
registerLocaleData(localeSv, 'sv');
|
||||||
registerLocaleData(localeTh, 'th');
|
registerLocaleData(localeTh, 'th');
|
||||||
registerLocaleData(localeTr, 'tr');
|
registerLocaleData(localeTr, 'tr');
|
||||||
|
@ -43,6 +43,7 @@ import { NotificationsService } from 'jslib/services/notifications.service';
|
|||||||
import { PasswordGenerationService } from 'jslib/services/passwordGeneration.service';
|
import { PasswordGenerationService } from 'jslib/services/passwordGeneration.service';
|
||||||
import { PolicyService } from 'jslib/services/policy.service';
|
import { PolicyService } from 'jslib/services/policy.service';
|
||||||
import { SearchService } from 'jslib/services/search.service';
|
import { SearchService } from 'jslib/services/search.service';
|
||||||
|
import { SendService } from 'jslib/services/send.service';
|
||||||
import { SettingsService } from 'jslib/services/settings.service';
|
import { SettingsService } from 'jslib/services/settings.service';
|
||||||
import { StateService } from 'jslib/services/state.service';
|
import { StateService } from 'jslib/services/state.service';
|
||||||
import { SyncService } from 'jslib/services/sync.service';
|
import { SyncService } from 'jslib/services/sync.service';
|
||||||
@ -75,6 +76,7 @@ import {
|
|||||||
import { PlatformUtilsService as PlatformUtilsServiceAbstraction } from 'jslib/abstractions/platformUtils.service';
|
import { PlatformUtilsService as PlatformUtilsServiceAbstraction } from 'jslib/abstractions/platformUtils.service';
|
||||||
import { PolicyService as PolicyServiceAbstraction } from 'jslib/abstractions/policy.service';
|
import { PolicyService as PolicyServiceAbstraction } from 'jslib/abstractions/policy.service';
|
||||||
import { SearchService as SearchServiceAbstraction } from 'jslib/abstractions/search.service';
|
import { SearchService as SearchServiceAbstraction } from 'jslib/abstractions/search.service';
|
||||||
|
import { SendService as SendServiceAbstraction } from 'jslib/abstractions/send.service';
|
||||||
import { SettingsService as SettingsServiceAbstraction } from 'jslib/abstractions/settings.service';
|
import { SettingsService as SettingsServiceAbstraction } from 'jslib/abstractions/settings.service';
|
||||||
import { StateService as StateServiceAbstraction } from 'jslib/abstractions/state.service';
|
import { StateService as StateServiceAbstraction } from 'jslib/abstractions/state.service';
|
||||||
import { StorageService as StorageServiceAbstraction } from 'jslib/abstractions/storage.service';
|
import { StorageService as StorageServiceAbstraction } from 'jslib/abstractions/storage.service';
|
||||||
@ -109,13 +111,15 @@ const folderService = new FolderService(cryptoService, userService, apiService,
|
|||||||
i18nService, cipherService);
|
i18nService, cipherService);
|
||||||
const collectionService = new CollectionService(cryptoService, userService, storageService, i18nService);
|
const collectionService = new CollectionService(cryptoService, userService, storageService, i18nService);
|
||||||
searchService = new SearchService(cipherService);
|
searchService = new SearchService(cipherService);
|
||||||
|
const sendService = new SendService(cryptoService, userService, apiService, storageService,
|
||||||
|
i18nService, cryptoFunctionService);
|
||||||
const policyService = new PolicyService(userService, storageService);
|
const policyService = new PolicyService(userService, storageService);
|
||||||
const vaultTimeoutService = new VaultTimeoutService(cipherService, folderService, collectionService,
|
const vaultTimeoutService = new VaultTimeoutService(cipherService, folderService, collectionService,
|
||||||
cryptoService, platformUtilsService, storageService, messagingService, searchService, userService, tokenService,
|
cryptoService, platformUtilsService, storageService, messagingService, searchService, userService, tokenService,
|
||||||
null, async () => messagingService.send('logout', { expired: false }));
|
null, async () => messagingService.send('logout', { expired: false }));
|
||||||
const syncService = new SyncService(userService, apiService, settingsService,
|
const syncService = new SyncService(userService, apiService, settingsService,
|
||||||
folderService, cipherService, cryptoService, collectionService, storageService, messagingService, policyService,
|
folderService, cipherService, cryptoService, collectionService, storageService, messagingService, policyService,
|
||||||
async (expired: boolean) => messagingService.send('logout', { expired: expired }));
|
sendService, async (expired: boolean) => messagingService.send('logout', { expired: expired }));
|
||||||
const passwordGenerationService = new PasswordGenerationService(cryptoService, storageService, policyService);
|
const passwordGenerationService = new PasswordGenerationService(cryptoService, storageService, policyService);
|
||||||
const totpService = new TotpService(storageService, cryptoFunctionService);
|
const totpService = new TotpService(storageService, cryptoFunctionService);
|
||||||
const containerService = new ContainerService(cryptoService);
|
const containerService = new ContainerService(cryptoService);
|
||||||
@ -212,6 +216,7 @@ export function initFactory(): Function {
|
|||||||
{ provide: SystemServiceAbstraction, useValue: systemService },
|
{ provide: SystemServiceAbstraction, useValue: systemService },
|
||||||
{ provide: EventServiceAbstraction, useValue: eventService },
|
{ provide: EventServiceAbstraction, useValue: eventService },
|
||||||
{ provide: PolicyServiceAbstraction, useValue: policyService },
|
{ provide: PolicyServiceAbstraction, useValue: policyService },
|
||||||
|
{ provide: SendServiceAbstraction, useValue: sendService },
|
||||||
{ provide: CryptoFunctionServiceAbstraction, useValue: cryptoFunctionService },
|
{ provide: CryptoFunctionServiceAbstraction, useValue: cryptoFunctionService },
|
||||||
{ provide: NativeMessagingService, useValue: nativeMessagingService },
|
{ provide: NativeMessagingService, useValue: nativeMessagingService },
|
||||||
{
|
{
|
||||||
|
@ -340,7 +340,7 @@
|
|||||||
"message": "Delete Attachment"
|
"message": "Delete Attachment"
|
||||||
},
|
},
|
||||||
"deleteItemConfirmation": {
|
"deleteItemConfirmation": {
|
||||||
"message": "Are you sure you want to delete this item?"
|
"message": "Do you really want to send to the trash?"
|
||||||
},
|
},
|
||||||
"deletedItem": {
|
"deletedItem": {
|
||||||
"message": "Sent item to trash"
|
"message": "Sent item to trash"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "bitwarden",
|
"name": "bitwarden",
|
||||||
"productName": "Bitwarden",
|
"productName": "Bitwarden",
|
||||||
"description": "A secure and free password manager for all of your devices.",
|
"description": "A secure and free password manager for all of your devices.",
|
||||||
"version": "1.22.2",
|
"version": "1.23.0",
|
||||||
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
|
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
|
||||||
"homepage": "https://bitwarden.com",
|
"homepage": "https://bitwarden.com",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
|
@ -14,8 +14,8 @@ export class I18nService extends BaseI18nService {
|
|||||||
|
|
||||||
this.supportedTranslationLocales = [
|
this.supportedTranslationLocales = [
|
||||||
'en', 'be', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'es', 'et', 'fa', 'fi', 'fr', 'hr', 'hu', 'id',
|
'en', 'be', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'es', 'et', 'fa', 'fi', 'fr', 'hr', 'hu', 'id',
|
||||||
'it', 'ja', 'ko', 'ml', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', 'vi',
|
'it', 'ja', 'ko', 'ml', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sr', 'sv', 'th', 'tr', 'uk',
|
||||||
'zh-CN', 'zh-TW',
|
'vi', 'zh-CN', 'zh-TW',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user