Commit Graph

611 Commits

Author SHA1 Message Date
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
mike12345567 bbeaed48a7 Removing the use of the addQueries quota functionality from row API - we don't make use of these statistics anymore (and haven't in a while) counting them is pointless and could be causing some loss in performance in these heavily used endpoints. 2024-01-04 17:38:54 +00:00
melohagan 9f7b84c07a
Focus the code editor on mount (#12628)
* Focus the code editor on mount

* Save drawer shortcut

* Revert "Save drawer shortcut"

This reverts commit 95860ea6b9.

* Autofocus prop CodeEditor

* autofocusEditor prop for JS binding
2024-01-04 11:33:36 +00:00
Adria Navarro 622e345809 Update yarn.lock 2024-01-03 14:21:38 +01:00
Adria Navarro 7413fd96a8
Merge branch 'master' into chore/node-20 2024-01-03 14:15:21 +01:00
Martin McKeaveney 57cf6dec94 merge 2024-01-03 11:43:27 +00:00
Martin McKeaveney a13f1f31d1 more vuln patches 2024-01-02 19:26:26 +00:00
Martin McKeaveney 848e574654 more resolutions 2024-01-02 18:17:41 +00:00
mike12345567 9be6d6c645 Removing CLI pkg build - this has been a problematic element of our build for a while now and it is rarely utilised - rather than continuing to maintain this, getting rid of it. 2024-01-02 17:45:19 +00:00
Martin McKeaveney 6b388c3d17 pinned versions 2024-01-02 17:28:11 +00:00
Martin McKeaveney b80d0b490a bullboard, mongo and jimp patches 2024-01-02 13:23:55 +00:00
Martin McKeaveney 8f1470f5a5 merge with master 2023-12-22 17:08:32 +00:00
Adria Navarro 7b89422b6a Update mssql 2023-12-22 14:59:25 +01:00
Sam Rose 794ff7c9ef
run yarn install 2023-12-20 17:21:54 +00:00
Adria Navarro f0a789ca5b Run yarn audit 2023-12-20 11:52:05 +01:00
Martin McKeaveney cc7c1d1576 QoL improvement to query UI, switch out vm2 for isolated-vm 2023-12-18 22:37:39 +00:00
Sam Rose 85829d4643
Update yarn.lock 2023-12-18 17:13:47 +00:00
Martin McKeaveney 670ce0528f patch for tough cookie 2023-12-17 17:42:43 +00:00
Martin McKeaveney 3aa25e3804 more patches 2023-12-17 16:52:47 +00:00
Martin McKeaveney e73576d8d6 more patches 2023-12-17 15:58:10 +00:00
Martin McKeaveney 93901d2795 adding resolutions for vulnerable deps 2023-12-17 14:49:11 +00:00
Martin McKeaveney ab02b2c910 bump deps 2023-12-15 00:17:36 +00:00
mike12345567 6173497afa Adding a UUID helper to simplify things, question comes up fairly regularly. 2023-12-13 17:56:16 +00:00
Adria Navarro cb229ce243 Update yarn.lock 2023-12-12 17:29:22 +01:00
mike12345567 7b2880fbe2 Initial work to get relationship column saving working as expecting, sending out events on datasource update for tables, trying to move more to table API where possible. 2023-12-11 17:27:05 +00:00
mike12345567 09bb15e67f Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2023-12-11 11:30:34 +00:00
Adria Navarro 1e267fca5b Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-12-11 09:50:48 +01:00
mike12345567 4302c720ed Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2023-12-08 16:13:09 +00:00
Adria Navarro 5355238713 Add title to migration 2023-12-05 11:02:44 +01:00
Adria Navarro 85ac271d60 Update yarn.lock 2023-12-04 13:14:43 +01:00
Adria Navarro d283a2d336 Update yarn.lock and refs 2023-12-04 10:33:20 +01:00
Adria Navarro 9c9f45436f Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-12-04 09:30:00 +01:00
Adria Navarro f1fafc07f2 Update ioredis-mock 2023-11-30 18:39:33 +01:00
Adria Navarro e6ba87a092 Update yarn.lock 2023-11-27 20:52:10 +01:00
Adria Navarro e7bcabf1d2 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-27 20:48:32 +01:00
mike12345567 3228463749 Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2023-11-17 17:23:25 +00:00
Adria Navarro e8abb5cb46 Detect non-barrel workspace usages 2023-11-17 14:39:52 +01:00
Adria Navarro ab56228192 Use eslint-plugin-import and import/no-relative-packages 2023-11-17 13:03:28 +01:00
Adria Navarro 004e0a5f11 Update jest 2023-11-06 14:24:33 +01:00
Adria Navarro d568957c1d Clean unused packages 2023-11-06 10:43:21 +01:00
Andrew Kingston 819df964bc Fix style issues in client apps and remove extraneous dependencies 2023-11-03 11:18:03 +00:00
Andrew Kingston afffd4d234 Add initial version of new date picker without time support 2023-11-02 15:37:18 +00:00
Adria Navarro 042254d3ac Install dependencies 2023-10-31 15:21:40 +01:00
Adria Navarro 3ed2aa1d77 Revert major update 2023-10-27 16:59:49 +02:00
Adria Navarro 09075b4347 Update @budibase/nano 2023-10-27 16:37:36 +02:00
Adria Navarro d28593dea4 Update yarn.lock 2023-10-27 16:24:17 +02:00
Adria Navarro 3272a5c6e3 Revert major update 2023-10-27 15:35:52 +02:00