Commit Graph

3703 Commits

Author SHA1 Message Date
dependabot[bot] c8446fa5a6
Bump mysql2 from 3.5.2 to 3.9.7 in /packages/server
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.5.2 to 3.9.7.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.5.2...v3.9.7)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 22:12:24 +00: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
mike12345567 68c5e657dd Updating @types/archiver to be more specific. 2024-04-15 13:46: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
Adria Navarro ac5d578349 Zip file 2024-04-04 21:28:06 +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
Sam Rose d0a5ae6ae3
Respond to Mike's feedback. 2024-04-04 15:27:50 +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 569f00316b
Merge branch 'master' of github.com:budibase/budibase into remove-jest-testcontainers 2024-03-25 17:12:11 +00:00
Gerard Burns d9033b2636
Un-revert Skeleton Loader PR (#13180)
* wip

* wip

* wip

* client versions init

* wip

* wip

* wip

* wip

* wip

* linting

* remove log

* comment client version script

* lint

* skeleton loader type fix

* fix types

* lint

* fix types again

* fix manifest not being served locally

* remove preinstalled old client version

* add constant for dev client version

* linting

* Dean PR Feedback

* linting

* pr feedback

* wip

* wip

* clientVersions empty array

* delete from git

* empty array again

* fix tests

* pr feedback

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-03-25 16:39:42 +00:00
Sam Rose db21542d38
Cherry-pick 6b8422df01 2024-03-25 15:25:30 +00:00
Sam Rose a9aa409d7c
Fix up tests. 2024-03-22 15:01:40 +00:00
Sam Rose 08fecca9f2
Delete query.seq.spec.ts 2024-03-22 12:00:26 +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
Adria Navarro d34b4c9d80 Set inputs to nx 2024-03-18 13:47:54 +01:00
Andrew Kingston af10b65d51 Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-11 13:55:12 +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
Andrew Kingston b7b1e95eb8 Add working PoC of snippets for both polyfilled vm and isolated-vm 2024-03-01 15:25:40 +00:00
mike12345567 ad0c1a94c9 Fixing some typing that was added. 2024-03-01 13:59:42 +00:00
Gerard Burns 5ec4e90c6d
Revert "App Preview Skeleton (#12898)" (#13159)
This reverts commit 9a9b745795.
2024-02-29 12:51:56 +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
Gerard Burns 9a9b745795
App Preview Skeleton (#12898)
* wip

* wip

* wip

* wip

* wip

* wip

* builder design skeleton

* pre doc loading skeleton for portal preview

* feature complete?

* wip

* linting

* linting

* linting

* fix ts error?

* ts types fix

* linting

* remove unnecessary build stuff

* include skeleton in server app directly

* linting

* linting

* fix builder preview aspect ratio for skeleton

* remove dev tools skeleton

* linting
2024-02-27 15:29:35 +00:00
mike12345567 90c06e633b Merging latest master. 2024-02-26 15:46:00 +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
Adria Navarro fa2fbb4253 Update command 2024-02-13 23:10:55 +01:00
Adria Navarro 36ea9b9df1 Use existing version 2024-02-12 16:20:01 +01:00
Adria Navarro e3f803ef6b Install package 2024-02-12 16:04:31 +01:00
Adria Navarro e39bd1869e Install vm2 2024-02-09 16:21:38 +01:00
Sam Rose 77b3d479a0
Update dd-trace to 5.2.0. 2024-02-09 12:01:37 +00:00
Adria Navarro a273276bd3 Use bson in isolated-vm 2024-02-07 10:58:42 +01:00
Martin McKeaveney f089a0fdf5
Merge pull request #12632 from Budibase/security/patches
Security/patches
2024-02-06 17:42:53 +02:00
Adria Navarro 792283d8b5 Add readme 2024-02-06 10:18:58 +01:00
Adria Navarro 719062ab2f Remove bundles from string-templates 2024-02-06 10:06:26 +01:00
Adria Navarro 221ac36ff1 Bundle as txt 2024-02-05 18:26:55 +01: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 181d462cdf Update uuid 2024-02-01 11:15:21 +01:00
Adria Navarro 623b4f5dab
Merge branch 'master' into isolated-vm 2024-01-31 10:47:08 +01: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