Commit Graph

3464 Commits

Author SHA1 Message Date
Bernd Schoolmann dafe795854
Move asymmetric crypto functions out of crypto service (#10903) 2024-10-01 17:47:41 +02:00
Nick Krantz f2339b0586
[PM-12718] Vault item - keyboard focus (#11338)
* refactor vault-list-item to be a button so it is keyboard accessible

- an anchor tag without an `href` isn't included in the tab order

* allow bit-item-content focus state to be visible

- cdk-virtual-scroll-viewport applied certain styles that hid overflow. Because each bit-item-group isn't a scroll container for vault items, these should be safe to alter.
2024-10-01 09:44:30 -05:00
Jordan Aasen 6e7c83305e
[PM-12990]- center align footer buttons (#11342)
* center align footer buttons

* fix popup-tab-navigation layout
2024-10-01 10:35:39 -04:00
Daniel García 9aeb412404
[PM-7646][PM-5506] Rust IPC changes: Episode 2 (#11122)
* Revert "[PM-7646][PM-5506] Revert IPC changes (#10946)"

This reverts commit ed4d481e4d.

* Ensure tmp dir gets created on MacOS

* Remove client reconnections

* Improve client error handling and process exiting
2024-10-01 16:28:56 +02:00
Alex Morask 2b78ac5151
Show subscription status as active for premium if incomplete and within 15 seconds of creation (#11334) 2024-10-01 08:45:01 -04:00
Cesar Gonzalez 7108a34ac0
[PM-12619] Passkey script cleanup process triggers breaking behavior in websites (#11304) 2024-10-01 07:27:07 -05:00
Andreas Coroiu 0846c2c822
[PM-11780] Resolve TypeScript 5.3 compile error 2024-10-01 13:39:36 +02:00
Jordan Aasen 5a1583cb0a
[PM-12732] - fix new send button (#11266)
* fix new send button

* simplify logic. use static class name where possible
2024-10-01 11:36:34 +02:00
Alec Rippberger 0ae672fc0c
Add missing translation strings. (#11274) 2024-09-30 21:46:36 -05:00
renovate[bot] 9a9b41a5da
[deps] Tools: Update jsdom to v25 (#10742)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 23:18:05 +02:00
Thomas Rittson 1f85036346
[PM-3478] Refactor OrganizationUser api (#10949)
* User and Group collection dialogs - don't fetch additional associations from the api
* Refactor to use user mini-details endpoint
2024-10-01 07:13:26 +10:00
Jared Snider 8469e3541a
PM-8111 - (1) Cleanup DefaultLoginComponentService (2) Sso Connector now checks client id property instead of reading it from state 2024-09-30 16:04:04 -04:00
Jared Snider 04fa618ea8
PM-8111 - TODO cleanup 2024-09-30 15:32:19 -04:00
Jared Snider d1a0c2f5f5
PM-8111 - New Login Comp + Login Comp Svc - (1) Refactor naming and returns of getShowPasswordlessFlag to isLoginViaAuthRequestSupported (2) Replace showPasswordless with better composed variable names. 2024-09-30 15:30:31 -04:00
renovate[bot] cc0a851c0e
[deps]: Lock file maintenance (#11256)
* [deps]: Lock file maintenance

* Lock glob version to the _very_ old one we need

This seems to be due to electron-builder having old dependencies. REMOVE when electron-builder is updated

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2024-09-30 15:29:21 -04:00
Jared Snider 79b2633d9e
PM-8111 - Extension - AppRoutingModule - Home route now redirects conditionally based on unauthenticated ui refresh feature flag. 2024-09-30 15:20:52 -04:00
Alec Rippberger ea8cd09b19
Merge main and add satisfies RouteDataProperties 2024-09-30 13:58:12 -05:00
Alec Rippberger 7190f4d83f
Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-09-30 13:40:40 -05:00
Alec Rippberger 3140be27a6
Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-09-30 12:58:04 -05:00
Jared Snider ffc97c385d
All Clients - Route data typing clean up (#11265) 2024-09-30 13:51:31 -04:00
renovate[bot] 27f0c3f843
[deps] Platform: Update @types/node to v20.16.10 (#11316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 12:40:22 -04:00
renovate[bot] 8072469c37
[deps] Autofill: Update tldts to v6.1.48 (#11311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 12:39:49 -04:00
Bernd Schoolmann 19f547e638
[PM-8836] Move ownership of biometrics to key-management (#10818)
* Move ownership of biometrics to key-management

* Move biometrics ipc ownership to km

* Move further files to km; split off preload / ipc to km

* Fix linting

* Fix linting

* Fix tests

* Fix tests

* Update .github/CODEOWNERS

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>

* Update .github/CODEOWNERS

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>

* Change ownership of native messaging to key-management

* Move biometrics to libs/key-management

* Add README to capital whitelist

* Update package-lock.json

* Move km to key-management

* Move km to key-management

* Fix build for cli

* Import fixes

* Apply prettier fix

* Fix test

* Import fixes

* Import fixes

* Update libs/key-management/README.md

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>

* Update libs/key-management/package.json

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>

* Update lock file

* Change imports to top level km package

---------

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
2024-09-30 18:14:32 +02:00
Victoria League b149db9f4d
[CL-458] Exclude badges from truncation and vertically center content (#11262) 2024-09-30 11:45:51 -04:00
Jordan Aasen 0ecdd46a47
[PM-11927] - fix file send popout copy and logic (#11297)
* fix copy and logic

* update copy
2024-09-28 09:30:20 +02:00
cyprain-okeke 65fb967a19
Fix a ui bug on plan display (#11302) 2024-09-28 08:28:14 +01:00
Cesar Gonzalez 09e3468c69
[PM-12426] Autofill Inline Menu Settings Not Properly Referenced in Self-Hosted Environments (#11246) 2024-09-27 18:13:53 -05:00
Jordan Aasen 08e9a69083
fix delete send button (#11296) 2024-09-27 19:56:17 +02:00
Alec Rippberger bb67f560f3
Implement email population on all clients add add safeProviders. 2024-09-27 12:17:32 -05:00
Daniel James Smith 20c253e87b
[PM-12066] Add missing column headers to reports (#11293)
* Add missing column header to weak-password report

* Add missing column header to exposed-password report

* Add missing column header to reused-password report

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-27 13:03:22 -04:00
cyprain-okeke b149c86c28
Resolve the issue of recalculation (#11294) 2024-09-27 17:51:43 +01:00
Alec Rippberger c0629705ea
Fix linting errors. 2024-09-27 09:55:17 -05:00
✨ Audrey ✨ 433ae13513
[PM-5611] username generator panel (#11201)
* add username and email engines to generators
* introduce username and email settings components
* introduce generator algorithm metadata
* inline generator policies
* wait until settings are available during generation
2024-09-27 09:02:59 -04:00
Jordan Aasen 739c76a24f
[PM-12704] - fix loading state for send list (#11264)
* fix loading state for send service

* fix test

* fix test and service
2024-09-27 13:38:50 +02:00
github-actions[bot] ff57c72df5
Autosync the updated translations (#11271)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-27 11:09:44 +00:00
Daniel García 281b4db424
[PM-1179] Ensure win is not destroyed in updateWindowState (#10737) 2024-09-27 12:30:04 +02:00
github-actions[bot] 81e82a2535
Autosync the updated translations (#11270)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-27 08:53:03 +00:00
github-actions[bot] 794e46973d
Autosync the updated translations (#11272)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-27 08:49:58 +00:00
Daniel James Smith 9eeaf0a61f
[PM-12066] Add sorting to weak password report (#11027)
* Simplify the filter(toggle group) to filter by organizationId instead of a orgFilterStatus property which is not present on the CipherView

* Add sorting to weak password report table

- Create new type to represent a row within the report
- Add types and remove usage of any
- Include the score/badge within the data passed to the datasource/table instead of looking it up via the `passwordStrengthMap`
- Remove unneeded passwordStrengthCache
-  Enable sorting via bitSortable
- Set default sort to order by weakness

* Show headers and sort also within AC version of weak-password report, but hide the Owner column

* Clarify that we are filtering by OrgId

* Use a typed object for the reportValue instead of an array

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-27 01:38:18 +02:00
Jason Ng 069ed80eed
PM-12678 update org vault so user not blocked after edit item(#11261) 2024-09-26 16:25:27 -04:00
Alec Rippberger 07f1419b73
Add login-with-passkey route to desktop. 2024-09-26 10:58:16 -05:00
Alec Rippberger e607aa713d
Rename login.component to login-v1.component for browser. 2024-09-26 10:48:56 -05:00
Alec Rippberger a97dc7494f
Remove debug code. 2024-09-26 10:40:16 -05:00
Alec Rippberger 60d1177361
Comment out debug code. 2024-09-26 10:39:44 -05:00
Alec Rippberger 035e62e72b
Rename login.component to login-v1.component except browser. 2024-09-26 10:38:54 -05:00
Alec Rippberger 2e6e5a5c08
Revert "Rename login.component to login-v1.component"
This reverts commit 588a7af906.
2024-09-26 10:16:13 -05:00
Alec Rippberger 5628ad4015
Revert "Rename login.component to login-v1.component"
This reverts commit 9a277d6ca5.
2024-09-26 10:15:43 -05:00
Alec Rippberger 9a277d6ca5
Rename login.component to login-v1.component 2024-09-26 09:49:21 -05:00
Alec Rippberger 588a7af906
Rename login.component to login-v1.component 2024-09-26 09:46:24 -05:00
renovate[bot] 46f62b6dd5
[deps]: Lock file maintenance (#11071)
* [deps]: Lock file maintenance

* Works on my machine

* Lock minimatch types version to the _very_ old one we need

This is yet another dependency locked to years old due to gulp. REMOVE THIS OVERRIDE WHEN WE DROP GULP

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2024-09-26 10:04:15 -04:00
Jonas Hendrickx d2e5af7fb5
[PM-11901] Refactoring self-hosting license file uploader (#11083) 2024-09-26 11:23:23 +02:00
Bernd Schoolmann 8fb97e7b60
Rename biometric integration description to exclude safari (#11233) 2024-09-26 10:44:10 +02:00
Alec Rippberger 309576f8c5
Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-09-25 22:07:51 -05:00
Cesar Gonzalez 077abe0518
[PM-12316] Implement inline menu passkeys authenticating state (#11113) 2024-09-25 16:56:50 -05:00
Jordan Aasen caece397c6
[PM-11927] - File Send popout dialog (#11138)
* file popout component

* finish file popout dialog

* finalize send popout dialog component

* fix tests

* conditionally provide file popout dialog

* simplify send file popout dialog

* add file popout dialog container

* remove unnecessary modules
2024-09-25 21:35:12 +02:00
Jordan Aasen 7f33954316
don't display free bitwarden families button (#11184) 2024-09-25 19:56:04 +02:00
Jordan Aasen d0b09202c6
[PM-12504] - hide create send button and send tab when sends are disabled (#11186)
* hide create send button and send tab when sends are disabled

* reverse logic

* tidy up filter.

* fix popup tab navigation filter

* fix popup tab nav state

* fix popup-layout stories
2024-09-25 10:40:23 -07:00
Alec Rippberger 742900a663
PM-11390: [Defect] View Login - Clicking Password History opens Edit Item window behind View Login window (#11119)
* Add password dialog component.

* Properly direct to browser password history screen.

* Add padding to history items.

* Update test to correct password history route.

* Remove unneeded provider.

* Use relative path for SharedModule.
2024-09-25 10:45:13 -04:00
Alec Rippberger 9a6b1a9d39
Add test for RegisterFormComponent. 2024-09-25 08:55:46 -05:00
Alec Rippberger 22eb2aac97
Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-09-24 21:58:22 -05:00
Alec Rippberger 74767b02b5
Use factory function to provide LoginEmailService. 2024-09-24 21:45:22 -05:00
Alec Rippberger d9f930d7cb
Prefill email field when "create account" is clicked. 2024-09-24 16:35:43 -05:00
Shane Melton e6c3de9f47
[PM-12609] Use shareReplay for allCiphers$ observable (#11229) 2024-09-24 14:30:06 -07:00
Todd Martin 85b97d9304
Remove authenticator-token feature flag (#11182) 2024-09-24 17:02:39 -04:00
SmithThe4th 3646214a0f
Made allCiphers$ depend on the refresh subject$ (#11225) 2024-09-24 14:13:27 -04:00
cyprain-okeke e3c75b3c1b
Resolve the payment display (#11219) 2024-09-24 18:07:29 +01:00
Jonathan Prusik e88e231d48
[PM-11588] Bugfix - parse user input value for combined expiry date when creating/adding a card cipher (#11103)
* simplify logic and fix some pattern-matching bugs

* add first pass at parsing combined expiry year and month from user input

* clean up code

* fix broken three-digit parsing case

* fix case where splitCombinedDateValues returns empty strings when the input is only a delimiter

* fix incorrect expectation of falsy negative integers

* clean up code

* split out logic from parseYearMonthExpiry

* move utils from vault to autofill
2024-09-24 10:36:44 -04:00
Alex Morask c8084cc4e3
Fixed free organization upgrade after stripe sources deprecation (#11205) 2024-09-24 09:26:39 -04:00
Bernd Schoolmann d92b2cbea2
[PM-11477] Remove deprecated cryptoservice functions (#10854)
* Remove deprecated cryptoservice functions

* Use getUserkeyWithLegacySupport to get userkey

* Fix tests

* Fix tests

* Fix tests

* Remove unused cryptoservice instances

* Fix build

* Remove unused apiService in constructor

* Fix encryption

* Ensure passed in key is used if present

* Fix sends and folders

* Fix tests

* Remove logged key

* Fix import for account restricted keys
2024-09-24 11:28:33 +02:00
Jordan Aasen 6d9223fac7
[PM-12505] - add delete send button to footer (#11187)
* add delete send button to footer

* add basic error handling

* update copy. user bitAction

* use arrow function. remove border class
2024-09-24 09:26:25 +02:00
bw-ghapp[bot] e691e2dadb
Bumped client version(s) (#11211)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-23 22:48:23 +00:00
Shane Melton 4b9935b28c
[PM-12528] AC Fix Collection Refresh (#11207)
* [PM-12528] Ensure collections refresh when the refresh$ subject emits

* [PM-12528] Cleanup all collections observable
2024-09-23 15:01:48 -07:00
Justin Baur 073fd29206
Add Retries to `get` (#11176) 2024-09-23 16:39:57 -04:00
cyprain-okeke 08f0dadc2f
Resolve the bug on change payment method (#11202) 2024-09-23 19:23:53 +01:00
Nick Krantz bcddf575a1
[PM-11306] Disable Animation Setting (#11157)
* add appearance option to disable animations

* add check to only show the form after it's populated to avoid flash of inaccurate values

* switch to form loading while waiting for form values
2024-09-23 11:56:09 -05:00
Jared McCannon 2b462b6fd6
Validate domain has been verified (#11125)
- Added client-side validation that the domain has been verified.
2024-09-23 10:33:44 -05:00
github-actions[bot] c484f8306c
Autosync the updated translations (#11167)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-23 14:13:04 +00:00
Nick Krantz 17c9b26336
[PM-12252] Autofill name of new ciphers (#11127)
* autofill name for new ciphers

* only include name and uri when the extension is not popped out

* only populate name and uri for login ciphers

* source the URL directly from the new item dropdown component

* fix new item dropdown tests
2024-09-23 08:55:23 -05:00
github-actions[bot] 69bf91a15e
Autosync the updated translations (#11196)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-23 09:48:14 +00:00
github-actions[bot] 1b8fcda90d
Autosync the updated translations (#11197)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-23 09:47:05 +00:00
✨ Audrey ✨ cf48db5ed1
[PM-11418] generator policy constraints (#11014)
* add constraint support to UserStateSubject
* add dynamic constraints
* implement password policy constraints
* replace policy evaluator with constraints in credential generation service
* add cascade between minNumber and minSpecial

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2024-09-23 11:07:47 +02:00
SmithThe4th 9a89ef9b4f
[PM-12277] Deleting or restoring from view item page breaks back button (#11108)
* Added skipLocationChange while navigating to the view cipher to prevent pushing view cipher route to state

* Fix navigation bug after restore or delete

* Simplified to just use popupRouterCacheService.back
2024-09-20 15:31:52 -04:00
Jonathan Prusik 2b18185b40
remove container padding for popup views (#11162) 2024-09-20 13:00:02 -04:00
Jonathan Prusik 9b352c0cd8
fix typography of change shortcut section text (#11163) 2024-09-20 12:59:48 -04:00
Robyn MacCallum cf1f7cc61d
[SM-1302] Initial config page (#10196)
* Initial config page

* Remove project actions

* Add copy projectId method to the project page

* Update bitwarden_license/bit-web/src/app/secrets-manager/service-accounts/config/config.component.ts

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>

* Update bitwarden_license/bit-web/src/app/secrets-manager/shared/projects-list.component.ts

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>

* Update apps/web/src/locales/en/messages.json

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>

* Fix method and  string naming

* Ensure config component load logic happens after params observed

* Remove projectId emitted event

* Update bitwarden_license/bit-web/src/app/secrets-manager/service-accounts/config/config.component.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* Adjust load function

* Fix config translation

* Remove unnecceary async from copy functions

* Add project ID translation key

* Update bitwarden_license/bit-web/src/app/secrets-manager/service-accounts/config/config.component.ts

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>

* Simplify load function

* Simplify variable definition

* Add all machine account projects to the config page

* Update bitwarden_license/bit-web/src/app/secrets-manager/service-accounts/config/config.component.ts

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>

* Remove unused variable

* Remove revision date in config project list

---------

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2024-09-20 12:54:03 -04:00
Jordan Aasen ea025b9026
add padding to new organization input (#11090) 2024-09-20 08:49:27 -07:00
Justin Baur 972339be83
Remove Storage Reseed FF (#11156) 2024-09-20 11:46:00 -04:00
Nick Krantz 0516ca00dc
update trial initiation text to only represent the product (#11171)
Co-authored-by: Alec Rippberger <alec@livefront.com>
2024-09-20 09:48:44 -05:00
github-actions[bot] a2ce4e53c6
Autosync the updated translations (#11165)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-20 14:12:17 +00:00
Cesar Gonzalez c276d5dfa5
[PM-281] A11y visual distinction required for page links (#9878)
* [PM-281] Visual distinction required for login page links

* add bitLink to report links

* add bitLink to billing history

* [PM-281] Adding more references to bitLink and incorporating changes to aria labels for a variety of buttons

* Added editItemWithName to announce links within reports even better

---------

Co-authored-by: Vicki League <vleague@bitwarden.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-20 09:04:48 -05:00
cyprain-okeke 8f05581ba0
[AC-3052] [Defect] Payment method section is blank when upgrading Teams SM trial initiated org paid with Bank Account (#11158)
* Fix the payment method issue

* Resolve the navigation after upgrade
2024-09-20 14:58:53 +01:00
Jason Ng ece6f8aae2
AC-2617 update vault header to have loading text on slow connection(#11121) 2024-09-20 09:44:05 -04:00
github-actions[bot] 5f25bd93cd
Autosync the updated translations (#11166)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-20 11:26:04 +00:00
Alec Rippberger ca1dce4625
Add missing translation keys. (#11159) 2024-09-19 14:48:14 -05:00
Jordan Aasen c4d66a1383
[PM-11904] - send options form (#11142)
* send options form

* remove commented code

* fix margin. update i18 key

* remove unecessary input

* remove unnecessary typing. DRY up messages
2024-09-19 20:53:25 +02:00
Shane Melton 4327fa21f6
[PM-11343] Browser Refresh - View dialog permissions in AC (#11092)
* [PM-11343] Add param to conditionally disable the edit button

* [PM-11343] Cleanup router navigation and move query param handling to callers of the View dialog

* [PM-11343] Fix failing test

* [PM-11343] Fix missing router after merge

* [PM-11343] Add null checks in case the dialog result is undefined (due to closing via the ESC key)

* [PM-11343] Add support to provide a list of collections to the cipher view component

* [PM-11343] Add collections as an optional view cipher dialog parameter

* [PM-11343] Update the org vault to provide collections when opening the View cipher dialog

* [PM-11343] Fix import

* [PM-11343] Use [replaceUrl] for cipher items to avoid needing double back button
2024-09-19 10:43:28 -07:00
SmithThe4th 7ae427e713
Revert "[PM-11200] Move delete item permission to Can Manage (#10890)" (#11155)
* Revert "[PM-11200] Move delete item permission to Can Manage (#10890)"

This reverts commit 8921230b4f.

* Removed provider access
2024-09-19 13:27:08 -04:00
Nick Krantz 01e530d02b
[PM-11691] Remove Nord and Solarized Dark from extension (#11013)
* remove nord and solarized dark from AppearanceV2 component
- This component already behind the extension refresh feature flag

* update the users theme to system when nord or solarized dark is selected

* For desktop, still allow all theme types by overriding the default theme service.

* change theme on the fly rather than updating local state.

- When the feature flag is removed then a migration will have to take place
2024-09-19 10:55:40 -05:00
Ike afff91e0f3
added duofederal.com to valid urls (#11137) 2024-09-19 11:32:42 -04:00
bw-ghapp[bot] 19f4afcd2b
Bumped client version(s) (#11152)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-19 14:27:51 +00:00
Oscar Hinton e5bb2e58a6
[PM-12004] Fix ~60 compile warnings in webpack for web (#11004) 2024-09-19 15:00:07 +02:00
Oscar Hinton 6ffd85c42c
[PM-11342] Fix 404 missing styles (#11147)
Fix 404 page lacking styles on nested pages.
2024-09-19 14:56:47 +02:00
renovate[bot] a96e3cb647
[deps] Tools: Update electron to v32.1.1 (#11067)
* [deps] Tools: Update electron to v32.1.1

* Bump version in electron-builder.json

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-18 23:41:07 +02:00
Jordan Aasen 00f2317a82
[PM-11903] - add file send component (#11132)
* wip - send file details

* wip - file send

* send file details

* fix click on send list container

* remove popup code

* remove popup code

* finalize send file details

* address PR feedback. add base form to send form

* revert changes to send list items container

* revert changes to send list items container

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2024-09-18 14:36:53 -07:00
Alec Rippberger 2b85392b0f
PM-11338: [Defect] Clicking outside of View {Item} dialog should close the dialog properly (#11035)
* Handle undefined result.

* Updated enum values for consistency.
2024-09-18 16:02:47 -05:00
Alec Rippberger 6c1d74a4ce
[PM-11395] [Defect] View Login - TOTP premium badge does nothing when clicked (#10857)
* Add MessagingService to LoginCredentialView component.

* Add comments.

* Add WIP PremiumUpgradeService

* Simplify web PremiumUpgradeServices into one service.

* Relocate service files.

* Add browser version of PremiumUpgradePromptService.

* Cleanup debug comments.

* Run prettier.

* rework promptForPremium to take organization id and add test.

* Add test for browser

* Rework imports to fix linter errors.

* Add Shane's reworked WebVaultPremiumUpgradePromptService.
2024-09-18 16:00:54 -05:00
cyprain-okeke 1940256fe2
Resolve the discount issue (#11128) 2024-09-18 18:55:31 +01:00
Alec Rippberger 931f86c948
[PM- 9666] Implement edit item view individual vault (#10553)
* Add initial vault cipher form for cipher edit.

* Add ability to add new cipher by type

* Add ability to save and clone cipher,

* Update canEditAllCiphers to take 1 argument.

* Add attachments button to add/edit dialog.

* Add semi-working attachment dialog.

* Add working attachment functionality.

* Remove debugging code.

* Add tests for new attachments dialog component.

* Add AddEditComponentV2 tests.

* Remove AddEditComponentV2 delete functionality.

* Remove unnecessary else statement.

* Launch password generation in new dialog when extension refresh enabled.

* Add tests for PasswordGeneratorComponent.

* Adjust password and attachments dialog sizes.

* run lint:fix

* Remove unnecessary form from button.

* Add missing provider in test.

* Remove password generation events.

* Add WebVaultGeneratorDialogComponent and WebCipherFormGenerationService

* Move and rename CipherFormQueryParams

* Use WebCipherFormGenerationService to launch password / user generation modals.

* Add WebVaultGeneratorDialogComponent tests.

* Remove unnecessary functionality and corresponding tests.

* Fix failing tests.

* Remove unused properties from AddEditComponentV2

* Pass CipherFormConfig to dialog.

* Clean up unused attachment dialog functionality.

* Update AddEdit cancel functionality to prevent navigating user.

* Make attachment dialog open a static method.

* Add addCipherV2 method and clean up tests.

* Remove changes to QueryParams.

* Add tests for WebCipherFormGenerationService

* Remove unused onCipherSaved method.

* Remove cipherSaved event.

* Remove unused password generator component

* Refactor to simplify editCipherId for extensionRefresh flag.

* Add additional comments to AddEditComponentV2.

* Simplify open vault generator dialog comment.

* Remove unused organizationService

* Remove unnecessary typecasting.

* Remove extensionRefreshEnabled and related.

* Remove slideIn animation

* Remove unused AddEditComponentV2 properties.

* Add back generic typing.

* Condesnse properties into single form config.

* Remove onDestroy and related code.

* Run prettier

* fix injection warning

* Handle cipher save.

* Redirect to vault on delete and make actions consistent.

* Update comment.
2024-09-18 12:48:47 -05:00
Daniel James Smith a674f698a2
[PM-12067] Add sorting to exposed passwords report (#11029)
* Add sorting to exposed passwords report

- Create new type to represent a row within the report
- Add types and remove usage of any
- Include the exposed number of times within the data passed to the datasource/table instead of looking it up via the `exposedPasswordMap`
- Enable sorting via bitSortable
- Set default sort to order by exposed number of times in descending order

* Show headers and sort also within AC version of exposed-passwords report but hide the Owner column

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-18 18:53:04 +02:00
David Torosyan 2d7fb035d4
[desktop] Allow manual sync while locked (#6126)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-18 17:57:32 +02:00
cyprain-okeke 727fbb6731
Ac 3030 discount is not included in the pricing breakdown when annual plan (#11126)
* Resolve the discount issues

* Resolve the payment cvv alignment

* Resolve the wrong message for secrets manager

* Remove unused commented code

* resolve the display message bug on sm flow
2024-09-18 16:22:04 +01:00
Bernd Schoolmann f6e51ef024
Don't process reload when cancelling biometrics (#11081) 2024-09-18 10:41:23 -04:00
Jordan Aasen f8fc6269f2
[PM-11899] - send text details component (#11002)
* Temporary local changes not meant to be merged

* WIP - send text details

* send text details

* remove extraneous code

* create base send details component

* remove file components

* fix send text details form

* remove comments

* fix send text details component

* revert type changes

* send created redirect

* Revert "send created redirect"

This reverts commit 36711d54a3.

* Removed hint under textArea, as per design

* Removed unused message keys

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-18 14:04:51 +02:00
Bernd Schoolmann 1b7bb014d2
[PM-11312] Add "prevent screenshot" setting to windows and mac (#10707)
* Add screenshot protection to windows and mac

* Update messaging of screencapture prevention feature

* Set default state to false
2024-09-18 12:38:35 +02:00
bw-ghapp[bot] 18ef74930c
Bumped client version(s) (#11118)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-18 00:39:01 +00:00
Justin Baur e8979decae
Add Back Safari Only Handling of Process Reload (#11115) 2024-09-17 16:58:23 -04:00
Shane Melton 99ba56785d
[PM-11393] Remove the need for TotpCaptureService in Autofill Options View component (#11093) 2024-09-17 13:15:11 -07:00
Alec Rippberger 80a9836cb2
Navigate to fault after cipher deleted. (#11042) 2024-09-17 14:00:21 -05:00
Jason Ng d0516f24e8
[AC-2627] Empty Collection New Item Btn Permissions (#11089)
* only show new item btn in empty collection for can edit perm
2024-09-17 14:28:39 -04:00
Nick Krantz d68853a4a2
[PM-11131] Screen Reader Announcements for Copy (#11091)
* add copy specific aria-labels for login ciphers

* add copy specific aria-labels for card ciphers

* add copy translations for identity to web translations
2024-09-17 13:23:15 -05:00
Nick Krantz a42006763d
[PM-9455] FireFox back handling (#10867)
* Refactor `POPUP_VIEW_MEMORY` to use `disk` rather than memory for the browser extension.

- When FireFox opens the popup in an standalone window memory is lost, thus causing the `popup-route-history` to be lost and back navigation ceases to work

* spelling

* revert state definition change

* add `onUpdated` event for firefox

* rework observable handling

* remove unneeded `from`
2024-09-17 08:42:57 -05:00
Rui Tomé c05b6eb116
[PM-11667] Remove all code related to the outdated custom permissions 'Edit/Delete Assigned Collections' (#10904)
* [PM-11667] Remove all code related to the outdated custom permissions 'Edit/Delete Assigned Collections'

* Revert change made to data model in state migration
2024-09-17 14:22:17 +01:00
Justin Baur 1ebef296b9
[PM-12024] Move Lock All To Happen in Background (#11047)
* Move Lock All To Happen in Background

- Make it done serially
- Have the promise only resolve once it's complete

* Unlock Active Account Last

* Add Tests

* Update Comment
2024-09-16 16:08:03 -04:00
Victoria League 112bad03b1
[PM-8582] Move Safari browser check to libs/platform (#11007) 2024-09-16 15:36:05 -04:00
Nick Krantz 26f3dcfc66
add back events for browser refresh extension (#11085)
- something went sideways in a merge
2024-09-16 14:02:20 -05:00
SmithThe4th 51a2ec393c
[PM-11693] Restoring/permanently deleting item from View item page takes you to Vault page (#10995)
* route to trash after restore or delete

* route to trash after restore or delete
2024-09-16 14:08:01 -04:00
Bernd Schoolmann 15610906d2
[PM-7608] Account Security Settings V2 (#10441)
* Implement account security settings v2

* Increase await dialog delay to 500 msec

* Update messages

* Replace platformservice with biometricsservice

* Cleanup

* Cleanup

* Fix account security component according to feedback

* Re-add old message

* Re-add old error message

* Fix minimum timeout message

* Fix screen-reader on custom timeout

* Remove debugging configurations

* Fix incorrectly changed message

* Remove custom vault timeout text

* Restore vaultTimeoutPolicyInEffect i18n message in web

* Change text to use vaultTimeoutPolicyInEffect1

* Fix tests
2024-09-16 17:40:08 +02:00
Thomas Avery 31a5aa9dd7
[PM-12011] Fix Unlock with biometrics on the Safari browser extension (#11040)
* Add biometricUnlockAvailable to SafariWebExtensionHandler
2024-09-16 09:59:25 -05:00
Alex Morask 096a2563bb
Piped submit text to i18n (#11078) 2024-09-16 10:23:10 -04:00
renovate[bot] 16651214ac
[deps] Platform: Update @types/node to v20.16.5 (#11058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 09:47:56 -04:00
Cesar Gonzalez b0e0e71974
[PM-11517] Improve autofill collection of page details performance (#10816)
* Testing out a rework of the performance improvements introduced into extension

* Working through improvements

* Implementing max_depth methodology for the deepQuery approach used when querying elements

* Refactoring implementation

* Refactoring implementation

* Fixing jest tests

* Incorporating documenation within domQueryService

* [PM-11519] `browser` global reference triggering an error when sending an extension message

* [PM-11517] Working through refactoring and jest testing of the domQueryService

* [PM-11517] Working through refactoring and jest testing of the domQueryService

* [PM-11517] Incorporating tests for the debounce util method

* [PM-11517] Incorporating tests for the debounce util method

* [PM-11517] Removing unnecessary property

* [PM-11517] Starting to work through an idea regarding querying without the shadowDom on pages that definitively do not contain a ShadowDOM element

* [PM-11419] Adjusting implementation to ensure we clear any active requests when the passkeys setting is modified

* [PM-11517] Removing unnecessary comments
2024-09-16 08:35:56 -05:00
renovate[bot] 62ee447c36
[deps] Autofill: Update tldts to v6.1.46 (#11054)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 09:34:33 -04:00
Nick Krantz c64477034a
set `extensionRefreshEnabled` to be undefined so the "new" button isn't shown until the feature flag is resolved (#11038) 2024-09-16 08:33:23 -05:00
Oscar Hinton 20d83ab198
[PM-2718] Set nspasteboard.ConcealedType for clipboard on MacOS (#11025)
Enables the use of `exclude_from_clipboard` for macos, introduced in recent version of arboard
2024-09-16 15:16:28 +02:00
cyprain-okeke f816e80314
[AC-3023] Resolve the capitalization here (#11019)
* Resolve the capitalization here

* Resolve the returned issue on A11y

* Fix the storage bug
2024-09-16 10:14:46 +01:00
rr-bw 0bb18eb36c
rename LoginService to LoginComponentService to avoid confusion with the LoginStrategyService 2024-09-14 13:27:13 -07:00
rr-bw d49c044ccc
remove unnecessary service injection 2024-09-14 13:06:34 -07:00
rr-bw e0d4702299
refactor to use toastService 2024-09-14 13:04:40 -07:00
rr-bw d88606a6fd
setup launchSsoBrowserWindow() for Desktop 2024-09-14 12:59:51 -07:00
rr-bw da18b42f80
add launchSsoBrowserWindow() to default service 2024-09-14 12:05:39 -07:00
rr-bw 66072f66e8
cleanup & comments 2024-09-14 10:59:43 -07:00
rr-bw e076e94c08
move extension launchSsoBrowserWindow() to extension service 2024-09-13 17:21:15 -07:00
rr-bw 236c41e6f8
add browser redirect from /home to /login with FF on 2024-09-13 15:53:47 -07:00
rr-bw 8fa5c55088
remove 'V2' from new component 2024-09-13 14:53:44 -07:00
rr-bw 532d3eaefc
change old components to V1 2024-09-13 14:49:52 -07:00
rr-bw b713e18b1a
remove duplicate route (#11034) 2024-09-13 10:46:31 -07:00
rr-bw de4b1778c1
merge main, fix conflicts 2024-09-13 10:05:57 -07:00
rr-bw 96d116d643
[PM-8116] Auth Browser Refresh: Password Hint Component (#10492)
* setup component, services, and web HTML

* make Web and Browser functional

* make desktop functional

* update template to solidify common client HTML

* simplify template and class

* update browser routing

* move canActivate to correct location

* simplify post submit routing

* update routing to use unauthUiRefreshSwap()

* constrain AnonLayout title/subtitle width, reduce height on destkop to account for header

* reduce height on browser to account for header (otherwise have to scroll to see EnvSelector

* resolve email issue when clicking 'cancel' on extension popout

* update routing for web

* persist email to popout

* update web router and anon-layout min-h based on client

* change anchor link to button

* remove unnecessary formatting changes

* add new icon

* remove unnecessary call to loginEmailService
2024-09-13 09:16:25 -07:00
Bernd Schoolmann 54cc35e29a
[PM-6037] Fix process reload not triggering on inactive account lock/logout (#9805)
* Send loggedOut/locked events on logout/lock event

* Revert "Send loggedOut/locked events on logout/lock event"

This reverts commit 293f2d6131.

* Ensure loggedOut is sent for non-active user logouts too

* Make loggedOut accept userIds

* Add userBeingLoggedOut in desktop app component

* Await updateconnection calls
2024-09-13 18:11:05 +02:00
Alex Morask 0080fcc979
Use payment-v2.component in trial-billing-step.component (#11010) 2024-09-13 09:29:11 -04:00