Commit Graph

8265 Commits

Author SHA1 Message Date
mike12345567 c30fe28fe8 Lint. 2024-09-27 13:07:44 +01:00
mike12345567 2a78409e8f Removing feature check. 2024-09-27 13:07:17 +01:00
Adria Navarro 042db6e748
Merge branch 'master' into fix/view-performance-improvements 2024-09-27 13:29:47 +02:00
mike12345567 d71ba7d37f Removing un-needed import. 2024-09-27 12:27:41 +01:00
mike12345567 aa4cc2079f Adding comment to explain new function. 2024-09-27 12:24:40 +01:00
mike12345567 c41c25a603 This improves the performance of views when the enriched relationships feature has been enabled. There was an issue that caused the squashLinks and outputProcessing to loop onto each other until things broke down - this fixes the issue. 2024-09-27 12:19:24 +01:00
Adria Navarro 41b7e765f3
Merge branch 'master' into BUDI-8565/related-columns 2024-09-27 12:43:18 +02:00
Peter Clement 5ef0e48ee0 add back space 2024-09-27 10:21:52 +01:00
Peter Clement f03ed03794
remove space
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-27 10:05:05 +01:00
Peter Clement acdcd02fcd Fix small issue with conditions in branches 2024-09-27 09:12:50 +01:00
Sam Rose 264b10f3f3
Fix isView. 2024-09-26 17:22:11 +01:00
Sam Rose 559988e011
Correct error message. 2024-09-26 17:11:50 +01:00
Sam Rose d7ffdf02c2
Update isTable and isView to depend on the ID format. 2024-09-26 17:10:53 +01:00
Sam Rose 8dd21e5592
Wider check on fields == null. 2024-09-26 17:06:51 +01:00
Sam Rose aa738659ae
Respond to PR feedback. 2024-09-26 16:21:34 +01:00
Sam Rose ae8a864566
Collapse duplicated key names. 2024-09-26 15:51:21 +01:00
Sam Rose ec6fa5f79b
Return SQS error to prevoius state. 2024-09-26 15:50:49 +01:00
Sam Rose 26a27ff70f
Remove needless table copy. 2024-09-26 15:48:44 +01:00
Sam Rose 25a2e02a90
Remove needless table copy. 2024-09-26 15:40:25 +01:00
Sam Rose 7c6c03c80b
Rename ViewUIFieldMetadata -> ViewFieldMetadata to match master. 2024-09-26 15:32:21 +01:00
Sam Rose e760dc4dc6
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql 2024-09-26 15:22:21 +01:00
Sam Rose c4c524c6ff
viewV2.spec.ts passsing in full 2024-09-26 15:22:10 +01:00
Adria Navarro 13418a56f8
Merge branch 'master' into BUDI-8565/related-columns 2024-09-26 15:31:45 +02:00
Adria Navarro b4da4529a3 ENRICHED_RELATIONSHIPS on by default in tests 2024-09-26 15:23:41 +02:00
Sam Rose 0ef633b87a
Fix viewV2.spec.ts for sqs 2024-09-26 11:56:03 +01:00
Peter Clement 4bc30a0187 pr comment 2024-09-26 11:50:03 +01:00
Sam Rose 43265bf1ea
Rejig view calculation code to work with aggregates again. Broke some other tests in the process. 2024-09-26 10:54:04 +01:00
Peter Clement 62b94111cc Merge remote-tracking branch 'refs/remotes/origin/feat/more-automation-tests' into feat/more-automation-tests 2024-09-26 10:22:36 +01:00
Peter Clement 44702bbfb6 pr comments 2024-09-26 10:22:16 +01:00
Peter Clement 4662ac4c5e
Merge branch 'master' into feat/more-automation-tests 2024-09-26 08:46:39 +01:00
Sam Rose efd677e16a
Most tests passing. 2024-09-25 16:50:06 +01:00
Sam Rose 566af9e454
Fix bulk import to not modify the table schema. 2024-09-25 16:44:37 +01:00
Sam Rose 564e16fd5c
wip 2024-09-25 15:41:18 +01:00
Sam Rose b68a51bd55
Merge master. 2024-09-25 14:59:47 +01:00
Sam Rose 76453bd500
Fix many more search tests. 2024-09-25 14:44:11 +01:00
Adria Navarro 7072244f31 Fix 2024-09-25 12:44:30 +02:00
Adria Navarro 9ecb64a992 Use sqs flag correctly on test 2024-09-25 10:32:58 +02:00
Sam Rose f475454bce
Fix search API break. 2024-09-24 18:07:31 +01:00
Sam Rose e3256cb005
Fix row.spec.ts. 2024-09-24 17:46:38 +01:00
Adria Navarro 7a7ce3dc62 Fix 2024-09-24 17:56:07 +02:00
Adria Navarro 53b4634cff Add enrichment tests 2024-09-24 17:51:05 +02:00
Adria Navarro d7d8284caf Add test 2024-09-24 17:42:25 +02:00
Sam Rose 0eb90cfbea
Type checks pass, now to find out how much stuff I've broken. 2024-09-24 16:35:53 +01:00
Peter Clement 751a84156e Merge remote-tracking branch 'origin/master' into feat/more-automation-tests 2024-09-24 16:14:25 +01:00
Sam Rose 0fee7dfd4f
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql 2024-09-24 15:07:08 +01:00
Peter Clement 0c6946af62 more automation tests 2024-09-24 15:01:05 +01:00
Sam Rose fc9b54cb85
Mostly solving type errors around passing the view all the way down, got a fair few left. 2024-09-24 13:01:33 +01:00
Sam Rose 51774b3434
Working on plumbing 'source' all the way through our code. 2024-09-24 12:30:45 +01:00
Peter Clement 6842c392a2 Merge remote-tracking branch 'origin/master' into feat/more-automation-tests 2024-09-24 12:05:54 +01:00
mike12345567 464f973f12 Adding a separation for MariaDB and MySQL, mariaDB is the core of the problem, this solves for it by separating them and allowing us to use the special json_arrayagg for mariaDB, but use a correlated sub-query for MySQL. 2024-09-24 12:01:47 +01:00
mike12345567 6a7959e93c Fixing test case. 2024-09-24 11:36:14 +01:00
mike12345567 385c274263 Merge branch 'fix/mysql-correlated-queries' of github.com:Budibase/budibase into fix/mysql-correlated-queries 2024-09-24 11:17:11 +01:00
mike12345567 956df101e8 PR comments and type improvements. 2024-09-24 11:16:42 +01:00
Peter Clement 980615b37b looping query rows 2024-09-24 11:08:44 +01:00
Michael Drury 617b7df07e
Merge branch 'master' into fix/mysql-correlated-queries 2024-09-23 18:41:43 +01:00
mike12345567 680c68a35b Adding test case. 2024-09-23 18:41:23 +01:00
Sam Rose 6cf7c55fd9
Merge master. 2024-09-23 14:14:23 +01:00
Sam Rose f6c09f43a6
Merge branch 'master' into budi-8637-googlesheets-issues-automations-row-actions-and-filtering-2 2024-09-23 13:23:19 +01:00
mike12345567 c8d1956c73 Fixing AI test cases. 2024-09-23 12:59:20 +01:00
Sam Rose 39736c57ca
Merge branch 'master' into budi-8637-googlesheets-issues-automations-row-actions-and-filtering-2 2024-09-23 11:46:22 +01:00
Michael Drury 52fba580cb
Merge branch 'master' into budi-8637-googlesheets-issues-automations-row-actions-and-filtering-2 2024-09-20 18:00:46 +01:00
Martin McKeaveney 95a08514b4 merge 2024-09-20 17:39:19 +01:00
Sam Rose c5db1d1da3
Got a test passing but I hate it a bit. 2024-09-20 16:37:23 +01:00
Sam Rose b8a3210286
Merge master. 2024-09-20 15:41:57 +01:00
Martin McKeaveney 876d837c33 adjust instantiation of llm class after static initialiser change 2024-09-20 14:58:10 +01:00
Sam Rose fc44b38fc5
Fix tests. 2024-09-20 11:52:06 +01:00
Sam Rose 9588192a52
Merge master. 2024-09-20 11:46:58 +01:00
Andrew Kingston 6428a67ad6
Merge branch 'master' into remove-view-readonly-column-licensing-master 2024-09-20 10:50:34 +01:00
Sam Rose af26b915b1
Add Google Sheets search test. 2024-09-20 10:17:45 +01:00
Sam Rose bd618f2b00
Remove unneeded error message check. 2024-09-19 16:53:00 +01:00
Sam Rose d0a0e74f39
Remove unused type. 2024-09-19 16:51:26 +01:00
Sam Rose ce105d8f4e
Revert unnecessary change. 2024-09-19 16:51:00 +01:00
Sam Rose aecd4f9e4d
Fetch schema tests. 2024-09-19 16:48:50 +01:00
Sam Rose 40e654f515
Merge branch 'master' of github.com:budibase/budibase into budi-8637-googlesheets-issues-automations-row-actions-and-filtering-1 2024-09-19 14:07:35 +01:00
Martin McKeaveney dadce14a71
Merge branch 'master' into budi-8608-ai-platform-level-config-pt-2 2024-09-19 10:48:01 +01:00
Sam Rose fd353b2ecf
wip 2024-09-19 10:09:21 +01:00
Martin McKeaveney 950bd45b2c add ts ignore for mock 2024-09-18 18:04:13 +01:00
Andrew Kingston da122d2ac1
Add table ID to row deletion requests that only contain string IDs 2024-09-18 14:55:09 +01:00
Martin McKeaveney 69b2bf9bdb lint 2024-09-18 14:21:10 +01:00
Martin McKeaveney 9cbaa02f5f add test for automation run step when LLM feature flags are on 2024-09-18 14:01:54 +01:00
Andrew Kingston a0350a75ef
Update tests again 2024-09-18 13:17:30 +01:00
Andrew Kingston fd9a2f87d1
Update more tests 2024-09-18 12:35:05 +01:00
Andrew Kingston c8c4248b3c
Update tests 2024-09-18 11:55:40 +01:00
Andrew Kingston 4325805ce3
Lint 2024-09-18 11:54:24 +01:00
Martin McKeaveney 2cf07a40f6 fix for setting default configs 2024-09-18 09:44:33 +01:00
Andrew Kingston fd3c8c4a11
Make view readonly columns available for free 2024-09-17 16:34:00 +01:00
Martin McKeaveney e40f397c25 move check for OpenAI config variable to legacy path 2024-09-17 16:29:44 +01:00
Martin McKeaveney 224be10b6c support for overriding models 2024-09-17 16:08:59 +01:00
deanhannigan e3abaab419
Merge branch 'master' into feat/automation-step-naming-updates 2024-09-17 09:15:17 +01:00
mike12345567 ec400dee6f Fixing test cases. 2024-09-16 19:20:58 +01:00
mike12345567 05fd9e8b81 Merge branch 'fix/sql-param-limits' of github.com:Budibase/budibase into fix/sql-param-limits 2024-09-16 18:09:12 +01:00
mike12345567 68a710699d Getting external DBs to correctly handle when too many fields. 2024-09-16 18:09:01 +01:00
Sam Rose 27f6fa7de4
Add a test for row exports on Google Sheets. 2024-09-16 16:36:17 +01:00
Sam Rose 9f21dc88b0
Fix lint. 2024-09-16 16:18:57 +01:00
Sam Rose 26ad987072
Fix Google Sheets pagination. 2024-09-16 16:15:09 +01:00
Sam Rose d6c8ae8ec4
Remove unused imports. 2024-09-16 12:09:50 +01:00
Sam Rose ea6e2a472e
Remove unused throw. 2024-09-16 12:09:04 +01:00
Sam Rose ddf7041562
Get row deletion working. 2024-09-16 12:06:27 +01:00
Sam Rose eaad70d031
Get table deletion working. 2024-09-16 11:59:06 +01:00
Martin McKeaveney 7fc0f38296 Merge branch 'master' of github.com:Budibase/budibase into budi-8608-ai-platform-level-config-pt-2 2024-09-16 11:54:12 +01:00
Martin McKeaveney c85bc88bf9 draft of openai impl 2024-09-16 11:54:04 +01:00
Sam Rose be1517ae22
Merge branch 'master' of github.com:budibase/budibase into more-google-sheets-tests 2024-09-16 11:29:21 +01:00
mike12345567 2a69cb220f Fixing an issue where table doesn't exist anymore for row trigger, which can cause the service to crash. 2024-09-13 18:54:47 +01:00
Peter Clement 66c12914b8
Merge branch 'master' into feat/automation-step-naming-updates 2024-09-13 16:04:32 +01:00
Andrew Kingston 663c0f20af
Don't use display names as role names, and restore usual names for built in roles 2024-09-13 14:14:36 +01:00
Peter Clement 7e767e4089 some pr comments 2024-09-13 12:25:39 +01:00
Peter Clement c980742081 Merge remote-tracking branch 'origin/master' into feat/automation-step-naming-updates 2024-09-13 12:04:48 +01:00
Michael Drury fed2870a86
Merge branch 'master' into feature/role-metadata-and-view-control 2024-09-12 17:18:48 +01:00
mike12345567 ef3f726346 Fixing test cases. 2024-09-12 16:23:00 +01:00
mike12345567 3a68b1ae30 Fixing test case - removing licensing. 2024-09-12 16:16:40 +01:00
mike12345567 8144aed935 Linting. 2024-09-12 15:53:44 +01:00
mike12345567 4d428f33f6 Adding validator for uiMetadata. 2024-09-12 15:45:41 +01:00
mike12345567 4952747ae9 Taking working from new-rbac-ui branch and separating it into its own PR, so that other work can be based on this from master. 2024-09-12 15:40:37 +01:00
Pascal Reichmuth e4664d23d7
Update openai.ts 2024-09-12 16:22:49 +02:00
Peter Clement 5c304b0b69
Merge branch 'master' into feat/automation-step-naming-updates 2024-09-12 15:01:39 +01:00
Peter Clement a831a4bf07 tests to cover automation naming 2024-09-12 14:58:53 +01:00
Pascal Reichmuth d8ff33441e
Update openai.ts 2024-09-12 15:51:00 +02:00
Peter Clement 2cdbf4190b Merge remote-tracking branch 'origin/master' into feat/automation-step-naming-updates 2024-09-12 14:10:52 +01:00
Peter Clement 594551e1b5 tests for filter steps 2024-09-12 14:05:32 +01:00
Michael Drury cdcefc397c
Merge branch 'master' into fix/role-permission-update 2024-09-12 13:30:05 +01:00
melohagan 49a4e252c6
Allow an account holder to login to account-portal if the tenant has been deleted. (#14547)
* Add email to session for populate user

* Add email param

* use param object

* Type fix for tests

* Fix test

* Temporarily remove account-portal tests
2024-09-12 08:38:11 +00:00
mike12345567 e89042b2e3 Fixing some role typing issues, as well as fixing an issue with the validator not allowing the structure that roles are expected to have. 2024-09-11 18:06:05 +01:00
Peter Clement 11c18474b2
Merge branch 'master' into tests/automation-branching-tests 2024-09-11 16:05:37 +01:00
Peter Clement babbe16d7d fix test name 2024-09-11 15:50:21 +01:00
Peter Clement f377b9f566 remove top level table config 2024-09-11 15:39:21 +01:00
Peter Clement 2f881dd16f Merge remote-tracking branch 'refs/remotes/origin/feat/automation-step-naming-updates' into feat/automation-step-naming-updates 2024-09-11 15:23:22 +01:00
Peter Clement 60dd500ecb rename func 2024-09-11 15:12:50 +01:00
Peter Clement 56b727a245 uneeded boolean 2024-09-11 15:00:39 +01:00
mike12345567 176c3d4ffd SQL test update. 2024-09-11 14:52:09 +01:00
Peter Clement 1947000f0c update case where no branch condition is met 2024-09-11 14:50:52 +01:00
mike12345567 fc3a865cfb Test fix. 2024-09-11 14:26:01 +01:00
mike12345567 05de673781 Merge branch 'master' of github.com:Budibase/budibase into aggregate-all-sql-dbs 2024-09-11 13:25:25 +01:00
Peter Clement dcc4c9d66f
Merge branch 'master' into feat/automation-step-naming-updates 2024-09-11 13:02:34 +01:00
Peter Clement f8725b5af0 Merge remote-tracking branch 'refs/remotes/origin/feat/automation-step-naming-updates' into feat/automation-step-naming-updates 2024-09-11 11:40:33 +01:00
Peter Clement 2d4ac7fced remove logs 2024-09-11 11:40:06 +01:00
Peter Clement ce08ce29b7
Merge branch 'master' into feat/automation-step-naming-updates 2024-09-11 11:36:00 +01:00
Michael Drury 5b776d62ad
Merge branch 'master' into fix/logical-operators-return-none 2024-09-11 10:46:25 +01:00
Sam Rose 69b8661d8a
Working toward delete tests. 2024-09-10 18:29:11 +01:00
Sam Rose ae1e2dd2f2
Add column rename test. 2024-09-10 17:41:33 +01:00
Michael Drury fa6058c748
Merge branch 'master' into fix/sql-many-relationships 2024-09-10 17:33:55 +01:00
mike12345567 595dd7ea6d Fix for test case. 2024-09-10 17:21:36 +01:00
Peter Clement abaa40a272 automation steps using names 2024-09-10 17:09:42 +01:00
mike12345567 9a61ec5950 More incorrect limits. 2024-09-10 17:07:31 +01:00
mike12345567 1582e3221f Adding test case for getting related array column in a JS formula. 2024-09-10 17:04:59 +01:00
Sam Rose dbfc6851af
More row reading tests. 2024-09-10 16:58:33 +01:00
mike12345567 86a6664c84 Updating test case. 2024-09-10 16:06:53 +01:00
mike12345567 d1b12b8d4a Linting. 2024-09-10 15:52:41 +01:00
mike12345567 2fd5c1a99f Handling JSON types within relationships, they need to be parsed as well. 2024-09-10 15:45:32 +01:00
Sam Rose 5f36a51e8c
Add new test creating multiple tables. 2024-09-10 14:39:23 +01:00
mike12345567 5e80a975dd Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships 2024-09-10 12:12:00 +01:00
Sam Rose 4a5d76b7ea
Merge branch 'budi-8579-issue-with-google-sheets' of github.com:budibase/budibase into budi-8579-issue-with-google-sheets 2024-09-10 10:59:21 +01:00
Sam Rose 7438a1d65c
tidy up null checks 2024-09-10 10:59:11 +01:00
Adria Navarro cd16c964c2
Merge branch 'master' into budi-8579-issue-with-google-sheets 2024-09-10 11:54:26 +02:00
Sam Rose 4ff0dab399
Respond to PR feedback. 2024-09-10 10:51:22 +01:00
Adria Navarro dc9e1cbbc7 Enrich view with all schema 2024-09-10 10:44:56 +02:00
Adria Navarro 3ab39fb44c
Merge branch 'master' into BUDI-8565/enrich-views 2024-09-09 20:35:09 +02:00
mike12345567 43ae48cc82 Test cases for return none/all with the logical operators, as well as updates to the hasFilter to support this correctly. 2024-09-09 18:14:02 +01:00
Sam Rose 1f405da3c3
Add some more tests. 2024-09-09 17:51:32 +01:00
Sam Rose 5cd1b00dad
Merge master. 2024-09-09 17:07:28 +01:00
Michael Drury 8e8946bc95
Merge branch 'master' into fix/sql-many-relationships 2024-09-09 16:53:48 +01:00
Sam Rose 4c600cd182
Merge branch 'master' of github.com:budibase/budibase into budi-8579-issue-with-google-sheets 2024-09-09 16:45:22 +01:00
Sam Rose 9e9f14d1b7
More comments. 2024-09-09 16:45:15 +01:00
Sam Rose 1eb8c3409a
More progress toward a row save test passing. 2024-09-09 16:33:35 +01:00
Dean ee968b212a Fix to accommodate filtering updates for GoogleSheets 2024-09-09 16:10:39 +01:00
Michael Drury e2c6893aa3
Merge branch 'master' into fix/sql-many-relationships 2024-09-09 16:07:16 +01:00
Adria Navarro 1c5bab07aa Fix tests 2024-09-09 16:43:43 +02:00
Adria Navarro d4b866b9bc
Merge branch 'master' into BUDI-8565/enrich-views 2024-09-09 16:30:05 +02:00
Adria Navarro e40a08ceca Fix tests 2024-09-09 16:27:54 +02:00
Adria Navarro 77be1cd869 Add metadata on related columns 2024-09-09 16:15:34 +02:00
Adria Navarro 30e31e1254 Enrich view columns 2024-09-09 16:15:18 +02:00
Peter Clement 30c392e5a8
Merge branch 'master' into feat/branching-feature-flags 2024-09-09 14:38:27 +01:00
Peter Clement 4231dafc94 remove uneeded import 2024-09-09 14:26:37 +01:00
Sam Rose 1c5b50773f
Docs to Google Sheets mock. 2024-09-09 12:05:15 +01:00
Sam Rose 1bc84c1633
2nd test WIP. 2024-09-06 17:29:56 +01:00
Sam Rose 0359b20347
First new test passing. 2024-09-06 16:55:16 +01:00
mike12345567 76273ff860 PR comments. 2024-09-06 16:47:43 +01:00
mike12345567 09824f9a4d Merge branch 'master' of github.com:Budibase/budibase into aggregate-all-sql-dbs 2024-09-06 16:27:37 +01:00
Sam Rose 3c58a593f9
Improve typing around in-memory search. 2024-09-06 15:03:17 +01:00
Sam Rose 7e5f199f3b
Merge branch 'master' of github.com:budibase/budibase into budi-8579-issue-with-google-sheets 2024-09-06 13:31:49 +01:00
Adria Navarro c8d32611c9 Lint 2024-09-06 11:06:07 +02:00
Adria Navarro c4c3c4a169 Tweak tests 2024-09-06 10:40:57 +02:00
Adria Navarro f1d0d9a171 Run actions enabled for tables off by default 2024-09-06 10:39:05 +02:00
Adria Navarro 70514d739d
Merge branch 'master' into BUDI-8429/row-action-view-security 2024-09-06 10:23:05 +02:00
mike12345567 888c4214bd Fixing SQL unit tests. 2024-09-05 18:12:53 +01:00
mike12345567 7cdf8137c5 Fixing aliasing test cases. 2024-09-05 17:57:15 +01:00
Peter Clement b1b861139d feature flag the branch action definition 2024-09-05 14:25:04 +01:00
Peter Clement 452ff17e1f
Merge branch 'master' into fix/automation-context-bug 2024-09-04 17:54:15 +01:00
Peter Clement 2135dbca67 update automation test builder to support ...building 2024-09-04 16:37:33 +01:00
Sam Rose 12db64513b
Revert to testing against mssql 2017, attempt to get relationship aggreggation working. 2024-09-04 16:21:32 +01:00
Peter Clement 9782ddb9ee missing param 2024-09-04 15:29:07 +01:00
Peter Clement 5e4b2fa500 use .call 2024-09-04 15:13:11 +01:00
Peter Clement 3a8a8b1195 fix issue with multiple loops breaking automation context 2024-09-04 14:54:47 +01:00
Sam Rose 2553432ec9
wip 2024-09-04 14:21:25 +01:00
mike12345567 eefb1f01a3 Fix for generic sql test. 2024-09-04 13:18:54 +01:00
mike12345567 fed82dffaf Linting. 2024-09-04 13:11:03 +01:00
Adria Navarro a6a1759561
Merge branch 'master' into BUDI-8429/row-action-view-security 2024-09-04 12:27:48 +02:00
Adria Navarro 19963f496f Add extra tests 2024-09-04 12:26:12 +02:00
Adria Navarro f4f503690d Dynamic tests 2024-09-04 12:23:15 +02:00
Adria Navarro 11e8d576e2 Extra tests 2024-09-04 11:11:10 +02:00
Adria Navarro 92a0740cef Proper guarding 2024-09-04 11:10:56 +02:00