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

13805 Commits

Author SHA1 Message Date
Alex Urbina
67e9d66b66 DEVOPS-1683 RENAME: deploy-non-prod-web.yml to deploy-web.yml 2023-12-18 15:48:24 -06:00
Alex Urbina
9e65c510ec DEVOPS-1683 REFACTOR: branch/tag references in deploy workflow 2023-12-18 15:45:14 -06:00
Alex Urbina
ef090622bc Revert "DEVOPS-1683 RENAME: deploy-non-prod-web.yml to deploy-web.yml"
This reverts commit 2ae5519fdc.
2023-12-18 15:32:57 -06:00
Alex Urbina
2ae5519fdc DEVOPS-1683 RENAME: deploy-non-prod-web.yml to deploy-web.yml 2023-12-18 14:54:18 -06:00
Alex Urbina
b2e1a1aff4 DEVOPS-1683 REFACTOR: branch name in deploy workflow 2023-12-18 14:53:11 -06:00
Alex Urbina
424b315318 DEVOPS-1683 REFACTOR download and trigger steps in deploy-non-prod-web.yml 2023-12-18 14:51:43 -06:00
Alex Urbina
a1c7a171f7 DEVOPS-1683 REFACTOR: notify-start dependencies need setup job 2023-12-18 13:24:14 -06:00
Alex Urbina
cd68890c6d DEVOPS-1683 REFACTOR: job name for building web for missing branch 2023-12-15 18:53:16 -06:00
Alex Urbina
392ca221ca DEVOPS-1683 REFACTOR: environment configuration for non-production web deployment 2023-12-15 18:42:59 -06:00
Alex Urbina
d452259f7d DEVOPS-1683 REFACTOR: Slack channel for non-prod deployment 2023-12-13 20:14:41 -06:00
Alex Urbina
31d85cac5c Update .github/workflows/deploy-non-prod-web.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-12-13 19:27:44 -06:00
Alex Urbina
7437307a8d Update .github/workflows/deploy-non-prod-web.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-12-13 19:27:22 -06:00
Alex Urbina
110ae6d8fc Update .github/workflows/deploy-non-prod-web.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-12-13 19:26:04 -06:00
Alex Urbina
eb947e68c7 Update .github/workflows/deploy-non-prod-web.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-12-13 19:22:23 -06:00
Alex Urbina
3b7f5cb044 Update .github/workflows/deploy-non-prod-web.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-12-13 19:22:14 -06:00
Alex Urbina
d9ce7887c8 Update .github/workflows/deploy-non-prod-web.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-12-13 19:21:29 -06:00
Alex Urbina
b1be258867 Update .github/workflows/deploy-non-prod-web.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-12-13 19:21:21 -06:00
Alex Urbina
78d5770198 Update .github/workflows/deploy-non-prod-web.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-12-13 19:20:50 -06:00
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