Commit Graph

246 Commits

Author SHA1 Message Date
Kyle Spearrin bd0f28b3be
SSO login (#154)
* support sso login

* update jslib

* set clientid in base login command
2020-08-03 12:30:32 -04:00
Kyle Spearrin 72c56ca506
updates to status command and add hidePasswords (#146)
* a few updates to the recent status addition

* add hidePasswords functionality
2020-06-17 11:01:34 -04:00
Jarimatti Valkonen 62c7c30cb4
Add status command (#145)
* Show vault status.

The status is shown as 'unauthenticated', 'locked', or 'unlocked'.

* Add more status command fields.

Added `serverUrl`, `lastSync`, `userEmail`, and `userId`.

* Add status help text.
2020-06-16 20:43:30 -04:00
Kyle Spearrin d6c5d0ec1c Formatting and lint fixes 2020-05-26 09:34:44 -04:00
Munif Tanjim 723ff201f6
add completion generation for zsh (#137) 2020-05-26 09:17:41 -04:00
Chad Scharf 5dd9963618 [Soft Delete] soft-delete by default 2020-04-14 14:32:43 -04:00
Chad Scharf 49f1fac3ed Added --trash to delete cmd, added restore cmd 2020-04-14 13:04:19 -04:00
Vincent Salucci 967c3e5b33 Update vaultTimeoutService init 2020-04-06 12:02:18 -05:00
Vincent Salucci 6916d68f37 Update jslib 31a2574 -> 28e3fff, update vault timeout service deps 2020-04-03 09:47:45 -05:00
Kyle Spearrin f5426469bb only block interaction if env var set
resolves #118
2020-03-12 15:37:44 -04:00
Kyle Spearrin 60e8aa3518 dirname of execPath 2020-03-09 13:32:22 -04:00
Kyle Spearrin d91a24a8e9 try loading data.json from `./bw-data` 2020-03-09 12:06:38 -04:00
Kyle Spearrin ef602ff6a4
enforce policies on generate command (#115) 2020-03-03 16:29:10 -05:00
Kyle Spearrin 05a03acd3f update jslib and construct policy service 2020-01-28 22:37:44 -05:00
Kyle Spearrin e7450d27e4 prompt for unlock if can interact 2019-10-21 16:04:51 -04:00
Kyle Spearrin 268852035a try to filter some get requests 2019-10-21 14:16:16 -04:00
Kyle Spearrin aae783333d show example 2019-10-10 21:25:47 -04:00
Kyle Spearrin 492bc32aa3 get config value when value not provided 2019-10-10 21:23:56 -04:00
Kyle Spearrin 93c2ce2582 allow org exports 2019-10-07 11:01:30 -04:00
Kyle Spearrin 99c4291ee7 confirm org members command 2019-10-07 10:42:02 -04:00
Kyle Spearrin 341421380f CLI user agent 2019-10-07 10:12:39 -04:00
Kyle Spearrin e781de9f34 list org-members command 2019-10-07 09:58:19 -04:00
Kyle Spearrin 1de6c2884b org collection list command 2019-10-01 11:29:25 -04:00
Kyle Spearrin 04df76e83f org collection edit command 2019-10-01 11:16:24 -04:00
Kyle Spearrin abcd43b4ba delete org collection command 2019-10-01 11:04:15 -04:00
Kyle Spearrin 77d24f6b8a get org collection 2019-09-25 17:11:48 -04:00
Kyle Spearrin d2ef504b40 org collection create and get template 2019-09-25 16:08:59 -04:00
operator-name 3915e43435 Fix to not output newline if redirecting to a file (#89) 2019-09-09 12:07:15 -04:00
Simon Legner 6c1752d86f cli: add `bw config server` to examples (#85) 2019-09-03 11:03:02 -04:00
Kyle Spearrin f6bb228249 write failed responses to stderr 2019-06-04 21:03:26 -04:00
Kyle Spearrin 0747744fbb small fixes 2019-04-19 17:41:15 -04:00
Estelle Poulin 89419c4fa5 add unlock check option (#54) (#57) 2019-04-19 17:38:02 -04:00
Kyle Spearrin 6078618afb premises 2019-04-04 00:45:39 -04:00
Kyle Spearrin 44e0e4744b update jslib 2019-03-19 15:53:02 -04:00
Kyle Spearrin b846ce3f89 use shared login/logout commands 2019-03-18 10:33:43 -04:00
Kyle Spearrin 87f7ad680a base cli program 2019-03-16 11:27:27 -04:00
Kyle Spearrin a3ba833f0d move shared CLI items to jslib 2019-03-15 22:34:59 -04:00
Kyle Spearrin 637241e27d implement readFromClipboard util 2019-02-26 22:45:59 -05:00
Kyle Spearrin 290afc7ac2 use cipher id, not search id. resolves #55 2019-02-19 09:19:52 -05:00
Kyle Spearrin 6aca111ce0 fix issue with ws module for jsdom 2019-02-07 22:17:22 -05:00
Kyle Spearrin cd5da2cc70 use jsdom lib for DOMParser 2019-02-07 16:56:36 -05:00
Kyle Spearrin c64fbda900 polyfill DomParser with xmldom package 2019-02-07 15:46:22 -05:00
Kyle Spearrin c8a3058869 use message response 2019-01-15 11:55:12 -05:00
Estelle Poulin 22062cc9f6 add login check option (#47) 2019-01-15 11:46:58 -05:00
Estelle Poulin 80bb03de91 support xdg environment vars (#46) 2019-01-14 15:33:14 -05:00
Kyle Spearrin 920ce30dd0 export file format option 2018-12-17 10:36:40 -05:00
Kyle Spearrin 33deb4cda6 move export models to jslib 2018-12-17 10:30:06 -05:00
Kyle Spearrin 2bc488b956 support for attachment key on get 2018-12-07 21:55:32 -05:00
Kyle Spearrin f4887b62c0 add get fingerprint <id> command 2018-11-16 10:02:22 -05:00
Kyle Spearrin 7e56a687e3 share command 2018-10-23 22:56:15 -04:00
Kyle Spearrin ac9cf91002 org id check on edit collections 2018-10-23 19:04:32 -04:00
Kyle Spearrin e0b9d84ad5 edit item collections 2018-10-23 17:31:59 -04:00
Kyle Spearrin be1e03c49f parens on ORs 2018-10-14 00:09:53 -04:00
Kyle Spearrin 73c597f649 add `list items --url <url>` command. resolves #32 2018-10-13 22:27:33 -04:00
Kyle Spearrin 729965aae2 should be != null check 2018-10-11 16:46:04 -04:00
Kyle Spearrin bd381073b0 passphrase generator on CLI 2018-10-08 22:57:36 -04:00
Kyle Spearrin 783e7fc834 dont await void methods 2018-10-04 12:05:41 -04:00
Kyle Spearrin dbca2a64e0 implement eventTrack 2018-10-03 10:48:28 -04:00
Kyle Spearrin 9afd50541b update showToast signature 2018-10-02 23:34:28 -04:00
Kyle Spearrin 39f615d5d7 null check collection ids filter 2018-09-11 08:45:40 -04:00
Kyle Spearrin c605f99ae2 Fix !== null checks 2018-08-30 21:48:04 -04:00
Kyle Spearrin 208c7f1996 fix deps 2018-08-29 09:36:47 -04:00
Kyle Spearrin cfe3d9ae5f attachments accessible if can access premium 2018-08-29 09:22:24 -04:00
Kyle Spearrin 3fa63ee2c2 user canAccessPremium checks 2018-08-28 23:17:44 -04:00
Kyle Spearrin f704b62db5 mode is string '700' 2018-08-27 23:12:53 -04:00
Kyle Spearrin 9f70c888a6 update with jslib changes 2018-08-20 17:10:18 -04:00
Casey Watson 4b99745114 Don't show * mask when entering password (#23)
- The * mask has the potential to leak the users password length and
should not be used.

Fixes #8
2018-08-16 16:01:25 -04:00
Kyle Spearrin e3c2be9e84 password is not needed for import 2018-08-16 14:43:12 -04:00
Kyle Spearrin acd562e18c prelogin kdf info 2018-08-14 15:13:40 -04:00
Kyle Spearrin 314cef78fd implement search service 2018-08-13 14:38:04 -04:00
Kyle Spearrin f988c77755 update for jslib importer service changes 2018-08-06 11:43:07 -04:00
Kyle Spearrin 59efdbd43e move import before export 2018-08-06 10:47:11 -04:00
Kyle Spearrin 887b1f1a6d fix bug in readFile 2018-08-06 10:41:52 -04:00
Kyle Spearrin 336e4acdd0 standardize import command 2018-08-06 10:38:32 -04:00
Brandon Davis 47b5b9f950 feature/18-import (#19)
* fix #18

* Add locked check
2018-08-06 09:38:17 -04:00
Kyle Spearrin e0ff13e193 check response in all cases 2018-08-03 11:27:42 -04:00
Kyle Spearrin 9552ce4997 dev server urls 2018-07-30 12:01:24 -04:00
Kyle Spearrin f47f100c0b add password history and updated dates to responses 2018-07-30 11:33:50 -04:00
Kyle Spearrin 7edb59324d exit immediately option 2018-07-25 10:08:25 -04:00
Kyle Spearrin 42e0a98fda update device string 2018-07-09 09:30:45 -04:00
Kyle Spearrin 26baac529e update devicetype enums 2018-07-09 09:13:54 -04:00
Kyle Spearrin 085b7c10fe api service to audit service 2018-07-07 23:52:06 -04:00
Kyle Spearrin f4948b099f cleanup unused imports 2018-07-05 16:21:11 -04:00
Kyle Spearrin bfbe450256 export csv fix 2018-07-05 15:29:40 -04:00
Kyle Spearrin 0643ca460c update jslib with export deps 2018-07-05 14:42:33 -04:00
Kyle Spearrin 11ede29f9a isSelfHost 2018-06-30 13:51:25 -04:00
Kyle Spearrin e78b2880e0 adjust deps on folder service 2018-06-25 15:03:57 -04:00
Kyle Spearrin 6fbcfcad7b set exit code instead of exiting 2018-06-20 14:42:21 -04:00
Kyle Spearrin 2418e200ed Revert "Remove calls to process.exit() which forces async calls to exit early (#15)"
This reverts commit 87be2e86fa.
2018-06-20 14:41:00 -04:00
Keith Kelly 87be2e86fa Remove calls to process.exit() which forces async calls to exit early (#15)
* Update invocations of inquirer.js prompts to output prompt to stderr.

fixes #7

* Updates to use updated typings from @types/inquirer

* Removes extraneous async / await from writeLn
2018-06-20 14:37:03 -04:00
Kyle Spearrin 04b63d16ee formatting 2018-06-18 22:11:05 -04:00
Keith Kelly c7160c0870 Use stderr for prompts to better allow scripting (#14)
* Update invocations of inquirer.js prompts to output prompt to stderr.

fixes #7

* Updates to use updated typings from @types/inquirer
2018-06-18 22:07:45 -04:00
Kyle Spearrin a1b0dcf8fa fix incorrect type on cipher model 2018-06-13 23:15:34 -04:00
Kyle Spearrin 47864c4c39 use hasKey helper 2018-06-13 17:20:09 -04:00
Kyle Spearrin 055eae39e7 implement lock timeout 2018-06-09 14:50:34 -04:00
Kyle Spearrin babaa11f8c isIE 2018-06-07 23:37:07 -04:00
Kyle Spearrin 9a42197981 allow low db to cache 2018-06-05 14:44:51 -04:00
Kyle Spearrin 343a43df69 cli identity client id 2018-05-31 16:53:45 -04:00
Kyle Spearrin ce1887154b implement showToast 2018-05-31 14:43:45 -04:00
Kyle Spearrin a9e3d31b07 move lowdb to jslib 2018-05-31 09:08:54 -04:00