Commit Graph

13568 Commits

Author SHA1 Message Date
Sam Rose b9b4f88e4a
Fix default values when using multi-option column and supplying empty array. 2024-10-29 10:23:32 +00:00
Adria Navarro 392dc087c1 Merge branch 'v3-ui' into feature/automation-branching-ux 2024-10-28 16:39:07 +01:00
Adria Navarro 5cf0e334c2
Merge branch 'master' into v3-ui 2024-10-28 16:37:17 +01:00
Adria Navarro d36b810efc Fix flakiness 2024-10-28 14:28:53 +01:00
Adria Navarro 641ceea92e Fix checks 2024-10-28 13:57:53 +01:00
Adria Navarro b92427015b Cleanup test 2024-10-28 13:55:08 +01:00
Adria Navarro d944e3a8f9 Cleanup 2024-10-28 13:53:44 +01:00
Adria Navarro 097a7f8aae
Merge branch 'master' into fix/support-multiple-relationships-same-tables 2024-10-28 13:22:18 +01:00
Adria Navarro 95de01c86c Simplifying lookups 2024-10-28 13:17:07 +01:00
Dean 11d24db255 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-28 12:00:33 +00:00
Sam Rose 199c447bc4
Merge branch 'master' into v3-ui 2024-10-28 11:01:22 +00:00
Dean 0c587b345a Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-28 11:00:14 +00:00
Sam Rose c2108ac60d
Merge pull request #14878 from Budibase/allow-bigints-in-calculations 2024-10-28 10:14:16 +00:00
Adria Navarro 8aeb19aabe Fix flakiness 2024-10-28 10:54:00 +01:00
Adria Navarro f28746089d
Merge branch 'master' into fix/support-multiple-relationships-same-tables 2024-10-28 10:40:06 +01:00
Dean d1c21d7aeb Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-28 09:04:17 +00:00
mike12345567 a9279b35d5 Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-25 17:31:16 +01:00
Sam Rose 3c97652393
Merge branch 'master' into budi-8742-add-a-baseurl-binding-inside-automations 2024-10-25 16:38:07 +01:00
Sam Rose c5f1e3a53c
Merge branch 'v3-ui' of github.com:budibase/budibase into allow-bigints-in-calculations 2024-10-25 16:31:32 +01:00
Sam Rose 407484bbe5
Respond to PR comments. 2024-10-25 16:21:10 +01:00
Sam Rose 78af5cdc67
Merge branches 'master' and 'budi-8742-add-a-baseurl-binding-inside-automations' of github.com:budibase/budibase into budi-8742-add-a-baseurl-binding-inside-automations 2024-10-25 16:09:40 +01:00
Adria Navarro d4e9973c39
Merge branch 'master' into fix/support-multiple-relationships-same-tables 2024-10-25 17:02:23 +02:00
Andrew Kingston c110cb628d
Merge pull request #14858 from Budibase/remove-lightest-and-dark-themes
Remove lightest and dark themes and add core types and utils for themes
2024-10-25 16:01:44 +01:00
Adria Navarro a01c5ed654 Don't run tests for lucene 2024-10-25 17:01:25 +02:00
Adria Navarro 00eedbf726 Fix deletions 2024-10-25 16:57:50 +02:00
Sam Rose f46a668465
Allow bigints to be used in view calculations, and make sure they're accurate up to 64bit signed int via tests. 2024-10-25 15:55:07 +01:00
Adria Navarro 96be447817 Fix many to many 2024-10-25 15:22:57 +02:00
Adria Navarro 5efcf97c0d Add more tests 2024-10-25 15:16:54 +02:00
mike12345567 99c3395cb9 Some fixes to Public API test request as per PR comments, as well as removing AI formula type from open API spec (this is used internally, not supposed to be exposed). 2024-10-25 13:13:10 +01:00
Dean a60002d53e Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-25 12:44:57 +01:00
Adria Navarro d044d56801 Add more tests 2024-10-25 13:25:28 +02:00
Adria Navarro e53ec31305 Add row create test 2024-10-25 13:20:15 +02:00
Michael Drury 207cf40504
Merge branch 'master' into fix/openapi-security 2024-10-25 11:01:40 +01:00
Sam Rose 7ee72b6c95
Merge master. 2024-10-25 10:58:32 +01:00
Sam Rose 0875ac817c
Merge branch 'master' into budi-8742-add-a-baseurl-binding-inside-automations 2024-10-25 10:51:29 +01:00
mike12345567 f1fa0a3a6f Fixing tests, updating to typescript. 2024-10-25 10:41:20 +01:00
Sam Rose 2b1bf4d711
Fix lint. 2024-10-25 10:39:42 +01:00
mike12345567 c33f331904 Test fix. 2024-10-24 18:08:49 +01:00
Sam Rose dd6a0853a4
Fix tests (again) 2024-10-24 18:05:33 +01:00
mike12345567 68354cc50f Defaulting app ID to variable. 2024-10-24 17:48:25 +01:00
mike12345567 0863a1167c Updating OpenAPI definition to contain all required variables. 2024-10-24 17:41:34 +01:00
Sam Rose 226c8d4f8e
Fix SQL tests. 2024-10-24 17:33:16 +01:00
Adria Navarro c13613f75c
Merge pull request #14860 from Budibase/BUDI-8774/delete-row-actions-when-unfetching-tables
Remove row actions when unfetching tables
2024-10-24 18:05:07 +02:00
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