1
0
Fork 0
mirror of synced 2024-09-02 18:51:36 +12:00
budibase/packages/backend-core/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
..
accounts Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
auth fix all cases of lint rule 2024-04-10 17:39:12 +01:00
blacklist Provides the option for blacklisting IPs. 2023-03-08 16:30:26 +00:00
cache Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
configs eslint import/no-duplicates 2023-11-20 21:48:49 +01:00
constants Merging in most recent changes, recent SQL aliasing changes caused some big differences. 2024-03-20 12:42:07 +00:00
context Run auto fix. 2024-03-19 09:46:10 +00:00
db DRY 2024-04-17 10:33:20 +02:00
docIds More typing fixes. 2024-02-28 12:19:08 +00:00
docUpdates Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
errors offline license sdk module 2023-07-10 12:48:52 +01:00
events Merge branch 'master' into feature/onboarding 2024-03-25 12:51:57 +01:00
features eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
logging Reenable no-inner-declarations. 2024-03-19 11:29:19 +00:00
middleware fix all cases of lint rule 2024-04-10 17:39:12 +01:00
migrations fix all cases of lint rule 2024-04-10 17:39:12 +01:00
objectStore REST file handling and SMTP automation block attachments (#13403) 2024-04-22 15:30:57 +00:00
platform Adds POST /api/global/users/sso endpoint 2024-03-28 11:46:58 +01:00
plugin Correct bugs with Datasource+ plugins 2023-09-26 21:26:40 -04:00
queue Remove // eslint-disable-next-line no-unused-vars 2024-04-17 12:24:41 +02:00
redis Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
security Fix the bug, I think. 2024-03-05 17:35:04 +00:00
tenancy Run auto fix. 2024-03-19 09:46:10 +00:00
timers Lint 2024-02-09 16:47:58 +01:00
users Allow a displayName to be passed when creating admin user (#13516) 2024-04-18 12:52:00 +00:00
utils 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
environment.ts REST file handling and SMTP automation block attachments (#13403) 2024-04-22 15:30:57 +00:00
helpers.ts Remove type information from JSDoc in .ts files, it's redundant. 2023-10-17 16:46:32 +01:00
index.ts Improving typing around search, there was duplicates of SearchParams and SearchResponse - which were a little different, bring all of this together under the types library. 2024-03-28 17:57:37 +00:00
installation.ts Fixing an issue when invalid version is supplied (not semver) shouldn't crash server. 2024-02-16 15:41:36 +00:00