1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-07 10:55:43 -05:00
Commit Graph

124 Commits

Author SHA1 Message Date
989d4df599 Direct upload to Azure/Local (#1188)
* Direct upload to azure

To validate file sizes in the event of a rogue client, Azure event webhooks
will be hooked up to AzureValidateFile.
Sends outside of a grace size will be deleted as non-compliant.

TODO: LocalSendFileStorageService direct upload method/endpoint.

* Quick respond to no-body event calls

These shouldn't happen, but might if some errant get requests occur

* Event Grid only POSTS to webhook

* Enable local storage direct file upload

* Increase file size difference leeway

* Upload through service

* Fix LocalFileSendStorage

It turns out that multipartHttpStreams do not have a length
until read. this causes all long files to be "invalid". We need to
write the entire stream, then validate length, just like Azure.

the difference is, We can return an exception to local storage
admonishing the client for lying

* Update src/Api/Utilities/ApiHelpers.cs

Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>

* Do not delete directory if it has files

* Allow large uploads for self hosted instances

* Fix formatting

* Re-verfiy access and increment access count on download of Send File

* Update src/Core/Services/Implementations/SendService.cs

Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>

* Add back in original Send upload

* Update size and mark as validated upon Send file validation

* Log azure file validation errors

* Lint fix

Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
2021-03-21 23:01:19 -05:00
df7a035d9b Minor release version bump 1.40.0 (#1199) 2021-03-10 11:19:40 -05:00
6d8e37ebf6 Patch release version bump, 1.39.4 (#1124) 2021-02-01 18:43:32 -05:00
2380bba577 version bump 1.39.3 (#1113) 2021-01-27 17:00:56 -05:00
5778a903c6 Version bump, v1.39.0 (#1095) 2021-01-19 16:09:43 -05:00
c390c46b3e Version bump 1.38.4 (#1045) 2020-12-17 12:43:47 -05:00
1b8d5a8ee8 version bump to 1.38.3 (#1043) 2020-12-17 10:49:52 -05:00
9e1bf3d584 version bump 1.38.2 (#1023) 2020-12-03 22:06:36 -05:00
7405ccb007 bump version 2020-11-18 10:24:02 -05:00
ac1defc97a bump versions and disabled send creation 2020-11-12 21:43:10 -05:00
6227ddf304 Bump version: v1.37.2 (#961)
* Bump version: v1.37.2

* Revert Docker version
2020-10-09 10:48:11 -04:00
cf4fddfa21 bump version 2020-09-15 17:06:10 -04:00
c11af22010 version bump (#914)
* version bump

* version bump
2020-09-05 21:31:26 -04:00
f431b4ff67 version 1.36.1 bump 2020-07-29 10:35:12 -04:00
ca52da8698 bump version 2020-07-27 20:36:52 -04:00
5de236f294 update libs 2020-07-27 20:36:17 -04:00
a64f4dd413 bump patch version 2020-06-29 10:17:09 -04:00
b524029e5c bump dependency versions 2020-06-26 16:17:46 -04:00
1413eed32a bump version 2020-06-26 16:04:13 -04:00
8559e144c6 bump dependency minor/patch versions 2020-06-24 16:37:23 -04:00
0cd90be83a bump version for release 2020-05-18 21:58:12 -04:00
c205bf72e6 update some libs 2020-05-18 21:57:14 -04:00
119a950141 bump version 2020-03-19 19:48:44 -04:00
cd0ec26b07 upgrade libs 2020-03-04 22:01:28 -05:00
927f073362 add newrelic agent to API 2020-02-25 14:08:12 -05:00
e13f022c90 upgrade swagger 2020-01-10 09:36:12 -05:00
29580684a3 upgrade to aspnet core 3.1 2020-01-10 08:33:13 -05:00
6f8fff59e7 bump version 2019-09-20 07:43:04 -04:00
eee4dd9877 ANCMPreConfiguredForIIS 2019-09-19 17:00:39 -04:00
a9da624b1d bump version 2019-08-27 09:27:52 -04:00
35dbcb87d3 bump version 2019-07-27 22:20:00 -04:00
d9d2dea784 bump version 2019-07-25 22:10:20 -04:00
94188fa0b5 update to net core 2.2 2019-07-23 16:38:49 -04:00
cac0295af0 bump version 2019-05-15 22:12:59 -04:00
2ac62ecadb bump version 2019-05-14 13:11:06 -04:00
6381634a92 update libs 2019-05-11 20:56:49 -04:00
1c38fcda85 version bump 2019-05-07 11:16:02 -04:00
8b180c8126 bump version 2019-03-20 08:52:25 -04:00
ec9be8bcfa ignore warning on release too 2019-03-07 22:59:40 -05:00
e0d7da892e xml documentation for swaggergen 2019-03-01 09:34:07 -05:00
1c71af47bb swagger specs for public api 2019-02-28 14:20:14 -05:00
858a0d28dd bump versions 2019-01-18 17:15:49 -05:00
5fa5634a50 bump version 2018-12-27 14:36:09 -05:00
88c0e412b6 bump version 2018-12-14 22:09:33 -05:00
04ae06420b bump version 2018-11-16 16:15:29 -05:00
1e1a19b937 bump version 2018-10-30 10:21:26 -04:00
5bde617465 bump version 2018-10-08 23:10:51 -04:00
7176e0ea22 update packages 2018-10-05 14:05:52 -04:00
52d79a0015 some cleanup 2018-09-13 23:33:18 -04:00
18131ba1e3 remove jsreport pdfs. use stripe invoice pages. 2018-09-13 16:03:04 -04:00