Commit Graph

25110 Commits

Author SHA1 Message Date
Sam Rose 94084db77d
Exclude isolated-vm.ts from coverage. 2024-04-03 16:36:01 +01:00
Sam Rose afa757f21a
Remove catch-all error handler in preview endpoint to help debug tests. 2024-04-03 16:24:19 +01:00
Sam Rose 6d41b890db
Fix test that doesn't work if you run it with reuse containers. 2024-04-03 16:09:12 +01:00
Michael Drury 1cfe4da027
Revert "Single attachment column type" 2024-04-03 16:01:45 +01:00
Adria Navarro 7d0090a8e2 Fix import/export 2024-04-03 17:01:36 +02:00
Adria Navarro a4c8fcb2ac Clean and populate url 2024-04-03 16:43:12 +02:00
Sam Rose 193d40f86c
Fix some tests. 2024-04-03 15:40:10 +01:00
Sam Rose 110e20c0ce
Update submodules. 2024-04-03 15:30:15 +01:00
Sam Rose b2ef045ecf
Merge master. 2024-04-03 15:17:38 +01:00
Adria Navarro 9438662603
Merge branch 'master' into BUDI-8122/single-attachment-column-type 2024-04-03 16:07:11 +02:00
Adria Navarro f9a21e766a
Merge branch 'master' into fix/devtools-preview-loading 2024-04-03 15:41:45 +02:00
Adria Navarro dc91aba52c authStore undefined check 2024-04-03 15:37:00 +02:00
Andrew Kingston 745a3a7ed4 Fix race conditions when running screen load actions 2024-04-03 14:34:43 +01:00
Sam Rose e0ab2f7e0f
Merge branch 'master' into reuse-containers 2024-04-03 14:28:58 +01:00
Adria Navarro f15e09c7ed
Merge branch 'master' into BUDI-8122/single-attachment-column-type 2024-04-03 15:05:33 +02:00
Adria Navarro 8f50281b2c
Merge branch 'master' into update-posthog-js 2024-04-03 15:01:34 +02:00
Sam Rose db877b7802
Create unique MongoDB databases. 2024-04-03 12:55:44 +01:00
Sam Rose 79184e70af
Remove CONTAINER_NAMESPACE, it wasn't the solution. 2024-04-03 12:32:29 +01:00
Sam Rose b98e80f687
Back down to 4. 2024-04-03 12:28:00 +01:00
Sam Rose 04aa53c306
Trying with 8 workers. 2024-04-03 12:22:11 +01:00
Andrew Kingston 7076b574fc Merge branch 'master' of github.com:Budibase/budibase into data-provider-auto-refresh 2024-04-03 12:04:50 +01:00
Adria Navarro 2c28e074ed Fix types 2024-04-03 12:59:04 +02:00
Sam Rose c764b0f22e
Testcontainer debug logging in test-libraries. 2024-04-03 11:55:38 +01:00
Adria Navarro dae0c749ca Lint 2024-04-03 12:54:43 +02:00
Adria Navarro 234c7feab2 Remove single subtype from attachments 2024-04-03 12:54:43 +02:00
Adria Navarro 291ad618e3 Change order 2024-04-03 12:54:43 +02:00
Adria Navarro 32d11498d2 Change icons 2024-04-03 12:54:43 +02:00
Adria Navarro aabee4d90e Rename ATTACHMENT to ATTACHMENTS 2024-04-03 12:54:21 +02:00
Adria Navarro 757284d6c0 Fix tsconfig 2024-04-03 12:54:21 +02:00
Adria Navarro a8c3011071 Rename FieldType.ATTACHMENT to FieldType.ATTACHMENTS 2024-04-03 12:54:20 +02:00
Adria Navarro 1992fbc5d2 Fix mapping 2024-04-03 12:53:55 +02:00
Adria Navarro 39ac734edd Clean components 2024-04-03 12:53:55 +02:00
Adria Navarro b99a51d48b Rename 2024-04-03 12:53:55 +02:00
Adria Navarro 5df68cfca7 Extract mapper 2024-04-03 12:53:55 +02:00
Adria Navarro 21597a44c9 SingleAttachmentField component 2024-04-03 12:53:55 +02:00
Adria Navarro ac5bae0e23 Lint 2024-04-03 12:53:55 +02:00
Adria Navarro 47ab920bd1 Fix 2024-04-03 12:53:55 +02:00
Adria Navarro d74af11230 Handle deletions 2024-04-03 12:53:55 +02:00
Adria Navarro b660e7e286 Handle display/set single attachment in form 2024-04-03 12:53:55 +02:00
Adria Navarro f41da36995 Display single attachment in form 2024-04-03 12:53:55 +02:00
Adria Navarro 6d5c47e0cc Max 1 file on single attachment 2024-04-03 12:53:55 +02:00
Adria Navarro ed228a2288 Single attachment cell 2024-04-03 12:53:55 +02:00
Adria Navarro c96e8b273d Fix types 2024-04-03 12:53:55 +02:00
Adria Navarro 7d88548255 More types 2024-04-03 12:53:55 +02:00
Adria Navarro 7523cf8be3 Single attachment cell 2024-04-03 12:53:54 +02:00
Adria Navarro f7c7ee91e2 Add single attachment type 2024-04-03 12:53:54 +02:00
Adria Navarro 38bfdcd749 Rename attachment to attachment list 2024-04-03 12:53:54 +02:00
Sam Rose c31614a582
Give test-libraries its own container namespace, give packages/server/scripts/test.sh some new params in the larger runners. 2024-04-03 11:45:41 +01:00
Adria Navarro a6c56c35d4 Type 2024-04-03 12:43:51 +02:00
Adria Navarro fba24987af Undo icon change 2024-04-03 12:41:32 +02:00
Sam Rose 258226ddef
Better error message when multiple images are found. 2024-04-03 11:40:14 +01:00
Martin McKeaveney 19c7c6aa9c upgrading posthog-js to support surveys 2024-04-03 11:38:42 +01:00
Adria Navarro 1fd4365cba Lint 2024-04-03 12:38:17 +02:00
Sam Rose 8cffdeda56
Re-use containers and create namespaces for each test. 2024-04-03 11:33:39 +01:00
Adria Navarro 5f55b85e98 Remove single 2024-04-03 12:29:13 +02:00
Adria Navarro 94890eae3e Type TypeIconMap 2024-04-03 12:26:25 +02:00
Sam Rose 3dff4bf334
Fix lint. 2024-04-03 11:20:43 +01:00
Adria Navarro f771cc17a7 Type FieldTypeToComponentMap 2024-04-03 12:15:47 +02:00
Sam Rose e3fbce25fa
Merge branch 'master' of github.com:budibase/budibase into reuse-containers 2024-04-03 11:15:11 +01:00
Adria Navarro edd3ce8f0f More types 2024-04-03 12:13:33 +02:00
Adria Navarro 3d45dcea5f Type renderers 2024-04-03 12:10:21 +02:00
Adria Navarro fcda81434c Fix types 2024-04-03 12:03:13 +02:00
Adria Navarro 890059829f More types 2024-04-03 12:03:05 +02:00
Adria Navarro d431f633d3 Use types 2024-04-03 12:02:55 +02:00
mike12345567 9b8b422f1b Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-04-03 10:16:23 +01:00
Dean aa7fe8f1b5 PR feedback 2024-04-03 09:11:56 +01:00
Dean f4fc8e5e97 Merge remote-tracking branch 'origin/master' into feature/screen-deselect 2024-04-03 09:05:12 +01:00
mike12345567 8c326b501b Adding support for oneOf ID search of users, today the relationship picker attempts to use this for the users table, but it was not supported. 2024-04-02 17:12:31 +01:00
Martin McKeaveney 89e081271f
Merge pull request #13385 from Budibase/bump-account-portal
acct-portal-sub
2024-04-02 16:16:51 +01:00
Martin McKeaveney 9762b2df0c acct-portal-sub 2024-04-02 16:14:46 +01:00
Andrew Kingston 567c3a6d10 Add optional chaining to fix log out and log in issue 2024-04-02 14:46:28 +01:00
mike12345567 5e186b5c8a Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-04-02 12:05:34 +01:00
Andrew Kingston 4673fbeaaa Fix overflow 2024-04-02 11:08:37 +01:00
Andrew Kingston 24f6761766 Revert clickoutside 2024-04-02 11:02:10 +01:00
Andrew Kingston d71766b9a4 Revert clickoutside 2024-04-02 11:01:50 +01:00
Andrew Kingston 2e4e3eac60 Update styles of selected day 2024-04-02 10:59:30 +01:00
Andrew Kingston f5369e7cdd Update pro 2024-04-02 10:50:37 +01:00
Andrew Kingston fd709308cd Merge branch 'master' of github.com:Budibase/budibase into new-datepicker 2024-04-02 09:52:08 +01:00
Dean 1c71b38569 PR feedback 2024-04-02 09:22:42 +01:00
deanhannigan 28968237c9
Merge branch 'master' into fix/automation-step-js-bindings 2024-04-02 09:15:31 +01:00
Dean ff5c7ceda8 Merge remote-tracking branch 'origin/master' into feature/screen-deselect 2024-04-02 09:14:22 +01:00
Andrew Kingston c76fda35ab Merge branch 'nested-nav-links' of github.com:Budibase/budibase into nested-nav-links 2024-03-28 18:30:54 +00:00
Andrew Kingston ca1e1149bf Fix border radius 2024-03-28 18:30:41 +00:00
Andrew Kingston 46fa157dea Improve naming consistency 2024-03-28 18:27:27 +00:00
Andrew Kingston 455d3e250a
Merge branch 'master' into nested-nav-links 2024-03-28 18:23:24 +00:00
Andrew Kingston 98c91a005d Filter out invalid links and sublinks 2024-03-28 18:22:27 +00:00
Andrew Kingston 75d4be94b5 Hide dropdown menu when clicking link 2024-03-28 18:20:19 +00:00
Andrew Kingston 5779a519af Fix issue when no sublinks 2024-03-28 18:00:45 +00:00
mike12345567 0b02233055 Moving test case to be more accurate in placement. 2024-03-28 17:59:51 +00:00
Andrew Kingston 284f7fe3cc Add client support for nav item updates 2024-03-28 17:58:32 +00:00
mike12345567 4c755b3af3 Improving typing around search, there was duplicates of SearchParams and SearchResponse - which were a little different, bring all of this together under the types library. 2024-03-28 17:57:37 +00:00
Sam Rose 90cfdd661d
Rework how we connect to containers. 2024-03-28 17:36:26 +00:00
Martin McKeaveney 29d0b91cc2 update account-portal ref 2024-03-28 17:28:41 +00:00
Martin McKeaveney a7722bccc0 fix worker test 2024-03-28 16:18:51 +00:00
Martin McKeaveney 32a5ce24ec remove automatic ssoId generation 2024-03-28 15:46:43 +00:00
José Vte. Calderón 267d187e41
Merge branch 'master' into feature/update-global-user 2024-03-28 16:12:17 +01:00
Andrew Kingston 917a387468 Add transitions to popover showing and hiding due to drawer prescence 2024-03-28 13:33:16 +00:00
Andrew Kingston fdc757029a Add sub link drawer 2024-03-28 13:16:57 +00:00
mike12345567 d8de0a3154 An issue which comes up relatively often is that localhost is not a valid option for a datasource in our cloud and our self host environments. Fixing this so it only shows this in development. 2024-03-28 12:14:56 +00:00
Andrew Kingston 26c4e504bf Add new nav item configuration list, popover and initial drawer. Fix BBUI combobox overflow 2024-03-28 12:00:36 +00:00
mike12345567 12c168e6eb Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-03-28 11:44:26 +00:00
José Vte. Calderón b5e0bd1aad
Merge branch 'master' into feature/update-global-user 2024-03-28 12:05:29 +01:00
jvcalderon af2407e8cd Lint 2024-03-28 12:04:27 +01:00
jvcalderon b77106480e Adds POST /api/global/users/sso endpoint 2024-03-28 11:46:58 +01:00
Sam Rose ecdb5eec36
Remove testcontainers debug logging. 2024-03-27 16:59:27 +00:00
Sam Rose 4183a0aeb7
Set default packages/server test timeout to 30 seconds, and unmock console.log. 2024-03-27 16:57:31 +00:00
Sam Rose 204b16876a
Run yarn lint:fix 2024-03-27 16:46:11 +00:00
Sam Rose eb33dac9b1
Make container reuse optional, disabled by default. 2024-03-27 16:40:41 +00:00
Sam Rose 3ad3f29861
Merge branch 'reuse-containers' of github.com:budibase/budibase into reuse-containers 2024-03-27 16:31:43 +00:00
Sam Rose 1205cfcbcc
Fix mysql.spec.ts 2024-03-27 16:31:31 +00:00
Michael Drury 1545df7681
Merge branch 'master' into reuse-containers 2024-03-27 16:20:42 +00:00
Sam Rose 385197a5f7
Fix postgres.spec.ts 2024-03-27 15:55:22 +00:00
Sam Rose 831c174362
Give SQL integrations their own database when fetching a new datasource. 2024-03-27 15:25:37 +00:00
Adria Navarro 5b55b9f569
Merge branch 'master' into ci/ignore-merge-commits-on-submodule-checks 2024-03-27 15:40:15 +01:00
Sam Rose c5dfd0c9ba
Merge branches 'master' and 'reuse-containers' of github.com:budibase/budibase into reuse-containers 2024-03-27 14:04:04 +00:00
mike12345567 4d6ceb142a Updating account portal reference. 2024-03-27 14:00:43 +00:00
mike12345567 936762c8ee Removing all eval warnings from rollup. 2024-03-27 13:35:47 +00:00
mike12345567 cd694cb312 Disabling warnings for eval (required). 2024-03-27 13:32:24 +00:00
mike12345567 84516e85a1 Updating to latest account portal master. 2024-03-27 13:00:02 +00:00
mike12345567 81ef8033dd Trying an earlier account portal reference. 2024-03-27 12:41:17 +00:00
Adria Navarro ab46a3e5e8 Update submodule 2024-03-27 12:41:05 +01:00
Adria Navarro 4493905e74 Update submodule 2024-03-27 12:39:20 +01:00
Andrew Kingston 003b0b8698 Merge branch 'master' of github.com:Budibase/budibase into nested-nav-links 2024-03-27 11:31:26 +00:00
José Vte. Calderón bb4ced613d
Merge branch 'master' into fix/account-portal-submodule 2024-03-27 11:44:46 +01:00
jvcalderon 0f170b6601 Update submodule 2024-03-27 11:32:08 +01:00
Andrew Kingston 0a4eddc7dc Try reverting account portal 2024-03-27 10:20:22 +00:00
Andrew Kingston ad89bb970c Update account portal 2024-03-27 09:31:22 +00:00
Andrew Kingston 9fe027b3db Initial work on nested nav links 2024-03-27 09:30:11 +00:00
Andrew Kingston 56887641b7
Merge branch 'master' into fix/skeleton-colours 2024-03-27 09:27:44 +00:00
Sam Rose f1609e6763
Retry socket hangups. 2024-03-26 17:25:24 +00:00
mike12345567 42214919be Improving types around row search. 2024-03-26 16:34:19 +00:00
Andrew Kingston cecd5a1908 Fix wrong nav settings being updated 2024-03-26 16:08:55 +00:00
Andrew Kingston d14cfbb0ab Don't show evaluation side panel when context exists but is empty 2024-03-26 16:05:19 +00:00
Andrew Kingston cdac78899a Rewrite navigation settings panel 2024-03-26 16:05:01 +00:00
Sam Rose 1eae212f83
Stop relying on config.request and create a supertest instance per request. 2024-03-26 15:41:51 +00:00
Andrew Kingston 84ffaa7022 Fix additional scrollbar appearing when hiding binding panels 2024-03-26 14:47:14 +00:00
Sam Rose b84bbd6003
Migrate viewV2.spec.ts to new datasource providers. 2024-03-26 14:43:17 +00:00
Sam Rose 2304aeaa71
Migrate mysql.spec.ts to new datasource providers. 2024-03-26 14:36:18 +00:00
Sam Rose 5530d7f4b6
Migrate mongodb.spec.ts to new datasource providers. 2024-03-26 14:05:58 +00:00
mike12345567 3843dc994b Fixing a type issue. 2024-03-26 13:52:22 +00:00
mike12345567 de518de8fa Merging issue with static index. 2024-03-26 12:53:45 +00:00
Sam Rose 158964c4d2
Got container reuse strategy in place, need to convert tests now. 2024-03-26 11:22:40 +00:00
Gerard Burns 00d57c7f0f add base theme to portal app preview 2024-03-26 11:06:09 +00:00
Andrew Kingston 6600930559 Fix annoying account-portal submodule check 2024-03-26 10:51:53 +00:00
Andrew Kingston a07ee66ac4 Merge branch 'master' of github.com:Budibase/budibase into fix/skeleton-colours 2024-03-26 10:50:55 +00:00
Andrew Kingston dbaaa9beee Remove redundant classes 2024-03-26 10:46:58 +00:00
Andrew Kingston 884d9ecf6c Remove testing code 2024-03-26 10:45:23 +00:00
Andrew Kingston 6c9127427c Fix issues with colours in app skeletons 2024-03-26 10:43:56 +00:00
Sam Rose e267096a0a
Merge master. 2024-03-26 10:31:47 +00:00
Sam Rose 06c3cc7e59
Update pro reference. 2024-03-26 10:16:50 +00:00
Sam Rose 6ee8f421a5
Merge branch 'master' of github.com:budibase/budibase into remove-jest-testcontainers 2024-03-26 10:05:21 +00:00
Sam Rose 037becfedc
Remove testcontainers debug logging. 2024-03-26 10:05:13 +00:00
Sam Rose a4b940e31d
Update pro reference. 2024-03-26 10:00:47 +00:00
Sam Rose 415b27a008
Don't need a globalTeardown, testcontainers handles the removal of containers. 2024-03-26 10:00:34 +00:00
Sam Rose d85db6b8fe
Update pro reference. 2024-03-26 09:51:42 +00:00
Sam Rose 5d7cd511b5
Correct path to global functions in jest.config.ts. 2024-03-26 09:51:10 +00:00
Sam Rose f3e9e3d35e
Share a single globalSetup/globalTeardown. 2024-03-26 09:49:33 +00:00
jvcalderon 62fa6d9fa4 Account portal submodule update 2024-03-26 09:14:12 +01:00
José Vte. Calderón bb50c87ac4
Merge branch 'master' into feature/onboarding 2024-03-26 09:04:12 +01:00
Michael Drury 69f0c06171 Refactoring, moving SQS around, re-introducing old internal search. 2024-03-25 19:00:08 +00:00
Sam Rose afacee978d
Add missing environment vars for backend-core tests. 2024-03-25 17:40:46 +00:00
Sam Rose 0dba0cebc7
Remove CouchDB container name. 2024-03-25 17:26:15 +00:00
Adria Navarro f7daceaf07 Remove unused .vscode folders 2024-03-25 18:23:12 +01:00
Sam Rose f68840a580
Remove testcontainers debug logging. 2024-03-25 17:13:04 +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
Sam Rose 44d4e496b6
Fix code to pull CouchDB URL out of docker ps. 2024-03-25 17:11:41 +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 d77b6f82e0
remove jestTestcontainersConfigGenerator.js 2024-03-25 15:42:45 +00:00
Sam Rose b303592f4c
Remove content length checks. 2024-03-25 15:30:14 +00:00
Sam Rose db21542d38
Cherry-pick 6b8422df01 2024-03-25 15:25:30 +00:00
Sam Rose 66cfb8eedd
Remove jest-testcontainers. 2024-03-25 15:24:14 +00:00
Sam Rose 7bf17932c9
Merge branch 'master' of github.com:budibase/budibase into remove-pg-mock 2024-03-25 15:00:56 +00:00
Sam Rose a925132fdf
Fix broken tests. 2024-03-25 15:00:16 +00:00
deanhannigan 00e4fe2a42
Merge branch 'master' into fix/automation-step-js-bindings 2024-03-25 14:49:26 +00:00
Sam Rose 869ed4256e
Merge master. 2024-03-25 14:13:48 +00:00
José Vte. Calderón f777316fc2
Merge branch 'master' into feature/onboarding 2024-03-25 14:56:51 +01:00
Sam Rose 419880e4fb
Merge branch 'master' into pull-images-prior-to-tests 2024-03-25 13:51:38 +00:00
Sam Rose 538f3b9dbe
Align our use of images across the codebase. 2024-03-25 13:51:27 +00:00
Michael Drury 37b4b756ea Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-03-25 13:31:31 +00:00
deanhannigan 9efcfc4c3f
Merge branch 'master' into fix/automation-step-js-bindings 2024-03-25 12:50:47 +00:00
Dean 9b4c22727f Fix to ensure runtimeTime binding is used is automation js modal 2024-03-25 12:36:56 +00:00
Sam Rose fc41d16d1d
Remove comment added to trigger tests. 2024-03-25 11:52:18 +00:00
jvcalderon 1da10c9a5f Merge branch 'master' into feature/onboarding 2024-03-25 12:51:57 +01:00
jvcalderon 4314489e26 Restore ethereal user 2024-03-25 12:31:48 +01:00
Michael Drury 6824d8626a Fixing failing test. 2024-03-25 11:19:31 +00:00
Sam Rose 077ca2d120
Make a change in packages/server to trigger the tests. 2024-03-25 11:16:37 +00:00
Michael Drury 5240c2c2ca
Merge branch 'master' into fix/BUDI-7444 2024-03-25 10:03:38 +00:00
Martin McKeaveney 803e9d4258
Merge branch 'master' into feature/nps-posthog 2024-03-25 10:01:44 +00:00
Michael Drury 67b1e3706d
Merge branch 'master' into fix/BUDI-7444 2024-03-25 09:40:05 +00:00
Sam Rose 5ecefa217a
Merge branch 'master' into remove-mongodb-mock 2024-03-25 09:34:33 +00:00
Michael Drury 615981cb1a
Merge branch 'master' into disable-single-attachment-column 2024-03-22 16:17:57 +00:00
Michael Drury a7142dc618
Merge branch 'master' into remove-mongodb-mock 2024-03-22 16:16:15 +00:00
mike12345567 39b8b3f0b7 Linting. 2024-03-22 16:05:48 +00:00
mike12345567 db19f2040f Disabling the single attachment column toggle for now - until we add the new type. 2024-03-22 15:52:46 +00:00
mike12345567 cc8a0274a4 Updating based on PR comments. 2024-03-22 15:26:02 +00:00
Sam Rose a9aa409d7c
Fix up tests. 2024-03-22 15:01:40 +00:00
Sam Rose 5e6a9d2176
Convert executeQuery.spec.js to TypeScript and make it hit real databases. 2024-03-22 14:41:09 +00:00
Sam Rose 6b2493352b
Merge branch 'master' into worker-remove-mocks 2024-03-22 14:16:06 +00:00
mike12345567 defb925d16 Query seq fix. 2024-03-22 13:38:52 +00:00
mike12345567 185e9c3425 Fixing test case. 2024-03-22 13:01:51 +00:00