mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-10 07:40:54 -06:00
* feat: adds api handlers for upload and get file from S3 * feat: upload and fetch files from local storage * feat: upload and fetch files from local storage * feat: adds restriction check for allowed file extesnsions * refactor * fix: uses t3 env for validation * fix: fixes validation issues in storage api * merge with main * fix: moves UPLOADS_DIR to constants file * fix: moves private uploads to responseId * chore: merge with main * fix: changes api route * remove comment in storage service, use services in client storage route * simplify client storage endpoint * rename fileType to contentType * relocate storage endpoints, update validation * update management storage route for readability --------- Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>