1
0
mirror of https://github.com/bitwarden/server synced 2025-12-17 08:43:27 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
Oscar Hinton
23b0a1f9df Run dotnet format (#1764) 2021-12-16 15:35:09 +01: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
Addison Beck
b8a2158626 enabled send and added send sync notifications (#1106) 2021-01-22 16:16:40 -05:00
Chad Scharf
9800b752c0 Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
Kyle Spearrin
4ed309ea13 fix refs passed from multiservice push 2019-03-20 08:38:28 -04:00
Kyle Spearrin
9dedf359e5 updates to logging 2019-03-20 08:26:11 -04:00
Kyle Spearrin
dc0bdfa28b fix logger ref 2019-03-19 23:45:09 -04:00
Kyle Spearrin
e2be61da0a testing: more logs 2019-03-19 22:47:53 -04:00
Kyle Spearrin
01a293cf76 record installation devices 2019-03-19 00:39:03 -04:00
Kyle Spearrin
18713054f6 add logout notification 2018-08-28 08:22:49 -04:00
Kyle Spearrin
1b489daca1 send collection ids with cipher notification 2018-08-21 09:29:38 -04:00
Kyle Spearrin
5766c1f6f3 enable notifications services 2018-08-17 18:04:11 -04:00
Kyle Spearrin
40a410917f rename hubapi notification service 2018-08-16 13:52:11 -04:00
Kyle Spearrin
1ffa712b75 more notification hub renames 2018-08-16 13:50:41 -04:00
Kyle Spearrin
42d3a2d8e3 hub configurations 2018-08-16 13:35:16 -04:00
Kyle Spearrin
b2715503c3 update to new 2.0.0 preview for notification hub 2018-08-06 09:04:31 -04:00
Kyle Spearrin
a4e91aa570 no azure queue service for now 2018-08-02 21:03:04 -04:00
Kyle Spearrin
0cde13e0c6 azure queue notification service 2018-08-02 17:23:37 -04:00