Commit Graph

657 Commits

Author SHA1 Message Date
mike12345567 16f6cad1ea Adding a hack incase any API we are speaking to does not abide by the expected structure of the content-disposition header, fill in the missing type to allow parsing. 2024-05-15 13:28:03 +01:00
melohagan a350a715fa
Fix: Only show free trial banner/modal to account owner (#13692)
* Add free_trial to deploy camunda script

* Fix only show trial banner to owner
2024-05-15 10:33:02 +00:00
Gerard Burns 693e3373a6 merge master 2024-05-14 13:38:28 +01:00
Adria Navarro d2e72889d6 Update 2024-05-14 09:39:55 +02:00
Adria Navarro f8c0a3b5c0 Remove types 2024-05-13 15:15:48 +02:00
Adria Navarro 9414c34c21 Update types 2024-05-13 15:15:48 +02:00
Adria Navarro 2e636475cf Update packages 2024-05-13 15:15:48 +02:00
Adria Navarro e1561c9ee8 Dedupe 2024-05-13 14:43:34 +02:00
Adria Navarro 2c68c3ffb1 Merge branch 'master' into chore/remove-unused-packages 2024-05-13 14:38:46 +02:00
mike12345567 c70e390d8c Updating yarn.lock. 2024-05-08 12:41:06 +01:00
dependabot[bot] a002be6421
Bump ejs from 3.1.9 to 3.1.10
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 09:39:55 +00:00
Adria Navarro 06630a4c8e Remove unused packages from pro 2024-05-02 10:38:17 +01:00
Adria Navarro 6570b2efcc Remove unused packages from backend-core 2024-05-01 11:38:59 +01:00
Adria Navarro 23f0ec7f12 Remove unused packages from builder 2024-05-01 11:17:26 +01:00
Adria Navarro cbda40ac12 Remove unused packages 2024-05-01 11:07:00 +01:00
Adria Navarro bf41a6e4d3 Remove duplicates 2024-05-01 10:45:26 +01:00
Andrew Kingston a7f54eebdb Remove all traces of flatpickr 2024-04-26 16:25:41 +01:00
Andrew Kingston 2d811b355e
Merge branch 'master' into new-datepicker 2024-04-26 15:04:40 +01:00
Michael Drury ff29d36528
Revert "Getting rollup package versions consistent through all packages" 2024-04-26 14:59:19 +01:00
Andrew Kingston 4cdd6c8449 Merge branch 'master' of github.com:Budibase/budibase into new-datepicker 2024-04-26 13:21:00 +01:00
mike12345567 22a67eb769 Matching rollup version across all packages, there was a lot of mis-match and I was running into some build issues due to this, getting everything on the same version so that they can all use the same package - this also requires updating all .js extensions to .mjs to correctly support the imports. 2024-04-25 18:43:54 +01:00
Andrew Kingston a577812d25 Merge branch 'master' of github.com:Budibase/budibase into new-datepicker 2024-04-25 13:07:09 +01:00
Adria Navarro dfdc4a77c8 Update yarn.lock 2024-04-25 11:44:41 +02:00
Adria Navarro a2faf57b46 Use @budibase/pro resolution 2024-04-25 11:22:52 +02:00
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
melohagan e3e02c9f17
Merge branch 'master' into fix/budi-7916 2024-01-24 10:37:58 +00:00
mike12345567 fcb81a91d8 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-01-24 10:24:32 +00:00
Adria Navarro 76780d1c86 Remove raw from manifest 2024-01-23 17:41:07 +01:00
mike12345567 db7c2c804b Updating query responses to follow the same form consistently. 2024-01-19 18:13:12 +00:00
Adria Navarro 663e6d9bf8
Merge branch 'master' into isolated-vm 2024-01-19 13:11:34 +01:00
melohagan 87be623057
Remove auto naming of columns (#12816)
* Remove auto column naming

* Let enter key save edit table name

* update submodules
2024-01-19 11:26:13 +00:00
mike12345567 3ce00c42a2 Adding SQL logging capabilities. 2024-01-18 18:13:11 +00:00
Adria Navarro 09d8951fc3
Merge branch 'master' into isolated-vm 2024-01-18 14:21:13 +01:00
mike12345567 b370e2a0e5 Updating dd-trace to 5.0.0 across all packages now that the memory leak is solved, this also removes the erronous message on startup describing DataDog startup problems. 2024-01-15 17:44:52 +00:00
Adria Navarro 7186addb5c Merge branch 'BUDI-7884/esbuild-stringtemplates' into isolated-vm 2024-01-15 12:22:35 +01:00
Adria Navarro d7bbae3caf Update yarn.lock 2024-01-15 11:30:32 +01:00
Adria Navarro e352cc1d8e Merge branch 'master' into isolated-vm 2024-01-15 11:11:08 +01:00
Adria Navarro 24994ab03c Update yarn.lock 2024-01-15 11:09:41 +01:00
Adria Navarro 27bb73f77a Compile stringtemplates via esbuild 2024-01-15 11:01:13 +01:00
Sam Rose 290dde125e
Merge master. 2024-01-12 14:56:10 +00:00
mike12345567 8483a53178 This removes the need for constant DB HEAD requests to check if a database exists or not. Instead, it tries to make the request, and if it fails it will check if the reason for failure is the database not existing. If it doesn't exist it runs through the same old flow to confirm that it definitely doesn't exist, and if it doesn't then it will create it. 2024-01-11 16:44:15 +00:00
Adria Navarro 52b97336ee lodash.clonedeep 2024-01-10 14:56:29 +01:00
Adria Navarro a4cc424b69 Update @budibase/handlebars-helpers package 2024-01-10 14:38:58 +01:00
Adria Navarro 1586925b5a Add @types/koa-send 2024-01-09 09:44:49 +01:00
Adria Navarro 4f5c151dad yarn dedupe 2024-01-09 09:33:56 +01:00
Adria Navarro 0ec869303e Unify koa-send 2024-01-09 09:33:05 +01:00
Martin McKeaveney a34ae9e2e2 merge with master 2024-01-08 16:44:32 +00:00
Adria Navarro 0b46b6883d Remove unused regexparam 2024-01-08 14:06:54 +01:00
Sam Rose 6eb19f40cf
Merge master. 2024-01-05 16:21:53 +00:00
Martin McKeaveney fa84f90285 remove manual override to file-type dep 2024-01-05 15:56:44 +00:00
Sam Rose 58abca62de
work in progress: replace vm2 and vm with isolated-vm 2024-01-05 13:48:20 +00:00