1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-29 22:31:29 +01:00
Commit Graph

17331 Commits

Author SHA1 Message Date
cd-bitwarden
ced9b7c137
Merge branch 'main' into PM-12036 2025-01-28 17:34:49 -05:00
--global
9c54d299ab suggested changes 2025-01-28 17:28:28 -05:00
Brandon Treston
222392d1fa
[PM-12444] remove ngx infinite scroll dependency (#13056)
* replace provider clients components with vNext implementation

* remove ngx-infinite-scroll dependency

* fix ts strict errors
2025-01-28 16:01:07 -05:00
Vijay Oommen
d0018548ed
PM-17392 Slide out drawer (#13096) 2025-01-28 12:27:02 -06:00
Conner Turnbull
26a0594056
[PM-17655] Billing Code Ownership Updates (#13105)
* Moved has-premium.guard under billing

* Moved free-trial.ts to billing

* Moved premium directives to billing

* Moved families-policy.service.ts to billing

* Moved trial initiation from auth to billing
2025-01-28 13:17:00 -05:00
Nick Krantz
331c04a0fa
fix deep import for CipherFormComponent (#13107) 2025-01-28 08:49:48 -08:00
Nick Krantz
7c2bf504a3
[PM-11249] Sync attachment updates across platforms (#11758)
* update extension refresh form when an attachment is added or removed

- This is needed because the revision date was updated on the server and the locally stored cipher needs to match.

* receive updated cipher from delete attachment endpoint

- deleting an attachment will now alter the revision timestamp on a cipher.

* patch the cipher when an attachment is added or deleted

* migrate vault component to use the `cipherViews$` observable

* reference `cipherViews$` on desktop for vault-items

- This avoid race conditions where ciphers are cleared out in the background. `cipherViews` should always emit the latest views

* return CipherData from cipher service so that consumers have the updated cipher right away

* use the updated cipher from attachment endpoints to refresh the details within the add/edit components on desktop
2025-01-28 10:01:23 -06:00
Oscar Hinton
70ea75d8f7
[PM-17496] Migrate eslint to flat config (#12806)
The legacy config is deprecated and will be removed in eslint 10. The flat config also allows us to write js functions which will assist in handling limitations with multiple identical rules.
2025-01-28 16:40:52 +01:00
Nick Krantz
08c42a8a27
[PM-13388] Extension: Persist Scroll from Vault (#12325)
* add service to track scroll position of the vault tab in the popup

* add data attribute to individual vault items
- Allows query selector to focus on the specific element

* stop scroll service when a cipher is deleted

* start scroll listener when the vault page is initialized

* fix strict linting errors

* remove focus reset when navigating back to the vault screen

* skip recording the first scroll from the automatic scroll

* combine filters into a single observable

* do not start the scroll service until filters have loaded in

* refactor allFilters to come from the vault popup list filters service

* use assertion on scroll position

* hide virtual scrolling element while scrolling is restored

* update comments

* fix failing tests to use different matcher

* remove visibility trick for restoring scroll position after chatting with design

---------

Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com>
2025-01-28 09:12:56 -06:00
albertboyd5
582beaf706
[PM-13404] Weak Passwords Report - Sort by password weakness (#12359)
* [PM-13404] Weak Passwords Report - Sort by password weakness

* [PM-13404] Weak Passwords Report lint error fix

* Test signed commit
2025-01-27 15:25:40 -06:00
Brandon Treston
da422fd1bb
remove getUserId operator (#13091) 2025-01-27 13:17:06 -05:00
Oscar Hinton
146939bcf7
Fix linting (#13088) 2025-01-27 16:34:27 +00:00
renovate[bot]
c3bb76bee0
[deps] Architecture: Update eslint-plugin-tailwindcss to v3.18.0 (#12966)
* [deps] Architecture: Update eslint-plugin-tailwindcss to v3.18.0

* Fix linting

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2025-01-27 11:12:12 -05:00
Oscar Hinton
9fe84c35d2
Group linting dependencies (#13049)
* Group linting dependencies

* Update renovate.json
2025-01-27 16:19:38 +01:00
Matt Gibson
8577aae879
Test existing Login URI icon retrieval behavior (#12845) 2025-01-27 10:12:58 -05:00
Daniel James Smith
682e62cb6b
[PM-16485] Remove deprecated and unused PasswordGenerationService (#13053)
* Remove deprecated and unused PasswordGenerationService

* Remove unused state-service

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-27 10:12:20 -05:00
Maciej Zieniuk
9d987a2513
PM-16220: Account does not exist during login race condition (#12488)
Wait for an account to become available from separate observable, instead of blindly accepting that the value is there using `firstValueFrom`, while it's sometimes not there immediately.
2025-01-27 16:11:42 +01:00
cd-bitwarden
30fb67e09a
Merge branch 'main' into PM-12036 2025-01-27 09:43:00 -05:00
Matt Andreko
0e3e3c16c4
Removed unnecessary CODECOV_TOKEN with updated codecov-action (#12892) 2025-01-27 09:35:04 -05:00
Daniel James Smith
750cb4888a
Add icons to settings page (#13052)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-27 12:10:11 +01:00
Rui Tomé
9a0c0776bf
[PM-15637] Configure deepLinkGuard in OrganizationsModule for Device Approval Links (#12890) 2025-01-27 10:59:39 +00:00
bw-ghapp[bot]
7a51c8ab84
Autosync the updated translations (#13079)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-27 07:31:54 +01:00
bw-ghapp[bot]
0eecc93165
Autosync the updated translations (#13080)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-27 07:30:19 +01:00
bw-ghapp[bot]
037baaec35
Autosync the updated translations (#13078)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-27 07:23:59 +01:00
Danielle Flinn
664ff9a1d3
[CL-276] Update tab-list-item styles (#13063) 2025-01-26 20:57:07 -05:00
cd-bitwarden
0453de8fe5
Merge branch 'main' into PM-12036 2025-01-26 19:10:05 -05:00
--global
d1cf1343ee suggested changes 2025-01-26 19:04:14 -05:00
cd-bitwarden
2e1d788bfc
Update apps/web/src/app/vault/individual-vault/vault-onboarding/vault-onboarding.component.spec.ts
Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
2025-01-26 18:04:47 -05:00
Github Actions
a04dd7a324 Bumped Desktop client to 2025.1.8 2025-01-25 03:53:40 +00:00
Github Actions
049877c4ce Bumped client version(s) 2025-01-24 21:44:04 +00:00
bw-ghapp[bot]
8952c3f60c
Autosync the updated translations (#13066)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-24 20:03:07 +00:00
bw-ghapp[bot]
524ba99b95
Autosync the updated translations (#13065)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-24 20:02:03 +00:00
bw-ghapp[bot]
ce6a83dae6
Autosync the updated translations (#13064)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-24 20:01:42 +00:00
✨ Audrey ✨
1fc20b55f2
[PM-15200] add "generated credential" screen reader notification (#12877)
replaces website$ dependency with `GenerateRequest`
2025-01-24 13:44:42 -06:00
Timshel
9a5ebf94a0
Prevent parallel refreshToken calls (#10799)
Co-authored-by: Todd Martin <106564991+trmartin4@users.noreply.github.com>
Co-authored-by: Patrick-Pimentel-Bitwarden <ppimentel@bitwarden.com>
2025-01-24 14:23:22 -05:00
Jordan Aasen
40606ee8af
[PM-15943] - Revert When filling a password, the extension flickers (#13061)
* Revert "use requestAnimationFrame instead of arbitrary timeout"

This reverts commit 09a236b1e7.

* Revert "fix failing test"

This reverts commit cb24266e9d.
2025-01-24 11:09:04 -08:00
Addison Beck
c6edd289cd
chore: correct the desktop version number (#13062) 2025-01-24 14:06:58 -05:00
Alex Morask
f630ee5f4e
[PM-11730] Remove feature flag: AC-2476-deprecate-stripe-sources-api (#13032)
* Remove FF from trial-billing-step.component

* Remove FF from user-subscription.component

* Remove FF from individual-billing-routing.module

* Remove FF from organization-billing.service

* Remove FF from organization-subscription-cloud.component

* Remove FF from organization-billing-routing.mdoule

* Remove FF from organization-plans.component

* Remove FF from change-plan-dialog.component

* Remove FF

* Remove legacy payment.component

* Rename V2: adjust-payment-dialog.component

* Rename V2: adjust-storage-dialog.component

* Rename V2: payment-label.component

* Rename V2: payment.component

* Rename V2: premium.component

* Patrick's feedback
2025-01-24 13:38:44 -05:00
Jared Snider
315e1338d5
PM-17466 - RegistrationFinishComp - Add call to loginSuccessHandlerService after successful login (#13059) 2025-01-24 13:25:51 -05:00
Jared Snider
6acaa6c711
Auth/PM-17197 - UnauthGuard Trusted Devices Lock State Refactor (#12938)
* PM-17197 - Refactor DeviceTrustService to deprecate active user state as I need to call with a user id per latest best practice

* PM-17197 - Refactor Unauth Guard to be aware of TDE lock state + use active user best practice.
2025-01-24 13:20:42 -05:00
Shane Melton
b1744c4e0a
[PM-17541] Fix folder service key definition (#13060)
* [PM-17541] Switch folder key definition back to "folders" and add migration script for users that have switched to the incorrect key

* [PM-17541] Fix import path

* [PM-17541] Fix implicit any in spec file
2025-01-24 10:12:52 -08:00
Github Actions
b396dda406 Bumped client version(s) 2025-01-24 17:59:54 +00:00
Justin Baur
5f57aae526
Move max-old-space-size option so it's in all builds (#13033) 2025-01-24 11:43:37 -05:00
Github Actions
dd1047cd0b Bumped client version(s) 2025-01-24 16:08:39 +00:00
MarsCandyBars
eb64a0f1d5
[PM-258] Add text-muted to custom avatar picker (#12979)
* Add text-muted to custom avatar picker

* Prepend text-muted class with tw
2025-01-24 09:25:00 -06:00
Brandon Treston
b23a41ac86
[PM-17465] refactor PolicyService.getAll$ to make userId not optional (#13031)
* refactor PolicyService.getAll$ to make userId not optional

* add fix to browser

* fix test to read from mock singleUserState

* remove nested pipes, cleanup
2025-01-24 09:58:38 -05: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