1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-30 08:10:34 +01:00
Commit Graph

50 Commits

Author SHA1 Message Date
Addison Beck
179f1dfe5d
[refactor(Account Switching)] Implement StateService (#424) 2021-12-28 15:38:51 -05:00
Oscar Hinton
910b4a24e6
Apply Prettier (#426) 2021-12-20 18:04:00 +01:00
Oscar Hinton
477066118e
Add jslib as a "real" dependency (#321)
* Split jslib

* Bump jslib

* Bump jslib, replace alias with tsconfig-paths-webpack-plugin
2021-06-07 19:25:55 +02:00
Oscar Hinton
1b22c91f35
Bump node to 14 (#296)
* Bump node to 14

* Change engine node to ~14. Fix linting
2021-05-14 14:30:26 +02:00
Matt Gibson
1ed637e123
Replace cipher results with filtered results (#301) 2021-05-12 08:09:34 -05:00
Hannu Hartikainen
80f34d5de5
Add bw get notes <id> command (#255)
Rationale: the notes object is a freeform plain-text field that's
prominently displayed in Web Vault. It is also useful for the CLI users
as discussed before in issues #81 and #196. I have some use cases
planned myself.

I was rather surprised this wasn't supported already, but the
implementation is simple and cannot really break any existing
functionality so here it is.
2021-05-11 21:19:47 -05:00
Matt Gibson
63f522026b
Get Attachment Download url from server (#295) 2021-04-29 09:49:04 -05:00
Oscar Hinton
9c55d78ffc
Update dependencies (#292)
* Update dependencies

* Remove types which are no longer needed

* Bump jslib

* Revert pkg to 4.5.1 since 5.0.0 does not compile on linux.

* Bump pkg-fetch in build pipeline
2021-04-23 21:04:11 +02:00
Matt Gibson
21ca15fb84
update jslib (#293)
* update jslib

* update jslib
2021-04-21 14:24:59 -05:00
Matt Gibson
e77e1c94e8
Simplify send templates (#237)
* Simplify Send templates

* Fix internal template reference

* No trailing whitespace
2021-02-26 12:47:11 -06:00
Matt Gibson
3b91a2c72b
Ban single paren arrow functions (#226)
* Fix glob processing in npm. Ban single param parens

* Match typescript linter rules
2021-02-03 22:51:59 -06:00
Ben Mezger (seds)
116d7a4062
Fix: don't check filename by index when listing attachments (#224)
* don't check filename by index

* Fix: Filter by exact matches
2021-02-03 12:06:39 -06:00
Matt Gibson
57f7cf607a
Add send to cli (#222)
* Add list all sends and filter by search term

* Add get send templates

* Add AccessUrl to send responses

* Add Send to Get command

* Add missing command options to login

These options are already coded to work in the command, but commander
did not know about the options.

* Upgrade Commander to 7.0.0

This is needed to enable the subcommand chaining required by Send.

This commit also adds get send and send receive functionality. get send
will be moved to send get along with send list and any other send commands.

* Use api url for send access url

* Move send commands to send subcommands

* Use webvault access url everywhere

Production instances all have api url located at `baseUrl/api`.
Receive command will parse the webvault url and alter it to an api url.

* Move create and receive commands to send directory

* Separate program concerns

program holds authentication/general program concerns
vault.program holds commands related to the vault
send.program holds commands related to Bitwarden Send

* Fix up imports and lint items

* Add edit command

* Use browser-hrtime

* Add send examples to help text

* Clean up receive help text

* correct help text

* Add delete command

* Code review Cleanup

* Scheme on send receive help text

* PR review items

Move buffer to array buffer to jslib
delete with server
some formatting fixes

* Add remove password command

This is the simplest way to enable removing passwords without
resorting to weird type parsing of piped in Send JSONs in edit

* Default hidden to false like web

* Do not allow password updates that aren't strings or are empty

* Delete appveyor.yml.flagged-for-delete

* Correctly order imports and include tslint rule

* fix npm globbing problem

https://stackoverflow.com/a/34594501
globs work differently in package.json. Encasing the globs in
single quotes expands them in shell rather than in npm

* Remove double slash in path

* Trigger github rebuild
2021-02-03 11:44:33 -06:00
Thomas Rittson
8dd55dc80f Add null check when getting attachment from item 2021-01-20 06:39:18 +10:00
Andreas Schneider
f2530c133e
Export to stdout (#152)
* describe file-saving and add helper to write to stdout if appropriate

* allow writing attachments to stdout

* allow writing export to stdout

* add help texts for export and get
2020-08-25 14:24:43 -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
Kyle Spearrin
268852035a try to filter some get requests 2019-10-21 14:16:16 -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
Kyle Spearrin
a3ba833f0d move shared CLI items to jslib 2019-03-15 22:34:59 -04:00
Kyle Spearrin
290afc7ac2 use cipher id, not search id. resolves #55 2019-02-19 09:19:52 -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
e0b9d84ad5 edit item collections 2018-10-23 17:31:59 -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
314cef78fd implement search service 2018-08-13 14:38:04 -04:00
Brandon Davis
47b5b9f950 feature/18-import (#19)
* fix #18

* Add locked check
2018-08-06 09:38:17 -04:00
Kyle Spearrin
2e8d0aaf53 list and get organizations 2018-05-18 15:26:59 -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
c0422ec77f restructure attachment commands 2018-05-17 15:55:44 -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
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
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
8fd74688b1 get password 2018-05-16 00:06:58 -04:00
Kyle Spearrin
42819961b7 get last sync 2018-05-15 21:22:39 -04:00
Kyle Spearrin
9ce758e859 folder and collection templates 2018-05-15 12:53:08 -04:00
Kyle Spearrin
07cc64c0b8 refactor req/res models 2018-05-15 12:18:47 -04:00
Kyle Spearrin
4b5bab3c0e lint fixes 2018-05-14 23:40:11 -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
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