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
Oscar Hinton
e516692559
Upgrade TypeScript ( #148 )
...
* Update typescript to 3.6.5 along with tslint to latest.
* Upgrade @types/node to 12.12.54 to get rid of compile errors.
* Update tslint.
* Use @types/node 10.17.28 instead
2020-08-12 15:42:42 -04:00
Addison Beck
420393700b
Misc jslib cleanups ( #146 )
...
Fixed on import parameter type on login.component and added a deprecation warning to the index.ts in abstractions
2020-08-11 10:47:30 -04:00
Vincent Salucci
7c3a9d61e6
[SSO] Login - added launchSsoBrowser method ( #144 )
...
* Added launchSsoBrowser method
* Updated let -> const
* Saved state/verifier to storage
2020-08-10 08:38:31 -05:00
Kyle Spearrin
1513b25a35
callbacks for argv from window main ( #141 )
2020-08-05 10:53:26 -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
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
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
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
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
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
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
hinton
34402571e7
Add newField property to FieldView, used for allowing edits for new fields
2020-06-03 20:45:53 +02: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
2a3e03c70d
[Soft Delete] - Included deleted flag on reload
2020-04-06 18:20:39 -04: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
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
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
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
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
Vincent Salucci
f8ada79135
Added missing clone mode condition ( #72 )
2020-02-18 21:17:21 -06:00
Vincent Salucci
3b8df85241
Show cipher collection ids during clone mode ( #67 )
2020-02-07 10:42:15 -05:00
Vincent Salucci
bb459ce4b4
Fixed lint warning ( #63 )
2020-02-04 16:07:31 -05:00
Vincent Salucci
08b1a022f6
Enabled ownership changes for cloned items ( #61 )
2020-02-01 15:28:45 -05:00
Vincent Salucci
337a7ba59f
[jslib] Updated shared components for cipher cloning ( #60 )
2020-01-28 17:19:49 -05:00
Kyle Spearrin
5819023bc4
no-store cache
2020-01-13 07:49:05 -05: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
b74ee7b3ee
memory stored pinProtectedKey
2019-08-29 09:40:50 -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
ff13cb2838
setComponentParameters from modal
2019-07-25 12:22:22 -04:00
Kyle Spearrin
84aab0cb24
export vault event
2019-07-12 17:11:36 -04:00
Kyle Spearrin
803dec26e7
client events for edit page
2019-07-12 10:41:09 -04:00
Kyle Spearrin
7bdca0dcb4
event logging on view page fixes
2019-07-09 13:08:36 -04:00
Kyle Spearrin
ff9c7bfa6a
add events to view page
2019-07-09 10:51:53 -04:00
Kyle Spearrin
05859a1df3
init u2f param
2019-07-03 10:37:26 -04:00
Kyle Spearrin
74c3019858
make protected
2019-07-02 08:44:39 -04:00
Kyle Spearrin
2aa71f98a1
re-set favicon state after unlock/login
2019-07-02 08:13:33 -04:00
Kyle Spearrin
75514d79a6
return on error
2019-06-26 17:50:37 -04:00
Kyle Spearrin
00f1aad65e
dont allow select no collections
2019-06-26 17:43:03 -04:00
Kyle Spearrin
24ffb55ce0
addEditCipherInfo w/ collections from state
2019-06-24 21:12:34 -04:00
Kyle Spearrin
802d38f52e
webVaultHostname
2019-06-03 09:53:18 -04:00
Marc
ac84a36206
Allow the lock screen to access the environmentService. ( #42 )
2019-06-03 09:46:54 -04:00
Kyle Spearrin
cd46f64993
implement AuthServiceAbstraction
2019-05-27 10:29:09 -04:00
Kyle Spearrin
7b1ffbbcc9
share page optimizations
2019-05-10 14:10:28 -04:00
Kyle Spearrin
bc43c68eb9
auth guard auth blocked message
2019-04-18 10:06:19 -04:00
Kyle Spearrin
45cb346be1
Revert "no need to just search name on edge any longer"
...
This reverts commit 20fb4d3a39
.
2019-04-12 09:56:15 -04:00
Kyle Spearrin
20fb4d3a39
no need to just search name on edge any longer
2019-04-12 09:50:24 -04:00
Kyle Spearrin
c63ff4485e
modal messages
2019-04-02 09:02:08 -04:00
Kyle Spearrin
1044a8759a
hide icon
2019-04-01 23:09:02 -04:00
Kyle Spearrin
6ac679355d
a11y title
2019-04-01 22:36:07 -04:00
Kyle Spearrin
2ef1b7d65c
rename select copy
2019-04-01 13:16:53 -04:00
Kyle Spearrin
0f72df3166
rename to select copy
2019-04-01 13:16:37 -04:00
Kyle Spearrin
f39bdc4269
fix lint issues
2019-03-27 14:46:34 -04:00
Kovah
19516c20ff
Add support for CdkDragDrop in add-edit.component.js ( #35 )
2019-03-27 14:22:59 -04:00
Kyle Spearrin
aebd1b57fc
make sure there isn't more content after newline
2019-03-21 10:05:31 -04:00
Kyle Spearrin
7bd0733b88
optimize newLinePos search
2019-03-21 09:55:45 -04:00
Philipp Rudloff
cefab5f47f
Fix appFlexCopy improperly trimming newlines and spaces ( #31 )
2019-03-21 09:51:37 -04:00
Kyle Spearrin
d8f9177c03
move ciphers paging in jslib for shared use
2019-03-19 11:31:53 -04:00
Kyle Spearrin
82f8f2b85e
set pinLocked based on failed check
2019-03-06 15:46:40 -05:00
Kyle Spearrin
199884e6ae
init functions
2019-03-06 14:31:32 -05:00
Kyle Spearrin
cc27f98aae
makeKeyFromPin in background context
2019-03-05 16:36:11 -05:00