* [deps]: Update electron to v34
* fix: remove event parameter from minimize handler for Electron 34 compatibility
The minimize event in Electron 34 no longer provides an event object, requiring removal of the e.preventDefault() call.
* feat(deps): add node-abi@3.74.0 as devDependency for Electron 34 rebuild
Required for electron-rebuild to work correctly with Electron 34.
Previous transitive dependency version (3.68.0) was too old to support Electron 34.
* Bump Electron to v34.1.1
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rui Tome <rtome@bitwarden.com>
* [deps]: Update bootstrap to v5 [SECURITY]
* Use the color-contrast method instead of the deprecated color-yiq method
* Update settings component for bootstrap 5
* Update ApiKey component for bootstrap 5
* Update environment component for bootstrap 5
* Run prettier
* Revert back to data-dismiss
* Update modal close button attribute to use data-bs-dismiss instead of data-dismiss
* Run npm prettier
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rui Tome <rtome@bitwarden.com>
* Upgrade @angular packages to 16.2.12
Upgrade a webpack package
* Rebuild package-lock.json
* Remove use of deprecated Guard interfaces
Update route guards to use mapToCanActivate
* Update versions in package.json
* Rebuild package-lock.json
fix
* Update electron-log usage
* Change necessary logic to get the newest version of the package
working
* Wrap up `init()` logic in a way that has parity with Bitwarden Desktop
Updates for electron-log
fix
* Update notarize script to match the latest @electron/notarize version
Update notarize step to look more like clients
* Remove all importers and related files
* Remove exporter and all related files
* Remove packages: papaparse and jsdom
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
* Remove uneeded redirects to a tsconfig.spec.json
* Got the tests running again
* Delete webCryptoFunctionService
* Delete unused utils tests
* Add a test workflow
* Sync eslintrc with clients repo
* Autofix one eslint error
* Add type attributes to buttons for eslint
* Properly destroy ApiKeyComponent
* Fix eslint issues related to state
* Fix eslint warnings for default named imports
* Ran prettier
* Be more proactive about an unsubscribe
* Rework subscription
* Unpackage-ify jslib
* Adjust .tsconfig path for root and apply to jslib
* Rebuild package-lock.json
* Disable husky in CI
* Revert an incorrect find/replace
* Add jslib/shared/.eslintrc rules to root eslintrc
* Revert package.json change to ignore spec files when linting
* Ensure custom matcher gets imported in jslib tests
* Fix small workflow bugs from merging
* Try and get CI builds moving again
* Always sign and notorize builds in CI
* Revert erroneous verion bump
* [chore] Update jslib & state services to match
* [bug] Save userId when migrating state
This is used to check for authentication, so if not present on boot of the app authenticated users will still have to log in again
* [bug] Save added accounts with userId
Currently we are passing in an account object, resulting in a null key. We should be passing in a userId
* [bug] Ensure configs and settings are not cleared on logout
We need to persist directoryConfigruations on logout so that logging out and back in doesn't require folks to need to reconfig their settings
* Remove unneeded LoginSyncService
* Run prettier
* [style] Remove commented lines
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>