mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-02 18:17:46 +01:00
[PM-5043] Update ownership of code to autofill team (#7017)
* [PM-5043] Update owernship of code belonging to autofill team * [PM-5043] Updating location of webRequest.background.ts file to belong to autofill team * [PM-5043] Updating location of autofill component settings within the popup
This commit is contained in:
parent
818649a0ff
commit
0b9a2775f0
8
.github/whitelist-capital-letters.txt
vendored
8
.github/whitelist-capital-letters.txt
vendored
@ -40,14 +40,6 @@
|
||||
./apps/browser/README.md
|
||||
./apps/browser/store/windows/AppxManifest.xml
|
||||
./apps/browser/src/background/nativeMessaging.background.ts
|
||||
./apps/browser/src/background/models/addLoginRuntimeMessage.ts
|
||||
./apps/browser/src/background/models/addChangePasswordQueueMessage.ts
|
||||
./apps/browser/src/background/models/addLoginQueueMessage.ts
|
||||
./apps/browser/src/background/models/changePasswordRuntimeMessage.ts
|
||||
./apps/browser/src/background/models/notificationQueueMessage.ts
|
||||
./apps/browser/src/background/models/notificationQueueMessageType.ts
|
||||
./apps/browser/src/background/models/lockedVaultPendingNotificationsItem.ts
|
||||
./apps/browser/src/background/webRequest.background.ts
|
||||
./apps/browser/src/popup/services/debounceNavigationService.ts
|
||||
./apps/browser/src/models/browserComponentState.ts
|
||||
./apps/browser/src/models/browserSendComponentState.ts
|
||||
|
@ -1,6 +1,6 @@
|
||||
import LockedVaultPendingNotificationsItem from "../../background/models/lockedVaultPendingNotificationsItem";
|
||||
import { BrowserApi } from "../../platform/browser/browser-api";
|
||||
import { ContextMenuClickedHandler } from "../browser/context-menu-clicked-handler";
|
||||
import LockedVaultPendingNotificationsItem from "../notification/models/locked-vault-pending-notifications-item";
|
||||
|
||||
export default class ContextMenusBackground {
|
||||
private contextMenus: typeof chrome.contextMenus;
|
||||
|
@ -13,17 +13,17 @@ import { CipherType } from "@bitwarden/common/vault/enums";
|
||||
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
||||
|
||||
import { openUnlockPopout } from "../../auth/popup/utils/auth-popout-window";
|
||||
import AddUnlockVaultQueueMessage from "../../background/models/add-unlock-vault-queue-message";
|
||||
import AddChangePasswordQueueMessage from "../../background/models/addChangePasswordQueueMessage";
|
||||
import AddLoginQueueMessage from "../../background/models/addLoginQueueMessage";
|
||||
import AddLoginRuntimeMessage from "../../background/models/addLoginRuntimeMessage";
|
||||
import ChangePasswordRuntimeMessage from "../../background/models/changePasswordRuntimeMessage";
|
||||
import LockedVaultPendingNotificationsItem from "../../background/models/lockedVaultPendingNotificationsItem";
|
||||
import { NotificationQueueMessageType } from "../../background/models/notificationQueueMessageType";
|
||||
import { BrowserApi } from "../../platform/browser/browser-api";
|
||||
import { BrowserStateService } from "../../platform/services/abstractions/browser-state.service";
|
||||
import { openAddEditVaultItemPopout } from "../../vault/popup/utils/vault-popout-window";
|
||||
import { NOTIFICATION_BAR_LIFESPAN_MS } from "../constants";
|
||||
import AddChangePasswordQueueMessage from "../notification/models/add-change-password-queue-message";
|
||||
import AddLoginQueueMessage from "../notification/models/add-login-queue-message";
|
||||
import AddLoginRuntimeMessage from "../notification/models/add-login-runtime-message";
|
||||
import AddUnlockVaultQueueMessage from "../notification/models/add-unlock-vault-queue-message";
|
||||
import ChangePasswordRuntimeMessage from "../notification/models/change-password-runtime-message";
|
||||
import LockedVaultPendingNotificationsItem from "../notification/models/locked-vault-pending-notifications-item";
|
||||
import { NotificationQueueMessageType } from "../notification/models/notification-queue-message-type";
|
||||
import { AutofillService } from "../services/abstractions/autofill.service";
|
||||
|
||||
export default class NotificationBackground {
|
||||
|
@ -14,13 +14,13 @@ import { LoginUriView } from "@bitwarden/common/vault/models/view/login-uri.view
|
||||
import { LoginView } from "@bitwarden/common/vault/models/view/login.view";
|
||||
|
||||
import { openUnlockPopout } from "../../auth/popup/utils/auth-popout-window";
|
||||
import LockedVaultPendingNotificationsItem from "../../background/models/lockedVaultPendingNotificationsItem";
|
||||
import { BrowserApi } from "../../platform/browser/browser-api";
|
||||
import {
|
||||
openViewVaultItemPopout,
|
||||
openAddEditVaultItemPopout,
|
||||
} from "../../vault/popup/utils/vault-popout-window";
|
||||
import { SHOW_AUTOFILL_BUTTON } from "../constants";
|
||||
import LockedVaultPendingNotificationsItem from "../notification/models/locked-vault-pending-notifications-item";
|
||||
import { AutofillService, PageDetail } from "../services/abstractions/autofill.service";
|
||||
import { AutofillOverlayElement, AutofillOverlayPort } from "../utils/autofill-overlay.enum";
|
||||
|
||||
|
@ -4,7 +4,7 @@ import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/pl
|
||||
import { CipherService } from "@bitwarden/common/vault/abstractions/cipher.service";
|
||||
import { UriMatchType } from "@bitwarden/common/vault/enums";
|
||||
|
||||
import { BrowserApi } from "../platform/browser/browser-api";
|
||||
import { BrowserApi } from "../../platform/browser/browser-api";
|
||||
|
||||
export default class WebRequestBackground {
|
||||
private pendingAuthRequests: any[] = [];
|
@ -18,7 +18,6 @@ import {
|
||||
} from "../../auth/background/service-factories/auth-service.factory";
|
||||
import { userVerificationServiceFactory } from "../../auth/background/service-factories/user-verification-service.factory";
|
||||
import { openUnlockPopout } from "../../auth/popup/utils/auth-popout-window";
|
||||
import LockedVaultPendingNotificationsItem from "../../background/models/lockedVaultPendingNotificationsItem";
|
||||
import { eventCollectionServiceFactory } from "../../background/service-factories/event-collection-service.factory";
|
||||
import { Account } from "../../models/account";
|
||||
import { CachedServices } from "../../platform/background/service-factories/factory-options";
|
||||
@ -51,6 +50,7 @@ import {
|
||||
GENERATE_PASSWORD_ID,
|
||||
NOOP_COMMAND_SUFFIX,
|
||||
} from "../constants";
|
||||
import LockedVaultPendingNotificationsItem from "../notification/models/locked-vault-pending-notifications-item";
|
||||
import { AutofillCipherTypeId } from "../types";
|
||||
|
||||
export type CopyToClipboardOptions = { text: string; tab: chrome.tabs.Tab };
|
||||
|
@ -1,7 +1,7 @@
|
||||
import AddLoginRuntimeMessage from "../../background/models/addLoginRuntimeMessage";
|
||||
import ChangePasswordRuntimeMessage from "../../background/models/changePasswordRuntimeMessage";
|
||||
import AutofillField from "../models/autofill-field";
|
||||
import { WatchedForm } from "../models/watched-form";
|
||||
import AddLoginRuntimeMessage from "../notification/models/add-login-runtime-message";
|
||||
import ChangePasswordRuntimeMessage from "../notification/models/change-password-runtime-message";
|
||||
import { FormData } from "../services/abstractions/autofill.service";
|
||||
import { GlobalSettings, UserSettings } from "../types";
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import NotificationQueueMessage from "./notificationQueueMessage";
|
||||
import { NotificationQueueMessageType } from "./notificationQueueMessageType";
|
||||
import NotificationQueueMessage from "./notification-queue-message";
|
||||
import { NotificationQueueMessageType } from "./notification-queue-message-type";
|
||||
|
||||
export default class AddChangePasswordQueueMessage extends NotificationQueueMessage {
|
||||
type: NotificationQueueMessageType.ChangePassword;
|
@ -4,8 +4,8 @@ import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
||||
import { LoginUriView } from "@bitwarden/common/vault/models/view/login-uri.view";
|
||||
import { LoginView } from "@bitwarden/common/vault/models/view/login.view";
|
||||
|
||||
import NotificationQueueMessage from "./notificationQueueMessage";
|
||||
import { NotificationQueueMessageType } from "./notificationQueueMessageType";
|
||||
import NotificationQueueMessage from "./notification-queue-message";
|
||||
import { NotificationQueueMessageType } from "./notification-queue-message-type";
|
||||
|
||||
export default class AddLoginQueueMessage extends NotificationQueueMessage {
|
||||
type: NotificationQueueMessageType.AddLogin;
|
@ -0,0 +1,6 @@
|
||||
import NotificationQueueMessage from "./notification-queue-message";
|
||||
import { NotificationQueueMessageType } from "./notification-queue-message-type";
|
||||
|
||||
export default class AddUnlockVaultQueueMessage extends NotificationQueueMessage {
|
||||
type: NotificationQueueMessageType.UnlockVault;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
import { NotificationQueueMessageType } from "./notificationQueueMessageType";
|
||||
import { NotificationQueueMessageType } from "./notification-queue-message-type";
|
||||
|
||||
export default class NotificationQueueMessage {
|
||||
type: NotificationQueueMessageType;
|
@ -9,9 +9,9 @@ import { StateService } from "@bitwarden/common/platform/abstractions/state.serv
|
||||
import { UriMatchType } from "@bitwarden/common/vault/enums";
|
||||
import { DialogService } from "@bitwarden/components";
|
||||
|
||||
import { AutofillOverlayVisibility } from "../../autofill/utils/autofill-overlay.enum";
|
||||
import { BrowserApi } from "../../platform/browser/browser-api";
|
||||
import { flagEnabled } from "../../platform/flags";
|
||||
import { BrowserApi } from "../../../platform/browser/browser-api";
|
||||
import { flagEnabled } from "../../../platform/flags";
|
||||
import { AutofillOverlayVisibility } from "../../utils/autofill-overlay.enum";
|
||||
|
||||
@Component({
|
||||
selector: "app-autofill",
|
@ -5,10 +5,10 @@ import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/pl
|
||||
import { PasswordGenerationServiceAbstraction } from "@bitwarden/common/tools/generator/password";
|
||||
|
||||
import { openUnlockPopout } from "../auth/popup/utils/auth-popout-window";
|
||||
import LockedVaultPendingNotificationsItem from "../autofill/notification/models/locked-vault-pending-notifications-item";
|
||||
import { BrowserApi } from "../platform/browser/browser-api";
|
||||
|
||||
import MainBackground from "./main.background";
|
||||
import LockedVaultPendingNotificationsItem from "./models/lockedVaultPendingNotificationsItem";
|
||||
|
||||
export default class CommandsBackground {
|
||||
private isSafari: boolean;
|
||||
|
@ -128,6 +128,7 @@ import ContextMenusBackground from "../autofill/background/context-menus.backgro
|
||||
import NotificationBackground from "../autofill/background/notification.background";
|
||||
import OverlayBackground from "../autofill/background/overlay.background";
|
||||
import TabsBackground from "../autofill/background/tabs.background";
|
||||
import WebRequestBackground from "../autofill/background/web-request.background";
|
||||
import { CipherContextMenuHandler } from "../autofill/browser/cipher-context-menu-handler";
|
||||
import { ContextMenuClickedHandler } from "../autofill/browser/context-menu-clicked-handler";
|
||||
import { MainContextMenuHandler } from "../autofill/browser/main-context-menu-handler";
|
||||
@ -162,7 +163,6 @@ import CommandsBackground from "./commands.background";
|
||||
import IdleBackground from "./idle.background";
|
||||
import { NativeMessagingBackground } from "./nativeMessaging.background";
|
||||
import RuntimeBackground from "./runtime.background";
|
||||
import WebRequestBackground from "./webRequest.background";
|
||||
|
||||
export default class MainBackground {
|
||||
messagingService: MessagingServiceAbstraction;
|
||||
|
@ -1,6 +0,0 @@
|
||||
import NotificationQueueMessage from "./notificationQueueMessage";
|
||||
import { NotificationQueueMessageType } from "./notificationQueueMessageType";
|
||||
|
||||
export default class AddUnlockVaultQueueMessage extends NotificationQueueMessage {
|
||||
type: NotificationQueueMessageType.UnlockVault;
|
||||
}
|
@ -13,6 +13,7 @@ import {
|
||||
openSsoAuthResultPopout,
|
||||
openTwoFactorAuthPopout,
|
||||
} from "../auth/popup/utils/auth-popout-window";
|
||||
import LockedVaultPendingNotificationsItem from "../autofill/notification/models/locked-vault-pending-notifications-item";
|
||||
import { AutofillService } from "../autofill/services/abstractions/autofill.service";
|
||||
import { BrowserApi } from "../platform/browser/browser-api";
|
||||
import { BrowserStateService } from "../platform/services/abstractions/browser-state.service";
|
||||
@ -21,7 +22,6 @@ import BrowserPlatformUtilsService from "../platform/services/browser-platform-u
|
||||
import { AbortManager } from "../vault/background/abort-manager";
|
||||
|
||||
import MainBackground from "./main.background";
|
||||
import LockedVaultPendingNotificationsItem from "./models/lockedVaultPendingNotificationsItem";
|
||||
|
||||
export default class RuntimeBackground {
|
||||
private autofillTimeout: any;
|
||||
|
@ -27,6 +27,7 @@ import { SsoComponent } from "../auth/popup/sso.component";
|
||||
import { TwoFactorOptionsComponent } from "../auth/popup/two-factor-options.component";
|
||||
import { TwoFactorComponent } from "../auth/popup/two-factor.component";
|
||||
import { UpdateTempPasswordComponent } from "../auth/popup/update-temp-password.component";
|
||||
import { AutofillComponent } from "../autofill/popup/settings/autofill.component";
|
||||
import { GeneratorComponent } from "../tools/popup/generator/generator.component";
|
||||
import { PasswordGeneratorHistoryComponent } from "../tools/popup/generator/password-generator-history.component";
|
||||
import { SendAddEditComponent } from "../tools/popup/send/send-add-edit.component";
|
||||
@ -47,7 +48,6 @@ import { ViewComponent } from "../vault/popup/components/vault/view.component";
|
||||
import { FolderAddEditComponent } from "../vault/popup/settings/folder-add-edit.component";
|
||||
|
||||
import { DebounceNavigationService } from "./services/debounceNavigationService";
|
||||
import { AutofillComponent } from "./settings/autofill.component";
|
||||
import { ExcludedDomainsComponent } from "./settings/excluded-domains.component";
|
||||
import { FoldersComponent } from "./settings/folders.component";
|
||||
import { HelpAndFeedbackComponent } from "./settings/help-and-feedback.component";
|
||||
|
@ -34,6 +34,7 @@ import { SsoComponent } from "../auth/popup/sso.component";
|
||||
import { TwoFactorOptionsComponent } from "../auth/popup/two-factor-options.component";
|
||||
import { TwoFactorComponent } from "../auth/popup/two-factor.component";
|
||||
import { UpdateTempPasswordComponent } from "../auth/popup/update-temp-password.component";
|
||||
import { AutofillComponent } from "../autofill/popup/settings/autofill.component";
|
||||
import { HeaderComponent } from "../platform/popup/header.component";
|
||||
import { FilePopoutCalloutComponent } from "../tools/popup/components/file-popout-callout.component";
|
||||
import { GeneratorComponent } from "../tools/popup/generator/generator.component";
|
||||
@ -68,7 +69,6 @@ import { PopOutComponent } from "./components/pop-out.component";
|
||||
import { PrivateModeWarningComponent } from "./components/private-mode-warning.component";
|
||||
import { UserVerificationComponent } from "./components/user-verification.component";
|
||||
import { ServicesModule } from "./services/services.module";
|
||||
import { AutofillComponent } from "./settings/autofill.component";
|
||||
import { ExcludedDomainsComponent } from "./settings/excluded-domains.component";
|
||||
import { FoldersComponent } from "./settings/folders.component";
|
||||
import { HelpAndFeedbackComponent } from "./settings/help-and-feedback.component";
|
||||
|
Loading…
Reference in New Issue
Block a user