1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-18 07:25:15 +02:00
Commit Graph

306 Commits

Author SHA1 Message Date
Oscar Hinton
25a91313ad
Password reprompt fixes (#393)
* Hide card secrets, and ensure password is reprompted when navigating away

* Check password reprompt before downloading attachments
2021-05-28 19:38:04 +02:00
Thomas Rittson
5f1ad85dd1
Fix lockGuard logic (#384)
* Fix lockGuard logic

* add missing return values
2021-05-20 21:05:17 +10:00
Thomas Rittson
3d4ecaeb6a
"Auto-fill on page load" options (#199)
* add autofill on page load props to models and view

For new per-login autofill on page load settings

* filter and cache ciphers per autofill setting

Used by the new autofill on page load feature to identify
matching ciphers and filter according to their autofill setting

* fix null check on array

* fix linting and style errors

* change cacheKey to avoid collision with real url

* Fix linting, set default value for aopl-options

* Fix linting

* update UI

* Remove autofillOnPageLoad from export

* Change enum to boolean

* Add storage key for autofillOnPageLoad default

* fix style
2021-05-18 10:08:28 +10:00
Thomas Rittson
8244971026
Refactor Send 'copy link' functionality (#373) 2021-05-12 06:39:31 +10:00
Matt Gibson
2750ca7586
Reject form promises for proper error handling (#371) 2021-05-10 09:43:57 -05:00
Thomas Rittson
d184b0d2d6
Default values for cipher.reprompt (#367)
* Set default cipher.reprompt value for imports

* Set default cipher.reprompt value for new ciphers

* Add support for importing bitwarden exports

* Add default cipher.reprompt for JSON imports

Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-05-05 17:54:17 +10:00
Oscar Hinton
e2cb9b6bef
Include encrypt in formPromise (#368)
* Include encrypt in formPromise
2021-05-04 16:26:26 +02:00
Oscar Hinton
a72c8a60c1
Password reprompt (#357) 2021-04-29 13:31:21 +02:00
Thomas Rittson
4eb50d757d
Let subclasses override create Send success msg (#362) 2021-04-27 07:30:47 +10:00
Chad Griffis
b6f102938f
Update color-password.pipe.js to handle Unicode/Emoji correctly accross platforms. (#354) 2021-04-22 16:56:36 -04:00
Oscar Hinton
aca098645a
Bump dependencies (#350)
* Bump dependencies
2021-04-22 21:17:14 +02:00
Matt Gibson
11fff06b8c
Use new attachment download data (#355)
* Use new attachment download data

* lint fix
2021-04-22 09:30:53 -05:00
Thomas Rittson
36641f07b9
Add unauthGuard and lockGuard to prevent unintended navigation (#351)
* Lift web repo unauthGuardService up to jslib

* Add lockGuard (requires vault to be locked)

* Fix linting
2021-04-22 07:52:48 +10:00
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
Thomas Rittson
66eec2b022
Use sync instead of token to manage emailVerified (#344) 2021-04-15 07:00:49 +10:00
Oscar Hinton
92df633040
Remove last remnants of old analytics code (#345) 2021-04-14 21:34:30 +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
Thomas Rittson
85893f5f9e
Require user to verify email to use file Send (#331)
* Require user to verify email to use file Send

* Simplify alertShown logic
2021-04-09 07:05:15 +10:00
Matt Gibson
bc7bd5bd3f
Pass ciphers to index and indexed ciphers to search service (#318) 2021-04-02 16:32:30 -05:00
Matt Gibson
d71bd092ef
Check file size client side (#313) 2021-03-29 08:17:42 -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
Thomas Rittson
0735569479
Hide email address in Sends (#310)
* Let organizations disable anonymous Sends only

* Add HideEmail to send models and service

* Delete unnecessary model

* Enforce new Send policy, fix naming conventions

* Fix linting

* Fully disable editing anonymous Sends per policy

* Revert disableSendPolicy, add sendOptionsPolicy

* Rework UI for enforcing disableHideEmail

* Fix linting and cleanup after refactor
2021-03-26 08:27:43 +10:00
Matt Gibson
cfc7687815
Upload to Azure strorage blobs (#296)
* Implemen AzureStorageService

handes uploading files to azure blob

* Correct one-shot size

* Add azureStorage.service abstraction

* Rename azure upload method

* Prefer abstractions in DI

* Abstract file upload to a single service handling uploads

* Fallback to legacy upload method

* Linter fix

* Limit legacy upload to 404 error
2021-03-25 10:20:38 -05:00
Matt Gibson
7f3bbd6e51
Use UserService to determine if user has premium access (#311) 2021-03-24 11:15:51 -05:00
Oscar Hinton
f20af0cd7c
WebAuthn (#163) 2021-03-15 16:16:51 +01:00
Kyle Spearrin
f80e89465f
update share link on send list copy (#305) 2021-03-11 10:31:35 -05:00
Kyle Spearrin
c8cab2a9e7
use send.bitwarden.com (#304) 2021-03-11 10:08:28 -05:00
Addison Beck
f29afc7cf7
set default expiration time on date input for Sends (#300) 2021-03-09 10:31:05 -05:00
Addison Beck
125de0dd47
Safari Time Formatting (#298)
* fixed up the send date fallbacks again

* gave localizations string a better name

* added support for dropdown time selection in safari

* changed console error to toast error

* fixed formatting for previous value safari times
2021-03-08 13:58:53 -05:00
Addison Beck
062046484b
Safari Date/Time support for Send dates (#297)
* fixed up the send date fallbacks again

* gave localizations string a better name

* added support for dropdown time selection in safari

* changed console error to toast error
2021-03-08 13:09:29 -05:00
Thomas Rittson
b7acbcf3a7
Enable platform-specific export warning message (#295) 2021-03-05 08:56:20 +10:00
Thomas Rittson
8328b55774
Expand encrypted export warning (#294)
* Allow html body in showDialog

* Add extra warnings about encrypted export
2021-03-04 11:15:51 -05:00
Addison Beck
729ab4f20b
fixed up the send date fallbacks again (#293)
* fixed up the send date fallbacks again

* gave localizations string a better name

* added fallback values to clear expiration
2021-03-03 15:02:05 -05:00
Addison Beck
f836629b48
Date time fallback fixes (#292)
* tightened up the Send datetime fallback conditionals

* cleaned up
2021-03-02 17:00:07 -05:00
Addison Beck
70654926ad
added date/time fallbacks for safar/ff (#290) 2021-03-02 10:33:43 -05:00
Addison Beck
301ef455f3
clear Send password if whitespace (#287) 2021-03-01 11:31:03 -05:00
Vincent Salucci
11b8c5b5e8
Added clickable state to callout component (#282) 2021-02-22 20:32:40 -06:00
Vincent Salucci
8a3b551c6e
[Send] Updated delete function for add/edit component (#277)
* [Send] Updated delete function for add/edit component

* Saved final return statement
2021-02-19 10:23:51 -06:00
Addison Beck
5f5580cff9
added toggle options logic (#276) 2021-02-18 16:04:12 -05:00
Addison Beck
1968dbfee2
refactored a few properties into getters (#272) 2021-02-12 17:25:47 -05:00
Vincent Salucci
0951424de7
Update send component to follow existing patterns (#270) 2021-02-11 16:55:38 -06:00
Vincent Salucci
ee164bebc6
[Send] Add more flexibility to base component (#262)
* Updating send component for more flexibility in child class

* Updated delegte null check

* added comment
2021-02-08 16:18:44 -06:00
Matt Gibson
eef8a2a0f7
Do not evaluate callback function when testing existence (#266) 2021-02-08 15:55:58 -06:00
Kyle Spearrin
a4ac842cec
support for copying send link to clipboard on save (#265) 2021-02-08 15:55:32 -05:00
Matt Gibson
2730e04a05
Match tslint rules (#264) 2021-02-08 14:11:44 -06:00
Matt Gibson
22f576ea60
Add password toggle to add-edit (#261) 2021-02-05 12:36:09 -06:00
Matt Gibson
deabffb7b0
Implement disable send policy (#259)
* Implement disable send policy

* Linter fixes

* Add toast on submit if sends are disabled
2021-02-04 11:22:31 -06:00
Matt Gibson
58f40b0085
Fix glob processing in npm. Ban single param parens (#257) 2021-02-04 09:49:23 -06:00