1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-18 07:25:15 +02:00
Commit Graph

1056 Commits

Author SHA1 Message Date
Addison Beck
31a0be290b
Merge pull request #130 from bitwarden/Feature.Web.534.AllowMultiSelectInOrgVault
Set up API calls for bulk delete from within an org vault
2020-08-04 16:02:20 -05:00
Kyle Spearrin
14b01f2e5d null check vaulttimeoutservice 2020-08-04 09:17:25 -04:00
Kyle Spearrin
bc31867e1a allow login command clientid from ctor 2020-08-04 08:50:13 -04:00
Addison Beck
e778735ac4 moved some logic back to web project for cipher selection 2020-08-03 22:24:06 -04:00
Addison Beck
144f06a115 added org id to the bulk delete request model 2020-08-03 22:24:06 -04:00
Addison Beck
1cb59b5cc7 added api service methods for delete many w/admin calls 2020-08-03 22:24:06 -04:00
Addison Beck
f0411d0240 broke up a long line 2020-08-03 22:24:06 -04:00
Addison Beck
5d93c84ae6 removed leaky code 2020-08-03 22:24:06 -04:00
Addison Beck
44903ef807 moved some cipher selection logic to base component 2020-08-03 22:24:06 -04:00
Addison Beck
36012e7d6f changed let to const 2020-08-03 22:24:06 -04:00
Addison Beck
88765ad093 yet another formatting issue 2020-08-03 22:24:06 -04:00
Addison Beck
f86c7e9c3f fixed a formatting issue 2020-08-03 22:24:06 -04:00
Addison Beck
f7058303f3 fix a formatting issue 2020-08-03 22:24:06 -04:00
Addison Beck
573f8283df Removed an extra line 2020-08-03 22:24:06 -04:00
Addison Beck
272ce2330c Added custom field consideration to basic search function 2020-08-03 22:24:06 -04:00
Kyle Spearrin
7d49902eea
SSO login for generic clients and CLI (#140)
* sso

* move break into try block

* make client id dynamic

* clientId is a string, DOH!

* reject if port not available

* lint fixes
2020-08-03 15:24:26 -04:00
Chad Scharf
101c5688c4
Merge pull request #138 from bitwarden/fix/desktop/495-try-catch-require-nodert
try catch nodeRT module via require
2020-08-01 16:28:41 -04:00
Vincent Salucci
f301b92dc3
[SSO] Merge feature/sso into master (#139)
* [SSO] Reset Master Password (#134)

* Initial commit of reset master password (sso)

* Updated line length error

* Updated import line again

* Added trailing comma

* restored reference data for RegisterRequest

* Updated tracking boolean name // added success route update based on passed boolean

* Added new API // reverted Register // deleted reset // added change pw and sso

* Changed redirect URI to protected to override in sub-class

* Updated api to setPassword // Updated request model name // Updated change password refs // Updated formatting

* Encoded necessary parts of authorize url // Added default catch error message

* Refactored methods inside change password base component // removed unnecesary query param for sso

* [lint] Fixed error (#137)

* Cleaned lint error

* Fixed sso lint error
2020-08-01 08:42:24 -05:00
Chad Scharf
8d01ec7e42 removed temporary test code 2020-07-31 19:59:31 -04:00
Chad Scharf
c05dbe9743 remove trailing whitespace 2020-07-31 19:54:38 -04:00
Chad Scharf
b2fbc475c7 try catch nodeRT module via require 2020-07-31 19:42:13 -04:00
Kyle Spearrin
261a20031f
suth service support for complete sso login (#136) 2020-07-31 11:55:14 -04:00
Kyle Spearrin
1f1dfec0fe
move prompy on init to desktop (#135) 2020-07-23 17:23:59 -04:00
Oscar Hinton
c62f5287cd
Desktop biometrics support (#119)
* Initial work on windows hello support

* Switch to use windows.security.credentials.ui UserConsentVerifier

* Fix linting warnings

* Remove unessesary supportsBiometric from lock screen

* Rename biometric.main to windows.biometric.main. Add abstraction for biometric.

* Add support for dynamic biometric text.

* Add untested darwin implementation

* Rename fingerprintUnlock to biometric

* Add new functions to cliPlatformUtils.service.ts.

* Hide login if biometric is not supported

* Export default for biometric.*.main.ts

* Remove @nodert-win10-rs4/windows.security.credentials

* Add build requirements to readme

* Auto prompt biometric when starting the application.

* Ensure we support biometric before trying to auto prompt.

* Fix review comments and linting errors
2020-07-23 13:32:20 -04:00
Chad Scharf
94d363bfca
Merge pull request #131 from bitwarden/feature/reference-data
Reference id to data conversion
2020-07-20 15:58:58 -04:00
Chad Scharf
6e79dfa01a fixed import groupings/order 2020-07-20 15:38:56 -04:00
Chad Scharf
97d24f5abf reference event data model changes 2020-07-20 15:21:01 -04:00
Kyle Spearrin
7771b2293d
parse otp for keepass import (#133) 2020-07-20 15:00:33 -04:00
Kyle Spearrin
b599c2e74f
support url header for firefox import (#132) 2020-07-20 14:20:32 -04:00
Chad Scharf
9ca79c4929 Reference id to data conversion 2020-07-17 16:05:58 -04:00
Kyle Spearrin
fefef546f0
sso support (#127)
* support for sso

* created master password boolean

* resetMasterPassword flows

* throw on bad ctor for token request
2020-07-16 08:59:29 -04:00
Matt Smith
b53046d0d9 Added new _host property for consumption. 2020-07-14 10:02:07 -05:00
Matt Smith
8223011248 Reverted prior change. Changed call to getHost 2020-07-13 15:47:55 -05:00
Matt Smith
49b796ebd6 Formatting change 2020-07-13 13:39:38 -05:00
Matt Smith
58ba1ce5b6 Modified response to include port if exists 2020-07-13 13:35:37 -05:00
Matt Smith
57649f31c4 Moved error checking to utils, where parse is 2020-07-10 10:01:15 -05:00
Matt Smith
ebaa69a15b Formatting change. Inlined catch. 2020-07-09 15:59:45 -05:00
Matt Smith
0d3b32a10d Prevent malformed URLs from loading current tab 2020-07-09 15:56:09 -05:00
Vincent Salucci
d308245237
Added new BusinessPortal boolean to all necessary objects (#121) 2020-07-06 17:21:41 -05:00
Anthony Garera
785b681f61
Added current date variable. This is in relation to PR #1272 in bitwarden/browser (#120) 2020-07-03 22:45:38 -04:00
Chad Scharf
c3389afd4f Add referenceId to register component 2020-06-25 15:44:19 -04:00
Kyle Spearrin
7f6d7424e7
Do not process hostname for regex logins (#117) 2020-06-18 11:58:29 -04:00
Chad Scharf
983f0cbfa7 re-order import 2020-06-17 20:09:47 -04:00
Chad Scharf
fb70ca8fe9 tax info extends payment request 2020-06-17 20:07:59 -04:00
Chad Scharf
01fd705081 extend payment request to collect tax info 2020-06-17 19:46:28 -04:00
Chad Scharf
7fd52c62f3
Merge pull request #115 from bitwarden/feature/tax-info-collection
Support tax collection info
2020-06-17 10:50:14 -04:00
Chad Scharf
dea0233ee3 Support tax collection info 2020-06-12 19:29:52 -04:00
Hinton
81c76816b9 Ensure viewPassword has a default value 2020-06-12 14:21:27 +02:00
Vincent Salucci
dd147ce338
[Enterprise] Updated Environment Settings (#112)
* Initial commit of enterprise environment option

* Reverting API/EnvironmentUrls changes
2020-06-11 15:04:40 -05:00
Kyle Spearrin
d1e4eebebb check for empty string on malformed URL (#108) 2020-06-11 00:22:46 +02:00
Vincent Salucci
17298cf188 Bug fix: made lock default conditional check (#106) 2020-06-11 00:22:46 +02:00
Kyle Spearrin
6e52c2846d getEnterprisePortalSignInToken api (#105) 2020-06-11 00:22:46 +02:00
hinton
4d776ca0ef Fix spelling mistakes 2020-06-04 22:15:45 +02:00
hinton
34402571e7 Add newField property to FieldView, used for allowing edits for new fields 2020-06-03 20:45:53 +02:00
hinton
1fa3eb49ad Add support for collections with hide passwords 2020-05-21 15:54:15 +02:00
Kyle Spearrin
2858724f44
default to text field type (#102) 2020-05-20 15:30:58 -04:00
Pasi Niemi
fb7335b927
Enable alternative ways for settings passwords (#101)
* Enable alternative ways for settings passwords:
* the environment variable BW_PASSWORD
* prefix the command line argument with "file:" and the password will read from the first line of that file
* prefix the command line argument with "env:" and the password will be read from that environment variable

* Appveyor fixes

* Switch to using command options for password file and password env

* Lowercase options
2020-05-08 10:38:28 -04:00
Kyle Spearrin
0092aac275
fixes to url parsing (#99)
* fixes to url parsing

* make it a little more intelligent to pass tests
2020-04-29 11:47:34 -04:00
Kyle Spearrin
5e24e396ab
Add support for enpass sensitive fields (#98) 2020-04-29 11:12:59 -04:00
Elias Papavasileiou
2de8c5ed16
Add minimizeOnCopyToClipboardKey constant (#74)
* Add minimizeOnCopyToClipboardKey constant

* Move minimizeOnCopyToClipboardKey constant to electronConstants.ts

* Add minimizeIfNeeded method to view component

* Revert "Add minimizeIfNeeded method to view component"

This reverts commit 7a5f2a3aa3d418ead5c03ce4c3f0ba00ffd34bb2.

* Make storageService protected in window.main

* Revert "Make storageService protected in window.main"

This reverts commit 0431565c6596f7e4cb8c20b84fcbb56ce5772565.
2020-04-14 16:11:00 -04:00
mtgto
8438cafbd0
Update lunr type (#93) 2020-04-14 15:16:18 -04:00
Chad Scharf
222792940c [Soft Delete] - tslint err fix 2020-04-10 16:59:39 -04:00
Chad Scharf
e52df4f743 [Sot Delete] update to view and i18n for delete 2020-04-10 16:46:57 -04:00
Chad Scharf
3a10c1ff30 [Soft Delete] - cipher search rem deleted flag, filter array conditional 2020-04-08 16:44:13 -04:00
Chad Scharf
549fcc18ff Merge branch 'master' into soft-delete 2020-04-06 19:09:56 -04:00
Chad Scharf
2a3e03c70d [Soft Delete] - Included deleted flag on reload 2020-04-06 18:20:39 -04:00
Vincent Salucci
72e3893f8e
[Auto-Logout] Update Token Service (#94)
* Auto logout on restart

* Updated setTokens function

* Remove async deocrator from setTokens

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-04-06 11:06:32 -05:00
Chad Scharf
19668ab5f2 [Soft Delete] jslib updates for new API updates
New API methods and cipher Deleted Date property, plus search expansion to toggle on deleted flag.
2020-04-03 16:32:15 -04:00
Vincent Salucci
28e3fff739
[Auto-Logout] Implement logout functionality in VaultTimeoutService (#92)
* Initial commit for logic changes in VaultTimeoutService

* Fixed lint error

* Updated logOut spelling - as an action its two words

* Hitting save to make sure all my changes are included

* Made requested changes

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-03-29 10:38:16 -05:00
Vincent Salucci
64c54cfb86
[Auto-Logout] Refactor LockService and Update Dependencies (#91)
* initial commit for lockService name refactor

* Reverted ConstantsService vault timeout key to legacy string value

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-03-27 09:03:27 -05:00
Kyle Spearrin
31a257407b skipNegotiation for websockets 2020-03-21 00:19:40 -04:00
Vincent Salucci
3ad546c39f
Password Generator Sanitize Length (#89)
* Initial commit for length sanitization

* Updated sanitize function

* Updated type instantiation

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-03-18 10:07:57 -05:00
Kyle Spearrin
0a30c7eb1e fix 1password csv importer 2020-03-12 16:59:59 -04:00
Kyle Spearrin
b816ddddff only block interaction if env var set 2020-03-12 15:37:21 -04:00
Kyle Spearrin
13d1067eda null check on policies response prop 2020-03-12 15:16:22 -04:00
Kyle Spearrin
36241e9eac bump user agent version for desktop 2020-03-10 15:00:29 -04:00
Vincent Salucci
ee8ca0beed
Password Generator Passphrase Policy (#85)
* Initial commit for passphrase enforcement

* Updated type implementation

* Updated default type conditional

* Added helper method to enforced options object

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-03-10 12:50:54 -05:00
Kyle Spearrin
44b86f5dd0
enforce policies when options already known (#83) 2020-03-03 16:03:26 -05:00
Vincent Salucci
da9b9b438c
Fixed lint warnings (#82) 2020-03-02 13:45:06 -06:00
Vincent Salucci
6210396aa9
Enforce master password policy (#79)
* Enforce master password policy

* Updated based on requested changes/discussions
2020-03-02 11:05:05 -06:00
Kyle Spearrin
0f699515a4
fixes to getPoliciesByToken (#81) 2020-03-02 11:37:44 -05:00
Kyle Spearrin
4aecc53dde
API for getting policies by token (#80)
* API for getting policies by token

* not authed when calling this API
2020-03-02 10:15:54 -05:00
Kyle Spearrin
fb48091bb8
Moved callout to jslib, made policyInEffect a prop (#77)
* Moved callout to jslib, made policyInEffect a prop

* remove true condition
2020-02-28 16:57:34 -05:00
Vincent Salucci
6c52942204
Show policy in effect banner for password generator (#76) 2020-02-28 11:09:57 -06:00
Vincent Salucci
862057dca6
Enforce Password Generator Policy (#75)
* Enforce Password Generator Policy

* Move policy enforcement to service layer

* Fixed typo (vscode didn't warn..) and adjust import spacing

* Made requested changes
2020-02-26 16:38:11 -06:00
Kyle Spearrin
29635bf9da support for encryptr text column 2020-02-20 16:53:01 -05:00
Kyle Spearrin
ab9bee29b8
support for encryptr csv importer (#73) 2020-02-19 14:51:46 -05:00
Vincent Salucci
f8ada79135
Added missing clone mode condition (#72) 2020-02-18 21:17:21 -06:00
Vincent Salucci
118bdb20b6
Fix lint warning with recent merge (#70) 2020-02-12 15:17:24 -06:00
balagurusurendar
fea1c9ada4
zoho import password header chnges (#69)
* zoho import password header chnges

* support for both import format
2020-02-11 06:19:39 -05:00
Kyle Spearrin
fd260dfbae null check to be consistent with mobile codebase 2020-02-10 10:20:45 -05:00
Kyle Spearrin
2d726ee3af add check payment method type 2020-02-07 16:48:31 -05:00
Vincent Salucci
3b8df85241
Show cipher collection ids during clone mode (#67) 2020-02-07 10:42:15 -05:00
Kyle Spearrin
76f60dd99e fix lastpass importer tests 2020-02-06 15:28:17 -05:00
Kyle Spearrin
3c6f6dbe2f parse extra note fields into custom fields 2020-02-06 15:03:55 -05:00
Reese
eecd774b13
fix lastpass import credit card expiration (#65)
* Fix import of expiration date from LastPass

Signed-off-by: Felipe Santos <felipecassiors@gmail.com>

* handle empty cc exp from lastpass, add test

* check for month/year null/whitespace

* check for empty expiration from lp import

Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
2020-02-06 11:24:18 -05:00
Kyle Spearrin
1859357ddb
dont import trashed items into 1password. (#64)
resolves #451
2020-02-05 00:35:30 -05:00
Vincent Salucci
bb459ce4b4
Fixed lint warning (#63) 2020-02-04 16:07:31 -05:00
Joseph Petersen
3a40cb83bf
fix fullAddressPart2 state if empty should not show in address line (#62)
* not all countries have states

* semi colons
2020-02-01 16:15:27 -05:00
Vincent Salucci
08b1a022f6
Enabled ownership changes for cloned items (#61) 2020-02-01 15:28:45 -05:00
Kyle Spearrin
3d2e2cb174 sync policies., set up policy service 2020-01-28 22:24:02 -05:00
Vincent Salucci
337a7ba59f
[jslib] Updated shared components for cipher cloning (#60) 2020-01-28 17:19:49 -05:00
Kyle Spearrin
e1d42f95d9 updates to support electron 6 2020-01-27 09:46:42 -05:00
Kyle Spearrin
dce1453732 fix HttpsProxyAgent typings 2020-01-27 09:02:41 -05:00
jgfaust
c91ab626c2 The domain of data URLs should be null. (#59) 2020-01-25 07:52:51 -05:00
Kyle Spearrin
7d8143b288 react to policy api changes 2020-01-20 08:54:51 -05:00
Kyle Spearrin
6c8407196b more usepolicies 2020-01-15 15:25:06 -05:00
Kyle Spearrin
ca6f235a34 usePolicies on org profile response 2020-01-15 15:22:34 -05:00
Kyle Spearrin
f66de2207c policy apis 2020-01-15 11:24:00 -05:00
Kyle Spearrin
844699f1a4 new enums 2020-01-15 09:56:51 -05:00
Kyle Spearrin
5819023bc4 no-store cache 2020-01-13 07:49:05 -05:00
Kyle Spearrin
3f17b642b4 upgrade signalr client 2020-01-09 17:27:07 -05:00
Kyle Spearrin
98c7dc1626 avast json importer 2019-12-20 13:29:56 -05:00
Kyle Spearrin
a7517a3621 update password boss importer 2019-12-20 13:05:22 -05:00
Kyle Spearrin
77282e7b0f update user agent 2019-12-13 22:48:18 -05:00
Kyle Spearrin
68bbc8434f importer fixes 2019-11-26 08:34:45 -05:00
Kyle Spearrin
d1c0776330 ProtectInMemory support on keepass import 2019-11-25 16:29:33 -05:00
Kyle Spearrin
05c36b300d codebook csv importer 2019-11-25 16:10:51 -05:00
Kyle Spearrin
57e49207e9 NOINTERACTION option checks 2019-10-21 16:04:33 -04:00
Kyle Spearrin
8ab36db5c6 add ids to data when erroring with multipleResults 2019-10-21 13:51:48 -04:00
Veit-Hendrik Schlenker
2c45978286 add function to copy data to drag transfer event (#51) 2019-10-19 21:14:53 -04:00
Kyle Spearrin
669f6ddf93 option to allow sync to throw error 2019-10-15 11:06:55 -04:00
Kyle Spearrin
e35431f374 process enpass json folders 2019-10-11 13:38:44 -04:00
Kyle Spearrin
e16cb9b801 allow custom user agent on node api service 2019-10-07 10:11:32 -04:00
Kyle Spearrin
9f2d9c0a91 allow custom user agent string 2019-10-07 10:02:18 -04:00
Kyle Spearrin
83d6b2449c fix min character assignments for pw gen 2019-10-05 20:39:46 -04:00
Kyle Spearrin
e8130e7934 buttercup csv importer 2019-10-04 10:11:26 -04:00
Kyle Spearrin
b2a8041173 fix twoFactorEnabled type 2019-10-04 09:45:37 -04:00
Kyle Spearrin
034aefa652 isGuid util 2019-10-01 11:03:51 -04:00
Kyle Spearrin
53d08067df extend ctor for collection view 2019-09-25 17:12:13 -04:00
Kyle Spearrin
971e19335f fix UsingInAppPurchase mapping 2019-09-24 16:03:25 -04:00
Kyle Spearrin
6b82cd0380 workaround for process.windowsStore bug 2019-09-20 23:58:24 -04:00
Kyle Spearrin
929dd8415d usingInAppPurchase added to model 2019-09-19 16:30:29 -04:00
Kyle Spearrin
575a28e25f in-app purchase pre-check api 2019-09-19 08:52:57 -04:00
Kyle Spearrin
00b248155a added new payment method enums 2019-09-18 20:23:06 -04:00
Kyle Spearrin
ec012c9934 blackberry csv importer 2019-09-11 17:05:29 -04:00
Kyle Spearrin
255bd3962d localeNames mapped to iso codes 2019-09-06 09:33:09 -04:00
Kyle Spearrin
cc614e68d9 added isAppleMobileBrowser util 2019-09-06 09:06:01 -04:00
Kyle Spearrin
b74ee7b3ee memory stored pinProtectedKey 2019-08-29 09:40:50 -04:00
Kyle Spearrin
99d56d936f logmeonce csv importer 2019-08-26 10:06:20 -04:00
Kyle Spearrin
fbc7d6c2bc get rid of useCredentials variable 2019-08-22 12:04:15 -04:00
Kyle Spearrin
8a0d371d20 securesafe csv importer 2019-08-21 23:13:08 -04:00
Kyle Spearrin
94a12f7644 remove safari specific code from 2fa page 2019-08-21 10:05:00 -04:00
Kyle Spearrin
2ab6b9f330 allow duo for safari extension 2019-08-21 09:50:56 -04:00
Kyle Spearrin
ae37c2198b isViewOpen returns promise 2019-08-20 13:47:15 -04:00
Kyle Spearrin
1f98a2ebcb always set on subscribe 2019-08-16 20:54:21 -04:00
Kyle Spearrin
640c44820a SafariExtension not browser 2019-08-15 15:17:48 -04:00
Kyle Spearrin
e96fa17b61 dont use credentials for safari 2019-08-15 14:58:17 -04:00
Kyle Spearrin
4f876fc222 payment response for adjust seats 2019-08-10 13:14:53 -04:00
Kyle Spearrin
de9bcac0ec adjust storage with payment intent/method handling 2019-08-10 12:59:47 -04:00