1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-21 21:15:10 -05:00

18 Commits

Author SHA1 Message Date
Justin Baur
bae03feffe
Revert filescoped (#2227)
* Revert "Add git blame entry (#2226)"

This reverts commit 239286737d15cb84a893703ee5a8b33a2d67ad3d.

* Revert "Turn on file scoped namespaces (#2225)"

This reverts commit 34fb4cca2aa78deb84d4cbc359992a7c6bba7ea5.
2022-08-29 15:53:48 -04:00
Justin Baur
34fb4cca2a
Turn on file scoped namespaces (#2225) 2022-08-29 14:53:16 -04:00
Justin Baur
231eb84e69
Turn On ImplicitUsings (#2079)
* Turn on ImplicitUsings

* Fix formatting

* Run linter
2022-06-29 19:46:41 -04:00
Oscar Hinton
23b0a1f9df
Run dotnet format (#1764) 2021-12-16 15:35:09 +01:00
Chad Scharf
898c7baf89
Fix queue message encoding for Azure (UTF-16 in XML) (#1439)
* Revert "Encode into b64 to avoid illegal xml encoding when sending to Azure (#1425)"

This reverts commit 2c9a5bb4ab58ab68192b2fb94ff459b7326a99b1.

* Azure queue to use base64 encoding universally

* Ensure byte size calc is using encoded byte count

* Remove message text extension from blockIP svc

* Remove unused using on blockIp hosted service
2021-07-07 10:49:59 -04: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
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
844238d31c show exception message 2020-03-05 21:50:39 -05:00
Kyle Spearrin
29580684a3 upgrade to aspnet core 3.1 2020-01-10 08:33:13 -05:00
Kyle Spearrin
05f876e61c stopping service log 2019-07-11 21:48:44 -04:00
Kyle Spearrin
21d5417e92 done processing warning 2019-07-11 15:46:42 -04:00
Kyle Spearrin
4e65275a2f catch errors when processing notification messages 2019-05-07 22:06:05 -04:00
Kyle Spearrin
f74dfb5fbb centralize type deserialization 2018-08-25 17:21:42 -04:00
Kyle Spearrin
46b9400f9f Revert "some logging from queue service"
This reverts commit 263dfda9c42a36428ad4aac4f77d0367a20a379c.
2018-08-24 11:32:53 -04:00
Kyle Spearrin
263dfda9c4 some logging from queue service 2018-08-24 11:23:39 -04:00
Kyle Spearrin
68c349f72f support message pack protocol for signalr 2018-08-23 21:56:48 -04:00
Kyle Spearrin
7746011ea1 cleanup 2018-08-21 09:37:09 -04:00
Kyle Spearrin
80a49e53ac rename hub to notifications 2018-08-16 13:45:31 -04:00