Commit Graph

13883 Commits

Author SHA1 Message Date
Adria Navarro b05f35f58f
Merge pull request #14859 from Budibase/BUDI-8774/row-actions-dont-get-deleted-when-removing-a-datasource
Delete row actions when removing a datasource
2024-10-24 18:04:52 +02:00
mike12345567 5a46e16b8d Adding some tests around the openAPI public APIs to make sure the security works the way we expect, do not redirect API requests. 2024-10-24 16:54:08 +01:00
Sam Rose 977826a0ca
Clean up table assertions in SQL injection tests. 2024-10-24 15:37:53 +01:00
Sam Rose 6e6e1368c1
Assert table is not deleted in SQL injection tests. 2024-10-24 15:32:08 +01:00
Adria Navarro 4dedde5165 Add missing rowaction 2024-10-24 13:51:44 +02:00
Adria Navarro 637c13c1af Proper typing for emitTable 2024-10-24 13:44:20 +02:00
Adria Navarro 342d70b326 Proper typing 2024-10-24 13:42:01 +02:00
Sam Rose e54bb3fbdc
Uncomment view tests. 2024-10-24 12:33:32 +01:00
Sam Rose 478160c412
Fix all tests. 2024-10-24 12:28:23 +01:00
Dean 6a6ae2c4e7 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-24 12:15:56 +01:00
Adria Navarro 47e16dd844 Typing emitter 2024-10-24 13:07:13 +02:00
Sam Rose 0736812293
Add SQL injection tests. 2024-10-24 11:39:57 +01:00
Adria Navarro 8dda1a51cf Remove row actions when unfetching tables 2024-10-24 12:39:20 +02:00
Andrew Kingston a8264aadc2
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-24 11:37:04 +01:00
Adria Navarro ae6f2f9382 Fix test 2024-10-24 12:22:51 +02:00
Sam Rose e14918c105
Fix notContains tests again. 2024-10-24 11:20:31 +01:00
Adria Navarro bbc9a2798d Add test for internal 2024-10-24 12:08:44 +02:00
Adria Navarro 7b0419773c Implement deletion 2024-10-24 12:08:17 +02:00
Sam Rose 4a42439647
Merge branch 'master' of github.com:budibase/budibase into sql-security 2024-10-24 11:04:16 +01:00
Sam Rose 0695888659
wip 2024-10-24 11:01:35 +01:00
Adria Navarro f2e46863f6 Add test deleting external ds 2024-10-24 11:53:59 +02:00
Adria Navarro ccdb032449 Move sdk rowaction code 2024-10-24 11:30:59 +02:00
Adria Navarro 9c9d2560b2 Remove fetchEnriched 2024-10-24 11:17:31 +02:00
Andrew Kingston 249f44dc11
Use new default app theme constant when creating apps 2024-10-24 10:13:42 +01:00
Dean 1193efb38a Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-24 10:06:46 +01:00
Andrew Kingston 4c112d51e6
Move themes to shared core, add enum and type 2024-10-24 09:24:11 +01:00
Sam Rose ebcbadfd3a
remove all of the `fnc` variables 2024-10-23 17:21:14 +01:00
Michael Drury 714afad2ad
Merge branch 'master' into fix/mysql-forward-slashes 2024-10-23 16:57:26 +01:00
Sam Rose aaf4022f25
Finally fix notContains tests. 2024-10-23 16:22:07 +01:00
Adria Navarro 8466f8883c
Merge pull request #14854 from Budibase/chore/simplify-automation-data
Trigger info data in the frontend
2024-10-23 17:15:21 +02:00
Adria Navarro 998d0002b8 Cleanup dead code 2024-10-23 16:48:22 +02:00
Adria Navarro 11b2e40836 Remove 2024-10-23 16:37:55 +02:00
mike12345567 8ebb02eb79 Test fix. 2024-10-23 15:30:46 +01:00
mike12345567 e28357c451 Linting. 2024-10-23 15:21:37 +01:00
mike12345567 3ddd8e10cc Comment and test case. 2024-10-23 15:10:53 +01:00
mike12345567 8f21802e6e Refactor, correct to the BuiltinPermissionID rather than PermissionLevel, these are different. 2024-10-23 15:08:59 +01:00
Sam Rose 309506adab
wip 2024-10-23 15:05:41 +01:00
mike12345567 c6a413f399 Quick fix for role validation, permissionId is no longer required. 2024-10-23 14:47:06 +01:00
Sam Rose 26192515b3
Merge branch 'master' of github.com:budibase/budibase into sql-security 2024-10-23 14:45:51 +01:00
Dean 071a5b1d46 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-23 14:36:16 +01:00
Sam Rose ad475be4f7
Merge pull request #14818 from Budibase/queryui-default
Make `queryUI` on `ViewV2` something you can write on its own, and `query` gets filled in for you
2024-10-23 14:28:29 +01:00
Adria Navarro 64db4db3b3
Merge pull request #14849 from Budibase/BUDI-8770/row-action-automation-names-are-not-updated-in-automation
Row action name cleanup
2024-10-23 15:06:00 +02:00
Sam Rose 17c9d9f9e1
Merge branch 'v3-ui' into queryui-default 2024-10-23 13:59:53 +01:00
Sam Rose da2b2e5c85
Merge v3-ui. 2024-10-23 13:55:57 +01:00
Adria Navarro 63daa6bcde Remove obsolete test 2024-10-23 14:08:07 +02:00
Andrew Kingston 45dbfd2e35
Merge pull request #14577 from Budibase/new-rbac-ui
New RBAC UI
2024-10-23 12:19:53 +01:00
Adria Navarro 46a7f15fed Fix name checks 2024-10-23 13:19:24 +02:00
Adria Navarro 732d701a86 Remove row action update tests 2024-10-23 13:16:55 +02:00
Adria Navarro 1fef7838f2 Check names properly 2024-10-23 13:15:07 +02:00
Adria Navarro b4a979ed97 Fix get names 2024-10-23 13:10:50 +02:00
Adria Navarro 8f99072552 Reuse 2024-10-23 13:08:22 +02:00
Adria Navarro dab38265db Allow renaming row actions 2024-10-23 12:54:32 +02:00
Adria Navarro 015854f1a2 Dont persist row action name 2024-10-23 12:49:42 +02:00
Martin McKeaveney e938a41fde
Merge pull request #14846 from Budibase/ai-fixes-3.0
BB AI QA testing fixes
2024-10-23 11:47:08 +01:00
Adria Navarro 7781e75491 Simplify row action permissions response 2024-10-23 12:47:06 +02:00
Sam Rose 6f4e1dd711
Respond to PR comment. 2024-10-23 11:34:55 +01:00
Adria Navarro 076f21108f Remove unnecessary row action update endpoint 2024-10-23 12:30:23 +02:00
Adria Navarro 1f01277ee8 Clean code 2024-10-23 12:22:07 +02:00
Adria Navarro 713500febb Add sdk.automation.find 2024-10-23 12:18:53 +02:00
Martin McKeaveney 8f0a234ae3 fix tests 2024-10-23 11:13:52 +01:00
Sam Rose d56ca8eb06
Merge branches 'master' and 'queryui-default' of github.com:budibase/budibase into queryui-default 2024-10-23 09:53:38 +01:00
Dean fb17881ea3 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-23 09:23:01 +01:00
Sam Rose 56a68db1d4
Checkpoint EOD: fixed a bunch more raw cases, some test failures to fix tomorrow. 2024-10-22 18:33:44 +01:00
Martin McKeaveney 807ecf6039 BB AI QA testing fixes 2024-10-22 18:24:10 +01:00
mike12345567 bd37698055 Switching away from regex to use custom formats. 2024-10-22 17:42:10 +01:00
Adria Navarro 23cf44b242
Merge branch 'master' into v3-ui 2024-10-22 18:23:26 +02:00
mike12345567 bdac304551 Adding back test cases. 2024-10-22 17:20:27 +01:00
Adria Navarro 91e3c87a9c Fix typo 2024-10-22 17:59:03 +02:00
Michael Drury 9575095da3
Merge pull request #14844 from Budibase/fix/multi-inheritance-preview-role
Preview role - multi-inheritance fixes
2024-10-22 16:48:14 +01:00
Adria Navarro d73643f0b3 Allow serving old versions locally 2024-10-22 17:42:36 +02:00
Dean 1c41471174 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-22 16:33:44 +01:00
mike12345567 0b2ac578c0 linting. 2024-10-22 16:27:53 +01:00
mike12345567 f91e039402 Adding test with invalid role IDs.# 2024-10-22 16:06:26 +01:00
mike12345567 99d867fe60 Updating test case. 2024-10-22 16:04:18 +01:00
mike12345567 74870663e2 Addressing PR comments. 2024-10-22 16:02:20 +01:00
Adria Navarro f07cb6bd74 Fix test 2024-10-22 16:37:58 +02:00
Adria Navarro b85a28fdf6 Fixes 2024-10-22 16:19:25 +02:00
mike12345567 eb349b5fb3 Linting. 2024-10-22 15:15:18 +01:00
mike12345567 fe35ef74e7 final test case. 2024-10-22 15:06:50 +01:00
mike12345567 ebc440a0b6 Another test case. 2024-10-22 15:03:47 +01:00
mike12345567 cf3ef64734 Clean up role header implementation in currentapp.ts 2024-10-22 15:03:13 +01:00
Peter Clement 94ebd7c6ef update automation emitter 2024-10-22 14:36:15 +01:00
mike12345567 f3d54f1b7d Adding test cases. 2024-10-22 13:54:54 +01:00
Peter Clement 75f17f5c12 update test to check for user id 2024-10-22 13:53:31 +01:00
mike12345567 00fe28e557 Simplifying retrieval of role hierarchy for accessible endpoint. 2024-10-22 13:05:22 +01:00
Adria Navarro e1640cccf9 Change api type back 2024-10-22 14:04:57 +02:00
Andrew Kingston 69969e8cc5
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-22 12:47:15 +01:00
Adria Navarro 020927ae6c Fix types 2024-10-22 13:19:04 +02:00
Peter Clement bce430b57c pr comments 2024-10-22 12:03:16 +01:00
Adria Navarro 838d11e253 Update only for templates 2024-10-22 13:01:33 +02:00
Adria Navarro 77c4140e76 Type useTemplate as bool 2024-10-22 12:49:34 +02:00
Sam Rose 4545493cd5
Checkpoint, more raws converted. 2024-10-22 11:48:38 +01:00
Adria Navarro 5fe2a1d33e Rename and pass just required data 2024-10-22 12:23:36 +02:00
Adria Navarro 8dee7b2c45 Remove obsolete templateString 2024-10-22 11:56:19 +02:00
Peter Clement abe725a3b9 Merge remote-tracking branch 'origin/master' into feat/support-user-in-automation-context 2024-10-22 10:53:17 +01:00
Peter Clement 09695fabd6 extract necessary user bindings and add types 2024-10-22 10:52:52 +01:00
Adria Navarro cb5082a0c0 Fix check 2024-10-22 10:25:09 +02:00
Adria Navarro 87dbe66ccc Update user column data on import 2024-10-22 10:23:27 +02:00
Sam Rose 44bd00a0d7
Making progress on converting raw calls to use bindings. 2024-10-21 18:20:52 +01:00
mike12345567 e69bfc2d71 Adding a fix for mysql, stopping coercion to dates in some cases, attempting to make this less all catching. Likely an area of concern, but there is currently no way to search for dates without this. 2024-10-21 17:17:05 +01:00
Sam Rose 00bdd6fc00
Merge branch 'master' of github.com:budibase/budibase into sql-security 2024-10-21 16:39:58 +01:00
Dean 7aa0ee766a Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-21 15:18:40 +01:00
Adria Navarro ff14191af7 Fix test 2024-10-21 16:01:12 +02:00
deanhannigan 2795eca672
Merge branch 'master' into v3-ui 2024-10-21 15:01:02 +01:00
Adria Navarro aeeb4b6b0f Cleanup sqs flags from tests 2024-10-21 15:37:42 +02:00
Adria Navarro e7d4f90f1b Cleanup sqs flags from tests 2024-10-21 15:31:33 +02:00
Adria Navarro 1a572036f7 Cleanup sqs flags from tests 2024-10-21 15:28:19 +02:00
Adria Navarro dfbebe1c79 Cleanup sqs flags from tests 2024-10-21 15:28:14 +02:00
Adria Navarro 718a2a4d87 Remove lucene from viewV2 tests 2024-10-21 15:20:54 +02:00
Adria Navarro 08a9488194 Remove lucene from search tests 2024-10-21 15:20:54 +02:00
Adria Navarro 655cd353e7 Remove lucene from row tests 2024-10-21 15:20:54 +02:00
Adria Navarro 5b1ed8195a Cleanup SQS flag from view search 2024-10-21 15:20:54 +02:00
Adria Navarro e50f2cc84e Cleanup SQS flag from search 2024-10-21 15:20:17 +02:00
Adria Navarro 42f27bacb2 Cleanup SQS feature usages 2024-10-21 15:19:36 +02:00
Sam Rose d0642fb327
Merge master. 2024-10-21 13:50:54 +01:00
Sam Rose 439565486a
Fix lint. 2024-10-21 13:41:28 +01:00
Sam Rose 67b814a5ca
Yet more tests. 2024-10-21 13:35:53 +01:00
Sam Rose 205d6d0671
Re-enable tests. 2024-10-21 11:39:22 +01:00
Sam Rose 064721cefa
Make sure you can still create views with a query but no queryUI 2024-10-21 11:30:28 +01:00
Peter Clement d7d7ae9d75 Merge remote-tracking branch 'origin/master' into feat/support-user-in-automation-context 2024-10-21 11:00:24 +01:00
Sam Rose 0c6afda606
Merge branch 'master' of github.com:budibase/budibase into queryui-default 2024-10-21 10:04:32 +01:00
Sam Rose cc2605a9dd
WIP 2024-10-21 10:04:03 +01:00
Sam Rose 915202bada
More tests. 2024-10-21 09:48:51 +01:00
mike12345567 24dbb0cef9 Merge branch 'master' of github.com:Budibase/budibase into fix/all-feature-flag-enum 2024-10-18 18:24:02 +01:00
mike12345567 b46626c926 Removing ts-ignore. 2024-10-18 18:23:01 +01:00
mike12345567 2b3775ce50 Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-18 18:22:28 +01:00
mike12345567 e7a6e58751 Updating some further types - added 2 ts-ignores which will be removed on v3 branch. 2024-10-18 17:59:26 +01:00
Sam Rose 80875fd9a0
More tests. 2024-10-18 17:50:08 +01:00
mike12345567 87bdd68afa Updating to use enum for feature flags across the board. 2024-10-18 17:07:35 +01:00
Peter Clement 4cabc09f8a fix row actions test 2024-10-18 15:35:31 +01:00
Sam Rose 4b6a66627a
More view search tests. 2024-10-18 15:28:03 +01:00
Peter Clement a26b64bb03 pass user through to automation context 2024-10-18 15:08:18 +01:00
Sam Rose f53e68f526
Fix allOr test 2024-10-18 14:53:20 +01:00
Sam Rose 0fce17c3c0
Fix allOr for everything except SQS. 2024-10-18 14:50:06 +01:00
Dean 77fefcdbe4 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-18 14:16:18 +01:00
Andrew Kingston 761c9d3c18
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-18 11:46:18 +01:00
Andrew Kingston eaa0465539
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-18 11:45:12 +01:00
Sam Rose 3981cecc30
Remove buildQueryLegacy 2024-10-18 11:32:58 +01:00
Sam Rose b7979f4719
Refactor SearchFilterGroup type to be less verbose and more clearly named. 2024-10-18 10:32:28 +01:00
Andrew Kingston 609bc3fb79
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-18 08:53:05 +01:00
Andrew Kingston 02a60ba55d
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-18 08:52:47 +01:00
Sam Rose 714029b9a0
Making more progress on testing view searching. 2024-10-17 18:06:45 +01:00
mike12345567 d0df75c9e4 Adding back mock clearing. 2024-10-17 17:50:51 +01:00
mike12345567 47de88f42f Destroy test case. 2024-10-17 17:47:55 +01:00
Sam Rose b3b7069deb
Merge branch 'master' of github.com:budibase/budibase into queryui-default 2024-10-17 17:17:09 +01:00
Sam Rose 17e946845e
Get existing tests passing. 2024-10-17 17:16:54 +01:00
mike12345567 a71e101a3c Merge branch 'feature/role-multi-inheritance' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-17 17:16:09 +01:00
mike12345567 c74577c512 Updating accessible utility API. 2024-10-17 17:15:41 +01:00
Michael Drury aaf5debc52
Merge branch 'master' into feature/role-multi-inheritance 2024-10-17 17:01:27 +01:00
mike12345567 2ae1836b9a PR comments. 2024-10-17 16:58:51 +01:00
Adria Navarro ca974cf2f5 Renames 2024-10-17 16:30:25 +02:00
mike12345567 3b597f6405 Fixing test case. 2024-10-17 15:25:34 +01:00
mike12345567 b2e718504c Adri PR comments. 2024-10-17 15:17:36 +01:00
mike12345567 2d7afa59c8 Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-17 14:57:25 +01:00
Andrew Kingston b57c8cc50d
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-17 14:36:34 +01:00
Sam Rose cb41861d13
Making progress toward testing buildCondition and friends. 2024-10-17 11:54:34 +01:00
Adria Navarro 32b9d22ba0
Merge branch 'master' into budi-8755-hide-power-role-for-v3-apps 2024-10-17 12:52:05 +02:00
Adria Navarro ab517bf86d Persist created version 2024-10-17 10:32:17 +02:00
Adria Navarro 0f43c8f46c
Merge branch 'master' into chore/negated-join-filters 2024-10-17 08:36:13 +02:00
mike12345567 1f9c33c53a Test cases based on frontend. 2024-10-16 21:29:33 +01:00
mike12345567 c40e4a7288 fixing rbac 2024-10-16 21:13:35 +01:00
mike12345567 3399093163 Role save API returns role ID in correct format. 2024-10-16 21:13:28 +01:00
mike12345567 9c92288f7f Fixing some issues with finding roles. 2024-10-16 21:13:19 +01:00
Sam Rose 31c0ed69f1
wip 2024-10-16 18:28:40 +01:00
mike12345567 02d4c2d607 fixing rbac 2024-10-16 17:26:48 +01:00
Adria Navarro 8b9bb784c4 Initial appMetadata sdk usage 2024-10-16 17:06:15 +02:00
Dean d9deba6337 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-16 15:51:24 +01:00
mike12345567 edf6d95eec Role save API returns role ID in correct format. 2024-10-16 15:46:03 +01:00
Sam Rose 4fa70eca76
Merge branch 'master' into budi-8742-add-a-baseurl-binding-inside-automations 2024-10-16 15:45:51 +01:00
mike12345567 477bdf22e9 Fixing some issues with finding roles. 2024-10-16 15:18:37 +01:00
Andrew Kingston d37804e870
Merge branch 'master' into v3-ui 2024-10-16 15:09:27 +01:00
Adria Navarro ef21c7135f
Merge branch 'master' into fix/multiple-relationships-same-table 2024-10-16 15:15:52 +02:00
Adria Navarro 3fbe937bf4 Fix sqlalias test 2024-10-16 14:23:58 +02:00
Adria Navarro a476da08fa
Merge branch 'fix/multiple-relationships-same-table' into chore/negated-join-filters 2024-10-16 13:51:39 +02:00
Adria Navarro 5f1cd4eb9f Test multiple relationship types 2024-10-16 13:47:09 +02:00
Adria Navarro 960fa33559 Merge branch 'fix/multiple-relationships-same-table' into chore/negated-join-filters 2024-10-16 13:34:19 +02:00
Andrew Kingston 54a0e3396c
Merge branch 'feature/role-multi-inheritance' of github.com:Budibase/budibase into new-rbac-ui 2024-10-16 12:28:12 +01:00
mike12345567 189b176060 Test for loops in role save API. 2024-10-16 12:27:15 +01:00
Sam Rose 86c105e1c8
Ensure external tables always have a sourceId. 2024-10-16 12:20:41 +01:00
Adria Navarro 57ce8b7e85 Fix test 2024-10-16 13:17:07 +02:00
Adria Navarro ba80880ab6 Fix 2024-10-16 13:02:53 +02:00
Adria Navarro 830ed0cda2 Fix undefineds 2024-10-16 12:51:20 +02:00
Adria Navarro 88d4ebc725 Add more tests 2024-10-16 12:44:25 +02:00
Adria Navarro 7266fb3c1b Run tests for all 2024-10-16 12:38:38 +02:00
Adria Navarro 83ffee3194 Fix tests 2024-10-16 12:33:19 +02:00
Adria Navarro 2d460f1955 Fix supporting filter using table names 2024-10-16 12:26:13 +02:00
Adria Navarro b01564c934 Fix multiple relations to same table for external 2024-10-16 10:21:17 +02:00
mike12345567 171ffd8aa3 Update test name. 2024-10-15 17:54:34 +01:00
mike12345567 9fceef0fc2 Some more fixes and test case for screen access. 2024-10-15 17:53:48 +01:00
Adria Navarro 8a6dbef249 Fix sqs 2024-10-15 18:50:58 +02:00
Sam Rose 3fc170c16b
Add settings to automation context. 2024-10-15 17:33:32 +01:00
Adria Navarro 86e5718705 Fix tests 2024-10-15 17:40:03 +02:00
Adria Navarro 225d062fcc Fix 2024-10-15 16:30:10 +02:00
Adria Navarro 6688ccf1ab Ensure we replace only on when starting with 2024-10-15 15:50:52 +02:00
mike12345567 808096f31b Updating screen test case. 2024-10-15 14:34:32 +01:00
Andrew Kingston f7f300b251
Merge branch 'feature/role-multi-inheritance' of github.com:Budibase/budibase into new-rbac-ui 2024-10-15 13:43:56 +01:00
mike12345567 ca72dffb1f Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-15 13:34:39 +01:00
Adria Navarro 41405ea39d Add extra rows 2024-10-15 14:15:45 +02:00
mike12345567 bb43049d55 Adding loop protection. 2024-10-15 12:07:31 +01:00
Andrew Kingston 9b009f9728
Merge branch 'master' into v3-ui 2024-10-15 11:58:20 +01:00
Andrew Kingston 06413fda58
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-15 11:47:06 +01:00
Adria Navarro 975945a23a Improve tests 2024-10-15 12:03:23 +02:00
Adria Navarro 5782b20509 Update test 2024-10-15 11:36:29 +02:00
Martin McKeaveney 0fe61f36bb lint 2024-10-15 00:57:01 +01:00
Martin McKeaveney c19c61ee9a fix csv test 2024-10-15 00:52:48 +01:00
Martin McKeaveney b563acbc1c remove AI field from assertion 2024-10-14 23:58:41 +01:00
Martin McKeaveney 9d5e60669d Remove AI column from row export 2024-10-14 23:49:46 +01:00
Martin McKeaveney 95d8ad854c lint and types 2024-10-14 23:36:33 +01:00
mike12345567 a56a228042 Fixes based on test case. 2024-10-14 18:57:54 +01:00
mike12345567 26ee50b10b Adding test case for multi-inheritance 2024-10-14 18:57:46 +01:00
Martin McKeaveney 97a7649930 merging with v3-ui branch 2024-10-14 18:47:13 +01:00
Martin McKeaveney 30215ea9be tests, pr comments 2024-10-14 18:38:34 +01:00
Adria Navarro b3cea00ab3
Merge branch 'master' into BUDI-8699/view-joins-with-any-and-all-not-working-correctly 2024-10-14 16:07:32 +02:00
Dean 77a5b3478d Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-14 14:50:52 +01:00
Andrew Kingston bb5b94f667
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-14 14:38:33 +01:00
Adria Navarro b744de6e62
Merge branch 'master' into fix/inconsistent-column-schemas 2024-10-14 15:10:58 +02:00
mike12345567 243391d6cb Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-14 12:57:22 +01:00
Adria Navarro 874df3f54d Fix wrong schema while fetching from datasource 2024-10-14 13:20:34 +02:00
Sam Rose 7c9b61181f
Fix lint. 2024-10-14 12:15:45 +01:00
Sam Rose e9ad3e58be
Support default values on multi-user columns. 2024-10-14 12:14:41 +01:00
Adria Navarro 1052f36084 Fix invalid schemas while fetching 2024-10-14 13:00:26 +02:00
Peter Clement 20acd90838
Merge pull request #14787 from Budibase/branching/branch-evaluation-bindings
Changes to support processing bindings on both sides of branch condition evaluation
2024-10-14 10:09:47 +01:00
Adria Navarro a6cb1d072a Fix sql alias test 2024-10-14 10:40:08 +02:00
Adria Navarro ca7a7bcef9 Fix tests 2024-10-14 10:40:08 +02:00
Adria Navarro f73b7d4824 More tests 2024-10-14 10:40:08 +02:00
Adria Navarro bfdead820c Cleanup tests 2024-10-14 10:40:08 +02:00
Adria Navarro f192a30da0 More tests 2024-10-14 10:40:08 +02:00
Adria Navarro 37450823bb More tests 2024-10-14 10:40:08 +02:00
Adria Navarro cb78e0bc13 Add extra tests 2024-10-14 10:40:08 +02:00
Peter Clement 030022adad lint 2024-10-14 09:37:30 +01:00
Peter Clement b304d1d622 changes to support automation conditions on both sides of evaluation 2024-10-14 09:30:05 +01:00
Dean 3eb604f928 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-14 09:17:39 +01:00
Dean 4928c7f553 Add a default branch id for server tests 2024-10-14 09:06:49 +01:00
Andrew Kingston 963b3ae35c
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-14 08:49:53 +01:00
Martin McKeaveney 02f8233a74 lint and test 2024-10-13 20:09:25 +01:00
Michael Drury c8f7722f9c
Merge branch 'master' into fix/screen-role-creation 2024-10-11 17:57:22 +01:00
mike12345567 d0cb873382 Adding test case for the fix. 2024-10-11 17:55:59 +01:00
mike12345567 bdbcf2110e Fixing an issue with screen creation - wrong base permissions were being detected for external DBs. 2024-10-11 17:04:29 +01:00
Sam Rose 13424218eb
Merge branch 'master' into budi-8730-views-filter-by-current-user_id-does-not-work 2024-10-11 16:42:37 +01:00
Andrew Kingston bae5640e90
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-11 16:33:42 +01:00
Sam Rose 158e095045
Fix lint. 2024-10-11 16:24:03 +01:00
Sam Rose c622ef7e90
Merge branch 'master' of github.com:budibase/budibase into budi-8722-default-value-on-user-columns 2024-10-11 16:22:36 +01:00
Sam Rose b24c337834
Respond to PR comment. 2024-10-11 16:22:04 +01:00
Dean 9382ca4c0b Branching UX updates, fix for looping results and general failure results for automations. Added fix for stacking currentItem loop bindings 2024-10-11 16:20:26 +01:00
Sam Rose 1ad371cd7a
Fix lint. 2024-10-11 15:58:04 +01:00
Sam Rose e967e62f1d
Add tests. 2024-10-11 15:55:25 +01:00
Sam Rose 33f7792522
Potential fix for view search problem. 2024-10-11 15:33:33 +01:00
Sam Rose 1bcd2590d3
Allow BB_REFERNCE_SINGLE to have default values. 2024-10-11 12:28:20 +01:00
Dean 185fd557dd Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-11 11:17:24 +01:00
Sam Rose 11b02fdb0e
Merge branch 'master' into view-calculation-sort-by-calculations 2024-10-11 11:03:05 +01:00
Adria Navarro cb31bb7d96 Merge branch 'master' into v3-ui 2024-10-11 10:26:24 +02:00
Adria Navarro 7f3e486bca
Merge branch 'master' into budi-8705-v3-view-joins-required-columns-cant-be-changed-to-read-only 2024-10-10 21:34:54 +02:00
mike12345567 324616be59 Finishing multi-inheritance test case and getting accessibility to be detected correctly. 2024-10-10 18:15:23 +01:00
Sam Rose 964f8222ba
Allow sorting by calculation fields. 2024-10-10 17:10:07 +01:00
mike12345567 f907cccc58 Merge branch 'fix/custom-role-naming' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-10 16:28:06 +01:00
Adria Navarro e783676d69
Merge branch 'master' into v3-ui 2024-10-10 17:27:15 +02:00
Adria Navarro c297396456
Merge branch 'master' into budi-8705-v3-view-joins-required-columns-cant-be-changed-to-read-only 2024-10-10 17:20:16 +02:00
Michael Drury 799ad63568
Merge branch 'master' into fix/custom-role-naming 2024-10-10 16:15:14 +01:00
mike12345567 5f4694d4d8 Fix for an issue found with custom role naming. 2024-10-10 16:13:32 +01:00
mike12345567 5f91c7d8da new test case. 2024-10-10 16:11:03 +01:00
Adria Navarro 18e1bd0b4c Fix test 2024-10-10 17:03:46 +02:00
Sam Rose 4c4429b88a
Fix tests. 2024-10-10 15:49:00 +01:00
Adria Navarro 41cd0d96d6 Fix multiple user column icon 2024-10-10 16:43:08 +02:00
Adria Navarro e191c90385 Simplify enriched column 2024-10-10 16:42:05 +02:00
Sam Rose a00a64bb6e
Properly clean up row actions on table deletion. 2024-10-10 14:56:38 +01:00
Adria Navarro 11a8f638b1
Merge branch 'master' into BUDI-8270/validation-for-search-api 2024-10-10 15:39:26 +02:00
mike12345567 4719b16116 Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-10 14:38:18 +01:00
Adria Navarro 5cad93ff75 Fix 2024-10-10 15:15:54 +02:00
Adria Navarro 60a5f4a2e7 Types 2024-10-10 15:11:11 +02:00
Dean ed0a9ce551 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-10 14:06:05 +01:00
Dean f23da77eee Merge commit 2024-10-10 14:06:02 +01:00
Andrew Kingston d1bc83ab0a
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-10 13:59:03 +01:00
Sam Rose 4031971456
Merge branch 'master' into view-calculation-no-deletes 2024-10-10 12:39:15 +01:00
Sam Rose 4e0c293b08
Merge branch 'master' into view-calculation-fix-table-update 2024-10-10 12:20:20 +01:00
Sam Rose 84ebd6905b
Merge branch 'master' into view-calculation-filtering 2024-10-10 12:03:38 +01:00
Sam Rose 28c22e9aa7
Fix table updates wiping out view calculation fields. 2024-10-10 11:50:38 +01:00
mike12345567 3a2b22d446 Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-10 11:47:19 +01:00
Adria Navarro b6731494e7 Trim object 2024-10-10 12:39:14 +02:00
Adria Navarro d1a69a6660 Use validation 2024-10-10 11:40:29 +02:00
Sam Rose 4c0bd812c1
Respond to PR comment. 2024-10-10 10:37:47 +01:00
Adria Navarro eea9eade5c Start types 2024-10-10 10:46:58 +02:00
Adria Navarro 36410aac0b Display readable errors 2024-10-10 10:46:58 +02:00
Adria Navarro 5a8aba7f52 zod validator 2024-10-10 10:46:58 +02:00
Adria Navarro 946fca2042
Merge branch 'master' into BUDI-8686/feature-flag 2024-10-10 10:37:00 +02:00
Adria Navarro cda7782c6d Use flag for views 2024-10-10 10:35:39 +02:00
Adria Navarro a646b86131 Use flag for table 2024-10-10 10:34:56 +02:00
Sam Rose 55be64b371
Only check visible fields when checking group by view calculations. 2024-10-10 09:16:43 +01:00
Sam Rose 93ebe39e43
Merge branch 'master' into view-calculation-filtering 2024-10-10 09:02:35 +01:00
Sam Rose b42334fde1
Merge branch 'master' into view-calculation-no-deletes 2024-10-10 09:02:31 +01:00
Andrew Kingston 72dd3a1d59
Fix resolution of builderSocket 2024-10-09 18:57:47 +01:00
Andrew Kingston f4e149fd92
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-09 18:50:28 +01:00
Andrew Kingston 88a7128da3
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-09 18:49:34 +01:00
Sam Rose 7546c9bbe2
Test calculation view searching. 2024-10-09 17:25:41 +01:00
Sam Rose cc07b1407b
Merge branch 'master' into view-calculation-no-deletes 2024-10-09 17:09:03 +01:00
mike12345567 6a25f66f3c Merge branch 'fix/budi-8715-sql-relationships-many-side' of github.com:Budibase/budibase into fix/budi-8715-sql-relationships-many-side 2024-10-09 17:04:46 +01:00
mike12345567 00048a2d3e Addressing PR comments. 2024-10-09 17:04:27 +01:00
Michael Drury 01e458b568
Merge branch 'master' into fix/budi-8715-sql-relationships-many-side 2024-10-09 17:00:48 +01:00
mike12345567 70ab14319d Adding test case for removing from many side of relationships in SQL. 2024-10-09 16:51:11 +01:00
Adria Navarro 6a0f80f28e Remove duplicated test 2024-10-09 17:13:46 +02:00
Adria Navarro a8476a1c8b Fix tests 2024-10-09 17:08:45 +02:00
Adria Navarro 92372d1a4b Fix test 2024-10-09 17:08:45 +02:00
Adria Navarro c84cda40b3 Set default permissions to view 2024-10-09 17:08:45 +02:00
Adria Navarro d01462221f Set default permissions 2024-10-09 17:08:45 +02:00
Adria Navarro 389c4a9467 Add more tests 2024-10-09 17:08:45 +02:00
Adria Navarro ff402c54e0 Add view tests 2024-10-09 17:08:45 +02:00
Adria Navarro 37eb66e0d5 Cleanup tests 2024-10-09 17:08:45 +02:00
Adria Navarro ebd762cdb6 Fixes 2024-10-09 17:08:35 +02:00
Sam Rose 26a8fabfef
Prevent deleting rows through a calculation view. 2024-10-09 16:05:49 +01:00
Adria Navarro 38685b50df Add extra test 2024-10-09 16:55:59 +02:00
Adria Navarro 1e0902a831 Cleanup tess 2024-10-09 16:55:32 +02:00
Adria Navarro aa0a1737c8 Fix tests 2024-10-09 16:55:32 +02:00
Adria Navarro 9f84262940 Clean 2024-10-09 16:55:32 +02:00
Sam Rose 4cde2f26ad wip, tests broken 2024-10-09 16:55:32 +02:00
Sam Rose 3405e6d6b7 Make new tables require ADMIN permissions to read and write. 2024-10-09 16:55:16 +02:00
Sam Rose 871925bcef
Merge branch 'master' of github.com:budibase/budibase into logged-out-search-fix 2024-10-09 15:23:06 +01:00
mike12345567 d62d5b7043 Fixing an issue with removing relationships from the many side of a table in SQL, this was not correctly updating the other table. 2024-10-09 15:09:38 +01:00
Sam Rose 71fdae3383
Merge branch 'master' into view-calculation-readonly 2024-10-09 14:19:07 +01:00
Sam Rose a75666bb7c
Merge branch 'master' into view-calculation-validation-4 2024-10-09 14:03:33 +01:00
Sam Rose 6da0c29c76
Merge branch 'master' into view-calculation-validation-3 2024-10-09 13:46:58 +01:00
Sam Rose 26f2deb234
Set proxy setting on Koa application. 2024-10-09 13:34:43 +01:00
Adria Navarro 23022e324c
Merge branch 'master' into chore/move-table-creation-to-sdk 2024-10-09 14:24:03 +02:00
Sam Rose f4aeb801d2
Merge branch 'master' of github.com:budibase/budibase into logged-out-search-fix 2024-10-09 13:18:24 +01:00
Sam Rose 10f3816810
Merge branch 'master' of github.com:budibase/budibase into logged-out-search-fix 2024-10-09 12:57:21 +01:00
Sam Rose eee2991b09
Rejib IP fetching. 2024-10-09 12:57:14 +01:00
Adria Navarro 3b01f404dd Fix imports 2024-10-09 13:49:58 +02:00
Adria Navarro 761d48f4d5
Merge branch 'master' into chore/move-table-creation-to-sdk 2024-10-09 13:49:45 +02:00
Michael Drury 52fa9ae905
Merge branch 'master' into fix/postgres-newlines 2024-10-09 12:48:28 +01:00
Adria Navarro cf92da15c6
Merge branch 'master' into chore/fix-exporting-rows 2024-10-09 13:33:55 +02:00
Adria Navarro 865b7a97e0 Fix 2024-10-09 13:31:34 +02:00
Adria Navarro f05bf25e21 Add failing test 2024-10-09 13:31:11 +02:00
Adria Navarro 80ae7cbe0b Rename 2024-10-09 13:21:22 +02:00
Adria Navarro 4efe335b65 Create external table in sdk 2024-10-09 13:20:02 +02:00
Michael Drury 64492dca2a
Merge branch 'master' into fix/related-rows-dont-exist 2024-10-09 12:18:37 +01:00
Adria Navarro 15d124bfaf Move internal creation to sdk 2024-10-09 12:58:10 +02:00
Adria Navarro 9d06c705ac Remove ContextUser usages in favor of just ids 2024-10-09 12:47:43 +02:00
Adria Navarro c2a5f673ae Lint 2024-10-09 10:52:14 +02:00
Sam Rose 0182d4a09f
Make sure calculation views cannot be used to write or modify rows. 2024-10-08 17:55:42 +01:00
Martin McKeaveney 7b683cfc50 merge and typing 2024-10-08 17:38:23 +01:00
Sam Rose 5dc85230d9
Add a test to make sure 'shadowing' a field works as expected in view calculations. 2024-10-08 17:04:45 +01:00
Sam Rose 5c3adbed27
Validate you can't group by complex fields. 2024-10-08 15:34:34 +01:00
Sam Rose f1b04d1252
Merge master. 2024-10-08 15:06:57 +01:00
Sam Rose 2b47789fc8
Merge branch 'master' into feature-flag-helper 2024-10-08 14:42:09 +01:00
Andrew Kingston 76ce8b5fd5
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-08 14:06:26 +01:00
Sam Rose 7818546ade
Fix tests. 2024-10-08 12:31:14 +01:00
Sam Rose 4f628c1d54
Merge branch 'master' of github.com:budibase/budibase into mark-calculation-views 2024-10-08 12:23:28 +01:00
Sam Rose 9b3ab049a4
wip 2024-10-08 11:50:16 +01:00
Sam Rose 13a78867ac
Merge branch 'master' of github.com:budibase/budibase into view-calculation-validation-2 2024-10-08 11:21:41 +01:00
Sam Rose 2d19644bd8
Fix tests. 2024-10-08 11:19:43 +01:00
Sam Rose d0c57c82ad
Fix lint. 2024-10-08 11:15:53 +01:00
Sam Rose 635d268eea
Merge branch 'master' of github.com:budibase/budibase into feature-flag-helper 2024-10-08 11:14:11 +01:00
Sam Rose c1189ecc96
Merge master. 2024-10-08 11:10:23 +01:00
Sam Rose 1106244ff3
Merge branch 'master' into allow-calculation-fields-to-hide-required-fields 2024-10-08 09:30:00 +01:00
Sam Rose 5c092abd85
Merge branch 'master' of github.com:budibase/budibase into feature-flag-helper 2024-10-07 18:19:37 +01:00
Sam Rose 11804f6ddd
Create a feature flag helper for tests. 2024-10-07 18:18:04 +01:00
Martin McKeaveney 3d83676c03 adding missing await 2024-10-07 18:13:41 +01:00
Sam Rose 2d07e63325
Merge branch 'master' into fix-enterprise-vulns 2024-10-07 17:52:32 +01:00
Martin McKeaveney 1e6a7b66e8 pr comments 2024-10-07 17:42:35 +01:00
Martin McKeaveney 12fdb930aa remove nonce 2024-10-07 17:31:45 +01:00
Sam Rose 3e865d5609
Merge branch 'master' into view-calculation-validation 2024-10-07 17:05:18 +01:00
Martin McKeaveney ce61af1331 XSS safe mode to prevent unsanitised input 2024-10-07 16:47:49 +01:00
Martin McKeaveney af2071c60c fixing vulns for ent client 2024-10-07 16:44:28 +01:00
Sam Rose f2e78ec4d5
Don't check required fields at all for calculation views. 2024-10-07 16:39:44 +01:00
Sam Rose f4b430e27c
Remove uiMetadata from ViewV2, it's not needed now we have the type field. 2024-10-07 16:38:18 +01:00
Sam Rose 672469526e
Mark calculation views explicitly instead of figuring it out implicitly. 2024-10-07 16:33:14 +01:00
Sam Rose e6e25fdf94
Allow calculation views to hide required fields. 2024-10-07 14:59:29 +01:00
Sam Rose 2c451d494b
Backend/frontend JS parity, deep clone optimisation. 2024-10-07 12:04:45 +01:00
Andrew Kingston fda5fdc16e
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-07 10:46:50 +01:00
Martin McKeaveney a583b824c2
Merge pull request #14700 from Budibase/view-ui-metadata
Add uiMetadata to viewV2
2024-10-07 10:23:02 +01:00
Adria Navarro 6c2c422fa5 Merge branch 'master' into v3-ui 2024-10-04 15:51:40 +02:00
Sam Rose 55008c4bb5
Merge branch 'master' into view-ui-metadata 2024-10-04 14:32:03 +01:00
Adria Navarro 2edc30e7a5
Merge branch 'master' into row-action/set-table-permission 2024-10-04 15:31:59 +02:00
Sam Rose 11dc2766cc
Merge branch 'master' into fix/related-rows-dont-exist 2024-10-04 14:30:45 +01:00
Adria Navarro f38180eaaa Add comment 2024-10-04 14:48:50 +02:00
Adria Navarro 9d7fdb1ed7 Fix test 2024-10-04 14:45:28 +02:00
Adria Navarro 3830d6cff7 Clean action between tests 2024-10-04 14:45:11 +02:00
Adria Navarro 01b7f7388f More tests 2024-10-04 14:16:50 +02:00
Adria Navarro bb6bd1711a Add extra tests 2024-10-04 14:03:03 +02:00
Adria Navarro 9063e73f88 Fix tests 2024-10-04 14:02:56 +02:00
Adria Navarro 4c4f766a6a Endpoint to allow/disallow runs from table 2024-10-04 14:02:48 +02:00
Adria Navarro 75b5bbf401 Table run by default 2024-10-04 14:02:42 +02:00
Adria Navarro 8764a8c6e8 Return allowed run from table 2024-10-04 14:02:30 +02:00
Adria Navarro baa5a86ebb Rename allowedViews to allowedSources 2024-10-04 14:01:46 +02:00
Sam Rose 4fb870e449
Make processStringSync's throw behaviour opt-in. 2024-10-04 11:30:10 +01:00
Sam Rose 1b5c19554e
Merge branch 'master' into view-calculation-validation 2024-10-04 11:12:13 +01:00
Sam Rose fb7133e64f
Validate that there are no duplicate calculations in calculation views. 2024-10-04 11:09:29 +01:00
Sam Rose 27508d934d
Validate that you cannot create a calculation view with more than 5 calculation fields. 2024-10-04 10:45:03 +01:00
Peter Clement 9a47db4a13 fix test 2024-10-04 10:39:17 +01:00
Peter Clement 3cb14d596a fixes an issue where id and revision weren't passed to row action automations 2024-10-04 10:18:27 +01:00
Andrew Kingston afca86cf8f
Merge branch 'master' into view-ui-metadata 2024-10-04 09:45:34 +01:00
Sam Rose e39ced99d9
Merge branch 'master' into js-stack-traces 2024-10-04 09:44:59 +01:00
Andrew Kingston a563adc2c0
Update tests 2024-10-04 09:43:23 +01:00
Sam Rose 831c81a99c
Fix automation tests. 2024-10-04 09:31:42 +01:00
Andrew Kingston 215e359615
Add uiMetadata to viewV2 2024-10-04 09:29:41 +01:00
mike12345567 586dd8fea7 Fixing an issue with newlines between coalesce statements in Postgres - we were escaping newlines even if they were valid when given a list of JSON operations to perform. 2024-10-03 18:10:58 +01:00
mike12345567 bfbc576ed1 Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-03 17:22:09 +01:00
Michael Drury d5af9315a5
Merge branch 'master' into fix/related-rows-dont-exist 2024-10-03 17:10:23 +01:00
Martin McKeaveney ddea2d137a don't run AI column functionality if the feature isn't enabled 2024-10-03 16:59:59 +01:00
Sam Rose 725096c9d1
Merge master. 2024-10-03 16:33:35 +01:00
Sam Rose 19f58b62c9
Merge branch 'master' of github.com:budibase/budibase into js-stack-traces 2024-10-03 16:32:43 +01:00
Sam Rose 15a30b1d9e
Fix yet more tests. 2024-10-03 16:32:14 +01:00
mike12345567 6fb844753b Another small fix. 2024-10-03 16:24:54 +01:00
mike12345567 86846eff3f Small fix. 2024-10-03 16:22:32 +01:00
Sam Rose 03c514be4c
Fix tests. 2024-10-03 16:16:42 +01:00
mike12345567 a6f6942288 Fixing an issue with corrupt relationship records referencing rows which don't exist, this is a temporary measure as these relationships should be cleaned up correctly but for now ignore any which reference rows which no longer exist. 2024-10-03 16:10:07 +01:00
Sam Rose 646fc5e6bd
Respond to PR comment. 2024-10-03 15:56:19 +01:00
Andrew Kingston e4900e27bb
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-03 15:50:22 +01:00
Michael Drury aae5c19927
Merge branch 'master' into backport-v3-view-updates 2024-10-03 15:09:54 +01:00
Michael Drury 97b799f9db
Merge pull request #14694 from Budibase/view-merge-v3-ui
View changes - merge to V3 UI branch
2024-10-03 15:09:33 +01:00
mike12345567 58c7149fc0 Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into view-merge-v3-ui 2024-10-03 14:48:35 +01:00
mike12345567 9c70ed92ba Small build fix. 2024-10-03 14:47:31 +01:00
mike12345567 176bae2935 Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into view-merge-v3-ui 2024-10-03 13:38:58 +01:00
Sam Rose f9ccbbe081
Fix jsRunner.spec.ts. 2024-10-03 13:11:01 +01:00
Sam Rose df242cc2ad
Don't break the fact that processStringSync returns a string. 2024-10-03 13:07:22 +01:00
Sam Rose 9bb6855967
Merge branch 'master' of github.com:budibase/budibase into js-stack-traces 2024-10-03 11:59:14 +01:00
Andrew Kingston f7318b15d4
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-03 11:23:02 +01:00
Andrew Kingston edbb0b59f7
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-03 11:22:05 +01:00
Adria Navarro ca88943048
Merge branch 'master' into chore/search-tests-from-views 2024-10-03 10:45:36 +02:00
Adria Navarro 9ba759093e Small rename 2024-10-03 10:44:58 +02:00
Adria Navarro 36e304aaf5 Unify 2024-10-03 10:44:15 +02:00
Sam Rose b004ef5448
Pull the error object out of isolated-vm when a user script throws an error. 2024-10-03 09:42:08 +01:00
Adria Navarro 1b53bab92e Extract 2024-10-03 10:28:29 +02:00
Adria Navarro 7c778061e5 Fix sql relationship fetching 2024-10-03 09:50:58 +02:00
Adria Navarro 7e4097476e
Merge branch 'master' into chore/search-tests-from-views 2024-10-03 09:23:02 +02:00
Martin McKeaveney 2dff149aa9 lint 2024-10-02 22:36:36 +01:00
mike12345567 98ebd8f18c Omitting in tests. 2024-10-02 18:59:20 +01:00
mike12345567 bcb940b7eb Merge issue. 2024-10-02 18:45:47 +01:00
mike12345567 f4177230a7 Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into view-merge-v3-ui 2024-10-02 18:43:46 +01:00
mike12345567 8cb6603a73 Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into backport-v3-view-updates 2024-10-02 18:43:21 +01:00
mike12345567 9e7ed04719 Support saving queryUI. 2024-10-02 18:43:07 +01:00
mike12345567 786bfdb0e2 Merging v3-backport branch 2024-10-02 18:09:53 +01:00
mike12345567 5709c5f8d5 Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-02 17:51:22 +01:00
Michael Drury f2ced5f129
Merge branch 'master' into backport-v3-view-updates 2024-10-02 17:50:49 +01:00
Martin McKeaveney 2b322f6f1d merge from v3 2024-10-02 17:01:07 +01:00
Sam Rose 73613ce8bf
Fix spread operator use. 2024-10-02 16:52:40 +01:00
Martin McKeaveney c70bd87ac2 merge with master 2024-10-02 16:52:00 +01:00
Sam Rose 7ed28593fb
Add a test for a count distinct column that references a non-existent field. 2024-10-02 16:49:14 +01:00
Sam Rose 50c307df4d
Add more view calculation tests, and implement count distinct. 2024-10-02 16:49:14 +01:00
Martin McKeaveney c1a86433c1 don't backfill old rows on AI column creation 2024-10-02 16:49:04 +01:00
Sam Rose 612d0844bf
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql-4 2024-10-02 16:48:49 +01:00
Adria Navarro 39511a4e83 Fix tests 2024-10-02 17:39:35 +02:00
Martin McKeaveney 2c5fe77740 don't run over all historical cells 2024-10-02 16:11:52 +01:00
Andrew Kingston 66f6e91245
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-02 16:08:54 +01:00
Adria Navarro 576ebc997e
Merge branch 'master' into chore/search-tests-from-views 2024-10-02 16:55:13 +02:00
Adria Navarro 521a14650d Fix tests 2024-10-02 16:50:54 +02:00
Adria Navarro 0484b798fc Honor onEmptyFilter in views 2024-10-02 16:50:54 +02:00
Adria Navarro 557add173a Fix view relationships 2024-10-02 16:50:54 +02:00
Andrew Kingston 3e3fd20207
Add tests for new default value types 2024-10-02 15:35:17 +01:00
Andrew Kingston c4a98832cb
Enable default values for options and array types 2024-10-02 15:24:04 +01:00
Michael Drury fb68fe2f8c
Merge branch 'master' into backport-v3-view-updates 2024-10-02 14:09:11 +01:00
Sam Rose 8e120b2b5e
Merge branch 'master' into count-field-name 2024-10-02 13:58:58 +01:00
Sam Rose 45a6f0680f
Fix view.spec.ts tests. 2024-10-02 13:58:23 +01:00
Adria Navarro 0d64e03c9f Don't run for lucene views 2024-10-02 14:10:29 +02:00
Adria Navarro 4b83d6b00b Fix tests 2024-10-02 13:07:41 +02:00
Adria Navarro 2d6e97bac9
Merge branch 'master' into chore/search-tests-from-views 2024-10-02 12:38:57 +02:00
Adria Navarro 470ad95208 Run view tests 2024-10-02 12:37:40 +02:00
Adria Navarro e08c3b8574 Run view tests 2024-10-02 12:26:03 +02:00
Sam Rose 0679ec8993
Make sure calculation views are created and returned correctly. 2024-10-02 10:36:45 +01:00
Conor Webb dda078d743
Merge branch 'master' into v3-ui 2024-10-02 10:15:20 +01:00
Sam Rose ab386e5047
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql-4 2024-10-02 10:06:44 +01:00
Sam Rose ee897e4d7e
Fix imports. 2024-10-02 10:05:56 +01:00
deanhannigan 82006c4088
Merge branch 'master' into v3-ui 2024-10-02 09:57:55 +01:00
Sam Rose 4dd6afd435
Symbolise the special __bb_total count field name. 2024-10-02 09:57:18 +01:00
Sam Rose 904dd8364a
Merge branch 'master' into view-calculation-sql-3 2024-10-02 09:55:50 +01:00
Dean 61a0db0984 Add explicit typing for view search filter config 2024-10-02 09:51:13 +01:00
Sam Rose d00513db33
Merge branch 'master' into view-calculation-sql-2 2024-10-02 09:46:44 +01:00
Sam Rose ddd229062c
Rename total field when doing row counts. 2024-10-02 09:39:54 +01:00
Michael Drury 9ed77d6aea
Merge branch 'master' into backport-v3-view-updates 2024-10-02 09:37:40 +01:00
Sam Rose cc6b2f6717
add failing test 2024-10-02 09:35:47 +01:00
Sam Rose abeeecba9d
Merge branch 'master' into view-calculation-sql-2 2024-10-02 09:24:23 +01:00
Dean 2884ac4638 Merge remote-tracking branch 'origin/master' into v3-ui 2024-10-02 09:21:00 +01:00
Sam Rose 3ef8d4ad04
Merge branch 'master' into feat/fix-automation-context 2024-10-01 17:31:22 +01:00
Sam Rose 77856eb35a
Add a test to make sure fields on the underlying table that are required are not required on the view. 2024-10-01 17:23:21 +01:00
Martin McKeaveney 9a6301fd5f
Merge branch 'master' into budi-8664-cron-helper-ai-feature 2024-10-01 17:06:33 +01:00
Sam Rose 13248c409f
Respond to PR comment. 2024-10-01 16:44:16 +01:00
Martin McKeaveney 36996f71d0 merge 2024-10-01 16:39:09 +01:00
Martin McKeaveney 2aaef12a1a better typing - discriminated unions 2024-10-01 16:36:37 +01:00
Sam Rose 4165c6cab4
Test all aggregation types. 2024-10-01 16:17:22 +01:00
Sam Rose ae4f7ae4b4
Implement group by and add a test for it. 2024-10-01 15:04:01 +01:00
Martin McKeaveney 0b9b9ab440 AI functionaly working E2E 2024-10-01 14:56:16 +01:00
Peter Clement 76a9861107
Merge branch 'master' into feat/fix-automation-context 2024-10-01 13:27:28 +01:00
Martin McKeaveney 2d21afbe10 rough v1 2024-10-01 12:52:11 +01:00
Peter Clement f00593ff26 pr comments 2024-10-01 12:25:41 +01:00
Adria Navarro b88e63d490 Helpers not changing state 2024-10-01 13:24:38 +02:00
Adria Navarro 97b70e1f5a Change tableid for source id 2024-10-01 13:21:04 +02:00
Sam Rose 987a24fabc
wip 2024-10-01 11:48:14 +01:00
mike12345567 4d33106b45 Undo commenting out other DBs. 2024-10-01 11:42:44 +01:00
mike12345567 d7873c5c6e Test fix. 2024-10-01 11:42:16 +01:00
mike12345567 19407d5e37 Check filters have been provided. 2024-10-01 11:38:02 +01:00
Adria Navarro 119767a30e Cleanup 2024-10-01 12:20:18 +02:00
Adria Navarro 1972ed6533 Merge branch 'master' into backport-v3-view-updates 2024-10-01 12:19:25 +02:00
mike12345567 975e348de5 Check options.fields are in the table. 2024-10-01 10:25:15 +01:00
Adria Navarro f31c7c3487 Add test 2024-10-01 10:56:16 +02:00
Adria Navarro 527876fc41
Merge branch 'master' into BUDI-8630/view-security-allow-filters-specified-on-view-to-use-any 2024-10-01 10:51:37 +02:00
Dean e2247cfb2c Merge remote-tracking branch 'origin/master' into v3-ui 2024-10-01 09:27:00 +01:00
mike12345567 6e660151bd backport of V3 backend changes for search filters on view, giving this the correct type to support conditionals. 2024-09-30 18:06:47 +01:00
Sam Rose 6bbcffb645
Merge branch 'master' into better-types-on-removeInvalidFilters 2024-09-30 16:45:11 +01:00
Martin McKeaveney bd6ad0ff0e
Merge branch 'master' into budi-8664-cron-helper-ai-feature 2024-09-30 16:17:27 +01:00
Michael Drury efdbe5a238
Merge branch 'master' into fix/view-user-columns 2024-09-30 16:15:39 +01:00
Sam Rose 604dc51b1c
Merge branch 'master' into better-types-on-removeInvalidFilters 2024-09-30 15:54:51 +01:00
Sam Rose f6649b294b
Remove an implicit any from removeInvalidFilters. 2024-09-30 15:54:01 +01:00
Sam Rose 28bb321511
Set view permissions to explicit roles from the parent table 2024-09-30 15:36:49 +01:00
mike12345567 f28cb1badb Another slight change. 2024-09-30 15:18:15 +01:00
mike12345567 7888c22015 Quick fix. 2024-09-30 15:17:03 +01:00
Adria Navarro abb3a8fe85 Fix 2024-09-30 16:10:44 +02:00
mike12345567 3ecd86b2af Fixing an issue with user columns getting correct user ID, the logical operators were not being recursed correctly. 2024-09-30 14:58:27 +01:00
Adria Navarro be70692cfd Fix 2024-09-30 15:57:49 +02:00
Adria Navarro 53620907bb Fix lucene views 2024-09-30 15:55:34 +02:00
Adria Navarro 7d8238ec98 Fix 2024-09-30 15:40:21 +02:00
Adria Navarro 6e1cd6eb01 Move query logic to sdk 2024-09-30 15:37:20 +02:00
Adria Navarro 26638ace0a Add globalId and userId to userContextBindings 2024-09-30 15:30:18 +02:00
Martin McKeaveney e281250569 ai cron helper E2E 2024-09-30 14:00:12 +01:00
Peter Clement 5d31976835 updated automation thread to use ids and test 2024-09-30 13:08:11 +01:00
Sam Rose 62e1e66ce9
Merge master. 2024-09-30 09:54:36 +01:00
Andrew Kingston 2e5f07d3c8
Merge branch 'feature/role-multi-inheritance' of github.com:Budibase/budibase into new-rbac-ui 2024-09-30 08:22:07 +01:00
Andrew Kingston adfe467329
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-09-30 08:21:36 +01:00
mike12345567 d6d4da221d Updating role validator. 2024-09-27 17:05:03 +01:00
Adria Navarro 925aff4b71
Merge branch 'master' into v3-ui 2024-09-27 14:37:39 +02:00
mike12345567 61c28154fb Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-09-27 13:33:27 +01:00
Adria Navarro d082c7b77d Merge branch 'master' into v3-ui 2024-09-27 14:28:09 +02:00
mike12345567 c5ba891793 Merge branch 'fix/view-performance-improvements' of github.com:Budibase/budibase into fix/view-performance-improvements 2024-09-27 13:07:57 +01:00
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
Andrew Kingston 95cc7a6e60
Merge pull request #14597 from Budibase/default-view-permissions
Default view permissions to parent table roles
2024-09-27 12:03:09 +01:00
Adria Navarro 41b7e765f3
Merge branch 'master' into BUDI-8565/related-columns 2024-09-27 12:43:18 +02:00
Peter Clement e38eb58cf0 Merge remote-tracking branch 'origin/master' into v3-ui 2024-09-27 11:34:50 +01:00
Andrew Kingston 80cdcf99da
Add additional comments to tests 2024-09-27 10:35:23 +01: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
Andrew Kingston 80f1de27de
Please just work tests 2024-09-27 09:19:42 +01:00
Peter Clement acdcd02fcd Fix small issue with conditions in branches 2024-09-27 09:12:50 +01:00
Andrew Kingston b53bc5dfaf
Update tests 2024-09-27 09:08:38 +01:00
Andrew Kingston 15baff1a7e
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-09-27 08:07:35 +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