budibase/packages/server/src/automations/tests
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
..
utilities Create a test of a table with 2 link fields in updateRow.spec.ts. 2023-11-06 15:56:58 +00:00
automation.spec.ts Fix type error. 2023-11-06 16:40:27 +00:00
bash.spec.js Update Svelte Major Version to 4 (#13036) 2024-02-22 13:19:29 +00:00
createRow.spec.ts Migrate some of RowAPI, WIP 2024-03-01 15:20:07 +00:00
delay.spec.js Lint fix 2023-11-20 15:36:55 +01:00
deleteRow.spec.ts merge with master 2022-04-26 10:21:45 +01:00
discord.spec.js Remove all uses of test.com in the code, replace them with example.com and create a lint rule to prevent this in future. 2024-02-08 16:32:14 +00:00
executeQuery.spec.ts Fix some tests. 2024-04-03 15:40:10 +01:00
executeScript.spec.js Revert "Revert "Migrate from `vm` to `isolated-vm`"" 2024-02-02 12:02:09 +01:00
filter.spec.ts Revert "revert develop into master" 2023-08-18 14:33:21 +01:00
loop.spec.ts Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
make.spec.ts Remove all uses of test.com in the code, replace them with example.com and create a lint rule to prevent this in future. 2024-02-08 16:32:14 +00:00
n8n.spec.ts n8n automation action integration (#12992) 2024-02-15 13:05:03 +00:00
openai.spec.ts eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
outgoingWebhook.spec.js Remove all uses of test.com in the code, replace them with example.com and create a lint rule to prevent this in future. 2024-02-08 16:32:14 +00:00
queryRows.spec.ts Type and fix test 2023-07-17 12:18:57 +02:00
sendSmtpEmail.spec.ts REST file handling and SMTP automation block attachments (#13403) 2024-04-22 15:30:57 +00:00
serverLog.spec.js Update Svelte Major Version to 4 (#13036) 2024-02-22 13:19:29 +00:00
triggerAutomationRun.spec.ts Addressing PR comments. 2024-02-14 17:15:42 +00:00
updateRow.spec.ts Migrate some of RowAPI, WIP 2024-03-01 15:20:07 +00:00
zapier.spec.ts Remove all uses of test.com in the code, replace them with example.com and create a lint rule to prevent this in future. 2024-02-08 16:32:14 +00:00