1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-13 10:24:20 +01:00
Commit Graph

1090 Commits

Author SHA1 Message Date
Kyle Spearrin
0a20face13
check authed before checking if token has premium (#170) 2020-09-18 15:02:49 -04:00
Chad Scharf
27bcbf4b41
Conditional load of biometrics API on Win10+ (#169)
* Conditional load of biometrics API on Win10+

* consolidate if block

* Return -1 instead of null
2020-09-17 15:36:11 -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
0bff8bcd56
changed the way we load planResponse objects in organizationResponse objects (#167) 2020-09-08 09:17:04 -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
Kyle Spearrin
bffec57e02
change to environmentService.getWebVaultUrl (#162) 2020-09-03 10:35:24 -04:00
Kyle Spearrin
700e945008 reduce cache ttl to 3 seconds 2020-08-27 14:58:37 -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
Kyle Spearrin
e55528e617
adds support for yoti csv importer (#157) 2020-08-24 12:21:17 -04: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
Kyle Spearrin
9957125d3a
dont set keys if not there on sso (#152)
* dont set keys if not there on sso

* a comment
2020-08-17 14:27:44 -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
Kyle Spearrin
ed6978baff
add support for org identifier to api models (#149) 2020-08-12 16:38:32 -04:00
Josep Marí
5c62938dbb
Add new method for cycling through every login (#142)
* Add new method for cycling through every login

To be used from browser extension when autofilling.
Related PR: https://github.com/bitwarden/browser/pull/956

* Cache sorted ciphers by URL and invalidate them after a period of 5 seconds

* Move file to models
2020-08-12 15:59:59 -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
b32b016f82
Merge plan and price updates (#145)
* Created a PlanResponse model & relevant API request for getting plan data from the server
2020-08-11 14:20:39 -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
Chad Scharf
7c0c06705e
added try-catch around ext module calls (#143) 2020-08-06 12:27:49 -04:00
Kyle Spearrin
1513b25a35
callbacks for argv from window main (#141) 2020-08-05 10:53:26 -04:00
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
34382970f0 Merge branch 'Feature.Web.534.AllowMultiSelectInOrgVault' of https://github.com/bitwarden/jslib into Feature.Web.534.AllowMultiSelectInOrgVault 2020-08-03 22:24:46 -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
Addison Beck
ff98bdcce4 moved some logic back to web project for cipher selection 2020-08-03 22:12:31 -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