Commit Graph

29740 Commits

Author SHA1 Message Date
Michael Drury 516ee275ce
Merge branch 'master' into chore/update-submodule 2024-10-25 13:14:50 +01: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
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
Sam Rose 5e4cfafa96
Expose bigints as a column to do calculations on. 2024-10-25 11:53:27 +01: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
Andrew Kingston 2dec33c12d
Revert info display changes 2024-10-24 16:27:30 +01:00
Andrew Kingston be5564621c
Add info display in user side panel to warn builders if they haven't published their app 2024-10-24 16:19:43 +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
Andrew Kingston c8a7837868
Skip access API request if unchanged 2024-10-24 15:30:05 +01:00
Adria Navarro 08ee84c88b
Merge pull request #14864 from Budibase/chore/allow-overriding-minversion-without-power-role
Allow overriding the min version where we stop serving the power role
2024-10-24 16:23:04 +02:00
Adria Navarro 288517df96 Fix frontend issues due power role missing 2024-10-24 16:08:04 +02:00
Adria Navarro f279a1716d Allow overriding the min version where we stop serving the power role 2024-10-24 15:52:52 +02: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
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
Andrew Kingston a1fbd3ef9a
Try to fix pro 2024-10-24 10:56:52 +01:00
Adria Navarro f2e46863f6 Add test deleting external ds 2024-10-24 11:53:59 +02:00
Andrew Kingston 7464f5e7b9
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-24 10:50:05 +01:00
Andrew Kingston 389251c659
Merge pull request #14857 from Budibase/query-ui-frontend
Frontend updates for storing view filters in `queryUI`
2024-10-24 10:47:35 +01:00
Adria Navarro ccdb032449 Move sdk rowaction code 2024-10-24 11:30:59 +02:00
Andrew Kingston 687996257f
Revert change to view error message 2024-10-24 10:27:41 +01:00
Andrew Kingston 889b216a93
Add theme tests 2024-10-24 10:22:43 +01: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
Andrew Kingston a38ae93097
Lint 2024-10-24 10:10:14 +01:00
Andrew Kingston 90fb36315f
Add client feature to ensure full backwards compatibility with themes 2024-10-24 10:06:04 +01:00
Andrew Kingston 27d42a9bfe
Fix theme of in builder preview 2024-10-24 09:43:30 +01:00
Andrew Kingston d7ad035e0b
Lint 2024-10-24 09:36:51 +01:00
Andrew Kingston ab0f81824d
Update to use new shared-core location for theme utils 2024-10-24 09:35:55 +01:00
Andrew Kingston 4c112d51e6
Move themes to shared core, add enum and type 2024-10-24 09:24:11 +01:00
Andrew Kingston 247d57887a
Remove lightest and dark themes, use enums for themes, standardise naming 2024-10-24 09:07:36 +01:00
Andrew Kingston 8a0193cfb7
Fix typo 2024-10-24 07:25:45 +01:00
Andrew Kingston 9c7e3cd95e
Reset filters when reopening table filter button 2024-10-24 07:24:45 +01:00
Sam Rose ebcbadfd3a
remove all of the `fnc` variables 2024-10-23 17:21:14 +01:00
Sam Rose a120ce4e14
More refactoring. 2024-10-23 17:07:42 +01:00
Michael Drury 714afad2ad
Merge branch 'master' into fix/mysql-forward-slashes 2024-10-23 16:57:26 +01:00
Andrew Kingston 13d0c0f734
Remove log 2024-10-23 16:24:24 +01:00
Andrew Kingston c8c5cbe16c
Update more usages of processing search filters 2024-10-23 16:24:02 +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
Andrew Kingston b6dbe54236
Remove old reference to deleted code 2024-10-23 16:12:21 +01:00
Andrew Kingston 6ac6db706d
Revert default param 2024-10-23 16:10:57 +01:00
Andrew Kingston 67cc35e7df
Merge branch 'v3-ui' of github.com:Budibase/budibase into query-ui-fontend 2024-10-23 16:09:09 +01:00
Sam Rose 685d8cfd20
Merge pull request #14852 from Budibase/fix-processSearchFilters
Make sure processSearchFilters handles an undefined input.
2024-10-23 15:52:18 +01:00
Adria Navarro 998d0002b8 Cleanup dead code 2024-10-23 16:48:22 +02:00
Adria Navarro e67352d51b Remove api flag 2024-10-23 16:38:07 +02:00
Adria Navarro 11b2e40836 Remove 2024-10-23 16:37:55 +02:00
Adria Navarro 7901c2d4ac Remove builderData usage 2024-10-23 16:37:46 +02:00
Sam Rose f7b84ca7ea
Fix some type skullduggery. 2024-10-23 15:32:07 +01:00
mike12345567 8ebb02eb79 Test fix. 2024-10-23 15:30:46 +01:00
Adria Navarro a24728394f Trigger info data in the frontend 2024-10-23 16:26:14 +02:00
Sam Rose f2a844c3b5
Fix test. 2024-10-23 15:24:32 +01:00
mike12345567 e28357c451 Linting. 2024-10-23 15:21:37 +01:00
Sam Rose 9ebd890c04
Handle empty arrays too. 2024-10-23 15:13:58 +01:00
mike12345567 3ddd8e10cc Comment and test case. 2024-10-23 15:10:53 +01:00
Sam Rose ca0dc030ad
Make sure processSearchFilters handles an undefined input. 2024-10-23 15:08:59 +01:00
mike12345567 8f21802e6e Refactor, correct to the BuiltinPermissionID rather than PermissionLevel, these are different. 2024-10-23 15:08:59 +01:00
Andrew Kingston de26d151af
Remove log 2024-10-23 15:07:19 +01:00
Andrew Kingston cb4b7988c5
Update usages of queryUI and ensure processSearchFilters isn't called with nullish values 2024-10-23 15:06:57 +01:00
Sam Rose 309506adab
wip 2024-10-23 15:05:41 +01:00
Andrew Kingston 77bb3cf4da
Increase width of create table modal 2024-10-23 14:52:54 +01:00
Andrew Kingston 4eda072af4
Add view name to queryUI error 2024-10-23 14:50:46 +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
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
Andrew Kingston 8f80d8eb86
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-23 14:18:33 +01:00
Sam Rose ff487735cc
Update frontend type names to match changes I've made. 2024-10-23 14:13:43 +01:00
Andrew Kingston 470ace7dad
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-23 14:10:05 +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 67d2e0cf61 Port changes from PR #14846 2024-10-23 14:34:39 +02:00
Martin McKeaveney 612bd5177c update pro ref 2024-10-23 13:32:39 +01:00
Adria Navarro 71671ad62a Update pro submodule 2024-10-23 14:24:24 +02: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 022ec12b1b Clean 2024-10-23 13:08:15 +02:00
Adria Navarro 2868c840e6 Remove duplicated modals 2024-10-23 13:02:25 +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
Andrew Kingston 0a14075c24
Merge branch 'new-rbac-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-23 09:59:05 +01:00
Andrew Kingston 07312b903b
Revert testing stuff 2024-10-23 09:58:49 +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
Martin McKeaveney 6541f6d31f update pro ref 2024-10-22 21:49:02 +01:00
Martin McKeaveney 4f5e831b22 PR comments 2024-10-22 21:48:03 +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 29ab9bef7d fix lint 2024-10-22 18:31:07 +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
Adria Navarro 7124a754f1
Merge branch 'master' into chore/allow-serving-old-apps-locally 2024-10-22 17:54:16 +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
Adria Navarro 06670ba549 Add local prerelease to version locally 2024-10-22 17:32:32 +02:00
mike12345567 0b2ac578c0 linting. 2024-10-22 16:27:53 +01:00
Adria Navarro 9d4cbaae8e
Merge pull request #14839 from Budibase/BUDI-8766/default-user-columns-to-current-user-for-templates
Default user columns to current user for templates
2024-10-22 17:18:06 +02: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 71538eb761
Merge branch 'master' into BUDI-8723/new-automation-not-selected-upon-creation 2024-10-22 16:44:50 +02:00
Andrew Kingston 4129169463
Lint 2024-10-22 15:40:53 +01:00
Adria Navarro f07cb6bd74 Fix test 2024-10-22 16:37:58 +02:00
Andrew Kingston 80e532f59d
Fix app count in groups list 2024-10-22 15:33:21 +01:00
Andrew Kingston 62d87da024
Fix role colours in user app list portal page 2024-10-22 15:28:40 +01:00
Andrew Kingston 1e4f105901
Fix labels and add colours to access level selctor for queries 2024-10-22 15:25:15 +01:00
Adria Navarro b85a28fdf6 Fixes 2024-10-22 16:19:25 +02:00
Andrew Kingston 3ae5ce9802
Use role display names for picking preview roles 2024-10-22 15:16:07 +01: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
Andrew Kingston 86620b9a26
Remove permissionId when creating roles and ensure all roles inherit basic 2024-10-22 13:47:38 +01:00
Adria Navarro e67126e6b6 Navigate to automation on creation 2024-10-22 14:30:22 +02: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
mike12345567 33ea5f09a7 Revert account portal ref. 2024-10-22 11:06:46 +01:00
Adria Navarro ea1d893ab8 Remove unused fields 2024-10-22 12:06:24 +02:00
Peter Clement 613e63ccbf remove update ref 2024-10-22 10:58:24 +01: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
Sam Rose 2cd3ab6627
Respond to PR comments. 2024-10-22 10:35:09 +01:00
Sam Rose 50c3f2c9fc
Merge branches 'queryui-default' and 'master' of github.com:budibase/budibase into queryui-default 2024-10-22 10:00:16 +01:00
Adria Navarro b4f5e35c1f
Merge branch 'master' into v3-ui 2024-10-22 10:29:24 +02: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
Andrew Kingston 21c580e956
Lint 2024-10-21 16:29:03 +01:00
Andrew Kingston db2001b868
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-21 16:27:34 +01:00
Sam Rose 49477330c2
Fix broken frontend test. 2024-10-21 16:18:39 +01:00
Sam Rose f0fd81b752
Update pro reference. 2024-10-21 15:41:27 +01:00
mikesealey 62b4deca95 updates filepath for Section in FieldGroup 2024-10-21 15:38:26 +01:00
mikesealey 01edb34b6e deprecates Section component 2024-10-21 15:16:45 +01:00
deanhannigan 2795eca672
Merge branch 'master' into v3-ui 2024-10-21 15:01:02 +01: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
mike12345567 f857e2a3e9 Adding BUDIBASE_AI feature flag. 2024-10-21 12:56:59 +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
Peter Clement 8f46119817 refs 2024-10-21 10:04:51 +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
Dean e9fd5415be Bump Pro Version 2024-10-21 09:10:22 +01:00
Dean e4702070d8 Lint. Remove duplicate entry 2024-10-21 09:08:34 +01:00
Andrew Kingston 795948f3a1
Use enums for sorting 2024-10-21 08:52:56 +01:00