1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00
Commit Graph

274 Commits

Author SHA1 Message Date
Thomas Rittson
b7acbcf3a7 Enable platform-specific export warning message (#295) 2021-03-05 08:56:20 +10:00
Thomas Rittson
8328b55774 Expand encrypted export warning (#294)
* Allow html body in showDialog

* Add extra warnings about encrypted export
2021-03-04 11:15:51 -05:00
Addison Beck
729ab4f20b fixed up the send date fallbacks again (#293)
* fixed up the send date fallbacks again

* gave localizations string a better name

* added fallback values to clear expiration
2021-03-03 15:02:05 -05:00
Addison Beck
f836629b48 Date time fallback fixes (#292)
* tightened up the Send datetime fallback conditionals

* cleaned up
2021-03-02 17:00:07 -05:00
Addison Beck
70654926ad added date/time fallbacks for safar/ff (#290) 2021-03-02 10:33:43 -05:00
Addison Beck
301ef455f3 clear Send password if whitespace (#287) 2021-03-01 11:31:03 -05:00
Vincent Salucci
11b8c5b5e8 Added clickable state to callout component (#282) 2021-02-22 20:32:40 -06:00
Vincent Salucci
8a3b551c6e [Send] Updated delete function for add/edit component (#277)
* [Send] Updated delete function for add/edit component

* Saved final return statement
2021-02-19 10:23:51 -06:00
Addison Beck
5f5580cff9 added toggle options logic (#276) 2021-02-18 16:04:12 -05:00
Addison Beck
1968dbfee2 refactored a few properties into getters (#272) 2021-02-12 17:25:47 -05:00
Vincent Salucci
0951424de7 Update send component to follow existing patterns (#270) 2021-02-11 16:55:38 -06:00
Vincent Salucci
ee164bebc6 [Send] Add more flexibility to base component (#262)
* Updating send component for more flexibility in child class

* Updated delegte null check

* added comment
2021-02-08 16:18:44 -06:00
Matt Gibson
eef8a2a0f7 Do not evaluate callback function when testing existence (#266) 2021-02-08 15:55:58 -06:00
Kyle Spearrin
a4ac842cec support for copying send link to clipboard on save (#265) 2021-02-08 15:55:32 -05:00
Matt Gibson
2730e04a05 Match tslint rules (#264) 2021-02-08 14:11:44 -06:00
Matt Gibson
22f576ea60 Add password toggle to add-edit (#261) 2021-02-05 12:36:09 -06:00
Matt Gibson
deabffb7b0 Implement disable send policy (#259)
* Implement disable send policy

* Linter fixes

* Add toast on submit if sends are disabled
2021-02-04 11:22:31 -06:00
Matt Gibson
58f40b0085 Fix glob processing in npm. Ban single param parens (#257) 2021-02-04 09:49:23 -06:00
Addison Beck
a16d8f7de7 Send search (#258)
* fixed text searching sends

* fixed text searching sends

* cleanup

* cleanup
2021-02-03 15:36:15 -05:00
Vincent Salucci
859f317d59 [Send] Port web based components (#254)
* Initial port of web based send components

* Updated import order to satisfy linter
2021-02-01 09:44:30 -06:00
Addison Beck
6ac6df75d7 Implemented Custom role and permissions (#237)
* Implemented Custom role and permissions

* converted Permissions interface into a class

* formatting fix
2021-01-11 17:01:39 -05:00
Vincent Salucci
48144a7eae Fixed UI bug with cloning item when personal ownership is not allowed (#240) 2020-12-29 15:42:11 -06:00
Kyle Spearrin
91c61aea58 fix org getter on import and export warning dialog (#238) 2020-12-22 16:14:22 -05:00
Oscar Hinton
573eea66ee Add support for Emergency Access (#204)
* Add support for Emergency Access

* Resolve review comments
2020-12-22 10:53:48 -05:00
Matt Gibson
75ca9f9c13 Move share button to view page (#229)
It is not possible to edit and share at the same time. Browser extension
currently utilizes this layout and it is confusing. This change is in
conjunction with altering that UI.
2020-12-15 17:49:51 -06:00
Cedric Wille
f7d8887304 Add verification for password hint - the hint should not equal the password for security reasons (#194) 2020-12-15 16:04:48 -05:00
Matt Gibson
ecf1edfb3e Specify to 2fa we're coming from sso (#218)
This will allow for closing of 2fa window to optionally alter behavior
for 2fa logins

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-09 15:30:29 -06:00
Matt Gibson
72bf18f369 Fix 1password importer (#222)
* Change cipher type based on csv type header

* Test identity and credit card import

* Do not use node 'fs' module

Karma is being used for automated tests so node modules are not available

* WIP: mac and windows 1password importer split

Need to improve windows field identification to limit secret data
exposure and improve user experience

* Hide fields with likely secret values

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-08 11:29:57 -06:00
Vincent Salucci
2d62e10d98 [Policy] Personal Ownership (#213)
* Initial commit of personal ownership enforcement

* Updated policy type enum

* Sync'd eventType for Policy_Updated with server enum value

* Added policyId to eventResponse model

* Removed explicit typing
2020-12-08 10:10:15 -06:00
Kyle Spearrin
93a3053f54 support for encrypted json export (#216)
* support for encrypted json export

* adjust filename prefix for encrypted formats

* flip if logic

* remove format param from encrypted export

* encryptedFormat getter
2020-12-03 15:20:38 -05:00
Chad Scharf
ea6fd5ac38 Update SSO component to parse state for comparison (#210)
* Update sso component to parse state for comparison

* No more truthy or dare

* fix lint errors for ===
2020-11-23 16:12:28 -05:00
Vincent Salucci
d9d13bbf0e Update success route before navigate action (#208) 2020-11-22 08:46:56 -06:00
Oscar Hinton
9e4d000b4d Browser <-> desktop communication (#185)
* Add electron constant for browser integration

* Add constant for browser biometrics. Ensure biometry is locked on lock.

* Avoid saving keys outside desktop

* Fix eslint warning

* Add supportsSecureStorage helper to platformUtils to improve readability
2020-11-18 16:10:57 -05:00
Addison Beck
79b856cb6e Implement User-based API Keys (#197)
* Added support for authenticating with an API key

* added api service methods for user api keys

* fixed a copy/pasted api endpoint url

* Let toIdentityToken() use a a prestored client_id in place of the application client_id if one exists

* Allowed for api key auth in the cli

* Removed some commented out code commited for apiKey auth

* Cleanup for ApiKey auth in the CLI

* Removed cli prefix from client_crendential auth types

* Removed ClientPrefix conditional from decoded token getters

* Update src/services/api.service.ts

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>

* formatting

* changed command from login --apiKey to login --apikey

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-11-10 15:15:40 -05:00
Vincent Salucci
5e50aa1a19 Added terms/privacy variables & logic (#193) 2020-11-02 12:50:58 -06:00
Vincent Salucci
d84d6da7f7 [SSO] New user provision flow (#173)
* Initial commit of new user sso flow

* Adjusted stateSplit conditional per review
2020-10-13 15:21:03 -05:00
Addison Beck
b5cc5409ff bug fix + added launch time to view component (#178) 2020-09-23 13:53:43 -04:00
Matt Portune
2ea1f8484f hide bio unlock option when logging in with sso (#176) 2020-09-23 10:35:26 -04:00
Chad Scharf
5c6c3a8b0a Fixed web vault URL reference for SSO launch (#175) 2020-09-23 10:18:14 -04:00
Chad Scharf
5e0a2d1d99 remove old Edge browser hacks (#168)
* remove old Edge browser hacks

* Remove final edge hacks

* Update constructor parameters

* Update search-ciphers.pipe.ts

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-09-15 10:23:21 -04:00
Chad Scharf
fa2b8e834b Wrap sso login with pre-validation check (#160)
* Wrap sso login with pre-validation check

* Add form promise for SSO preValidate

* Removed boolean variable, .catch()
2020-09-08 10:36:22 -04:00
Addison Beck
4745c24695 reverted codeVerifier length back to 64 (#166) 2020-09-04 16:01:54 -04:00
Addison Beck
cc12e58ac5 updated sso password string to be 32 characters (#164) 2020-09-04 14:08:18 -04:00
Vincent Salucci
42d5784ef3 [SSO] Set Password flow sync (#159)
* Added sync service to set-password // Added error for CLI in set-password flow

* Updated error string // added sync tracking boolean

* VS code failed to saved latest change - resaving false loading
2020-08-27 13:24:38 -05:00
Addison Beck
e07526a1b6 Link existing user to sso (#158)
* facilite linking an existing user to an org sso

* fixed a broken import

* added ssoBound and identifier to an org model

* added user identifier to sso callout url

* changed url for delete sso user api method

* facilite linking an existing user to an org sso

* fixed a broken import

* added ssoBound and identifier to an org model

* added user identifier to sso callout url

* changed url for delete sso user api method

* added a token to the existing user sso link flow

* facilite linking an existing user to an org sso

* fixed a broken import

* facilite linking an existing user to an org sso

* fixed a broken import

* added ssoBound and identifier to an org model

* added user identifier to sso callout url

* changed url for delete sso user api method

* added a token to the existing user sso link flow

* facilite linking an existing user to an org sso

* fixed a broken import

* removed an extra line

* encoded the user identifier on sso link

* code review cleanup for link sso

* removed a blank line
2020-08-27 11:00:05 -04:00
Vincent Salucci
8f27110754 [SSO] Bug - Fixed set password route (#156)
* Fixed 2fa + set password bug// moved query params parsing in shared lib

* Removed unnecessary params parse // added auth result conditional for success route
2020-08-26 10:54:16 -05:00
Vincent Salucci
6ab444a986 Updated depdency chain -> end result to allieviate issues in directory connector (#155) 2020-08-21 12:25:33 -05:00
Kyle Spearrin
5d874d07b3 abstract set password component to jslib (#153) 2020-08-19 10:57:35 -04:00
Oscar Hinton
8fe78916e2 Upgrade Angular to 9 (#151)
* Upgrade Angular to 8

* Upgrade Angular to 9

* Fix format

* Add ordered-imports tslint rule

* Upgrade Angular CDK to 9.2.4
2020-08-17 12:14:40 -04:00
Kyle Spearrin
7bf00b4fb3 extend functionality for set password flow (#150) 2020-08-17 10:34:52 -04:00