1
0
mirror of https://github.com/bitwarden/browser synced 2025-01-28 20:19:49 +01:00

17326 Commits

Author SHA1 Message Date
Bernd Schoolmann
93710f0db2
Remove ssh import sdk init code 2025-01-24 12:39:24 +01:00
Bernd Schoolmann
a68c63072c
Merge branch 'km/pm-16227/ssh-import-web-browser' of github.com:bitwarden/clients into km/pm-16227/ssh-import-web-browser 2025-01-24 12:25:54 +01:00
Bernd Schoolmann
d73df1a860
Fix services module 2025-01-24 12:25:34 +01:00
Bernd Schoolmann
3343050fea
Merge branch 'main' into km/pm-16227/ssh-import-web-browser 2025-01-24 12:25:09 +01:00
Bernd Schoolmann
c4ace10ddc
Update libs/importer/src/importers/bitwarden/bitwarden-json-importer.ts
Co-authored-by:  Audrey  <ajensen@bitwarden.com>
2025-01-24 12:02:05 +01:00
renovate[bot]
3f05a5e5f5
[deps] Platform: Update electron to v34 (#12977)
* [deps] Platform: Update electron to v34

* Update electron-builder.json electron version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2025-01-24 11:58:54 +01:00
Daniel James Smith
bd0607ba8b
Add missing keys for ssh fields to web/en/messages.json (#13047)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-24 11:57:34 +01:00
bw-ghapp[bot]
4cbace900f
Autosync the updated translations (#13043)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-24 10:58:30 +01:00
Oscar Hinton
463da5614d
Remove bootstrap classes from shared code (#12906)
Migrates the following components to not use bootstrap.

- apps/web/src/app/components/environment-selector/environment-selector.component.html
- apps/web/src/app/layouts/frontend-layout.component.html
- apps/web/src/app/layouts/org-switcher/org-switcher.component.html
- apps/web/src/app/settings/domain-rules.component.html
- bitwarden_license/bit-web/src/app/secrets-manager/projects/project/project-secrets.component.html
- bitwarden_license/bit-web/src/app/secrets-manager/settings/porting/sm-import.component.html
2025-01-24 10:48:00 +01:00
bw-ghapp[bot]
b1d4defa70
Autosync the updated translations (#13041)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-24 10:23:03 +01:00
bw-ghapp[bot]
9497f5b4c5
Autosync the updated translations (#13042)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-24 10:18:21 +01:00
Jordan Aasen
362745ad57
[PM-15943] - When filling a password, the extension flickers (#12900)
* use requestAnimationFrame instead of arbitrary timeout

* fix failing test
2025-01-23 15:45:26 -08:00
Jordan Aasen
dbb1639e72
[PM-17213] - allow changing of item owner from personal to org (#13034)
* allow changing of item owner from personal to org

* avoid unecessary api calls when updating item parent

* move comment up a line

* add localData to cipher instance
2025-01-23 15:43:42 -08:00
Oscar Hinton
382a2a0f24
Ignore more bad imports (#12935)
* Ignore more bad imports
2025-01-23 13:03:17 -08:00
Vijay Oommen
9d83484ec4
PM-15090 - unmark-critical-app (#13015) 2025-01-23 14:19:56 -06:00
Evan Bassler
8a2aa1eac2
[PM-16807] Update text and behavior for show id/card vault settings (#12808)
* update text and behavior for show id/card vault settings

* add new crowdin entry

* update crowdin entries

* revert default

---------

Co-authored-by: Evan Bassler <evanbassler@Mac.attlocal.net>
2025-01-23 13:59:39 -06:00
Matt Gibson
f9f30f8ec4
[PM-17479] Load-sdk-once (#12764)
* create service to load sdk on application init

* Eagerly load CLI SDK

* Remove wasm logging to api

* Fix imports

* Eagerly load Desktop renderer SDK

Note: If the main process ever requires an SDK, we'll need to load it there, too.
In that event, it's probably a good idea to move to IPC for all SDK functions to avoid
loading the SDK for every window.

* init wasm module from sdk load service

* Use default client factory

* Fix type imports

* Resolve jest module import errors

A CLI sdk load service that async imports our wasm binary doesn't seem to be needed to run, but jest isn't dealing with the ESM import properly.

* Fix linting

* remove example code
2025-01-23 14:34:22 -05:00
Jimmy Vo
620affd3d5
[PM-13755] Exclude revoked users from the occupied seats count (#12277)
It also includes a refactor to decouple the invite and edit user flows.
2025-01-23 14:24:51 -05:00
Alec Rippberger
aa1c0ca0ee
feat(auth): [PM-8221] implement device verification for unknown devices
Add device verification flow that requires users to enter an OTP when logging in from an unrecognized device. This includes:

- New device verification route and guard
- Email OTP verification component
- Authentication timeout handling

PM-8221
2025-01-23 12:57:48 -06:00
Oscar Hinton
f50f5ef70b
Remove unused imports for modal service (#12904)
We're auditing the remaining usages of ModalService so that we may kill the feature. These are unused imports which can be safely removed.
2025-01-23 19:22:22 +01:00
Bernd Schoolmann
676c785846
Fix eslint 2025-01-23 19:06:45 +01:00
Jordan Aasen
67187760df
move org icon to "default-trailing" slot (#13000) 2025-01-23 10:04:13 -08:00
Bernd Schoolmann
93cab0205a
Fix storybook, explicitly implement ssh-import-prompt service abstraction 2025-01-23 18:55:17 +01:00
Jason Ng
2d488a8e68
[PM-16245] delete btn in browser edit item (#12876)
* send the user back to vault after deleting from edit view
* [PM-17443] Navigation After Deletion (#13023)
* navigate to vault tab after cipher deletion
---------
Co-authored-by: Nick Krantz <125900171+nick-livefront@users.noreply.github.com>
2025-01-23 10:54:52 -05:00
Bernd Schoolmann
113c2e9812
Attempt to fix storybook 2025-01-23 15:24:43 +01:00
Bernd Schoolmann
4eacf0e5cd
Remove erroneous includes 2025-01-23 15:08:24 +01:00
Bernd Schoolmann
1ba3eafdf3
Fix linting 2025-01-23 14:56:56 +01:00
Bernd Schoolmann
6cabe1aeba
Merge branch 'main' into km/pm-16227/ssh-import-web-browser 2025-01-23 14:53:04 +01:00
Bernd Schoolmann
7d63f4d1c4
Merge branch 'km/pm-16227/ssh-import-web-browser' of github.com:bitwarden/clients into km/pm-16227/ssh-import-web-browser 2025-01-23 14:50:24 +01:00
Oscar Hinton
caf3e77d1c
Change tsconfig to be owned by platform (#12926) 2025-01-23 14:49:19 +01:00
Bernd Schoolmann
6bdcd6df77
Move import logic to service and add tests 2025-01-23 14:49:07 +01:00
Github Actions
b1b5b3f9e8 Bumped Desktop client to 2025.1.5 2025-01-23 12:16:38 +00:00
Michał Chęciński
3fda91e42f
Fix deployment_id to deployment-id in workflow files (#13028) 2025-01-23 11:04:54 +00:00
cyprain-okeke
e847f964c5
Fix the unclear error message on add payment (#13005) 2025-01-23 11:17:33 +01:00
Maciej Zieniuk
abb18881b6
[PM-14445] TS strict for Key Management KDF (#13007)
* PM-14445: TS strict for Key Management KDF

* state deserializer can return null
2025-01-23 10:45:33 +01:00
Michał Chęciński
9f524d4b91
Fix name of the release-version-check workflow (#13026) 2025-01-23 09:06:13 +00:00
Jared Snider
4abbf32638
Auth/PM-8113 - Extension - AuthPopoutWindows - Add new method + refactor names (#13020)
* PM-8113 - Add closeSsoAuthResultPopout

* PM-8113 - Refactor names / tests / comments
2025-01-22 21:48:38 -05:00
Jonathan Prusik
649a196e4b
partial revert of 374ea6a (#13018) 2025-01-22 17:08:25 -05:00
Brandon Treston
f5744ed28f
use getUserId and getOrganizationById (#13017) 2025-01-22 16:59:15 -05:00
Brandon Treston
a949f793ed
[PM-15506] Implement vNextOrganizationService (#12839)
* [PM-15506] Wire up vNextOrganizationService for libs/common and libs/angular (#12683)

* Wire up vNextOrganizationService in PolicyService

* Wire vNextOrganizationService in SyncService

* wire vNextOrganizationService for EventCollectionService

* wire vNextOrganizationService for KeyConnectorService

* wire up vNextOrganizationService for CipherAuthorizationService

* Wire up vNextOrganizationService in PolicyService

* Wire vNextOrganizationService in SyncService

* wire vNextOrganizationService for EventCollectionService

* wire vNextOrganizationService for KeyConnectorService

* wire up vNextOrganizationService for CipherAuthorizationService

* wire vNextOrganizationService for share.component

* wire vNextOrganizationService for collections.component

* wire vNextOrganizationServcie for add-account-credit-dialog

* wire vNextOrganizationService for vault-filter.service

* fix browser errors for vNextOrganizationService implementation in libs

* fix desktop errors for vNextOrganizationService implementation for libs

* fix linter errors

* fix CLI errors on vNextOrganizationServcie implementations for libs

* [PM-15506] Wire up vNextOrganizationService for web client (#12810)

PR to a feature branch, no need to review until this goes to main.

* implement vNextOrganization service for browser client (#12844)

PR to feature branch, no need for review yet.

* wire vNextOrganizationService for licence and some web router guards

* wire vNextOrganizationService in tests

* remove vNext notation for OrganizationService and related

* Merge branch 'main' into ac/pm-15506-vNextOrganizationService

* fix tsstrict error

* fix test, fix ts strict error
2025-01-22 15:20:25 -05:00
renovate[bot]
ba4d762dc1
[deps] Platform: Update Rust crate log to v0.4.25 (#12960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 13:50:29 -05:00
renovate[bot]
c566906313
[deps] Platform: Update Rust crate dirs to v6 (#12976)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 13:46:26 -05:00
cyprain-okeke
c1ebe95cdc
Changes for old plan to updated to new plan (#13013) 2025-01-22 19:26:58 +01:00
Todd Martin
1e14d6d648
Modify Edge to build Mv3 - Part 2 (#12675)
* Modify Edge and Chrome artifacts to build Mv3 version to mimic Chrome

* Added back the Mv3 scripts so that workflows run on the PR will pass

* Removed unused Mv3 scripts

* Added back Opera
2025-01-22 13:24:18 -05:00
Jordan Aasen
5600bc01b0
change to arrow function to maintain bindings (#13001) 2025-01-22 10:17:59 -08:00
Bernd Schoolmann
42d987610a
Update libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts
Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
2025-01-22 18:58:17 +01:00
renovate[bot]
e060371c6f
[deps] Platform: Update @types/node to v22.10.7 (#12958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 11:49:48 -05:00
renovate[bot]
b7f1bef57c
[deps] Autofill: Update wait-on to v8.0.2 (#12957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 11:49:15 -05:00
Nick Krantz
5c32e5020d
[PM-9111] Extension: persist add/edit form (#12236)
* remove todo

* Retrieve cache cipher for add-edit form

* user prefilled cipher for add-edit form

* add listener for clearing view cache

* clear local cache when clearing global state

* track initial value of cache for down stream logic that should only occur on non-cached values

* add feature flag for edit form persistence

* add tests for cipher form cache service

* fix optional initialValues

* add services to cipher form storybook

* fix strict types

* rename variables to be platform agnostic

* use deconstructed collectionIds variable to avoid them be overwritten

* use the originalCipherView for initial values

* add comment about signal equality

* prevent events from being emitted when adding uris to the existing form

- This stops other values from being overwrote in the initialization process

* add check for cached cipher when adding initial uris
2025-01-22 11:49:07 -05:00
renovate[bot]
1dfae06856
[deps] Autofill: Update prettier-plugin-tailwindcss to v0.6.10 (#12955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 11:48:57 -05:00