John Harrington
44b818acc6
[PM-3836] Tools - Make Controllers, Services and API Models nullable ( #7212 )
...
* enable nullable on AzureSendFileStorageService
* LocalSendStorageService nullable
* revert primary constructor and begin updating some models
* SendRequestModel > nullable
* SendAccessResponseModel SendFileDownloadDataResponseModel SendFileUploadDataResponseModel > nullable
* SendResponseModel SendFileModel SendTextModel > nullable
* ImportCiphersController > nullable
2 weeks ago
John Harrington
6fcf007672
[PM-33232] Update UX implemented in PM-33219 to resolve VULN-458 ( #7204 )
...
* expect AuthType in request and update tests
* handle older clients lacking AuthType in request gracefully
* update exception message to match behavior
* use presence of AuthType to branch to new logic, preserving old for null AuthType
4 weeks ago
John Harrington
8d9ace60e2
[PM-33219] Resolve silent auth removal on Sends ( #7160 )
...
* remove null assignment to auth props and update tests
* update PutRemoveAuth comment for clarity and assign null to empty email list allowing future client side changes to remove ALL emails
* update test to match email removal expectation
* implement expected behavior and update tests
---------
Co-authored-by: Alex Dragovich <46065570+itsadrago@users.noreply.github.com>
1 month ago
Graham Walker
818934487f
PM-18939 refactoring send service to 'cqrs' ( #5652 )
...
* PM-18939 refactoring send service to 'cqrs'
* PM-18939 fixing import issue with sendValidationService
* PM-18939 fixing code based on PR comments
* PM-18339 reverting to previous code in test
* PM-18939 adding XMLdocs to services
* PM-18939 reverting send validation methods
* PM-18939 updating code to match main
* PM-18939 reverting validateUserCanSaveAsync to match main
* PM-18939 fill our param and return sections of XMLdocs
* PM-18939 updating XMLdocs based on PR comments
* Update src/Core/Tools/SendFeatures/Commands/Interfaces/IAnonymousSendCommand.cs
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
* Update src/Core/Tools/SendFeatures/Commands/Interfaces/INonAnonymousSendCommand.cs
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
* Update src/Core/Tools/SendFeatures/Commands/Interfaces/INonAnonymousSendCommand.cs
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
* Update src/Core/Tools/SendFeatures/Services/Interfaces/ISendStorageService.cs
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
* PM-18939 adding commits to change tuple to enum type
* PM-18939 resetting stream position to 0 when uploading file
* PM-18939 updating XMLdocs based on PR comments
* PM-18939 updating XMLdocs
* PM-18939 removing circular dependency
* PM-18939 fixing based on comments
* PM-18939 updating method name and documentation
---------
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
11 months ago
aj-rosado
f275b2567d
[PM-517] Added validation to maximum and minimum expiry date ( #4199 )
...
* Added validation to maximum and minimum expiry date
* Updated error text on SendRequestModel
* Add tests to ValidateEdit on SendRequestModel
2 years ago
Daniel James Smith
4e7b9d2edd
[PM-328] Move files for team-tools ( #2857 )
...
* Extract Import-Api endpoints into separate controller
Moved ciphers/import and ciphers/import-organization into new ImportController
Paths have been kept intact for now (no changes on clients needed)
Moved request-models used for import into tools-subfolder
* Update CODEOWNERS for team-tools-dev
* Move HibpController (reports) to tools
* Moving files related to Send
* Moving files related to ReferenceEvent
* Removed unneeded newline
3 years ago
Justin Baur
7f5f010e1e
Run formatting ( #2230 )
4 years ago
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.
4 years ago
Justin Baur
34fb4cca2a
Turn on file scoped namespaces ( #2225 )
4 years ago
Justin Baur
231eb84e69
Turn On `ImplicitUsings` ( #2079 )
...
* Turn on ImplicitUsings
* Fix formatting
* Run linter
4 years ago
Justin Baur
b1cd42e394
Fix json only serializing base properties ( #1840 )
...
* Fix json only serializing base properties
* Run formatting
* Switch to returning concrete type
* Update method name
4 years ago