Commit Graph

183 Commits

Author SHA1 Message Date
mike12345567 5b5e7e47a2 Fixing some issues with updating rows with attachments, there were some UI bugs that had been raised (undefined being displayed) and the uploading from a URL was not working as expected, due to the stream not matching the expected format of the S3 SDK - this has been fixed by converting the stream to a true readable stream with . 2024-05-13 18:11:40 +01:00
Adria Navarro d83e5e21f2
Merge branch 'master' into feat/budi-8123-single-user 2024-05-09 18:05:16 +02:00
Peter Clement db273bcd36
Support attachment columns in Automations (#13567)
* base work to support attachments in create / update row

* handle single attachment column

* fix tests

* pro

* fix some types

* handle case where file exists in storage

* improve attacment processing

* refactor slightly and ensure correct url is used for existing attachments

* add test

* Fixing a build issue.

* update tests

* some lint

* remove cursed backend-core test util

* addressing pr comments

* refactoring nasty automationUtils upload code

* remove uneeded check

* use basneeame for fallback filename

* add a test to ensure coverage of single attachment column type

* fail early when fetching object metadata

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2024-05-09 14:30:56 +01:00
Adria Navarro 9f3e01ef78 Fix binding display types 2024-04-26 11:13:56 +02:00
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
Adria Navarro 1524780982 UI fixes 2024-04-12 10:26:46 +02:00
Adria Navarro 1f77b09eed Handle drawers 2024-04-11 16:22:16 +02:00
Dean 9b4c22727f Fix to ensure runtimeTime binding is used is automation js modal 2024-03-25 12:36:56 +00:00
Andrew Kingston 245670f585 Ignore more svelte 4 warnings 2024-02-29 20:22:48 +00:00
Andrew Kingston d2cdee13ae Update automation code editors to work with new components 2024-02-29 20:18:20 +00:00
Andrew Kingston 87e8b89075 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-02-29 19:12:52 +00:00
Andrew Kingston 3d96292f26 Clean up usages of drawers everywhere 2024-02-27 14:15:03 +00:00
Andrew Kingston 0217bac267 Add multiple style improvements to drawers 2024-02-22 15:05:21 +00:00
melohagan 649dafba47
n8n automation action integration (#12992)
* Add n8n automation action

* Add authorization header support

* add unit tests

* Replace test.com with example.com

* Add HttpMethod enum to types

* fix unit test

* Add required field label asterisk
2024-02-15 13:05:03 +00:00
Dean a5dfbe3c89 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-02-07 14:45:06 +00:00
Andrew Kingston 1efd5725c7 Add some new resolution aliases and simplify long nasty relative import paths 2024-02-05 12:08:45 +00:00
mike12345567 80f22fe63b PR comments. 2024-02-02 17:16:45 +00:00
mike12345567 471d2f4ae8 Remove padding from binding picker to clean up design. 2024-02-02 16:36:12 +00:00
mike12345567 137ff31289 Removing unused. 2024-02-02 15:34:56 +00:00
mike12345567 cadce52e1b Changing how optional decoding works. 2024-02-02 11:28:54 +00:00
mike12345567 32e750afd6 A small ux improvement to the automation scripting system. 2024-02-01 17:37:46 +00:00
Andrew Kingston 233df4c27c Remove legacy nested builder directory and move screen templates and utils into better locations 2024-02-01 09:55:30 +00:00
Peter Clement 9c47671032 fix issue with automation setting sync 2024-01-30 15:39:12 +00:00
Dean 1bd08b6879 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-01-30 11:49:32 +00:00
Peter Clement 84b2a36fda fix case where trigger fields could be undefined 2024-01-26 12:10:46 +00:00
Peter Clement 3f9d1402f3 fix operand issue 2024-01-23 09:21:04 +00:00
Peter Clement 3ab791710c fix issue where readable binding wasn't working correctly with named steps 2024-01-22 09:40:56 +00:00
Dean 4945a6ee99 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-01-18 10:40:21 +00:00
Dean 30db237071 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-01-17 17:17:01 +00:00
Peter Clement 250c54e0c3 Merge remote-tracking branch 'origin/master' into feat/trigger-binding-suggesti 2024-01-17 09:43:08 +00:00
Peter Clement bf12e5bc1e revert to empty array on fields object being empty 2024-01-11 11:01:23 +00:00
Peter Clement c3f77f3b42 linting 2024-01-11 09:47:04 +00:00
Peter Clement 78ef231e03 fix issue with being able to select any automation to trigger 2024-01-10 16:34:52 +00:00
Peter Clement 93c5b3721b some tweaks to fix bindings for row created / updated events 2024-01-09 11:02:51 +00:00
Peter Clement 186fd84484 remove log 2024-01-08 09:31:41 +00:00
Peter Clement a6c09e25e6 recommit work for trigger binding suggestions 2024-01-04 14:30:18 +00:00
Adria Navarro 92f411bf77 Prettier 2023-11-20 21:48:49 +01:00
Adria Navarro 4d27ff1dc0 eslint import/no-duplicates 2023-11-20 21:48:49 +01:00
Dean 03f90500e5 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2023-11-06 11:29:10 +00:00
Dean c96fefdba7 Consolidated all stores into stores/builder. Store refactoring and added store console debug flag 2023-11-06 11:22:00 +00:00
Peter Clement 635008e173 unique name enforcement for automations 2023-11-03 11:05:05 +00:00
Peter Clement 7cba4d3fb2 formatting found in testing 2023-10-31 16:29:43 +00:00
Peter Clement 81ca48a331 tidy up and issues found in testing 2023-10-31 13:05:04 +00:00
Dean 79da5956b8 Patch from original environment 2023-10-30 12:46:44 +00:00
Peter Clement 38fe8375ce fix bindings references being updated 2023-10-27 13:47:34 +01:00
Peter Clement b1dabe7dc5 missing binding 2023-10-27 11:22:34 +01:00
Peter Clement 8a7a2abd61 styling / pr comments 2023-10-27 10:45:58 +01:00
Peter Clement 89a242f354 fix issue with readable bindings not displayinng correctly 2023-10-27 09:13:27 +01:00
Peter Clement d864eaa9ea pr comments 2023-10-26 16:05:15 +01:00
Peter Clement 73a7b8eb50 fix formatting of selectors 2023-10-26 11:27:34 +01:00