Commit Graph

28906 Commits

Author SHA1 Message Date
Sam Rose fd353b2ecf
wip 2024-09-19 10:09:21 +01:00
Andrew Kingston f2f13bb84e
Fix conditions with empty values falsely evaluating to true 2024-09-19 09:25:25 +01:00
Martin McKeaveney 950bd45b2c add ts ignore for mock 2024-09-18 18:04:13 +01:00
Martin McKeaveney 8a399bfbdf set custom configs quotas to right number 2024-09-18 17:42:55 +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 a90cf51d2c
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-09-18 13:34:19 +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
Andrew Kingston bb0fad8c9a
Use 'app users' for users table title in new view nav bar 2024-09-18 11:48:50 +01:00
Martin McKeaveney cb8d0984b1 update Providers 2024-09-18 10:52:52 +01:00
Martin McKeaveney 2cf07a40f6 fix for setting default configs 2024-09-18 09:44:33 +01:00
Martin McKeaveney 8e2d21c85f call right sdk method on ai module for enriching AI config 2024-09-17 18:27:49 +01:00
Andrew Kingston ba1cb32745
Merge branch 'v3-ui' of github.com:Budibase/budibase into v3-ui 2024-09-17 16:38:49 +01:00
Andrew Kingston c2116e3721
Remove deprecated view access feature from builder store 2024-09-17 16:38:34 +01:00
Andrew Kingston 4bd4cb57f8
Undo accidental UI change 2024-09-17 16:34:47 +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 7f3d88265e Allow passing no query to the search API. 2024-09-17 11:18:32 +01:00
Dean 77b282ab77 Merge remote-tracking branch 'origin/master' into v3-ui 2024-09-17 09:41:17 +01:00
Dean 5e245d11e5 Bump account portal to latest 2024-09-17 09:20:23 +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 63c0d9afb8 Sorting the field list to make sure we have the important fields at the top (if known). 2024-09-16 18:27:53 +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
Michael Drury ecbd8a5f1f
Merge branch 'master' into fix/sql-param-limits 2024-09-16 17:30:11 +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
mike12345567 9d6fc54a99 Adding function parameter limit control for different SQL DBs, every DB has different limits with Postgres being the lowest at 100. We need to fix for wide tables which are related. 2024-09-16 16:12:07 +01:00
Dean 7e37420c97 Lint 🫠 2024-09-16 15:48:55 +01:00
mike12345567 2fd73d044f Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-09-16 15:31:00 +01:00
Dean 6b610bd982 Change query defaulting behaviour 2024-09-16 15:28:49 +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 57e34e3f40
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-09-16 15:12:21 +01:00
Andrew Kingston 39781dcf58
Merge branch 'master' into v3-ui 2024-09-16 15:09:49 +01:00
Andrew Kingston 93751f3915
Lint 2024-09-16 15:09:15 +01:00
Andrew Kingston 7406812b18
Lint 2024-09-16 15:01:08 +01:00
Andrew Kingston 3e2fdee186
Remove logs 2024-09-16 14:59:33 +01:00
Andrew Kingston c9c6d410c7
Wait for server changes before updating state 2024-09-16 14:55:40 +01:00
Dean e8f71f6ace Lint 2024-09-16 14:24:50 +01:00
Andrew Kingston 1eee556bee
Fix issues with multi selectioni 2024-09-16 13:51:29 +01:00
Andrew Kingston 518f29030f
Fix edge issue 2024-09-16 13:47:57 +01:00
Andrew Kingston e7916c55f7
Some style updates 2024-09-16 13:42:47 +01:00
Andrew Kingston d61594d74e
Refactor RBAC flow and use selected states more 2024-09-16 13:31:36 +01:00
Dean 22eafa892c PR feedback 2024-09-16 13:02:35 +01:00
Dean e0d2c70611 PR feedback 2024-09-16 12:46:21 +01:00
Andrew Kingston d23d4156c3
Lint 2024-09-16 12:17:12 +01:00
Andrew Kingston c634cfdeac
Simplify and rewrite some flow logic 2024-09-16 12:15:17 +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
Andrew Kingston 0a109165f1
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-09-16 09:41:14 +01:00
Andrew Kingston a120a9c97a
Add multi user sync for roles 2024-09-16 09:40:52 +01:00
Andrew Kingston bf10b4cd9d
Lint 2024-09-16 09:26:31 +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 8222e1df3f refs 2024-09-13 16:33:01 +01:00
Peter Clement 95602f9c1d Merge remote-tracking branch 'refs/remotes/origin/feat/automation-step-naming-updates' into feat/automation-step-naming-updates 2024-09-13 16:30:08 +01:00
Peter Clement 70b9d08516 lint 2024-09-13 16:10:38 +01:00
Peter Clement 66c12914b8
Merge branch 'master' into feat/automation-step-naming-updates 2024-09-13 16:04:32 +01:00
Peter Clement 59549b74b5 js scripting edge case 2024-09-13 16:04:13 +01:00
Peter Clement 04daa423cf small fix for edge case 2024-09-13 16:03:37 +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 b32313040a
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-09-13 14:30:15 +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
Andrew Kingston 2849a7a4ff
Add uiMetdata prefix to roles everywhere 2024-09-13 14:03:21 +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
Peter Clement aaa7c9162f account Portal 2024-09-13 11:59:18 +01:00
Andrew Kingston 0404050897
Reset server changes to master 2024-09-13 10:47:56 +01:00
Andrew Kingston 46c83353d9
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-09-13 10:42:07 +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
Peter Clement 42609fc38f Merge remote-tracking branch 'refs/remotes/origin/feat/automation-step-naming-updates' into feat/automation-step-naming-updates 2024-09-12 21:05:29 +01:00
Peter Clement 7d6cce20e9 fix getAvailableBindings again, aka my personal hell 2024-09-12 21:02:50 +01:00
Martin McKeaveney d8df76954d
Merge pull request #14572 from Budibase/fix-vulns
updating JS dependencies to get rid of vulns
2024-09-12 17:53:30 +01:00
Martin McKeaveney 01a1379335 pin airtable dependency 2024-09-12 17:43:13 +01:00
Martin McKeaveney 57cf542101 updating JS dependencies to get rid of vulns 2024-09-12 17:32:42 +01:00
Michael Drury fed2870a86
Merge branch 'master' into feature/role-metadata-and-view-control 2024-09-12 17:18:48 +01:00
melohagan 683745d3fd
Update account-portal ref (#14571)
* Update account-portal ref

* update account-portal ref

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2024-09-12 16:14:16 +00:00
Andrew Kingston 63dd73f7b6
Update RBAC editor edges to explain what action the delete icon will take 2024-09-12 16:56:25 +01:00
Martin McKeaveney 58837a6eb6
Merge pull request #14368 from Budibase/Fix-user-access-roles-from-displaying-business
Fix user access roles from displaying business
2024-09-12 16:53:16 +01:00
Andrew Kingston dded09ca97
Update RBAC editor to use a grid and make all dimensions consistent with grid 2024-09-12 16:51:36 +01:00
mike12345567 b644dd47b9 build fix. 2024-09-12 16:27:18 +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
Andrew Kingston 87206b1c43
Update node spacing 2024-09-12 16:11:37 +01:00
Andrew Kingston d4451a487c
Increase max auto zoom and add more constants 2024-09-12 16:09:37 +01:00
mike12345567 8144aed935 Linting. 2024-09-12 15:53:44 +01:00
Andrew Kingston d80d38196f
Update styles of handles and edges 2024-09-12 15:53:25 +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 2700dfc63d
Update StepInputsOutputs.ts 2024-09-12 16:23:05 +02: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 0798f97066
Update StepInputsOutputs.ts 2024-09-12 15:53:35 +02: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 8c1d6a4eb0
Merge branch 'master' into fix/role-permission-update 2024-09-12 13:57:01 +01:00
Martin McKeaveney 62ff150364 update pro ref 2024-09-12 13:53:51 +01:00
Michael Drury cdcefc397c
Merge branch 'master' into fix/role-permission-update 2024-09-12 13:30:05 +01:00
Andrew Kingston 6f9175168b
Add custom RBAC edges with inline deletion icon 2024-09-12 12:23:27 +01:00
Conor Webb 423f76950f
Merge branch 'master' into Fix-user-access-roles-from-displaying-business 2024-09-12 11:10:57 +01:00
Andrew Kingston 35bdc998ca
Fix roles store update 2024-09-12 10:33:30 +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
Andrew Kingston 0a627e6cf5
Add validation to editing roles 2024-09-11 19:24:22 +01:00
mike12345567 bc03f1e473
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 19:13:53 +01: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
Martin McKeaveney 47110e095f updating budibase apps image to use alpine 2024-09-11 17:42:08 +01:00
Andrew Kingston f6852d5331
Update some other portal components to use new role metadata 2024-09-11 17:00:41 +01:00
Andrew Kingston 8a7af78c48
Remove legacy stuff 2024-09-11 16:52:20 +01:00
Andrew Kingston 6419829484
Update other usages of roles to use new metadata 2024-09-11 16:51:36 +01:00
Andrew Kingston dc0f93e314
Update design section to use new role metadata 2024-09-11 16:36:03 +01:00
Andrew Kingston aa75fca377
Update user side panel to account for new role metadata 2024-09-11 16:33:19 +01:00
Andrew Kingston 7e6f1407fe
Ensure roles always have new metadta and update access popover 2024-09-11 16:30:17 +01:00
Andrew Kingston e47d25cb48
Fix role updating and add custom role type to grid 2024-09-11 16:20:23 +01:00
Peter Clement 11c18474b2
Merge branch 'master' into tests/automation-branching-tests 2024-09-11 16:05:37 +01:00
Andrew Kingston 0fd38927e2
Remove log 2024-09-11 15:56:04 +01:00
Andrew Kingston de7604f8fd
Fix role CRUD 2024-09-11 15:55:48 +01:00
Peter Clement babbe16d7d fix test name 2024-09-11 15:50:21 +01:00
Andrew Kingston a81d9c6dd1
Add display name, color and descriptions to roles. Allow row CRUD via new UI 2024-09-11 15:42:05 +01:00
Peter Clement f377b9f566 remove top level table config 2024-09-11 15:39:21 +01:00
Peter Clement d4d4f8a150 ref 2024-09-11 15:24:49 +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 a68552f038
Merge branch 'master' into feat/automation-step-naming-updates 2024-09-11 15:07:09 +01:00
Michael Drury 9feebdbb13
Merge branch 'master' into fix/sql-use-ctes 2024-09-11 15:04:48 +01:00
melohagan 8b8595293b
Export publishEvent (#14560) 2024-09-11 14:02:42 +00:00
Peter Clement 56b727a245 uneeded boolean 2024-09-11 15:00:39 +01:00
Martin McKeaveney 2e83b9a34d add import 2024-09-11 14:53:51 +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
Michael Drury 7ad14302fa
Merge branch 'master' into fix/sql-use-ctes 2024-09-11 14:47:22 +01:00
Martin McKeaveney f6da691364 update account portal ref 2024-09-11 14:37:28 +01:00
mike12345567 fc3a865cfb Test fix. 2024-09-11 14:26:01 +01:00
mike12345567 c9b64e3591 SQLite uses CTE with SQS 2.1.1. 2024-09-11 13:41:54 +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
Andrew Kingston a5520a973c
Use display names and allow descriptions to be edited 2024-09-11 13:11:41 +01:00
Andrew Kingston 9f0c160bfa
Add deleted permissions file, update auto layout 2024-09-11 13:06:07 +01:00
Dean 956a10e1b4 Lint 2024-09-11 13:05:14 +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
Peter Clement e4918aea60 refs 2024-09-11 11:55:31 +01:00
Conor Webb 4804c55313
Merge branch 'master' into Fix-user-access-roles-from-displaying-business 2024-09-11 11:54:53 +01:00
Peter Clement 27b65e22ef fix error with updating existinh name count 2024-09-11 11:54:42 +01:00
Andrew Kingston 87dca3d11d
Merge branch 'master' into v3-ui 2024-09-11 11:50:41 +01:00
Peter Clement 0c11924027 refs 2024-09-11 11:40:52 +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
Peter Clement bf98d61ea6 add tests for new binding update code 2024-09-11 11:35:46 +01:00
Michael Drury 5b776d62ad
Merge branch 'master' into fix/logical-operators-return-none 2024-09-11 10:46:25 +01:00
Martin McKeaveney 9179569cd7
Merge branch 'master' into budi-8608-ai-platform-level-config 2024-09-11 10:43:41 +01:00
Martin McKeaveney fcc0381474 update account portal ref 2024-09-11 10:37:52 +01:00
Conor Webb 8a5d0560eb Fixed PlanType typo 2024-09-11 10:01:20 +01:00
Conor Webb 793f8a7ca7
Merge branch 'master' into Fix-user-access-roles-from-displaying-business 2024-09-11 09:59:55 +01:00
Andrew Kingston f1aca4c7df
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-09-11 09:45:39 +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
Andrew Kingston 2d23eaee5e
Remove empty file 2024-09-11 08:52:51 +01:00
Andrew Kingston 5be3fe2722
Remove screens and automations button from users table 2024-09-11 08:45:07 +01:00
Andrew Kingston 3295d90b0f
Update mapping of roles to new flow structure 2024-09-11 08:43:19 +01:00
Martin McKeaveney a5ff0d5ddc update acct portal ref 2024-09-10 22:55:14 +01:00
Martin McKeaveney c4a41ce11c Merge branch 'budi-8608-ai-platform-level-config' of github.com:Budibase/budibase into budi-8608-ai-platform-level-config 2024-09-10 22:39:35 +01:00
Martin McKeaveney a27be54b69 make mocks async 2024-09-10 22:38:45 +01:00
Martin McKeaveney 8af05d7c4f
Merge branch 'master' into budi-8608-ai-platform-level-config 2024-09-10 22:27:10 +01:00
Martin McKeaveney 38fc65c541 fix tests 2024-09-10 22:25:47 +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
Martin McKeaveney 2990291657 Merge branch 'budi-8608-ai-platform-level-config' of github.com:Budibase/budibase into budi-8608-ai-platform-level-config 2024-09-10 16:52:07 +01:00
Martin McKeaveney 5c9f88de59 account portal ref 2024-09-10 16:51:22 +01:00
Martin McKeaveney 304b2a5c61
Update packages/worker/src/api/controllers/global/configs.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-10 16:45:32 +01:00
Andrew Kingston d8dc8744a9
Add ability to update roles 2024-09-10 16:44:50 +01:00
Martin McKeaveney 87adb99073 update pro ref 2024-09-10 16:42:56 +01:00
Martin McKeaveney c6907eb09e fix types 2024-09-10 16:41:44 +01:00
Andrew Kingston dd98364a5d
Improve RBAC flow chart 2024-09-10 16:26:32 +01:00
mike12345567 86a6664c84 Updating test case. 2024-09-10 16:06:53 +01:00
Martin McKeaveney 1ee8a12e29 use real data instead of mocks 2024-09-10 16:01:00 +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
Martin McKeaveney 2eb53c018a sort settings pages 2024-09-10 15:19:41 +01:00
Martin McKeaveney 44a76d6730 add anthropic baseURL 2024-09-10 15:12:15 +01:00
Martin McKeaveney 933ca952d2 lint 2024-09-10 14:50:17 +01:00
Sam Rose 5f36a51e8c
Add new test creating multiple tables. 2024-09-10 14:39:23 +01:00
mike12345567 f63c95e44c Adding SQL_MAX_RELATED_ROWS environment variable, defaults to 500, allows for 500 rows per relationship. 2024-09-10 13:59:21 +01:00
Andrew Kingston 3c158c5357
Add initial version of new RBAC editor 2024-09-10 13:30:49 +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
Dean 5cc8433773 Builder test fixes 2024-09-10 11:05:49 +01:00
Martin McKeaveney 0cf626be91 Merge 2024-09-10 11:00:33 +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
Martin McKeaveney 08669793d7 Merge branch 'budi-8608-ai-platform-level-config' of github.com:Budibase/budibase into budi-8608-ai-platform-level-config 2024-09-10 10:55:25 +01:00
Martin McKeaveney 4fed5787ac review comments 2024-09-10 10:54:50 +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
Martin McKeaveney 7a376d9629
Update packages/worker/src/api/controllers/global/configs.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-10 10:26:18 +01:00
Dean e389bd8121 Fix for resetting the default config when the groups are cleared 2024-09-10 09:51:34 +01:00
Adria Navarro dc9e1cbbc7 Enrich view with all schema 2024-09-10 10:44:56 +02:00
Andrew Kingston 9da84b19f9
Add scaffolding for new role editor modal 2024-09-10 09:11:52 +01:00
Dean 162d0d0c7e Clean up dead code and improve behaviour when emptying filter config 2024-09-10 09:08:43 +01:00
Andrew Kingston eb20686de8
Remove licensing restriction for configuring access on views 2024-09-10 08:48:24 +01:00
Andrew Kingston 608bc97cdd
Update access button 2024-09-10 08:46:26 +01:00
Adria Navarro 3ab39fb44c
Merge branch 'master' into BUDI-8565/enrich-views 2024-09-09 20:35:09 +02:00
Martin McKeaveney 8b26ab422f remove conditional chain 2024-09-09 18:19:10 +01: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
Martin McKeaveney 96fbc8fff0 feature flag support 2024-09-09 18:07:47 +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
Andrew Kingston 4fd74c3a19
Add new access selection UI for tables and views 2024-09-09 17:04:02 +01:00
Michael Drury 8e8946bc95
Merge branch 'master' into fix/sql-many-relationships 2024-09-09 16:53:48 +01:00
Martin McKeaveney b4a4f81308 linting 2024-09-09 16:52:56 +01:00
Dean 1d3130f8cc Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-09 16:51:00 +01:00
Dean ca5891b88b Lint 2024-09-09 16:48:32 +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
mike12345567 1a27cf9d5b Fix - thanks tests. 2024-09-09 16:40:04 +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
mike12345567 ac2416dc0b Lint. 2024-09-09 16:30:38 +01:00
mike12345567 6e10c528d8 Getting rid of findInDoc as its not used anymore. 2024-09-09 16:25:34 +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 26db79d421 Remove cache dependency 2024-09-09 16:24:20 +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
Adria Navarro 5b85b77a29
Merge branch 'master' into BUDI-8560/fix-relationships-with-many-columns 2024-09-09 16:09:15 +02:00
Adria Navarro 725aa18060 Fix long popover for relationship column pickers 2024-09-09 16:05:09 +02:00
Adria Navarro 72ecfb611a
Merge branch 'master' into BUDI-8561/fix-remove-relationship 2024-09-09 16:00:27 +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
Adria Navarro bb3dd6e27a Fix relationship popover click behaviour 2024-09-09 15:23:06 +02:00
Martin McKeaveney 57698170a8 lint 2024-09-09 13:55:26 +01:00
Andrew Kingston 714d05a9d2
Request new name for row actions rather than autonaming 2024-09-09 12:36:03 +01:00
Andrew Kingston df54d5dd2b
Lint 2024-09-09 12:21:52 +01:00
Andrew Kingston 624e13a49c
Add row action buttons to table autoscreens 2024-09-09 12:15:25 +01:00
Sam Rose 1c5b50773f
Docs to Google Sheets mock. 2024-09-09 12:05:15 +01:00
melohagan 2f13773240
Add old roles (#14538) 2024-09-09 10:46:08 +00:00
Andrew Kingston 82a727ae88
Remove max limit on grid buttons 2024-09-09 11:36:52 +01:00
Andrew Kingston 028dc40a0d
Update form block autoscreens to render buttons at bottom and include quiet row action buttons 2024-09-09 11:35:43 +01:00
Andrew Kingston 902112d5a7
Update form screen templates to include row actions and use a form block instead of multi step form block 2024-09-07 19:02:36 +01:00
mike12345567 157e75b9a6 Using a CTE for the main query, then adding the JSON aggregation on afterwards - fixing issue with offset pagination applying the JSON aggregation to all rows before hand. 2024-09-06 19:34:02 +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
Andrew Kingston 6172fddc40
Improve button action templates and remove broken focus functionality 2024-09-06 16:19:08 +01:00
Martin McKeaveney b949940653 remove comments 2024-09-06 15:44:23 +01:00
Martin McKeaveney 073017a0d6 remove todo comment 2024-09-06 15:43:34 +01:00
Martin McKeaveney 6bf4f47110 further tests around default BB AI config 2024-09-06 15:42:37 +01:00
Martin McKeaveney 891f736815 unit tests for secrets mapping 2024-09-06 15:37:09 +01:00
Sam Rose 3c58a593f9
Improve typing around in-memory search. 2024-09-06 15:03:17 +01:00
Martin McKeaveney cdb0e2509c testing configuration, unit tests for AI config 2024-09-06 14:53:26 +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
Dean b84c2e2adb Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-06 12:12:59 +01:00
Andrew Kingston 5de81c624f
Expose refresh datasource action from form blocks and add row action button templates 2024-09-06 11:16:27 +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
Andrew Kingston 61b82b8817
Add quiet reverse button variant for collapsed button groups in grids 2024-09-06 09:20:00 +01:00
melohagan 528a21643c
Fix: unable to upgrade plan (#14527)
* Don't allow admin users to select themselves

* Disable upgrade button for non account holders
2024-09-06 08:01:05 +00:00
Andrew Kingston 7121a0f157
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-06 08:57:08 +01:00
Andrew Kingston fa6ad0daec
Fix issue with enriching screen definitions causing bad component instances to be parsed 2024-09-06 08:46:09 +01:00
mike12345567 f7d9b8a9b3 Updating select statement generation. 2024-09-05 19:04:45 +01: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
Andrew Kingston da6ce2256a
Fix issue with button column width and allow collapsed button groups to use a secondary variant 2024-09-05 16:46:55 +01:00
Andrew Kingston 1bbbeab25b
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-05 15:36:47 +01:00
Andrew Kingston a7cc670ab6
Restore mounted flag render blocker in grid containers 2024-09-05 15:26:35 +01:00
Andrew Kingston 8860acad73
Update grid layout to support placeholders, as well as grid screens 2024-09-05 15:15:28 +01:00
Andrew Kingston 6f8e669107
Improve new component DND for grids and add mobile support 2024-09-05 14:54:16 +01:00
Peter Clement b1b861139d feature flag the branch action definition 2024-09-05 14:25:04 +01:00
Andrew Kingston 5e98580b60
Improve new component DND for both types of layout 2024-09-05 14:03:03 +01:00
Dean 3e3ea48d2e Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-05 11:52:46 +01:00
Andrew Kingston 0939a91677
Merge branch 'master' into new-data-ui 2024-09-05 08:53:15 +01:00
mike12345567 e30469ce16 Getting MariaDB to work again. 2024-09-04 18:14:24 +01:00
Peter Clement 452ff17e1f
Merge branch 'master' into fix/automation-context-bug 2024-09-04 17:54:15 +01:00
mike12345567 637ac55a9f Slight refactor. 2024-09-04 17:42:30 +01:00
Sam Rose cda778598d
Fix some MSSQL test cases. 2024-09-04 16:41:36 +01:00
Peter Clement 2135dbca67 update automation test builder to support ...building 2024-09-04 16:37:33 +01:00
Sam Rose e90aff959f
Resolve merge conflicts. 2024-09-04 16:24:19 +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
mike12345567 79de7b2c45 Updating to use a sub-query with a wrapper to get the JSON aggregations. 2024-09-04 16:17:25 +01:00
Andrew Kingston 5b6809b913
Fix tests 2024-09-04 15:41:10 +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
Andrew Kingston 238b1cecf1
Highlight row action row rather than select 2024-09-04 11:28:49 +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
Andrew Kingston 07df8157b3
Update data section background colours for a better loading experience 2024-09-04 11:20:31 +01:00
Andrew Kingston b60923f929
Update collapsed button groups to support alignment 2024-09-04 11:12:26 +01:00
Andrew Kingston 07b9ac1a37
Revert enriched relationships flag to false even in dev 2024-09-04 10:34:13 +01: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
Andrew Kingston db9822fa64
Lint 2024-09-04 09:51:26 +01:00
Andrew Kingston 409580c787
Fix issue preventing initial click of deleting relationship from working when relationship popover is open 2024-09-04 09:49:34 +01:00
Andrew Kingston 54e09267f1
Only show hover state in relationship badges when fields are available to show 2024-09-04 09:35:56 +01:00
Andrew Kingston 857122f99e
Remove unnecessary API calls when showing or hiding columns 2024-09-04 09:32:14 +01: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
Andrew Kingston c8660da7d0
Update relationship column popover chevron to show active state when open 2024-09-04 09:22:06 +01:00
Martin McKeaveney 9f75f2a9fc account for setting a default config and unset the rest 2024-09-04 09:22:00 +01:00
Andrew Kingston b067b8ad54
Update relationship popover styles and position 2024-09-04 09:19:51 +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
Andrew Kingston 6ce481c08f
Fix issue triggering row actions from data UI 2024-09-04 08:40:37 +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
Andrew Kingston 26b5784345
Fix navigation to new row actions not working 2024-09-03 20:10:46 +01:00
Andrew Kingston 7db263dd3b
Go to newly created row actions 2024-09-03 20:05:14 +01:00
Andrew Kingston e0c4273acf
Don't wait for things we don't care about 2024-09-03 19:56:32 +01:00
Martin McKeaveney 4d873ae75e cleaner select options for managing models 2024-09-03 19:51:53 +01:00
Martin McKeaveney d3b90a0253 initial impl of default Budibase AI config through env vars 2024-09-03 19:47:36 +01:00
Andrew Kingston 872446e524
Replace other usages of manual row actions API calls with store usage 2024-09-03 19:47:12 +01:00
Martin McKeaveney be4b6aaceb adding config for azure openai and more customisation for custom ai models 2024-09-03 19:19:33 +01:00
Martin McKeaveney 0d5e776424 preserve apikeys on save 2024-09-03 19:12:13 +01:00
Andrew Kingston 53ff7e1167
Add new builder store for row action CRUD, ensuring consistent state everywhere 2024-09-03 18:58:22 +01:00
Martin McKeaveney 378ccb6e70 switch name and description 2024-09-03 18:52:33 +01:00
Martin McKeaveney 50d64de72a styling updates 2024-09-03 18:51:45 +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
Dean 0f3e39dcfc Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-03 17:19:33 +01:00
Martin McKeaveney 43135e4274 AI Config CRUD complete 2024-09-03 17:18:46 +01:00
Dean 7703da159d Merge commit 2024-09-03 17:16:49 +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 0e6d903c74
Select row when opening row actions popover 2024-09-03 15:14:40 +01:00
Martin McKeaveney ca4b17bc9b icons, styling of AI configs and further simplification 2024-09-03 15:11:52 +01: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
mike12345567 ac7838f80d Fixing an issue with inconsistent relationship order. 2024-09-03 12:09:33 +01:00
Andrew Kingston 7d5e884a8f
Fix row action count for views 2024-09-03 11:50:20 +01: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
Andrew Kingston 2a02298ac2
Auto select first available row action 2024-09-03 10:56:38 +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 14bc9a7390 Fix merge conflicts 2024-09-03 11:28:43 +02:00
Adria Navarro 3cee97aa02 Merge branch 'master' into feat/pick-relationship-fields 2024-09-03 11:19:18 +02:00
Adria Navarro 00f8f386d3 PR comments 2024-09-03 11:15:47 +02:00
Andrew Kingston 232a2829d2
Add UI for controlling row actions on views, and add support for view row actions in button actions 2024-09-03 10:09:07 +01: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
Andrew Kingston 65af0a7352
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-03 09:37:58 +01: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