v11.2.0
This release prepares the codebase for file upload and download capabilities, and adds the capability to attach files to transaction messages. Uploading and downloading files is enabled for marketplaces by default, and operators can disable the functionality for the entire marketplace in Console Access control.
As the first use case for file uploads and downloads, we're adding the capability to attach up to 10 files to a transaction message. This functionality is enabled per listing type, and it is enabled for existing listing types by default.
In addition, this release changes the way the Stripe.js library is loaded, and fixes an issue with numeric field validation. Read more in the respective PR descriptions!
Translation changes
New translation keys:
"FileUpload.finishingUpload": "Finishing upload…",
"FileUpload.maxFileSizeExceeded": "File too large (max 1 GB).",
"FileUpload.mimeTypeError": "Upload failed. This file type isn't supported.",
"FileUpload.removeFile": "Remove file {fileName}",
"FileUpload.uploadFailed": "Upload failed. Please try again.",
"FileUpload.uploading": "Uploading… Keep this tab open.",
"FileUpload.verificationFailed": "Security check failed. Please contact support.",
"FileUpload.verifying": "Scanning the file…",
"Message.downloadFile": "Download file {fileName}",
"Message.fileDeleted": "Deleted file.",
"Message.fileSecurityCheckFailed": "Security check failed. Please contact support.",
"Message.fileVerifying": "Scanning the file…",
"Message.pendingVerificationNote": "This message will be sent after the security check is complete.",
"Message.securityCheckFailedNote": "This message was not sent. One or more files failed a security check.",
"TransactionPage.attachFile": "Attach a file",
"TransactionPage.messageFilesDisabled": "{marketplaceName} has temporarily disabled file uploads and downloads. Contact support for more information.",
"TransactionPage.navigationBlockedBeforeFilesSent": "You have unsent files. If you leave now, your uploads will be lost.",
Changes
-
[add] Attach file to message
This PR adds capabilities to upload and download digital files to Sharetribe. This feature is
enabled for marketplaces by default, and operators can disable the functionality for the entire
marketplace in Console Access control.As the first use case for file uploads and downloads, we're adding the capability to attach up to
10 files to a transaction message. This functionality is enabled per listing type, and it is
disabled for existing listing types by default. -
[change] Stripe.js: load conditionally and defer loading.
#847 -
[fix] configHelpers.js: Only validate numberConfig for schemaType long
#852