Commit Graph

8442 Commits

Author SHA1 Message Date
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
Andrew Kingston 51e09ddf7b
Update row action tests to revoke explicit view permissions when testing triggering against views 2024-09-23 10:08:21 +01:00
Andrew Kingston 162bfdef9b
Merge branch 'v3-ui' of github.com:Budibase/budibase into default-view-permissions 2024-09-23 09:54:28 +01:00
deanhannigan 2f015cec42
Merge branch 'master' into v3-ui 2024-09-23 09:13:18 +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
Andrew Kingston 5db3d84a8d
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-09-20 14:59:49 +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
Andrew Kingston 418bbff2f5
Lint 2024-09-19 15:15:19 +01:00
Andrew Kingston 55c7751dbb
Move permission updates into SDK 2024-09-19 15:12:03 +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
Andrew Kingston d4db493519
Set view permissions to explicit roles from the parent table 2024-09-18 11:50:15 +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
Dean d792adbaba Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-17 12:42:59 +01:00
Dean 77b282ab77 Merge remote-tracking branch 'origin/master' into v3-ui 2024-09-17 09:41:17 +01:00
deanhannigan e3abaab419
Merge branch 'master' into feat/automation-step-naming-updates 2024-09-17 09:15:17 +01:00
deanhannigan baa55489d4
Merge branch 'master' into v3-ui 2024-09-17 09:04:01 +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
Dean 19609434f7 Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-16 15:12:47 +01:00
Andrew Kingston 39781dcf58
Merge branch 'master' into v3-ui 2024-09-16 15:09:49 +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
Dean 08ca33563d Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-16 09:05:24 +01:00
deanhannigan c9fd03668e
Merge branch 'master' into v3-ui 2024-09-16 09:04:51 +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
Dean 7e19e237b1 Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-13 14:35:43 +01:00
Andrew Kingston 3af090d50f
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-09-13 14:29:37 +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
Dean 627e7fc799 Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-13 12:06:54 +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
Andrew Kingston ab018ced1f
Merge branch 'v3-ui' of github.com:Budibase/budibase into v3-ui 2024-09-13 10:39:33 +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
Dean 46cc9a074b Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-12 15:02:07 +01:00
Peter Clement 5c304b0b69
Merge branch 'master' into feat/automation-step-naming-updates 2024-09-12 15:01:39 +01:00
Dean 1454e52509 Merge remote-tracking branch 'origin/master' into v3-ui 2024-09-12 15:01:23 +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
Dean ae8bd22253 Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-11 12:46:47 +01:00
mike12345567 c0b38b74e0 Merge branch 'master' of github.com:Budibase/budibase into feature/builder-filtering-update 2024-09-11 12:23:06 +01:00
mike12345567 9ea3aca5e4 Typing improvements and fixing issue detected by test cases (old lucene syntax). 2024-09-11 12:21:19 +01:00
Dean 9ea74dcb45 Updates for view tests 2024-09-11 11:56:09 +01:00
Andrew Kingston 87dca3d11d
Merge branch 'master' into v3-ui 2024-09-11 11:50:41 +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
Andrew Kingston c3415d66f7
Merge branch 'v3-ui' of github.com:Budibase/budibase into feature/builder-filtering-update 2024-09-11 09:17:35 +01:00
Andrew Kingston c6e4c782b9
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-data-ui 2024-09-11 08:57:52 +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
Dean f9e8689ce9 Test fixes for view search 2024-09-10 12:19:41 +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
Dean fac39b2ede Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-10 11:07:02 +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
Dean 1d3130f8cc Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-09 16:51:00 +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
Dean 11b146fcbf Updates to filter UI and API requests across budibase 2024-09-09 16:36:31 +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
Andrew Kingston 0939a91677
Merge branch 'master' into new-data-ui 2024-09-05 08:53:15 +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
Peter Clement d80123bbcb use utilities api 2024-09-04 09:31:18 +01:00
Sam Rose 015ef56110
wip 2024-09-04 09:29:05 +01:00
Adria Navarro 00119f9d73 Guard permission 2024-09-04 10:16:59 +02:00
Andrew Kingston ea7d9d722d
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-04 08:55:15 +01:00
Peter Clement 0716702646 use opts param 2024-09-03 21:31:38 +01:00
Peter Clement 8c7aecfa22
Update packages/server/src/api/routes/utils/validators.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-03 21:14:28 +01:00
Peter Clement f6f6120e70
Update packages/server/src/api/routes/utils/validators.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-03 21:14:05 +01:00
mike12345567 2d6a8d9ff5 Fix for sorting, didn't account for some primitive types. 2024-09-03 18:50:01 +01:00
mike12345567 2a24a3dda6 Correcting test cases. 2024-09-03 18:40:20 +01:00
mike12345567 b29a4e2b37 Work to support all SQL DBs across the board using the aggregation method. 2024-09-03 18:24:50 +01:00
Adria Navarro 623b385d8a Promisify middleware 2024-09-03 17:53:25 +02:00
Peter Clement 93aba3ed22 Merge remote-tracking branch 'refs/remotes/origin/feat/branching-api-validation' into feat/branching-api-validation 2024-09-03 16:35:02 +01:00
Peter Clement 484b329bc8 ensure branch step is in output 2024-09-03 16:29:52 +01:00
Peter Clement 5c0fd002b4
Merge branch 'master' into feat/branching-api-validation 2024-09-03 16:23:17 +01:00
Adria Navarro aca310e721 Tidy code 2024-09-03 17:21:13 +02:00
Peter Clement 839292b84d add validators and tests for automation branching 2024-09-03 16:16:52 +01:00
Adria Navarro b74efe5340
Merge branch 'master' into BUDI-8609/run-row-action-as-sync 2024-09-03 16:59:56 +02:00
Adria Navarro c830e2a589 Fix tests 2024-09-03 16:52:27 +02:00
Adria Navarro 5ac5a63dc5 Run row action as sync 2024-09-03 16:51:56 +02:00
Adria Navarro ff126006ec
Merge pull request #14503 from Budibase/BUDI-8564/support-updating-names
Support updating names
2024-09-03 16:16:27 +02:00
Adria Navarro 52283e07aa Tidying 2024-09-03 16:15:33 +02:00
Andrew Kingston 789df301cb
Enable renaming row actions and improve row actions in grids 2024-09-03 15:05:13 +01:00
Adria Navarro 2667238d93 Add undefined check 2024-09-03 14:47:49 +02:00
Adria Navarro 4efb3d6ed6 Unify tests 2024-09-03 14:44:55 +02:00
Adria Navarro 3a3151b59d Add extra test 2024-09-03 14:23:08 +02:00
Adria Navarro 773b4f1050
Merge pull request #14482 from Budibase/BUDI-8561/display-relationship-fields
Display relationship fields
2024-09-03 14:05:27 +02:00
Peter Clement 56641e06c3 re-add branch step to outputs 2024-09-03 11:10:30 +01:00
mike12345567 7e7e23d5d9 Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships 2024-09-03 10:58:40 +01:00
Adria Navarro 662c6be435
Use optional chaining
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-03 11:39:01 +02:00
Adria Navarro 2e4ba9cb3c Remove break 2024-09-03 11:35:31 +02:00
Adria Navarro 3cee97aa02 Merge branch 'master' into feat/pick-relationship-fields 2024-09-03 11:19:18 +02:00
Adria Navarro e364bf5d65 Don't use `sdk.tables.getTables` (as it fails randomly) 2024-09-03 11:00:15 +02:00
Adria Navarro e61b619740 Clean code 2024-09-03 10:43:44 +02:00
Adria Navarro 6d24eba679 Move describes 2024-09-03 10:42:27 +02:00
Adria Navarro a9669c1c1d Extra tests 2024-09-03 10:40:29 +02:00
Peter Clement 66fdf03398
Refactor automation orchestrator to support branching (#14461)
* refactor automation thread

* fix infinite loop in branching

* remove try catch

* remove spacing

* remove unecessary addition of branch outputs

* pr comments

* remove loopstep instance variable

* add test to cover failure scenario

* add tests for other automationf ailure conditions

* update test name

* use private keyword instead of underscore

* parse int / string safely

* fix refs

* add condition support for branching and tests

* create helper function for recursing all search filters

* move helper func

* fix import
2024-09-03 08:33:41 +00:00
Adria Navarro 74eb0357a4 Rename link relationship fields 2024-09-03 10:15:26 +02:00
Adria Navarro 1be8289677
Merge branch 'master' into feat/row-action-view-security 2024-09-03 10:13:22 +02:00
Adria Navarro ae0e3cdb59 Fix test for external 2024-09-02 18:36:44 +02:00
Adria Navarro 2365a6ecd5 Add renaming column tests 2024-09-02 17:32:21 +02:00
mike12345567 fc31a28c10 Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships 2024-09-02 16:13:26 +01:00
Adria Navarro 3d1c861222
Merge branch 'master' into feat/pick-relationship-fields 2024-08-31 20:24:00 +02:00
mike12345567 d5bc5debac Another fix. 2024-08-30 17:57:02 +01:00
mike12345567 70708dc36e Adding back missing tests. 2024-08-30 17:47:08 +01:00
mike12345567 7c1f2522e2 Another test. 2024-08-30 17:42:54 +01:00
mike12345567 6249f41bbb Make sure Lucene correctly sets environment variables in development tests. 2024-08-30 17:34:10 +01:00
mike12345567 bdfd64c98c Fixing view test. 2024-08-30 17:19:04 +01:00
mike12345567 0311e8433b Fixing tests so they can work with SQS. 2024-08-30 17:06:30 +01:00
Adria Navarro 64c2a18934
Merge branch 'master' into feat/pick-relationship-fields 2024-08-30 14:45:01 +02:00
mike12345567 6407f5b68d Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships 2024-08-30 13:44:40 +01:00
mike12345567 6730105491 Adding the option to disable user sync, always importing large apps which are problematic. 2024-08-30 13:44:23 +01:00
Adria Navarro 3f9e6c548d Fix bug 2024-08-30 13:44:39 +02:00
Adria Navarro a7a5041b91 Remove error message catching 2024-08-30 10:30:27 +02:00
Adria Navarro eb58c696dd Clean 2024-08-30 10:30:27 +02:00
Adria Navarro 9f56b9916e Fix 2024-08-30 10:30:27 +02:00
Adria Navarro b54b2a7121 Lint 2024-08-30 10:30:27 +02:00
Adria Navarro 6a8d55a00c Add tests 2024-08-30 10:30:27 +02:00
Adria Navarro 5cd3b9dc88 Add tests 2024-08-30 10:30:27 +02:00
Adria Navarro 868d193015 Add triggerRowActionAuthorised 2024-08-30 10:30:27 +02:00
Adria Navarro f193df41f1 Expose get row action 2024-08-30 10:30:27 +02:00
Adria Navarro 6a43597dd3 Update paths 2024-08-30 10:30:27 +02:00
Adria Navarro 5ed66e9d40 Lint 2024-08-30 10:30:27 +02:00
Adria Navarro 95d863b4a8 Clean 2024-08-30 10:30:27 +02:00
Adria Navarro 6d1838d907 Create row action trigger test 2024-08-30 10:30:27 +02:00
Adria Navarro e93934111f Allow running api prod tests 2024-08-30 10:30:27 +02:00
Adria Navarro 610621823c Publish 2024-08-30 10:30:27 +02:00
Adria Navarro 568f5719c6 Test utils 2024-08-30 10:30:27 +02:00
Adria Navarro 922b746029 Crud endpoints only for builder 2024-08-30 10:30:27 +02:00
Adria Navarro 98347b45ce Extra tests 2024-08-30 10:30:27 +02:00
Adria Navarro b461025639 Check views 2024-08-30 10:30:27 +02:00
Adria Navarro 0ece6a4d2d Fix unauthorised tests 2024-08-30 10:30:27 +02:00
Adria Navarro 3ac1343b08 set/unsetViewPermission tests 2024-08-30 10:30:27 +02:00
Adria Navarro d1c6edc437 Return types 2024-08-30 10:30:27 +02:00
Adria Navarro ec2e5a0263 Add test utils 2024-08-30 10:30:27 +02:00
Adria Navarro 6d3006e80e Dry code 2024-08-30 10:30:27 +02:00
Adria Navarro 2aa71ab419 Set/unset 2024-08-30 10:30:27 +02:00
Adria Navarro 5f3dcda73a Refactor 2024-08-30 10:30:27 +02:00
Adria Navarro de3eae2d47 Fix types 2024-08-30 10:30:27 +02:00
mike12345567 a9b1a22403 Some improvements to get SQS tests passing. 2024-08-29 18:56:14 +01:00
Sam Rose 2a2dbfb745
Respond to last PR comment. 2024-08-29 17:59:17 +01:00
Sam Rose d134c21a45
Fix build. 2024-08-29 17:45:47 +01:00
mike12345567 b217e83b31 Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships 2024-08-29 16:54:21 +01:00
Sam Rose edfedec930
Fix lint. 2024-08-29 15:50:46 +01:00
Sam Rose bced81d241
Fix tests. 2024-08-29 15:45:19 +01:00
Adria Navarro 40021ff602 Fix view schemas 2024-08-29 13:56:42 +02:00
Adria Navarro 637464e8b0 Fix 2024-08-29 13:22:50 +02:00
Adria Navarro f2b8185905 Fix types 2024-08-29 13:20:35 +02:00
Adria Navarro 79ed5cd5a6 Fix 2024-08-29 13:16:27 +02:00
Adria Navarro fc1be3c9f8 Lint 2024-08-29 13:16:27 +02:00
Adria Navarro 033ac46259 Lint 2024-08-29 13:16:27 +02:00
Adria Navarro 351ed643ce Extra tests 2024-08-29 13:16:27 +02:00
Adria Navarro 275d358df9 Test updated 2024-08-29 13:16:27 +02:00
Adria Navarro d75f1debda Update 2024-08-29 13:16:27 +02:00
Adria Navarro 6b259676b2 Enrich on get row from view 2024-08-29 13:16:27 +02:00
Adria Navarro e443b00a69 Fix test 2024-08-29 13:16:27 +02:00
Adria Navarro b784479c8f Add feature flags back 2024-08-29 13:16:27 +02:00
Adria Navarro adc2e983b5 Move responsability 2024-08-29 13:16:27 +02:00
Adria Navarro 383aad7265 Honor fields on views 2024-08-29 13:16:27 +02:00
Adria Navarro 1bc1db9b29 Support outputSquash fields on searchs 2024-08-29 13:16:27 +02:00
Adria Navarro 73ec0bbf09 Renames 2024-08-29 13:16:27 +02:00
Adria Navarro de29d31c35 Enrich configuration only for views 2024-08-29 13:16:27 +02:00
Adria Navarro 4826a5fbbf Clean ts 2024-08-29 13:15:03 +02:00
Sam Rose 92957ede23
Merge master. 2024-08-29 12:12:29 +01:00
Adria Navarro 658d4b01b0 Merge branch 'master' into feat/pick-relationship-fields 2024-08-29 13:12:27 +02:00
Adria Navarro 6028ddec84 Move cast 2024-08-29 12:34:17 +02:00
mike12345567 413628ca3f Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships 2024-08-28 16:58:23 +01:00
Adria Navarro bb1232277f Merge branch 'master' into feat/pick-relationship-fields 2024-08-28 16:35:50 +02:00
Adria Navarro 92c3f4dba6
Merge branch 'master' into BUDI-8562/fix-trimming-views 2024-08-28 16:22:34 +02:00
Adria Navarro 54406fd6b5 Rename fetchView to fetchLegacyView 2024-08-28 14:56:40 +02:00
Adria Navarro d71b18be00 Fix tests 2024-08-28 14:44:08 +02:00
Adria Navarro f2d9be985d Lint 2024-08-28 14:36:19 +02:00
Adria Navarro 19e97dee50 Unify tests 2024-08-28 14:32:59 +02:00
Adria Navarro e1add8dd6a Fix retrieve 2024-08-28 14:32:59 +02:00
Adria Navarro 0dba593bdb Add extra test (failing) 2024-08-28 14:32:59 +02:00
Adria Navarro d404d60c32 Add extra tests 2024-08-28 14:32:59 +02:00
Adria Navarro 4bd27bac61 Add basic test 2024-08-28 13:36:40 +02:00
Adria Navarro 3af35e6683 Add describe 2024-08-28 13:28:45 +02:00
Adria Navarro 8a9e868527 Move test to right describe 2024-08-28 13:26:23 +02:00
Adria Navarro 9b67481661 Add extra tests 2024-08-28 13:16:42 +02:00
Adria Navarro 458ef9e754 Trim on output 2024-08-28 13:16:22 +02:00
Adria Navarro 1650cfba29 Fix test 2024-08-28 12:48:33 +02:00
Adria Navarro defbe20a3d Undo wrong delete 2024-08-28 12:47:34 +02:00
Adria Navarro 9459dd1820 getSourceId returns table & view data 2024-08-28 12:41:42 +02:00
Adria Navarro 6d8b0881a1 Rename 2024-08-28 12:17:25 +02:00
Adria Navarro 90af43ed87 Fix test 2024-08-28 12:11:28 +02:00
Adria Navarro bd1018ba2b Fix broken sqs tests 2024-08-28 12:10:10 +02:00
Adria Navarro 20f8fef15c Test sqs 2024-08-28 12:09:44 +02:00
Adria Navarro 5a8bb2972b Change types 2024-08-28 11:36:57 +02:00
Adria Navarro 935aa521ff Cleanup 2024-08-27 17:02:19 +02:00
Adria Navarro 1594fcc8c4 Test with flags 2024-08-27 16:56:47 +02:00
Sam Rose 707da3864b
Fix migration test. 2024-08-27 15:46:16 +01:00
Sam Rose 8c890af814
Fix view tests. 2024-08-27 15:29:37 +01:00
Sam Rose be0a14489b
Debugging view test failures. 2024-08-27 15:22:53 +01:00
Adria Navarro 5f40737e9c Use enums 2024-08-27 16:15:25 +02:00
Adria Navarro d4b0ef7d47 Feature flagging backend 2024-08-27 15:42:01 +02:00
Sam Rose 265000f7e1
Merge master. 2024-08-27 14:37:19 +01:00
Adria Navarro 8929b4a336 Fix jest issues 2024-08-27 15:07:38 +02:00
Adria Navarro 99bd057160 Add comment 2024-08-27 15:07:38 +02:00
Adria Navarro 266ae96a80 Don't run for mssql and oracle 2024-08-27 15:07:38 +02:00
Adria Navarro 3186179f0e Fix test 2024-08-27 15:07:38 +02:00
Adria Navarro 85aa6361b2 Fix broken sqs tests 2024-08-27 15:07:38 +02:00
Adria Navarro ccf734486f Test sqs 2024-08-27 15:07:38 +02:00
Adria Navarro 02fdbae7ac More tests 2024-08-27 15:07:38 +02:00
Adria Navarro a28114a01c Extra tests 2024-08-27 15:07:38 +02:00
Adria Navarro 329fefc7dd Prepare reusing 2024-08-27 15:07:38 +02:00
Adria Navarro a3bbbb32be Add test 2024-08-27 15:07:38 +02:00
Adria Navarro c77ec0d17a Exclude formulas 2024-08-27 15:07:38 +02:00
Adria Navarro daa152183c Use isvisible for populating schemas instead of readonly 2024-08-27 15:07:38 +02:00
Adria Navarro c397dadd76 Add "flag" 2024-08-27 15:07:38 +02:00
Adria Navarro b3cd06944f Enrich based on schema 2024-08-27 15:07:37 +02:00
Adria Navarro a7399cc3e9 Fix test 2024-08-27 15:07:09 +02:00
Adria Navarro 84bab434bf Don't include primary display columns by default 2024-08-27 15:07:09 +02:00
Adria Navarro 6b48bbf648 Clean empty message 2024-08-27 15:07:06 +02:00
Adria Navarro 1391f5d049 Trim wrong fields 2024-08-27 15:07:05 +02:00
Adria Navarro 5715f7e9c1 Fix promises 2024-08-27 15:07:05 +02:00
Adria Navarro 55d4e2dffe Enrich view schemas 2024-08-27 15:07:05 +02:00
Adria Navarro 906abbb12a Don't return primarydisplay and type 2024-08-27 15:07:05 +02:00
Adria Navarro c2e643cebb Fix enrichments 2024-08-27 15:07:05 +02:00
Adria Navarro 0e468b04de Fix build 2024-08-27 15:07:04 +02:00
Adria Navarro de61754312 Enrich relationship from backend 2024-08-27 15:07:04 +02:00
Adria Navarro 1504cead0c Persist view related schemas 2024-08-27 15:07:04 +02:00
mike12345567 80f3e5954b Getting processing of SQS relationships working. 2024-08-23 18:30:29 +01:00
Adria Navarro 2322925c62
Merge branch 'master' into fix/conditions-on-views 2024-08-21 14:38:24 +02:00
Adria Navarro bbe2763e54
Merge branch 'master' into fix/logical-operator-filter-cleanup 2024-08-21 13:45:50 +02:00
Adria Navarro 40e7ab1371 Fix build 2024-08-21 13:45:26 +02:00
Adria Navarro 7c06f1a407 Run tests for lucene as well 2024-08-21 13:40:17 +02:00
Adria Navarro 8c3f1c39c8 Fix test expect 2024-08-21 13:33:02 +02:00
Adria Navarro 9f05804c67 Add extra tests 2024-08-21 13:01:48 +02:00
Adria Navarro ff9d934f87 Allow filtering via allOr 2024-08-21 13:01:35 +02:00
Adria Navarro c5476ce3b3 Test both allOr and allAnd 2024-08-21 13:00:54 +02:00
mike12345567 e6c5a7ecd7 PR comments. 2024-08-21 11:05:48 +01:00
mike12345567 ff855a677a PR comments. 2024-08-20 13:27:20 +01:00
mike12345567 e941491d8c Don't check row value - always use the column or not. 2024-08-20 13:24:41 +01:00
mike12345567 8847a5b146 Disabling for old/in-memory search. 2024-08-20 13:19:58 +01:00
mike12345567 aab120b9ca Bringing back test cases. 2024-08-20 13:18:40 +01:00
mike12345567 f2beedbee6 Adding a test case for primary display columns, ignore when it has been set to a relationship, instead use another column which is valid in the table. 2024-08-20 13:14:24 +01:00
mike12345567 0d389bd8d7 Quick set of fixes, test cases assumed that multi-depth relationships were allowed, fixing this. 2024-08-20 12:31:46 +01:00
mike12345567 5435028e7d Fix for cyclic relationships, getQueryableFields allowed relationships from other tables, which can't work. 2024-08-20 12:13:37 +01:00
mike12345567 bbcb77c738 Fixing an issue where searching on a relationship column which is in a broken state would break in SQS (previously this was allowed and would return empty relationships). 2024-08-20 07:38:23 +01:00
mike12345567 a5533bb033 Fixing test cases. 2024-08-19 16:49:40 +01:00
mike12345567 f4d5eb31de Fixing test case. 2024-08-19 16:20:33 +01:00
Adria Navarro 07fe8c6c1f Many to many tests 2024-08-19 15:59:59 +02:00
Adria Navarro 27c618d263 Extra tests 2024-08-19 15:59:59 +02:00
Adria Navarro bbf7142bd7 Handle relationships properly 2024-08-19 15:59:59 +02:00
Adria Navarro d8462ba961 Fix tests 2024-08-19 15:59:59 +02:00
Adria Navarro b744ec3c35 Add extra tests 2024-08-19 15:59:59 +02:00
Adria Navarro f0a89764f2 Add basic test 2024-08-19 15:59:59 +02:00
Adria Navarro eb2d71e980 Move getQueryableFields to utils 2024-08-19 15:59:59 +02:00
Adria Navarro 084a481821 Typo 2024-08-19 15:59:59 +02:00
Adria Navarro 09938ae442 Don't change key order on trimming 2024-08-19 15:59:59 +02:00
Adria Navarro f53500450a Fix wrong test 2024-08-19 15:59:59 +02:00
Adria Navarro da87c0233b Don't trim usertable 2024-08-19 15:59:59 +02:00
Adria Navarro ce8730f176 Clean code 2024-08-19 15:59:59 +02:00
Adria Navarro 385c5f6e99 Trim unwanted columns in outputProcessing 2024-08-19 15:59:58 +02:00
Adria Navarro 1a88d9f89b Don't clean relationship query 2024-08-19 15:59:58 +02:00
Adria Navarro 08b0b6af19 Fix search relationships 2024-08-19 15:59:58 +02:00
Adria Navarro 59a164f4df Test relationships 2024-08-19 15:59:58 +02:00
Adria Navarro ee5c4e8ed8 Don't trim prefixed keys 2024-08-19 15:59:58 +02:00
Adria Navarro b1d78f129b Remove jest only 2024-08-19 15:59:58 +02:00
Adria Navarro ac62fc0e29 Fix jest asserts 2024-08-19 15:59:58 +02:00
Adria Navarro 0bdb6396ed Remove unneeded test 2024-08-19 15:59:58 +02:00
Adria Navarro 48486cdaa4 Implement query 2024-08-19 15:59:58 +02:00
Adria Navarro 5b13e53a3b Fix tests 2024-08-19 15:59:58 +02:00
Adria Navarro 6fe628f804 Fix tests 2024-08-19 15:59:58 +02:00
Adria Navarro 42070dcd39 Add tests 2024-08-19 15:59:58 +02:00
Adria Navarro 728b4d363d Add removeInvalidFilters utils 2024-08-19 15:59:58 +02:00
Adria Navarro 0212f584d2 Add imports 2024-08-19 15:59:57 +02:00
Adria Navarro 331e8eb7be Add view tests 2024-08-19 15:59:18 +02:00
Adria Navarro 3acc9bde45 Extra tests 2024-08-19 15:59:18 +02:00
Adria Navarro 723dfee8c8 Add field mapping tests 2024-08-19 15:59:18 +02:00
Adria Navarro 120d5d953d Fetch only table fields and validate 2024-08-19 15:59:18 +02:00
mike12345567 48672244f4 Fixing up column renaming everywhere that it is needed, making sure works for external as well. 2024-08-15 18:46:28 +01:00
mike12345567 aa1eaa1d3d A few fixes for logical operators, there was a lot of cleanup that was not occurring as it is supposed to be recursive, this wasn't happening. 2024-08-15 18:35:30 +01:00
Peter Clement 0e229c9b2e
Update automation test builder to support branching (#14387)
* add branch step definition

* update automation test builder to support branching

* rename Automation test builder

* example test

* pr comments
2024-08-15 16:07:42 +00:00
Sam Rose 278ae65eac
Fix broken import. 2024-08-15 16:28:54 +01:00
Sam Rose ea032a0e7e
Fix lint. 2024-08-15 14:59:31 +01:00
Sam Rose 86717b536b
Use new feature flag API for SQS. 2024-08-15 14:58:11 +01:00
mike12345567 e32409da15 Fixing an issue with app import - old attachments which have an invalid state can cause the app to fail to import. 2024-08-15 14:25:36 +01:00
Peter Clement f15847a40f
More automation typing in preparation for branching (#14378)
* More typing for automations

* undo test updates

* remove casting of loop step and add more types

* remove unused type

* pro

* Update types and fix ts issues

* add branching types

* remove any cast

---------

Co-authored-by: Adria Navarro <adria@budibase.com>
2024-08-14 21:39:39 +01:00
Peter Clement 37f749019d
Add more automation tests (#14369)
* Add more automation tests

* remove comment

* update assertion

* unused type

* split out query creation

* remove map
2024-08-13 14:16:55 +01:00
Sam Rose bcefa398a4
Merge master. 2024-08-12 09:43:49 +01:00
mike12345567 28a10bf908 Another test fix (yay for this one) 2024-08-09 14:54:47 +01:00
mike12345567 3e1a0a60b4 Checking the correct operation - also typeguarding the check. 2024-08-09 14:35:13 +01:00
mike12345567 a9acc7f87b Adding expect function to allow undefined. 2024-08-09 13:39:47 +01:00
mike12345567 97919821ac Merge branch 'fix/invalid-table-schema-search' of github.com:Budibase/budibase into fix/invalid-table-schema-search 2024-08-09 13:36:46 +01:00