budibase/packages/server/src
Peter Clement a4c0328c53
REST file handling and SMTP automation block attachments (#13403)
* handle files in rest connector

* fetch presigned url and return

* further updates to handle files in rest connector

* remove unused important and fix extension bug

* wrong expiry param

* tests

* add const for temp bucket

* handle ttl on bucket

* more bucket ttl work

* split out fileresponse and xmlresponse into utils

* lint

* remove log

* fix tests

* some pr comments

* update function naming and lint

* adding back needed response for frontend

* use fsp

* handle different content-disposition and potential path traversal

* add test container for s3 / minio

* add test case for filename* and ascii filenames

* move tests into separate describe

* remove log

* up timeout

* switch to minio image instead of localstack

* use minio image instead of s3 for testing

* stream file upload instead

* use streamUpload and update signatures

* update bucketcreate return

* throw real error

* tidy up

* pro

* pro ref fix?

* pro fix

* pro fix?

* move minio test provider to backend-core

* update email builder to allow attachments

* testing for sending files via smtp

* use backend-core minio test container in server

* handle different types of url

* fix minio test provider

* test with container host

* lint

* try different hostname?

* Revert "try different hostname?"

This reverts commit cfefdb8ded.

* fix issue with fetching of signed url with test minio

* update autoamtion attachments to take filename and url

* fix tests

* pro ref

* fix parsing of url object

* pr comments and linting

* pro ref

* fix pro again

* fix pro

* account-portal

* fix null issue

* fix ref

* ref

* When sending a file attachment in email fetch it directly from our object store

* add more checks to ensure we're working with a signed url

* update test to account for direct object store read

* formatting

* fix time issues within test

* update bucket and path extraction to regex

* use const in regex

* pro

* Updating TTL handling in upload functions (#13539)

* Updating TTL handling in upload functions

* describe ttl type

* account for ttl creation in existing buckets and update types

* fix tests

* pro

* pro
2024-04-22 15:30:57 +00:00
..
api PR comment. 2024-04-19 12:36:05 +01:00
appMigrations
automations REST file handling and SMTP automation block attachments (#13403) 2024-04-22 15:30:57 +00:00
constants Add tests for array column types, fixing some bugs along the way. 2024-04-15 15:31:46 +01:00
db Aliasing support for SQS. 2024-04-12 16:15:36 +01:00
definitions PR comments. 2024-04-10 17:02:03 +01:00
events
integration-test Lint 2024-04-17 20:06:54 +02:00
integrations REST file handling and SMTP automation block attachments (#13403) 2024-04-22 15:30:57 +00:00
jsRunner Remove // eslint-disable-next-line @typescript-eslint/no-unused-vars 2024-04-17 12:17:03 +02:00
middleware
migrations Set default packages/server test timeout to 30 seconds, and unmock console.log. 2024-03-27 16:57:31 +00:00
sdk Fix tests 2024-04-19 13:13:12 +02:00
startup Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-04-05 16:36:36 +01:00
tests Improve tests 2024-04-19 11:09:20 +02:00
threads fix issue where automation meta fields were being overridden 2024-04-11 11:31:26 +01:00
utilities REST file handling and SMTP automation block attachments (#13403) 2024-04-22 15:30:57 +00:00
websockets Remove // eslint-disable-next-line @typescript-eslint/no-unused-vars 2024-04-17 12:17:03 +02:00
app.ts Fixing issue with BB_ADMIN environment variables for user creation introduced by user password becoming optional. Adding a test case as well to cover this to avoid it breaking in future. 2024-04-05 12:14:51 +01:00
ddApm.ts
environment.ts Initial implementation of generating SQS junction table definitions. 2024-04-11 18:19:47 +01:00
features.ts Remove // eslint-disable-next-line no-unused-vars 2024-04-17 12:24:41 +02:00
index.ts
koa.ts
watch.ts