Commit Graph

583 Commits

Author SHA1 Message Date
Andrew Kingston 0aeddfa029 Merge branch 'master' of github.com:Budibase/budibase into new-datepicker 2024-04-23 12:06:06 +01: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
Gerard Burns 1a1a417d94 hmm 2024-04-22 14:34:19 +01:00
Gerard Burns ab40e3babd wip 2024-04-22 14:33:10 +01:00
mike12345567 68c5e657dd Updating @types/archiver to be more specific. 2024-04-15 13:46:31 +01:00
Andrew Kingston 770cba6fdd
Merge branch 'master' into new-datepicker 2024-04-12 12:04:09 +01:00
Andrew Kingston 283ebb2a33 Merge branch 'master' of github.com:Budibase/budibase into new-datepicker 2024-04-10 16:40:31 +01:00
Adria Navarro 52a95308bd Pin version 2024-04-10 15:18:01 +02:00
Adria Navarro 465fde2460 Merge branch 'master' into BUDI-8082/download-files-using-a-button-action 2024-04-10 14:31:37 +02:00
mike12345567 70fac58e32 Fixing test case, external rows formulas were being executed twice which lead to different error messages. 2024-04-08 15:28:15 +01:00
Andrew Kingston 685ec5e744 Merge branch 'master' of github.com:Budibase/budibase into new-datepicker 2024-04-05 11:49:08 +01:00
Adria Navarro 528901bfaf Update yarn.lock 2024-04-04 21:30:06 +02:00
Adria Navarro ac5d578349 Zip file 2024-04-04 21:28:06 +02:00
Adria Navarro 615e27c798 Merge branch 'master' into revert-13398-revert-13356-BUDI-8122/single-attachment-column-type 2024-04-04 19:28:17 +02:00
mike12345567 f937e1ac47 Removing svelte from server package.json - appears to be causing test failures. 2024-04-04 17:46:34 +01:00
mike12345567 65fa317f9e Fixing yarn lock merge conflict. 2024-04-04 17:23:28 +01:00
mike12345567 ce8efa9409 Disabling dev SQS image for merge. 2024-04-04 15:26:39 +01:00
mike12345567 d11c316572 Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-04-04 15:02:25 +01:00
Adria Navarro 6d9d1acfcd Update yarn.lock 2024-04-04 10:01:05 +02:00
Sam Rose b2ef045ecf
Merge master. 2024-04-03 15:17:38 +01:00
Sam Rose e0ab2f7e0f
Merge branch 'master' into reuse-containers 2024-04-03 14:28:58 +01:00
Sam Rose dda0d1fb5b
Lock globalSetup to prevent multiple containers starting. 2024-04-03 12:06:49 +01:00
Martin McKeaveney 19c7c6aa9c upgrading posthog-js to support surveys 2024-04-03 11:38:42 +01:00
Andrew Kingston fd709308cd Merge branch 'master' of github.com:Budibase/budibase into new-datepicker 2024-04-02 09:52:08 +01:00
mike12345567 de518de8fa Merging issue with static index. 2024-03-26 12:53:45 +00:00
Sam Rose e267096a0a
Merge master. 2024-03-26 10:31:47 +00:00
Sam Rose d77b6f82e0
remove jestTestcontainersConfigGenerator.js 2024-03-25 15:42:45 +00:00
Sam Rose db21542d38
Cherry-pick 6b8422df01 2024-03-25 15:25:30 +00:00
Sam Rose a925132fdf
Fix broken tests. 2024-03-25 15:00:16 +00:00
Michael Drury 37b4b756ea Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-03-25 13:31:31 +00:00
Sam Rose 08fecca9f2
Delete query.seq.spec.ts 2024-03-22 12:00:26 +00:00
Sam Rose da2dfcfad0
Merge master. 2024-03-20 18:05:17 +00:00
mike12345567 9995f71871 Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-03-20 13:45:27 +00:00
Sam Rose dd468c293e
Remove worker aws-sdk, oauth, node-fetch mocks. 2024-03-20 13:03:24 +00:00
mike12345567 8df38b8bb2 Merging in most recent changes, recent SQL aliasing changes caused some big differences. 2024-03-20 12:42:07 +00:00
Sam Rose 217b39c232
Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
Sam Rose 009c795f54
Reenable no-undefs. 2024-03-19 17:47:39 +00:00
Sam Rose 25c23d5245
Enable the eslint-jest plugin. 2024-03-19 09:45:38 +00:00
Adria Navarro 1c04350ebd Dedupe yarn.lock 2024-03-18 12:43:37 +01:00
Adria Navarro 87730918d9 Inject buffer to string-templates dist 2024-03-18 12:37:05 +01:00
Adria Navarro ecde5add83 Merge branch 'master' into chore/stringtemplates-to-esm 2024-03-15 13:22:50 +01:00
Adria Navarro 1cb3288531 Update pro ref 2024-03-14 17:18:45 +01:00
Andrew Kingston b1c4c910d8
Merge branch 'master' into cheeks-lab-day-binding-eval 2024-03-11 13:49:06 +00:00
Andrew Kingston ce0ad154da Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-11 09:33:46 +00:00
Adria Navarro 79e02373d9 Update scim-patch pkg 2024-03-08 12:42:58 +01:00
mike12345567 851a423615 Some typing updates to fix some build issues which were occurring. 2024-03-06 18:07:46 +00:00
mike12345567 2eb16a70db Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-03-06 17:27:53 +00:00
Adria Navarro b774987e61 Install testcontainers 2024-03-06 00:33:04 +01:00
Adria Navarro a5d6d094e6 Update types 2024-03-05 16:28:31 +01:00
Andrew Kingston fa685962a8 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-05 11:46:48 +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
Michael Drury c5591ee87f
Revert "Revert "SQL Query aliasing"" 2024-02-29 12:33:03 +00:00
Michael Drury de3968ffe3
Revert "SQL Query aliasing" 2024-02-29 12:32:15 +00:00
mike12345567 2d75e1e85c Merge branch 'feature/sql-query-aliasing' of github.com:Budibase/budibase into labday/sqs 2024-02-28 17:03:59 +00:00
mike12345567 90c06e633b Merging latest master. 2024-02-26 15:46:00 +00:00
Michael Drury c60e2bf41c
Merge branch 'master' into feature/sql-query-aliasing 2024-02-26 14:59:49 +00:00
Gerard Burns c1f4cb685c
update sdk packages (#13120) 2024-02-26 09:07:47 +00:00
Andrew Kingston fde54b2897 Revert codemirror to v5 2024-02-24 16:28:21 +00:00
mike12345567 cbce9af2b0 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-02-23 16:18:37 +00:00
Andrew Kingston c410160e60 More drawer style updates 2024-02-23 12:43:14 +00:00
melohagan 9845930ae6
Add return types to mongodb integration (#13125) 2024-02-23 10:16:46 +00:00
Gerard Burns de0414afbe
Update Svelte Major Version to 4 (#13036)
* update svelte versions

* temporarilly disable svelte warnings

* change bbap version pointed to

* remove sub module specifying svelte version

* point at updated account-portal

* add type declaration for svelte in the server

* add svelte transformer for server jest tests

* remove svelte from bbui package.json

* get builder tests working

* linting fixes

* prettier fixes

* fix server test

* fix another server test

* fix server serverlog test

* account-portal-version

* pin master version of pro

* revert hbs doc file in server to use triple braces, ensures nothing gets escaped
2024-02-22 13:19:29 +00:00
Adria Navarro 8480fb0227 Remove vm2 package 2024-02-20 12:33:26 +01:00
mike12345567 19090dd547 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-02-19 16:29:29 +00:00
melohagan b563fb48c8
Error when deleting selected rows that have attachment (#13063)
* Deprecate selectedRowIds

* Delete selected rows table

* Add selectedRows to table block context

* update account-portal

* update account-portal

* Lowercase deprecated

* Make sure attachment fields are empty arrays not null

* unit test
2024-02-19 11:09:36 +00:00
melohagan c12e5fd196
Fix array type missing from query schema selector (#12772)
* Tidy MongoDB aggregation pipeline view

* Remove unused code

* WIP

* Add bindings for bindings drawer

* Is not external table if it's a query

* Add QueryArrayFetch

* Bug fix

* JavaScript is the worst

* refactor

* Add array label to query schema

* Remove console log

* type fix

* Don't include Array in SchemaTypeOptions, but show label

* Fix bindings

* refactor

* Rename isObject to hasSchema

* WIP

* Typing WIP

* Type not Types

* Unused import

* type fix

* Handle json array subtype

* Support queryarray datasource type

* refactor

* yarn lock

* update account portal

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-02-19 09:13:03 +00:00
Andrew Kingston 14b2bfa8d6 Update lock 2024-02-16 16:24:46 +00:00
jvcalderon 196038368e Merge branch 'master' into fix/got-version 2024-02-14 08:41:54 +01:00
mike12345567 523f211d1a pinning cron-validate version. 2024-02-13 13:42:58 +00:00
jvcalderon 6e5aeaf364 Remove 'got' from resolutions 2024-02-12 08:58:46 +01:00
mike12345567 8bf79c5f10 Adding some basic cron validation to publishing, currently the error is not explained if it is hit - still need some frontend for this, but this now means that an error is provided to users when attempting to publish, and we can re-use this validation in the automation UI. Need to have both backend and frontend validation as invalid CRONs will already exist, backend makes sure these are error'd on. 2024-02-09 18:04:40 +00:00
Adria Navarro d86c061cfb Update yarn.lock 2024-02-09 16:39:39 +01:00
Adria Navarro e39bd1869e Install vm2 2024-02-09 16:21:38 +01:00
Adria Navarro 3d936069cd
Merge branch 'master' into remove-vm2-from-stringtemplates 2024-02-09 13:22:00 +01:00
Sam Rose 77b3d479a0
Update dd-trace to 5.2.0. 2024-02-09 12:01:37 +00:00
Adria Navarro 2cde033783 Remove vm2 2024-02-09 10:27:56 +01:00
Adria Navarro 405de459ce Update yarn lock 2024-02-07 15:55:45 +01:00
Adria Navarro 7ed55973c2 Update bson in yarn.lock 2024-02-07 15:44:51 +01:00
Adria Navarro 395e4b9484 Update yarn.lock 2024-02-07 13:37:17 +01:00
mike12345567 f73f78c67c Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-02-05 10:04:07 +00:00
Martin McKeaveney b17bd4d8fd merge 2024-02-02 17:00:09 -03:00
mike12345567 d87c7a1c4a Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-02-02 17:09:54 +00:00
Adria Navarro 8dfcc3aeb1
Revert "Revert "Migrate from `vm` to `isolated-vm`"" 2024-02-02 12:02:09 +01:00
Sam Rose 332a201ae7
Revert "Migrate from `vm` to `isolated-vm`" 2024-02-02 09:51:46 +00:00
Adria Navarro 45ea6a6fd6
Revert "Revert "Migrate from `vm` to `isolated-vm`"" 2024-02-01 16:47:41 +01:00
Adria Navarro 16749ec3dd
Revert "Migrate from `vm` to `isolated-vm`" 2024-02-01 16:30:34 +01:00
Adria Navarro 3aff1004c8
Merge branch 'master' into isolated-vm 2024-02-01 12:42:48 +01:00
Sam Rose f3e0dfd466
Update to @budibase/nano 10.1.5 2024-01-31 11:55:29 +00:00
Adria Navarro 623b4f5dab
Merge branch 'master' into isolated-vm 2024-01-31 10:47:08 +01:00
Adria Navarro 82b4af1436 Update handlebars-helpers package 2024-01-30 17:09:41 +01:00
mike12345567 fcf8cf61da Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-01-29 12:35:54 +00:00
mike12345567 acc7868634 Fixing accidental removed character. 2024-01-26 16:52:19 +00:00
mike12345567 99c2a51f41 Updating back to use our own home-rolled version which allows us to specify the image version correctly, but using the testcontainers option to wait for two logs. 2024-01-26 16:48:56 +00:00
mike12345567 cf60138832 Trying proper Postgres testcontainers - should have more accurate startup. 2024-01-26 15:59:06 +00:00
mike12345567 870ca2266e Adding a 2 second timeout after the message occurs to make sure DB is fully started - can't wait for both messages. 2024-01-26 14:22:25 +00:00
Adria Navarro c21aa25fcf Revert yarn.lock changes 2024-01-24 17:31:19 +01:00
Sam Rose 2a7b6ef99d
Check in yarn.lock with account portal submodule checked out. 2024-01-24 15:38:41 +00:00
Sam Rose fd635ed080
Merge master. 2024-01-24 15:31:00 +00:00
Sam Rose 99e6d329cd
isolated-vm 4.6.0 -> 4.7.2 2024-01-24 15:14:25 +00:00
mike12345567 35a3d663ba Comments on PR - some small changes. 2024-01-24 12:33:29 +00:00