1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-07-03 11:45:26 +02:00
Commit Graph

13263 Commits

Author SHA1 Message Date
Will Browning
30e8a906ab
[PM-3442] Change AnonAddy to addy.io (#6027)
* Update anon-addy-forwarder.ts

* Update generator.component.ts
2023-09-07 17:23:56 +00:00
Conner Turnbull
a81c70360a
Removed countries that Stripe doesn't support (#6035) 2023-09-07 16:55:10 +00:00
Cesar Gonzalez
9beed08b76
[PM-3704] Autofil Command Should Not Attempt to Fill If Fields Are Not Found in Page Details (#6148) 2023-09-07 16:40:47 +00:00
Cesar Gonzalez
fcde0c6420
[PM-3792] Copying Verification Code Using the Context Menu for a Vault Item with Re-prompt Copies the TOTP Seed Instead of the Code (#6200) 2023-09-07 16:39:56 +00:00
Cesar Gonzalez
d3d8e3f0c8
[PM-3805] Extension PopOut Window Closes When Navigating Away From Vault Item View (#6205) 2023-09-07 16:38:54 +00:00
Oscar Hinton
0e04f35b04
[PM-3577] Refactor Electron iframes (#6221) 2023-09-07 18:32:45 +02:00
Matt Gibson
0448910806
[PM-3732] Use subtle to make aes keys (#6162)
* Provide `aesGenerateKey` to make aes keys

* Use aesGenerateKey when generating a key data

* Fix device test
2023-09-07 15:42:35 +00:00
Shane Melton
615248e04f
[AC-1012] Hide link to 2FA policy for Teams orgs (#6154)
- Also cleanup eslint warnings
2023-09-07 08:06:22 -07:00
Robyn MacCallum
d172dfe2f6
Only call postCipherAdmin if the orgId on a cipher is not null (#6209) 2023-09-07 10:31:20 -04:00
Rui Tomé
2d73f754bf
[AC-244] Refreshing identity token after accepting org invite to get updated email verified status (#6094) 2023-09-07 14:36:45 +01:00
aj-rosado
5f78aeaef2
[PM-2805] Migrate add edit send to Component Library (#6004)
* Converted add-edit send component dialog into a bit-dialog

* Updated Send AddEdit text fields to Component Library

* Migrated Share and Options fields to ComponentLibrary on SendAddEdit

* Migrated footer buttons to ComponentLibrary on SendAddEdit

* Updated web's SendAddEdit component file fields

* Replaced file upload with component library

* Changed SendAddEdit to use Reactive Forms on web

* Changed browser SendAddEdit to use ReactiveForms

* Update SendAddEdit on desktop to use ReactiveForms

* Added AppA11yTitle to button on web SendAddEdit

* Initial efflux-dates web change to ComponentLibrary

* Corrected delete button to check if it is in EditMode on SendAddEdit

* Using BitLink on options button

* Corrected typo on send add edit desktop

* Replaced efflux-dates with datetime-local input on SendAddEdit web, browser and desktop

* Removed efflux dates

* Added firefox custom date popout message on DeletionDate to SendAddEdit browser component

* moved desktop's new send data reload from send to SendAddEdit component

* removing unnecessary attributes and spans from Send AddEdit web

* removed redundant try catch from add edit and unnecessary parameter from close

* Added type for date select options

* Removed unnecessary classes and swapped bootstrap classes by corresponding tailwind classes

* Removed unnecessary code

* Added file as required field
Submit only closes popup on success

* Added pre validations at start of submit

* PM-3668 removed expiration date from required

* PM-3671 not defaulting maximum access count to 0

* PM-3669 Copying the link from link method

* Removed required tag from html and added to formgroup

* PM-3679 Checking if is not EditMode before validating if FormGroup file value is set

* PM-3691 Moved error validation to web component as browser and desktop need to show popup error

* PM-3696 - Disabling hide email when it is unset and has policy to not allow hiding

* PM-3694 - Properly setting default value for dates on Desktop when changing from an existing send

* Disabling hidden required fields

* [PM-3800] Clearing password on new send
2023-09-07 13:49:13 +01:00
Rui Tomé
86bdfaa7ba
[AC-1612] Disabled access to the Organization Vault tab if the user only has access to assigned collections (#6140)
* [AC-1612] Disabled access to the Organization Vault tab if the user only has access to assigned collections

* [AC-1612] Fixed issue that prevented Manager users to access the Organizations tab
2023-09-07 10:41:59 +01:00
github-actions[bot]
6f82a9914b
Bumped web version to 2023.8.4 (#6206)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-09-06 15:56:35 -04:00
rr-bw
6eb57ff312
add route and params to link (#6103) 2023-09-06 12:05:24 -07:00
Daniel James Smith
e8a5c5b337
[PM-3586] Fix short MP not showing minLength (#6086)
* Fix short MP not showing minLength

Added path to include the mininum password length defined as const in our Utils

* Introduce previousMinimumPasswordLength and use a minLength for MP

* Rename previousMinimumPasswordLength to originalMinimumPasswordLength
2023-09-06 14:12:14 +00:00
Vince Grassia
864818c2d3
Browser Build/Release Workflows - Change runners to linux (#6193) 2023-09-06 09:51:40 -04:00
github-actions[bot]
1bd1127b61
Bumped browser,web version to 2023.8.3 (#6197)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-09-05 18:44:46 -04:00
Vince Grassia
d6aa85af66
Update Version Bump workflow inputs (#6143) 2023-09-05 14:52:03 -06:00
Daniel James Smith
255a7381b3
[PM-3609] [Tech-Debt] Add types to password and username generator (#6090)
* Create and use GeneratorOptions

Selection between `password`and `username`

* Use PasswordGeneratorOptions

* Declare and use UsernameGeneratorOptions
2023-09-05 19:48:34 +00:00
github-actions[bot]
b78d17aa62
Bump Desktop version to 2023.8.4 (#6192)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-09-05 10:55:37 -06:00
Todd Martin
182d5bf5ac
[PM-3758] Handle user decryption options from pre-TDE server response (#6180)
* Mapped pre-TDE server response to UserDecryptionOptions.

* Updated logic on SsoLoginStrategy to match account.

* Linting.

* Adjusted tests.

* Fixed tests.
2023-09-04 22:07:14 -04:00
José Pereira
a920d62dfe
[PM-3326] [CLI] Add minNumber, minSpecial and ambiguous password generation options (#5974)
* feat(cli): add minNumber option and pass to generation service

* feat(cli): add minSpecial option and pass to generation service

* feat(cli): add ambiguous option and pass to generation service

* refactor: extract utils to convert number and string options

* feat(ts): add types to utils and options

* feat: validate result of parsed value in convertNumberOption util
2023-09-04 22:01:16 +02:00
rr-bw
bf7aa6473e
[PM-1509] Accessibility for <code> elements (#5686)
* change code color to meet accessibility requirements

* updates to desktop and web

* adjust colors for desktop, web, and browser

* update color values

* switch nord color to use same as Tailwind theme

* align variable names
2023-09-01 13:18:20 -07:00
github-actions[bot]
326b24e655
Autosync the updated translations (#6166)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-09-01 12:50:51 +00:00
github-actions[bot]
4e2f742aea
Autosync the updated translations (#6165)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-09-01 12:45:39 +00:00
github-actions[bot]
7d04974bd4
Autosync the updated translations (#6167)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-09-01 12:43:17 +00:00
Dave Nicolson
1d7360bfdd
[PS-1438] Prevent new line feed when selecting and copying passwords (#3460)
* Prevent new line feed when selecting password

* Prevent new line feed when copying password
2023-09-01 11:06:49 +01:00
Jared Snider
ac1c7f9c8f
Auth - LoginComp - Focus logic bugfix - add null check to avoid error as focusInput was being called prematurely in some scenarios - confirmed the focus logic still works (#6095) 2023-08-31 22:06:47 +00:00
Jared Snider
302b0dfe74
PM-3623 - VaultTimeoutInputComp - resolve double value changes emission issue which was causing double dialogs to be shown when the user chose never as a vault timeout option by not emitting the setting of the custom hours & min values based on the user's non-custom timeout choice. + Add interface for form value to replace any. (#6098) 2023-08-31 16:53:51 -04:00
rr-bw
8669f81c1b
Make WebAuthn a Free Method (#6079)
* remove webauthn premium badge

* update premium two-stop options text for web clients
2023-08-31 11:25:17 -07:00
aj-rosado
066056bd45
[PM-3226] Adding session to ReferenceEventRequest (#6114)
* Adding session to ReferenceEventRequest

* Added comment to regex
2023-08-30 21:27:26 +01:00
Jonathan Prusik
f61793b10b
[PM-3588] Close duplicate single-action windows (#6091)
* close duplicate single-action windows

* Use longform conditional

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

---------

Co-authored-by: Cesar Gonzalez <cesar.a.gonzalezcs@gmail.com>
2023-08-30 15:08:41 -04:00
Matt Gibson
3340af8084
PM-3585 Improve state migrations (#5009)
* WIP: safer state migrations

Co-authored-by: Justin Baur <justindbaur@users.noreply.github.com>

* Add min version check and remove old migrations

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>

* Add rollback and version checking

* Add state version move migration

* Expand tests and improve typing for Migrations

* Remove StateMigration Service

* Rewrite version 5 and 6 migrations

* Add all but initial migration to supported migrations

* Handle stateVersion location in migrator update versions

* Move to unique migrations directory

* Disallow imports outside of state-migrations

* Lint and test fixes

* Do not run migrations if we cannot determine state

* Fix desktop background StateService build

* Document Migration builder class

* Add debug logging to migrations

* Comment on migrator overrides

* Use specific property names

* `npm run prettier` 🤖

* Insert new migration

* Set stateVersion when creating new globals object

* PR comments

* Fix migrate imports

* Move migration building into `migrate` function

* Export current version from migration definitions

* Move file version concerns to migrator

* Update migrate spec to reflect new version requirements

* Fix import paths

* Prefer unique state data

* Remove unnecessary async

* Prefer to not use `any`

---------

Co-authored-by: Justin Baur <justindbaur@users.noreply.github.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2023-08-30 17:57:20 +00:00
Cesar Gonzalez
b444eed0b5
[PM-3589] Context Menu No Longer Shows Autofill Ciphers (#6085)
* [PM-3589] Context Menu No Longer Shows Autofill Ciphers

* [PM-3589] Ensuring that passwordless users can also access ciphers that require reprompt

* [PM-3589] Fixing jest test

* [PM-3589] Fixing issue where context menu autofill does not allow filling when passwordless setup is in place
2023-08-30 15:18:20 +00:00
Vince Grassia
9288367bc8
Fix logic in workflow (#6147) 2023-08-30 10:46:10 -04:00
Jared Snider
3930189c4e
PM-3632 - Vault Timeout Input comp (all clients) - resolve bug where logic which was supposed to initialize the custom vault timeout timeframe if coming from a previously selected numeric timeout was not working properly. (#6102) 2023-08-29 21:08:02 +00:00
Danielle Flinn
c8c314dd35
[PM-2866] - Update color variables for better contrast (#6078)
* Update variables.scss

* update toast text color to have better WCAG contrast

* added toastcolor variables

* Update window.main.ts

* Tweaked styles

* darkened backgroundAlt2 and button background

* lightened button border

* lightened button backgroundColor

* Update window.main.ts

* updated brand colors and added toastTextColor variable

* lightened solarize danger variable

to meet WCAG contrast with dark text

* updated browser solarize variable to match tw-theme.css
2023-08-29 13:42:56 -07:00
Opeyemi
6bf559b932
UPDATE: fix all warnings in Clients workflow (#6137) 2023-08-29 16:00:28 +01:00
Jonathan Prusik
42193aecb8
[PM-1407] Improve iframe sandbox detection (#5976)
* improve iframe sandbox detection

* code cleanup

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

* update autofill v1 logic as well

---------

Co-authored-by: Cesar Gonzalez <cesar.a.gonzalezcs@gmail.com>
2023-08-29 09:10:16 -04:00
github-actions[bot]
fd119f08ec
Bumped desktop version to 2023.8.3 (#6131)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-08-28 16:35:34 -04:00
Vince Grassia
3cc0e5f59a
Fix Release CLI workflow (#6130) 2023-08-28 16:12:40 -04:00
Vince Grassia
b5c4149bc8
CLI/Release Desktop Workflow - Update runner to Ubuntu latest (#6129) 2023-08-28 15:31:09 -04:00
Thomas Avery
17a4edcda1
increase secret value max length limit (#6030) 2023-08-28 11:10:35 -05:00
cd-bitwarden
c6972f3e1c
[SM-877] Updating trash to have ability to copy UUID (#5986)
* [SM-877] Updating trash to have ability to copy UUID

* Fixing the ordering of Div's for trash secret UUID copying

* moving ngif to div

* merge fixs
2023-08-28 10:03:01 -05:00
Conner Turnbull
76888d6fd7
[PM-264] When a free user is upgrading their org plan, the Cancel button is misaligned (#5996) 2023-08-28 10:01:15 -04:00
Conner Turnbull
ea908ec55b
[AC-1336] Indicate unpaid subscriptions on payment screen (#5962)
* Add text for creating a charge for unpaid invoices

* Refactor payment method to simplify promises
2023-08-28 13:58:55 +00:00
cd-bitwarden
f7278ef183
Project drop downs add on enter not on tab (#5953)
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2023-08-28 08:09:04 -04:00
MtnBurrit0
834531bd98
Bump snapcore action to fix CLI build workflow (#6116) 2023-08-25 15:06:31 -06:00
renovate[bot]
8cf82ea028
Update bitwarden/gh-actions digest to 67ab95d (#5839)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 14:27:30 -06:00
github-actions[bot]
842aa11087
Autosync the updated translations (#6105)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-08-25 19:50:22 +00:00