Commit Graph

615 Commits

Author SHA1 Message Date
mike12345567 155de99b68 Streaming to disk before passing onto S3. 2024-06-03 11:46:20 +01:00
mike12345567 6df5315b32 Update yarn lock 2024-05-31 16:08:33 +01:00
melohagan b4645d8494
If a user starts the onboarding process, make sure they can still accept an invite (#13794)
* Add free_trial to deploy camunda script

* Getting invite details should not require tenancy

* make sure onboarding cookie is complete

* Make sure password is atleast 8 characters

* yarn lock

* update pro and account-portal

* update account-portal
2024-05-29 16:40:53 +01:00
Michael Drury 743f1cb9ca
Merge branch 'master' into feature/audit-log-sqs 2024-05-21 13:09:53 +01:00
mike12345567 082092b392 Handling pagination for SQS API. 2024-05-21 12:39:36 +01:00
Gerard Burns c3948262ba
Make Builder App Section Navigation Tabs Anchors (#13626)
* wip

* linting

* add dedicated anchor handler for safety

* fixes

* fixes

* fix meta key clicks

* lint

* lint
2024-05-21 10:22:57 +01:00
Gerard Burns 04cf17cea7 merge master 2024-05-21 09:51:06 +01:00
Adria Navarro 39ad85127b Use @budibase/google-spreadsheet 2024-05-17 12:11:26 +02:00
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