1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-29 00:32:18 -05:00

14 Commits

Author SHA1 Message Date
Oscar Hinton
23b0a1f9df
Run dotnet format (#1764) 2021-12-16 15:35:09 +01:00
Oscar Hinton
63f6dd9a24
Move request/response models (#1754) 2021-12-14 16:05:07 +01:00
Vince Grassia
2ec10cfd2a
Standardize '/version' endpoint on all services (#1755) 2021-12-09 15:45:45 -05:00
Matt Gibson
5537470703
Use sas token for attachment downloads (#1153)
* Get limited life attachment download URL

This change limits url download to a 1min lifetime.
This requires moving to a new container to allow for non-public blob
access.

Clients will have to call GetAttachmentData api function to receive the download
URL. For backwards compatibility, attachment URLs are still present, but will not
work for attachments stored in non-public access blobs.

* Make GlobalSettings interface for testing

* Test LocalAttachmentStorageService equivalence

* Remove comment

* Add missing globalSettings using

* Simplify default attachment container

* Default to attachments containe for existing methods

A new upload method will be made for uploading to attachments-v2.
For compatibility for clients which don't use these new methods, we need
to still use the old container. The new container will be used only for
new uploads

* Remove Default MetaData fixture.

* Keep attachments container blob-level security for all instances

* Close unclosed FileStream

* Favor default value for noop services
2021-02-22 15:35:16 -06:00
Kyle Spearrin
4a0071f721 only show ip-related headers 2020-03-07 21:41:53 -05:00
Kyle Spearrin
e2d65e5b08 switch to official bitpay light library 2019-12-19 10:27:06 -05:00
Kyle Spearrin
9686b4bf2b process off session payment methods 2019-08-09 14:06:07 -04:00
Kyle Spearrin
685928a4c7 fix bitpay initalization 2019-03-19 23:32:54 -04:00
Kyle Spearrin
4e99ae0dd6 send notification IPNs on bitpay invoice 2019-02-22 08:08:48 -05:00
Kyle Spearrin
fdaa9504d5 bitpay invoice api 2019-02-21 22:43:37 -05:00
Kyle Spearrin
3aaaac3c5f ip endpoint 2018-05-21 21:18:19 -04:00
Kyle Spearrin
229b517f2c remove claims endpoint 2017-10-23 09:32:55 -04:00
Kyle Spearrin
e93b72ae71 now endpoint 2017-10-06 15:30:54 -04:00
Kyle Spearrin
bac8ef9013 version api and re-route other misc apis 2017-08-19 07:59:19 -04:00