Commit Graph

3726 Commits

Author SHA1 Message Date
mike12345567 5e1dbd974b Adding a polyfill bundle for Buffer which can be used in the isolated-vm. 2024-07-23 19:02:39 +01:00
Martin McKeaveney c0260b85ff remove all conditional oracle installs 2024-07-22 15:59:40 +01:00
Adria Navarro c4dacfbd71 Undo mssql update (as it breaks some types) 2024-07-04 11:43:54 +02:00
Adria Navarro 8da83dac58 Merge branch 'master' into chore/fix-npm-vulnerabilities 2024-07-04 11:08:51 +02:00
Adria Navarro 9d2385b777 Update jimp 2024-07-04 10:56:55 +02:00
Adria Navarro 8a5925a924 Update mssql 2024-07-04 10:55:39 +02:00
mike12345567 f34d731bcc Update MongoDB to 6.7.0 2024-07-03 14:04:47 +01:00
Michael Drury 5ca9caaa69
Revert "Update MongoDB." 2024-07-03 13:48:56 +01:00
Sam Rose 2e33680e6b
Update MongoDB. 2024-07-03 09:19:19 +01:00
Adria Navarro c1520c6bf6 Fix socket.io vulnerability 2024-07-02 15:26:44 +02:00
Adria Navarro e19c9bd66a Remove protobufjs critical vulnerability 2024-07-02 15:21:11 +02:00
Peter Clement cf11009e24
Update OpenAI dependency to fix 400 errors (#14033)
* Update OpenAI dependency to fix 400 errors

* add some optional chaining for safety

* add caret

* fix tests
2024-06-27 12:17:48 +01:00
mike12345567 ebf8f54bb7 Upgrading to Typescript 5.5.2 2024-06-24 16:41:28 +01:00
dependabot[bot] 7ef46092d0
Bump socket.io from 4.6.1 to 4.6.2 in /packages/server
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.6.1...4.6.2)

---
updated-dependencies:
- dependency-name: socket.io
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-19 17:52:38 +00:00
dependabot[bot] c8c0dfb84d
Bump tar from 6.1.15 to 6.2.1 in /packages/server
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.15 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.15...v6.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 09:23:30 +00:00
mike12345567 155de99b68 Streaming to disk before passing onto S3. 2024-06-03 11:46:20 +01:00
dependabot[bot] 25a4e1d999
Bump mysql2 from 3.9.7 to 3.9.8 in /packages/server
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.9.7 to 3.9.8.
- [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.9.7...v3.9.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-30 19:53:00 +00:00
Adria Navarro 39ad85127b Use @budibase/google-spreadsheet 2024-05-17 12:11:26 +02: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 cbda40ac12 Remove unused packages 2024-05-01 11:07:00 +01:00
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