1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
Matt Gibson
09c444ddd4 Add send to cli (#253)
* Upgrade commander to 7.0.0

* Add url to Api call

This is needed to allow access to sends that are available from a
different Bitwarden server than configured for the CLI

* Allow upload of send files from CLI

* Allow send search by accessId

* Utils methods used in Send CLI implementation

* Revert adding string type to encrypted file data

* linter fixes

* Add Buffer to ArrayBuffer used in CLI send implementation
2021-01-29 15:08:52 -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
Kyle Spearrin
0e9e73ce95 Some groundwork for Send (#192)
* send work

* New method to update the last used index (#184)

Instead of updating it every time you call getNext(), it will be updated in a separate call, to avoid updating the index when the cipher did not auto-fill correctly (e.g wrong frame)
Fixes #1392

* added OnlyOrg to PolicyType enum (#183)

* [Require SSO] Add policy type enumeration (#186)

* Added SsoAuthentication policy type

* Updated policy type name // added comments for clarification of what each type controls

* [SSO] New user provision flow (#173)

* Initial commit of new user sso flow

* Adjusted stateSplit conditional per review

* Add logging to lowdb storage service (#188)

* Fix lint errors/warnings (#187)

* remove password api

* access id

* makeSendKey

Co-authored-by: Josep Marí <xusoo@users.noreply.github.com>
Co-authored-by: Addison Beck <abeck@bitwarden.com>
Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
2020-11-02 15:58:18 -05: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
57649f31c4 Moved error checking to utils, where parse is 2020-07-10 10:01:15 -05:00
Kyle Spearrin
eef9588646 check for empty string on malformed URL (#108) 2020-06-01 14:31:42 -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
jgfaust
c91ab626c2 The domain of data URLs should be null. (#59) 2020-01-25 07:52:51 -05:00
Kyle Spearrin
034aefa652 isGuid util 2019-10-01 11:03:51 -04:00
Kyle Spearrin
cc614e68d9 added isAppleMobileBrowser util 2019-09-06 09:06:01 -04:00
Kyle Spearrin
cb7336c0e8 null or whitespace util 2019-01-15 11:34:35 -05:00
Kyle Spearrin
f3f17138c8 check for existing protocol 2019-01-07 10:40:11 -05:00
Kyle Spearrin
e7464785e1 allow launching URLs without protocol than end with tld 2019-01-07 10:33:13 -05:00
Kyle Spearrin
ad97afc590 move getDomain to jslib Utils 2018-10-13 22:21:54 -04:00
Kyle Spearrin
c35576deb8 ns updates and overloads 2018-10-13 00:11:06 -04:00
Kyle Spearrin
46f9e17056 add nativescript support to utils 2018-09-10 15:57:59 -04:00
Kyle Spearrin
2bc7c42733 catch security errors on ie when reading hostname 2018-08-22 08:37:52 -04:00
Brandon Davis
a5476f12aa feature/cli-18-import (#8)
* feature/cli-18-import

* updates to jslib
2018-08-06 09:37:56 -04:00
Kyle Spearrin
a26527b500 is mobile browser checks on autofocus 2018-08-01 09:13:49 -04:00
Kyle Spearrin
41ab22a82f support for otpauth:// urls for totp codes 2018-07-31 11:25:50 -04:00
Kyle Spearrin
7b23b90054 org user apis, sort function utils 2018-07-06 15:00:55 -04:00
Kyle Spearrin
f40451ecc5 ie fixes 2018-06-07 23:36:39 -04:00
Kyle Spearrin
79f8370f7c fix node check 2018-05-31 09:13:38 -04:00
Kyle Spearrin
f618c0b5ee replace electron store with lowdb 2018-05-31 09:07:56 -04:00
Kyle Spearrin
5850a590ce utils global 2018-05-14 23:41:12 -04:00
Kyle Spearrin
33c3af3a8e require node URL 2018-04-25 16:30:18 -04:00
Kyle Spearrin
768ab7dd0a b64 to utf8 utils 2018-04-23 13:45:40 -04:00
Kyle Spearrin
0fa9fc58eb refactor utils service to utils 2018-04-23 13:03:47 -04:00
Kyle Spearrin
5e7115f78d implement crypto functions in more places 2018-04-21 23:55:21 -04:00
Kyle Spearrin
d73012efc8 rsa encrypt and decrypt tests 2018-04-20 15:32:25 -04:00
Kyle Spearrin
3b2b48dd8d misc utils for browser and node 2018-04-20 10:59:55 -04:00