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

80 Commits

Author SHA1 Message Date
Oscar Hinton
3c872e56f2
Revert "Password reprompt (#343)" (#353)
This reverts commit 372e139810.
2021-04-21 20:49:18 +02:00
Matt Gibson
3a1087456f
Rename CipherString and CipherArrayBuffer to Enc (#352) 2021-04-20 19:16:19 -05:00
Oscar Hinton
372e139810
Password reprompt (#343)
Add support for password reprompt on cipher items
2021-04-15 16:14:33 +02:00
Matt Gibson
0a0cdaa7fd
Fix cipher upload (#346)
* Upload correct data array

* Require BufferArray Encryption for upload to server

The CipherArrayBuffer tiny type is only created by CryptoService
and required by all upload methods

* Add test for attachment upload encryption
2021-04-14 10:47:10 -05:00
Matt Gibson
5c961ce847
Await file upload service (#314)
* Await file upload service

* Await file deletion on exception for file upload
2021-03-29 08:18:07 -05:00
Matt Gibson
afac694e9a
Attachment azure upload blobs (#312)
* Add direct attachment download and upload API endpoints

* Use direct download method

Enable download of emergency access attachments through EmergencyAccessId

* Match new Server model items

* New Server model for creating attachments.

Provides a url to upload data to, the type of upload, and the Cipher Response expected by the previous call

* Use direct upload url and scheme

* Report Failed single shot azure uploads

* Add cipher attachment upload to file upload service

* Deprecate legacy api methods

* Handle old servers missing new upload api methods

* Improve Send error handling

* Fallback attachment downloads on new endpoint not found

Limit upload size to the new 500MB

* Improve error handling

* lint fixes
2021-03-26 16:57:07 -05:00
Matt Gibson
58f40b0085
Fix glob processing in npm. Ban single param parens (#257) 2021-02-04 09:49:23 -06:00
Matt Gibson
cea09a22e5
Update revision date upon cipher restore (#243)
* Update revision date upon cipher restore

* Receive and use returned datetimes from restore
2021-01-08 08:53:41 -06:00
Matt Gibson
cd6b3d47c2
Include revision date in cipher requests (#203)
This is in conjunction with API changes that validates the last known
revision date provided here with the actual last revision date on the
server to block potential data loss due to client desyncs.

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-11-23 08:48:40 -06:00
Josep Marí
685636b129
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
2020-10-09 07:30:55 -04:00
Addison Beck
26d40d4c43
Add login launch data (#174)
* added launch time data to CipherView for autofill

* removed unused code

* fixed linter errors
2020-09-23 12:41:25 -04:00
Kyle Spearrin
3bf322a904 support defaultMatch for getAllDecryptedForUrl 2020-09-20 09:47:35 -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
Chad Scharf
e52df4f743 [Sot Delete] update to view and i18n for delete 2020-04-10 16:46:57 -04:00
Chad Scharf
19668ab5f2 [Soft Delete] jslib updates for new API updates
New API methods and cipher Deleted Date property, plus search expansion to toggle on deleted flag.
2020-04-03 16:32:15 -04:00
Kyle Spearrin
5819023bc4 no-store cache 2020-01-13 07:49:05 -05:00
Kyle Spearrin
bc5a6e02c1 native fetch with proxy support on node api 2019-06-24 11:07:26 -04:00
Kyle Spearrin
7252e7cad0 updates 2019-04-16 23:32:02 -04:00
Kyle Spearrin
d3a2dfe2e8 null checks 2019-04-15 21:15:35 -04:00
Kyle Spearrin
e979dd4f12 make blob first 2019-04-01 14:31:42 -04:00
Kyle Spearrin
2e9ce15715 default match detection setting 2019-01-09 11:59:11 -05:00
Kyle Spearrin
e10523cc61 getAll ciphers FromApiForOrganization 2018-12-14 13:55:44 -05:00
Kyle Spearrin
18ac2db323 normalize boolean type values for custom fields 2018-12-13 10:58:48 -05:00
Kyle Spearrin
9283a29d35 Domain match blacklist 2018-12-07 15:41:43 -05:00
Kyle Spearrin
be080f4f17 only use shareAttachmentWithServer for old attachments 2018-11-15 08:55:29 -05:00
Kyle Spearrin
17e7ee4838 support for new attachment keys 2018-11-13 20:43:45 -05:00
Kyle Spearrin
4165a78277 move attachment sharing logic to service 2018-10-23 22:10:08 -04:00
Kyle Spearrin
43c0cbce45 save share response 2018-10-23 16:16:59 -04:00
Kyle Spearrin
194374ea73 support org/collection selection on cipher add 2018-10-19 11:20:04 -04:00
Kyle Spearrin
b1ead78e34 throw error if trying to edit cipher with collection ids 2018-10-19 09:15:42 -04:00
Kyle Spearrin
bf48b45010 apis for new create with collections 2018-10-19 09:14:11 -04:00
Kyle Spearrin
ad97afc590 move getDomain to jslib Utils 2018-10-13 22:21:54 -04:00
Kyle Spearrin
c3f67dbe26 rename domain to domainBase for weird nativescript issue 2018-10-04 14:38:15 -04:00
Kyle Spearrin
2d612b07de no key safety check for orgs 2018-09-10 08:22:10 -04:00
Kyle Spearrin
d0c51bacfd sync folders and ciphers. fix dates 2018-08-20 16:01:26 -04:00
Kyle Spearrin
f16fc58d70 allow original cipher to be passed during encrypt 2018-08-15 11:43:52 -04:00
Kyle Spearrin
bdb2efd770 searchCiphersBasic 2018-08-13 14:28:10 -04:00
Kyle Spearrin
74c870683a sequentualize cipher service getAllDecrypted 2018-08-13 14:09:03 -04:00
Kyle Spearrin
b724448081 search service implementation with lunr 2018-08-13 09:42: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
cfa4664b31 null or empty on password changed checks 2018-07-30 16:40:16 -04:00
Kyle Spearrin
6a8d2c305e support for password revision date on logins 2018-07-27 17:48:18 -04:00
Kyle Spearrin
6d431f7832 keep last 5, not 4 2018-07-27 17:30:51 -04:00
Kyle Spearrin
dab9954887 send password history to server 2018-07-27 16:44:20 -04:00
Kyle Spearrin
c7e8f1d13f Revert "make getAllDecrypted synchronous"
This reverts commit 51ee0b065a.
2018-07-23 14:24:27 -04:00
Kyle Spearrin
51ee0b065a make getAllDecrypted synchronous 2018-07-18 22:47:55 -04:00
Kyle Spearrin
f35ecf0cd8 update key api changes 2018-07-17 17:22:45 -04:00
Kyle Spearrin
47ab71e730 admin functions for cipher attachments 2018-07-05 10:48:19 -04:00
Kyle Spearrin
ff8c1dfea9 org vault listing from apis 2018-07-03 23:33:15 -04:00