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

12215 Commits

Author SHA1 Message Date
Melanie Kanavakatini
8f76e81582 feat: add hidden char count toggle (#1780)
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2022-02-23 21:11:09 -06:00
Thomas Rittson
1cbc119ad8 [AuthService refactor] Don't clear state if 2FA is invalid (#690)
* Don't clear state if 2FA is invalid

* Add session timeout to 2FA

* Clear internal authService state if unhandled error
2022-02-23 21:08:43 -06:00
Matt Gibson
323c3ee04a Feature/password protected export (#446)
* Update jslib

* Bumped version to 1.20.0 (#421)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 3e4aa8e476)

* password protected export

* Run Prettier

* Add importer to list of known file types

* Improve launch.json settings

* Turn on import from password protected file

* Run prettier

* Fix webpack source map path change

* Update getPassword helper to use new options class

* Prettier

* Add client type

* Remove master password requirement for export

Alter password optional argument to indicating the file should be password protected rather than account protected

* update jslib

* Handle passwordProtected automagically

* Remove passwordproteted type from import command

* Update src/utils.ts

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>

* Update src/vault.program.ts

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>

* Use new util method

* remove password protected format

* Update jslib

* Clarify export command

* Run prettier

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Gibson <gibson.matt10@gmail.com>
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2022-02-23 15:47:32 -06:00
Thomas Rittson
fdaa4f9fa5 Fix linting (#693) 2022-02-23 15:33:34 -06:00
Melanie Kanavakatini
2779cd0966 feat: add hidden char count toggle (#341)
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2022-02-24 07:18:46 +10:00
Jake Fink
e570551a5a fix desktop close window shortcut (#1372)
* fix syntax not adding additional items

* lint
2022-02-23 09:58:59 -05:00
Vincent Salucci
7401204b70 [Icons] Added missing custom field sort icon (#1370) 2022-02-23 07:54:33 -06:00
Addison Beck
78b5f15042 [feature] Implement scope warning for exports (#688)
* [feature] Add a hasOrganizations() service method

* [feature] Add a component to warn users about export scope
2022-02-23 13:56:46 +10:00
Matt Gibson
1fb3d54014 Feature/password protected export (#689)
* Simplify password protected file format

* no items to import is not an error

* Await inner importer

* Add export format type

* Error if import file is password protected

* Update tests

* Test password protected with normat json importer

* Simplify imports

* Ignore code coverage directory

* Expand importer options  without changing display options

* Import password require import error handling

* Use interface

* Fix curlies

* linter fixes

* Add null of empty util

* Lint fixes

* run prettier

* Move import options to separate enum file

* Fix imports
2022-02-23 13:02:07 +10:00
Oscar Hinton
842d6cd001 Ensure dialog is attached to parent window (#691) 2022-02-22 20:06:14 +01:00
Oscar Hinton
01f128a4a9 Remove dotnet restore (#1493) 2022-02-22 16:22:45 +01:00
Oscar Hinton
a4d5b145ac Exclude connectors from CSP rules (#1489) 2022-02-22 15:46:59 +01:00
Oscar Hinton
60878cd4ed Add eslint (#610) 2022-02-22 15:39:11 +01:00
github-actions[bot]
685ffbcac5 Bumped version to 1.31.4 (#1362)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-22 05:51:46 -08:00
Chad Scharf
f9e6d13708 We're Hiring (#1367)
Added link to README.md for Bitwarden Careers page.
2022-02-22 14:04:32 +01:00
Chad Scharf
8e65d3e8d2 We're Hiring (#491)
Added link to README.md for Bitwarden Careers page.
2022-02-22 14:04:17 +01:00
Chad Scharf
d944e0e25c We're Hiring (#1492)
Added link to README.md for Bitwarden Careers page.
2022-02-22 14:04:06 +01:00
Chad Scharf
479d5db5f1 We're Hiring (#692)
Added link to README.md for Bitwarden Careers page.
2022-02-22 14:03:54 +01:00
Chad Scharf
e802bba99c We're Hiring (#2403)
Added link to README.md for Bitwarden Careers page.
2022-02-22 14:03:20 +01:00
Vincent Salucci
d141ccca52 [Icons Bug] fa-remove -> bwi-close (#1487) 2022-02-20 17:03:58 -06:00
Vincent Salucci
6d186bb204 [Icons] Fix sass deprecation warnings (#680)
* [Icons] Cleanup deprecation warnings

* Reverted to calc since math.div is not available in our current version

* Removed * -1 trick
2022-02-18 17:17:58 -06:00
Micaiah Martin
fd41b17aa1 Merge pull request #2398 from bitwarden/workflow-lint 2022-02-18 13:29:04 -06:00
Micaiah Martin
9e872bed2c Create initial workflow (#1482) 2022-02-18 13:28:53 -06:00
Micaiah Martin
66012936ad Create initial workflow (#488) 2022-02-18 13:28:44 -06:00
Micaiah Martin
f798995764 Added linter workflow (#1355) 2022-02-18 13:28:17 -06:00
Micaiah Martin
7322acc403 Created workflow file 2022-02-18 09:05:18 -06:00
github-actions[bot]
c071b692f2 Autosync the updated translations (#1486)
Co-authored-by: github-actions <>
2022-02-18 10:24:33 +01:00
github-actions[bot]
d1d76a3647 Autosync the updated translations (#2397)
Co-authored-by: github-actions <>
2022-02-18 10:23:39 +01:00
github-actions[bot]
f6298b2684 Autosync the updated translations (#1360)
Co-authored-by: github-actions <>
2022-02-18 10:21:18 +01:00
Kyle Spearrin
fc0638a7d9 fix infite recursion on getEncKey (#687) 2022-02-17 11:36:00 -05:00
Thomas Rittson
520f41fd17 Exclude jslib from prettier hook (#2386) 2022-02-17 10:37:56 +10:00
Thomas Rittson
3881223a73 Exclude jslib from prettier hook (#1343)
* Exlude jslib from prettier hook
2022-02-17 10:37:41 +10:00
Thomas Rittson
eb5be3c72f Exclude jslib from prettier hook (#486) 2022-02-17 10:37:25 +10:00
Matt Gibson
4b2c9fd78b Lint to match other repos (#487) 2022-02-16 08:49:12 -06:00
Matt Gibson
1ef2ac1001 Enforce Hold label (#685)
* Enforce Hold label

* Linting

Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>
2022-02-16 08:44:13 -06:00
Matt Gibson
041bb1bf0a Enforce Hold label (#1478)
* Enforce Hold label

* Linting

Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>
2022-02-16 08:43:56 -06:00
Matt Gibson
d2df8dacad Add label enforcement (#1346)
* Enforce Hold label

* Linting

Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>
2022-02-16 08:43:26 -06:00
Matt Gibson
32e625bd22 Enforce hold label (#2389)
* Enforce hold label

* Linting

Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>
2022-02-16 08:42:28 -06:00
Thomas Rittson
06ba30fc6b [BEEEP] Firefox Private Mode (#2294)
* Create background in popup if private mode, remove gates

* Add messaging support to runtime in private mode

* Fix messaging services and general bootstrap logic

* Add private mode warning, remove old component

* Deprecate launchGuardService

* Require in memory account for user to be considered authenticated

* Don't change icon for private mode windows

* Set all icons from background page
2022-02-16 08:06:35 +10:00
Thomas Rittson
0b5e1eb256 Exclude jslib from prettier hook (#1458)
* Exclude jslib from prettier hook
2022-02-16 07:41:41 +10:00
Micaiah Martin
7371ee344e Merge pull request #2393 from bitwarden/version_bump_1.56.6 2022-02-15 15:22:47 -06:00
github-actions[bot]
38cd409ea9 Bumped version to 1.56.6 2022-02-15 21:21:54 +00:00
Addison Beck
a4c22b8d4e [lib] Update jslib (#485) 2022-02-15 15:06:50 -05:00
Addison Beck
0df933d7e5 Merge pull request #2391 from bitwarden/UpdateJslib
[lib] Update jslib
2022-02-15 15:06:22 -05:00
Addison Beck
8c39fdb21e [lib] Update jslib (#1479) 2022-02-15 15:05:49 -05:00
Addison Beck
10ffdce5b9 [lib] Update jslib (#1347) 2022-02-15 15:05:31 -05:00
addison
7538cda458 [lib] Update jslib 2022-02-15 12:59:39 -05:00
Addison Beck
a6092916d8 [bug] Persistantly store collapsedGroupings (#686)
Collapsed groupings have regressed to not maintaining their state through restarting clients.

The state mangement refactor erroniously began saving this field to memory instead of disk, but there were some other issues that changing this brought on that are also fixed in this commit.

Changes:
1. Save collapsedGroupings persistantly in StateService
2. Adjust the type of collapsedGroupings on the Account model from a Set<string> to a string[]
	* This is the way we were storing this value in previous releases, and saving the entire set object breaks.
3. Adjust the StateService getter/setter for collapsedGroupings to expect a string[]
4. Extract a string[] from the GroupingsComponent groupings that is a Set<string> before saving
2022-02-15 12:54:22 -05:00
Oscar Hinton
519e4b9372 Improve null checks in content scripts (#2390) 2022-02-15 16:11:44 +01:00
Oscar Hinton
b65a2da18a Clears the key after locking (#684) 2022-02-15 15:51:22 +01:00