* When org is disabled disable the logic and show warning symbols
* fixing org enabled logic
* removing unused code
* Adding route gaurd logic and new org suspended page
* fixing lint issue
* fixing issues
* Requested changes
* adding back code that was accidentally removed from organization-switcher
* Update bitwarden_license/bit-web/src/app/secrets-manager/shared/org-suspended.component.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
* Removing unused code and updating storybook to set enabled:true
* removing onDestroy
* Will's suggestions
* will's suggested change
* fix nav-item color in story
* Thomas Rittson's suggested changes
* adding back removed spaces
* Adding back white space
* updating guard
* Update bitwarden_license/bit-web/src/app/secrets-manager/guards/sm-org-enabled.guard.ts
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
* removing ununsed data
* Updating incorrect messages
---------
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
Co-authored-by: William Martin <contact@willmartian.com>
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
* remove solve for pm-3613 (will readdress in pm-4014)
* check original target tab URL before executing deferred action due to reprompt
* only check if target tab host+path changed during reprompt
* Fix setUserTypeContext by adding missing return
* Throw new Error instead of just string
* Move enums and models into separate folders
* Move UI classes into separate folder
* Move FederatedUserContext import
* Move services into a separate folder
* Add barrel file for lastpass access lib
* Fix build by updating imports after move
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
* close menu overlay when no longer visible
* prevent infinite loop in fallback-src directive
* block scrolling when menu is open
* disable view recycling; use reposition strategy
This PR wires up a polyfill for window.ipc which allows us to progressively migrate the codebase to a format which supports context bridge. This avoids a big bang effort where every non sandboxed call has to be migrated before we can run the code.
Once all calls to node modules are removed from the renderer and only exists in preload.ts. We will turn on context isolation and use the context bridge for communication instead.
* Split up import/export into separate modules
* Fix routing and apply PR feedback
* Renamed OrganizationExport exports to OrganizationVaultExport
* Renamed filenames according to export rename
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
* Updated Delete service account modal to be default size, not small
* updating project-delte-dialog and service-account-dialog to use default size dialog
* updating to default size
* update password reprompt to use the dialog CL
* Override showPasswordPrompt and submit method on web child classes from base classes to allow dialog work on web and modal on other clients
* Override showPasswordPrompt and submit method on web child classes from base classes to allow dialog work on web and modal on other clients
* Fixed lint issues
* Corrected comments
* Refactored passwored reprompt to use dialog service after changes to make the dialog service work on the desktop and browser
* Changed access modifier from protected to protected
* Refactored passwprd reprompt component to a stand alone component and fixed all references
* fix merge changes
* fix import aliases in password-reprompt.component.ts
* fix alias typo in browser tsconfig
* import from root vault alias
* revert tsconfig changes
* remove service abstraction and update imports
* remove component from imports
* Removed unneccesary show password toggle
* renamed selector to use vault prefix
* removed unnecessary data dismiss
* merged and fixed conflicts
* remove reintroduced file
* Added appAutoFocus to reprompt dialog
* delayed validation until submit happens
---------
Co-authored-by: William Martin <contact@willmartian.com>
* Rename Collection events to be more explicit
* Implement edit collection for individual vault row
* Implement edit and delete collection from individual vault header
* Implement bulk delete for collections in individual vault
* Clean up CollectionDialogResult properties
* Centralize canEdit and canDelete logic to Collection models
* Check orgId in canEdit and canDelete and add clarifying comments
---------
Co-authored-by: Shane Melton <smelton@bitwarden.com>
* convert some pma models
* some client work
* fix comment
* add ui classes
* finish implementing login
* more client work
* update cookie comment
* vault class
* some chunk work in client
* convert to array
* parse chunks with binary reader
* parsing and crypto
* parse private keys
* move fetching to rest client
* houskeeping
* set cookies if not browser
* fix field name changes
* extract crypto utils
* error checks on seek
* fix build errors
* fix lint errors
* rename lib folder to access
* fixes
* fix seek function
* support opening federated vaults
* add postJson rest method
* add user type and k2 apis
* pass mode
* Get node version from .nvmrc and use in setup-node action
* Fix substitution
* Fix substitution 2
* Fix substitution 3
* Add ls
* Add ls
* Override working directory
* Fix override working directory
* Fix
* Add ls
* Checkout repo
Implement the Desktop clipboard logic natively using rust. This uses the arboard crate for clipboard functionality.
This change consists of 3 portions:
* Rust component.
* Updating renderer to call main using electron ipc.
* Update main to listen to renderer ipc and forward calls to the native clipboard module.
* Revert "Removed countries that Stripe doesn't support (#6035)"
This reverts commit a81c70360a.
* Hide additional tax options when selected country doesn't support Stripe tax
* Conner's feedback
* [PM-3704] Autofil Command Should Not Attempt to Fill If Fields Are Not Found in Page Details
* [PM-2319] Adding jest test to ensure workflow is captured in future refactors
* PoC autofill card and identity from context menu
* PoC trigger identity and card autofills via messages
* update card and identity cipher titles in the context menu
* remove unused url argument from loadOptions
* do not show no logins message for card and identity sub-menu
* allow context menu actions to create identity or card ciphers
* open new single-action windows for cipher creation when requested from the context menu
* add context menu items for adding a login cipher when none are available to the page
* adjust titles for Card and Identity context menu items
* fix translations and add no ciphers available messages to submenus
* cleanup and update tests
* remove unrelated changes
* pass uri of context menu page to cipher creation view
* Apply suggestions from code review
Co-authored-by: Cesar Gonzalez <cesar.a.gonzalezcs@gmail.com>
* cleanup
* handle cipher edit background messages with browserPopoutWindowService as well
* consolidate doAutoFillNonLoginActiveTab into doAutoFillActiveTab
* cleanup
---------
Co-authored-by: Cesar Gonzalez <cesar.a.gonzalezcs@gmail.com>
* Add copy to translations
* Add copy to premium user subscription page
* Add copy to organization user subscription page
* Conditionally display copy on premium user subscription page
* Conditionally display copy on organization user subscription page
* Update translations to approved copy