budibase/packages/worker/src/tests/api
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
..
scim Add test, account holder cannot be removed 2024-03-12 11:09:16 +01:00
accounts.ts Test fixes 2022-11-11 15:43:41 +00:00
auditLogs.ts Implementing a few basic tests to create and search the audit logs. 2023-02-23 17:23:06 +00:00
auth.ts Prevent showing user exists for password disabled actions 2023-03-01 14:49:44 +00:00
base.ts Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
configs.ts Enforceable SSO (#9787) 2023-02-27 13:42:51 +00:00
email.ts REST file handling and SMTP automation block attachments (#13403) 2024-04-22 15:30:57 +00:00
environment.ts Test fixes 2022-11-11 15:43:41 +00:00
groups.ts Fix tests 2024-03-12 09:57:25 +01:00
index.ts Add scim group api test tools 2023-03-28 16:46:22 +01:00
license.ts Lint 2023-07-14 16:55:48 +01:00
migrations.ts Support path variable tenancy detection, add /api/system/* tests, update no tenancy matchers to be more accurate 2022-11-11 11:10:07 +00:00
restore.ts Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
roles.ts Server and Worker tests (#8928) 2022-12-12 22:02:32 +00:00
self.ts Test updates 2023-03-07 14:21:55 +00:00
status.ts Test fixes 2022-11-11 15:43:41 +00:00
templates.ts Server and Worker tests (#8928) 2022-12-12 22:02:32 +00:00
tenants.ts Removing tenancy validity check, instead depending on the PLATFORM_URL environment variable for determining tenant ID. 2023-03-29 16:19:35 +01:00
users.ts This removes the SearchQuery which was a duplication of the SearchFilters interface - the duplicated types were not correctly getting overlay on each other, causing build errors. 2024-04-17 13:54:23 +01:00