Commit Graph

287 Commits

Author SHA1 Message Date
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
Kyle Spearrin 200effe772 switch from readline sync to inquirer 2018-05-23 11:16:23 -04:00
Kyle Spearrin 8207e703ac remove self updates 2018-05-23 09:02:47 -04:00
Kyle Spearrin 7ed7068fa9 self updates are only available in packaged executables 2018-05-22 22:31:02 -04:00
Kyle Spearrin 0b06802a3d self updates are not available for windows 2018-05-22 22:22:08 -04:00
Kyle Spearrin 4d21b03ab2 preserve current permissions 2018-05-22 20:06:04 -04:00
Kyle Spearrin 07f927b2a9 chmod mode is string 2018-05-22 19:41:17 -04:00
Kyle Spearrin b12783910a make downloaded update executable 2018-05-22 19:31:29 -04:00
Kyle Spearrin 14e5291cae use execPath if in pkg 2018-05-22 19:15:35 -04:00
Kyle Spearrin 276affd8eb update self 2018-05-22 17:36:54 -04:00
Kyle Spearrin 2f2a18d9ae zip files have version number in them now 2018-05-22 17:08:56 -04:00
Kyle Spearrin 9233d78c2f update command 2018-05-22 14:49:20 -04:00
Kyle Spearrin 0aa0d89396 notnull 2018-05-21 09:14:58 -04:00
Kyle Spearrin 2ff868aeb3 return new/edited object for create/edit 2018-05-19 14:53:28 -04:00
Kyle Spearrin 2e8d0aaf53 list and get organizations 2018-05-18 15:26:59 -04:00
Kyle Spearrin 24f01b4006 --response option 2018-05-18 11:34:14 -04:00
Kyle Spearrin 80eb38c915 update help docs descriptions 2018-05-18 11:24:49 -04:00
Kyle Spearrin 649bc20430 new line at end of help 2018-05-18 11:14:47 -04:00
Kyle Spearrin 24cb2b0cdb write final line with new line on non-windows 2018-05-18 11:07:38 -04:00
Kyle Spearrin f62f181136 pass in new dependencies 2018-05-18 10:58:30 -04:00
Kyle Spearrin fc5043f07e premium and enc key checks 2018-05-18 10:55:50 -04:00
Kyle Spearrin 33f0f5eae0 update template ids 2018-05-18 09:16:34 -04:00
Kyle Spearrin e671375749 session key 2018-05-17 16:40:43 -04:00
Kyle Spearrin 7d227a4b85 id desc 2018-05-17 16:21:12 -04:00
Kyle Spearrin c0422ec77f restructure attachment commands 2018-05-17 15:55:44 -04:00
Kyle Spearrin 0a518a96b1 create attachment command 2018-05-17 15:33:36 -04:00
Kyle Spearrin 549422ea63 BWCLI_ENV 2018-05-17 13:50:28 -04:00
Kyle Spearrin c62c28677a support custom data dir with BITWARDENCLI_APPDATA_DIR 2018-05-17 13:46:40 -04:00
Kyle Spearrin 7abc87992a delete attachment from item 2018-05-17 13:43:53 -04:00
Kyle Spearrin df024379c8 get items attachment command 2018-05-17 13:28:22 -04:00
Kyle Spearrin 05535cc134 get exposed 2018-05-17 11:07:53 -04:00
Kyle Spearrin 36421c9144 add export command 2018-05-17 10:58:30 -04:00
Kyle Spearrin 02886b266c config command 2018-05-17 00:07:44 -04:00
Kyle Spearrin 1a3a2d0e36 adjust main options 2018-05-16 23:34:58 -04:00
Kyle Spearrin 05e6c242b6 help on main examples 2018-05-16 23:32:14 -04:00
Kyle Spearrin 576c529b10 powershell examples 2018-05-16 23:27:47 -04:00
Kyle Spearrin 9dd7af67b3 help docs for all commands 2018-05-16 23:23:12 -04:00
Kyle Spearrin 07cb4d5ff8 accept requestJson for create/edit as stdin 2018-05-16 22:40:48 -04:00
Kyle Spearrin 9cce555899 Revert "remove new line"
This reverts commit bf7ab981b2.
2018-05-16 22:27:00 -04:00
Kyle Spearrin bf7ab981b2 remove new line 2018-05-16 22:23:14 -04:00
Kyle Spearrin 5fc91064f4 update help 2018-05-16 22:21:29 -04:00
Kyle Spearrin 1157c074ad remove mkdirp lib 2018-05-16 22:17:38 -04:00
Kyle Spearrin b425b6f509 create app dir if not exists 2018-05-16 21:38:45 -04:00
Kyle Spearrin fc63fd32c8 store current installed version 2018-05-16 21:19:23 -04:00
Kyle Spearrin f9cb8a7a31 Merge branch 'master' of github.com:bitwarden/cli 2018-05-16 21:16:44 -04:00
Kyle Spearrin b4678e53d2 full sync after login 2018-05-16 21:16:42 -04:00
Kyle Spearrin 1c4449565e fix path issues with user home dir 2018-05-16 20:11:14 -04:00
Kyle Spearrin 2170ebc6c7 2fa strings and supports duo false 2018-05-16 15:35:24 -04:00
Kyle Spearrin cd54aedb9f lowdb storage service 2018-05-16 15:22:32 -04:00
Kyle Spearrin 2ebacc3f0c examples in help 2018-05-16 14:47:03 -04:00
Kyle Spearrin 42e46fad78 get username, password, uri 2018-05-16 13:59:08 -04:00
Kyle Spearrin 3a53e2d208 move last sync and generapte password out to other commands 2018-05-16 13:53:12 -04:00
Kyle Spearrin 8a337893da not implemented errors 2018-05-16 12:39:11 -04:00
Kyle Spearrin e73a00f4a2 multiple results response 2018-05-16 12:00:40 -04:00
Kyle Spearrin 0490c6ba3f allow gets by search term 2018-05-16 11:54:59 -04:00
Kyle Spearrin df7ccaea9d move search functions to utils helper 2018-05-16 11:17:40 -04:00
Kyle Spearrin c82ded58eb added search and filter options for list command 2018-05-16 10:56:46 -04:00
Kyle Spearrin 8331190486 quiet options 2018-05-16 10:29:57 -04:00
Kyle Spearrin 8d66118b19 lock/unlock commands 2018-05-16 10:25:25 -04:00
Kyle Spearrin e7782b2082 centralize stdout on success 2018-05-16 08:37:05 -04:00
Kyle Spearrin 8fd74688b1 get password 2018-05-16 00:06:58 -04:00
Kyle Spearrin 86700fe7ef shorter logout 2018-05-15 23:48:50 -04:00
Kyle Spearrin 50a019946e logout async 2018-05-15 23:40:40 -04:00
Kyle Spearrin 6663731630 clear BW_SESSION at the end of logout 2018-05-15 23:28:03 -04:00
Kyle Spearrin 6fff69c0ea logout command 2018-05-15 23:26:36 -04:00
Kyle Spearrin 33effb1a4d message response 2018-05-15 22:47:52 -04:00
Kyle Spearrin 892f13f8ee session option, auth and locked checks 2018-05-15 22:10:24 -04:00
Kyle Spearrin 42819961b7 get last sync 2018-05-15 21:22:39 -04:00
Kyle Spearrin 807cca2bd2 secure storage with env session key 2018-05-15 21:11:58 -04:00
Kyle Spearrin e8a3325ec9 parse two step login options 2018-05-15 17:17:47 -04:00
Kyle Spearrin e3eea736ed two-step login prompts 2018-05-15 14:21:42 -04:00
Kyle Spearrin 9ce758e859 folder and collection templates 2018-05-15 12:53:08 -04:00
Kyle Spearrin 1aa937724e return id when creating 2018-05-15 12:49:09 -04:00
Kyle Spearrin 8e23842399 pretty print json 2018-05-15 12:44:10 -04:00
Kyle Spearrin 07cc64c0b8 refactor req/res models 2018-05-15 12:18:47 -04:00
Kyle Spearrin 1d3ed93bff edit command 2018-05-15 11:30:56 -04:00
Kyle Spearrin 83e91b70ff fix errors 2018-05-15 11:08:55 -04:00
Kyle Spearrin eb83569f2f chalk and source maps 2018-05-15 10:50:06 -04:00
Kyle Spearrin 4326cec40c node api service 2018-05-14 23:57:02 -04:00
Kyle Spearrin 4b5bab3c0e lint fixes 2018-05-14 23:40:11 -04:00
Kyle Spearrin ec049edfdf switch to webpack 2018-05-14 23:16:59 -04:00
Kyle Spearrin 55ebf3ac64 map item create request objects 2018-05-14 22:15:25 -04:00
Kyle Spearrin b5507813ab sub out create command 2018-05-14 21:19:49 -04:00
Kyle Spearrin 428f46af06 cleanup imports 2018-05-14 17:25:44 -04:00
Kyle Spearrin 9b99c299e4 encode command 2018-05-14 17:13:57 -04:00
Kyle Spearrin 85770b7cbb get templates 2018-05-14 16:25:14 -04:00
Kyle Spearrin a1238ff685 delete command 2018-05-14 15:08:48 -04:00
Kyle Spearrin 4166efceca force sync option 2018-05-14 14:58:18 -04:00
Kyle Spearrin 4f3f84539d cli response objects 2018-05-14 14:54:19 -04:00
Kyle Spearrin 3dd38cbe12 list and get commands 2018-05-14 13:37:52 -04:00
Kyle Spearrin 2557f7239c debug new classes 2018-05-14 11:59:34 -04:00
Kyle Spearrin 7f0f4a11f8 main and program are classes 2018-05-14 11:15:54 -04:00
Kyle Spearrin ad2fa7efbb application data directory 2018-05-14 08:26:00 -04:00
Kyle Spearrin 70c7b182ae setup storage service and log in 2018-05-13 00:19:14 -04:00
Kyle Spearrin 8f49b58d2e stub out some services 2018-05-12 21:24:28 -04:00
Kyle Spearrin bb54e2a381 command structure. debugging 2018-05-12 15:12:28 -04:00
Kyle Spearrin e38fa3638c stub out some commands 2018-05-11 13:47:18 -04:00