1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00
Commit Graph

13787 Commits

Author SHA1 Message Date
Alex Urbina
43848d15e8 Update .github/workflows/deploy-non-prod-web.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-12-13 19:20:38 -06:00
Alex Urbina
cb52aa3705 DEVOPS-1683 Update default environment to USQA in deploy-non-prod-web.yml 2023-12-13 14:09:24 -06:00
Alex Urbina
1554d0d8da Merge branch 'main' into task/DEVOPS-1683 2023-12-13 14:07:46 -06:00
renovate[bot]
de4f9c723b [deps] Billing: Update braintree-web-drop-in to v1.41.0 (#7211)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 14:42:47 -05:00
Thomas Cauquil
bc61212969 [PM-4090] Fix: Automatic biometric authentication no longer worked (Resolves: #6134) (#6400)
* chore: improve FR localization

* fix: Automatic biometric authentication no longer worked

* chore: add tests for the fixed file

* Revert "chore: improve FR localization"

This reverts commit 957cbee9b3.

* tests: fixes after resolved conflicts

* chore(review): delete fluffy-spoon from tests

* chore(review): resolve warnings from tests
2023-12-13 13:16:22 -05:00
Daniel James Smith
3c7f369e40 [PM-5164] Update description of passwordsafe xml importer (#7115)
* Add comment to the PasswordSafeXmlImporter to show it's the one from pwsafe.org and not from passwordsafe.com

* Update dropdown value for pwsafexml, toshow it's from pwsafe.org

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2023-12-13 12:16:27 -05:00
Cesar Gonzalez
bf60711efe [PM-934] Autofill not working until page has been refreshed (#6826)
* [PM-934] Autofill not working until page has been refreshed

* [PM-934] Adjusting cleanup of the messages_handler script

* [PM-934] Fixing small issue found within collection of page details

* [PM-934] Addressing concenrs brought up during code review

* [PM-934] Addressing concenrs brought up during code review

* [PM-934] Addressing concenrs brought up during code review

* [PM-934] Addressing concenrs brought up during code review

* [PM-934] Applying re-set changes to the autofill overlay implementation on reset of the extension

* [PM-934] Applying jest tests to added logic within AutofillOverlayContent service

* [PM-934] Fixing typo present in tabs background listener

* [PM-934] Finishing up jest tests for updated implementation

* [PM-934] Incorporating methodology for ensuring the autofill overlay updates to reflect user settings within existing tabs

* [PM-934] Refining implementation to ensure we do not unnecessarily re-inject content scripts when the autofill overlay settings change

* [PM-934] Working through jest tests for added implementation details

* [PM-934] Working through jest tests for added implementation details

* [PM-934] Finalizing jest tests for implemented logic

* [PM-5035] Refactoring method structure
2023-12-13 16:25:16 +00:00
Ike
7051f255ed [PM-4168] Enable encryption for registered passkeys (#7074)
* Added enable encryption

* various updates and tests added.

* fixing linter errors

* updated spec file
2023-12-13 07:02:35 -08:00
Justin Baur
180d3a99e3 Timeout Vault of Inactive Users on System Lock (#7194) 2023-12-13 09:11:42 -05:00
Matt Gibson
fd85d13b18 Ps/avoid state emit until updated (#7198)
* Add a small default time to limit timing failures

* Handle subscription race conditions

* Add Symbols to tracked emission types

This is a bit of a cheat, but Symbols can't be cloned, so
we need to nudge them to something we can handle.
They are rare enough that anyone hitting this is likely to
expect some special handling.

* Ref count state listeners to minimize storage activity

* Ensure statuses are updated

* Remove notes

* Use `test` when gramatically more proper

* Copy race and subscription improvements to single user

* Simplify observer initialization

* Correct parameter names

* Simplify update promises

test we don't accidentally deadlock along the `getFromState` path

* Fix save mock

* WIP: most tests working

* Avoid infinite update loop

* Avoid potential deadlocks with awaiting assigned promises

We were awaiting a promise assigned in a thenable. It turns out that
assignment occurs before all thenables are concatenated, which can cause
deadlocks. Likely, these were not showing up in tests because we're
using very quick memory storage.

* Fix update deadlock test

* Add user update tests

* Assert no double emit for multiple observers

* Add use intent to method name

* Ensure new subscriptions receive only newest data

TODO: is this worth doing for active user state?

* Remove unnecessary design requirement

We don't need to await an executing update promise, we
can support two emissions as long as the observable is
guaranteed to get the new data.

* Cleanup await spam

* test cleanup option behavior

* Remove unnecessary typecast

* Throw over coerce for definition options

* Fix state$ observable durability on cleanup
2023-12-13 08:06:24 -05:00
Joseph Flinn
d4c4d345d1 Fix branch (#7199) 2023-12-13 05:55:55 -05:00
Alex Urbina
3d3bd49a7d DEVOPS-1683 REFACTOR: deploy workflow name 2023-12-12 21:28:37 -06:00
Alex Urbina
db1221548c DEVOPS-1683 ADD: notify-start job to deployment workflow 2023-12-12 19:00:52 -06:00
Alex Urbina
5327043c7f Merge branch 'main' into task/DEVOPS-1683 2023-12-12 18:55:14 -06:00
✨ Audrey ✨
df406a9862 [PM-252] fix inconsistent generator configuration behavior (#6755)
* decompose password generator policy enforcement
* integrate new logic with UI
* improve UX of minimum password length
* improve password generator policy options documentation
* initialize min length to default minimum length boundary
* reset form value on input to prevent UI desync from model

---------

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2023-12-12 19:17:20 -05:00
Todd Martin
bfa76885ac [PM-4107] Only call config on successful sync (#7149) 2023-12-12 18:14:34 -05:00
Alex Urbina
92442f486e DEVOPS-1683 REFACTOR: default branch name in
deploy-non-prod-web.yml
2023-12-12 16:51:08 -06:00
Alex Urbina
ad6c79cfa6 DEVOPS-1683 REFACTOR: branch reference in deploy workflow 2023-12-12 16:43:13 -06:00
renovate[bot]
270af43d52 [deps] AC: Update sass to v1.69.5 (#7165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 15:06:44 -06:00
renovate[bot]
8c17f3ff23 [deps] AC: Update postcss to v8.4.32 (#7162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 14:58:19 -06:00
renovate[bot]
2934ca6b7a [deps] AC: Update url to v0.11.3 (#7163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 14:49:35 -06:00
renovate[bot]
74fb4bce34 [deps] AC: Update core-js to v3.34.0 (#7164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 14:40:14 -06:00
Joseph Flinn
9c1169d035 Update master to main in workflows (#7151) 2023-12-12 11:57:50 -08:00
rr-bw
bb096724b2 update account switcher styling for all themes (#7182) 2023-12-12 10:59:03 -08:00
SmithThe4th
f0cdcccf81 [PM-4012] Vault Timing out on Chrome and Edge breaks passkeys until page is reloaded (#6845)
* changed content script injection strategy

* added persistent connection and reinjection of the content script

* cleanup resources on disconnect

* cleanup resources on disconnect

* concluded messanger event listeners cleanup and added unit tests

* Switched to use browser api add listener instead of navtive apis

* renamed cleanup to destroy and added reconnect and disconnect command functions

* refactored to use foreach and check for only https urls

* refactored the content script to only load the page script if it currently doesn't extist of the page, and if it does sends a reconnect command to the page-script to replace the native webauthn methods

* updated unit test

* removed memoized logic

* moved the send disconect command to the messenger

* updated unit test

* test messenger handler

* [PM-4012] fix: add `senderId` to messenger

* destroy pending requets

* cleaned up page script and terminated pending request

* fixed cannot read properties of undefined

* rearranged functions, renamed misspelled words, and created test

* mocked EventTarget as there are issues on jest for listeners getting the events

* Return fall back error instead

* Update apps/browser/src/vault/fido2/content/content-script.ts

Co-authored-by: Cesar Gonzalez <cesar.a.gonzalezcs@gmail.com>

* Update apps/browser/src/vault/fido2/content/messaging/messenger.ts

Co-authored-by: Cesar Gonzalez <cesar.a.gonzalezcs@gmail.com>

* removed whitespace

---------

Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
Co-authored-by: Cesar Gonzalez <cesar.a.gonzalezcs@gmail.com>
2023-12-12 13:49:24 -05:00
Alex Urbina
39c8474467 Merge branch 'master' into task/DEVOPS-1683 2023-12-12 12:43:47 -06:00
Alex Urbina
732f3e87bc DEVOPS-1683 REFACTOR: Approval job for deployment to non-prod web environment 2023-12-12 12:39:16 -06:00
Alex Urbina
efcfaff43c DEVOPS-1683 ADD: Approval step for deployment 2023-12-12 12:36:56 -06:00
Alex Urbina
9956882c1e DEVOPS-1683 ADD: Deploy task to non-prod web deployment workflow 2023-12-12 12:24:10 -06:00
Vince Grassia
3e174fec81 Update version bump workflow token (#7195) 2023-12-12 12:37:32 -05:00
Vince Grassia
6bb03a7b0e Fix version bump workflow on call (#7193) 2023-12-12 08:53:57 -08:00
Alex Urbina
4802e8ee22 DEVOPS-1683 REFACTOR: project name in deployment workflow 2023-12-12 10:13:43 -06:00
renovate[bot]
740b5f7a42 [deps] SM: Update typescript-eslint monorepo to v6.14.0 (#7183)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 11:01:38 -05:00
Vince Grassia
007f21fc7f Update Version Bump workflow (#7180) 2023-12-12 10:22:02 -05:00
Oscar Hinton
4964c63258 Renovate: Add devops prefix & remove cargo minor (#7093) 2023-12-12 15:48:44 +01:00
Will Martin
02ba26e53c [AC-1786] deprecate manager role (#6931)
* add deprecation message

* hide manager option

* deprecate manager enum
2023-12-12 09:43:47 -05:00
renovate[bot]
25c5bb147d [deps] Autofill: Update prettier-plugin-tailwindcss to v0.5.9 (#7175)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 08:23:21 -06:00
Alex Urbina
9e474749b5 DEVOPS-1683 REFACTOR: slack-channel in deploy-non-prod-web.yml 2023-12-12 08:14:08 -06:00
Alex Urbina
e6d82b1ade DEVOPS-1683 REFACTOR: deployment status to use dynamic values 2023-12-12 08:13:40 -06:00
Alex Urbina
ef6f7bdce3 DEVOPS-1683 REFACTOR: slack-channel in deploy-non-prod-web.yml 2023-12-12 08:09:37 -06:00
Alex Urbina
d166073812 DEVOPS-1683 ADD: write permissions for deployments 2023-12-12 08:04:44 -06:00
Alex Urbina
a2ee5f7f8e Merge branch 'master' into task/DEVOPS-1683 2023-12-12 07:57:26 -06:00
Matt Gibson
08b69fffe1 Revert "Ps/avoid state emit until updated (#7124)" (#7187)
This reverts commit 38c335d8fb.
2023-12-12 08:07:42 -05:00
Alex Urbina
dbe81f638a Merge branch 'master' into task/DEVOPS-1683 2023-12-11 22:16:28 -06:00
Will Martin
79dbe051c8 [AC-1747] deprecate access control indicator (#6796)
---------

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2023-12-11 22:40:11 -05:00
Alex Urbina
5090423e3b Revert "DEVOPS-1683 DELETE: steps in deploy workflow for testing purposes"
This reverts commit 5ad5802857.
2023-12-11 21:32:31 -06:00
renovate[bot]
6e2e4d3343 [deps] AC: Update ts-loader to v9.5.1 (#7166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 19:53:42 -06:00
renovate[bot]
e45b54fd83 [deps] AC: Update webpack to v5.89.0 (#7167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 19:48:52 -06:00
renovate[bot]
eb979caea8 [deps] AC: Update html-webpack-plugin to v5.5.4 (#7161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 19:46:41 -06:00
renovate[bot]
e52a6269a9 [deps] AC: Update bufferutil to v4.0.8 (#6748)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 01:35:09 +00:00