osf.io
osf.io copied to clipboard
[SVCS-826] S3 Compatibility
Purpose
This PR enables users to connect any s3 compatible storage provider to their OSF account using the s3 addon.
Changes
- Adds host, port, encrypted, and a nickname to ExternalAccount model
- Enables a user to modify settings on their s3 account after it has been connected
- The configuration for each account is more complex, requiring a user to enter all information if the account is updated or changes is error prone and inconvenient for the user
- Updates waterbutler url creators to add host, port, and encrypted as a query params
- Waterbutler needs this to connect to the provider
QA Notes
Ensure that users can connect s3-compatible providers
Documentation
Side Effects
Users modifying an account will necessarily modify that account for any other user that also has connected this account. (This is already a behaviour experienced using the 'connect or reauthorize dialog)
Ticket
https://openscience.atlassian.net/browse/SVCS-826