Commit Graph

12945 Commits

Author SHA1 Message Date
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
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 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
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
Peter Clement 70b9d08516 lint 2024-09-13 16:10:38 +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
Andrew Kingston 2849a7a4ff
Add uiMetdata prefix to roles everywhere 2024-09-13 14:03:21 +01:00
Dean 627e7fc799 Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-13 12:06:54 +01:00
Peter Clement c980742081 Merge remote-tracking branch 'origin/master' into feat/automation-step-naming-updates 2024-09-13 12:04:48 +01:00
Andrew Kingston 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 7d6cce20e9 fix getAvailableBindings again, aka my personal hell 2024-09-12 21:02:50 +01: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
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
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
Andrew Kingston d80d38196f
Update styles of handles and edges 2024-09-12 15:53:25 +01:00
Dean 46cc9a074b Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-12 15:02:07 +01:00
Dean 1454e52509 Merge remote-tracking branch 'origin/master' into v3-ui 2024-09-12 15:01:23 +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
Andrew Kingston 0a627e6cf5
Add validation to editing roles 2024-09-11 19:24:22 +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
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
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 a68552f038
Merge branch 'master' into feat/automation-step-naming-updates 2024-09-11 15:07:09 +01:00
Martin McKeaveney 2e83b9a34d add import 2024-09-11 14:53:51 +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 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
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 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
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 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
Peter Clement abaa40a272 automation steps using names 2024-09-10 17:09:42 +01:00
Andrew Kingston d8dc8744a9
Add ability to update roles 2024-09-10 16:44:50 +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
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
Andrew Kingston 3c158c5357
Add initial version of new RBAC editor 2024-09-10 13:30:49 +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
Martin McKeaveney 4fed5787ac review comments 2024-09-10 10:54:50 +01:00
Andrew Kingston 9da84b19f9
Add scaffolding for new role editor modal 2024-09-10 09:11:52 +01:00
Andrew Kingston 608bc97cdd
Update access button 2024-09-10 08:46:26 +01:00
Martin McKeaveney 8b26ab422f remove conditional chain 2024-09-09 18:19:10 +01:00
Martin McKeaveney 96fbc8fff0 feature flag support 2024-09-09 18:07:47 +01:00
Andrew Kingston 4fd74c3a19
Add new access selection UI for tables and views 2024-09-09 17:04:02 +01:00
Martin McKeaveney b4a4f81308 linting 2024-09-09 16:52:56 +01:00
Dean ca5891b88b Lint 2024-09-09 16:48:32 +01:00
Dean 11b146fcbf Updates to filter UI and API requests across budibase 2024-09-09 16:36:31 +01: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
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
Andrew Kingston 6172fddc40
Improve button action templates and remove broken focus functionality 2024-09-06 16:19:08 +01:00
Martin McKeaveney 891f736815 unit tests for secrets mapping 2024-09-06 15:37:09 +01:00
Martin McKeaveney cdb0e2509c testing configuration, unit tests for AI config 2024-09-06 14:53:26 +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
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 5b6809b913
Fix tests 2024-09-04 15:41:10 +01:00
Andrew Kingston 238b1cecf1
Highlight row action row rather than select 2024-09-04 11:28:49 +01:00
Andrew Kingston 07df8157b3
Update data section background colours for a better loading experience 2024-09-04 11:20:31 +01:00
Andrew Kingston db9822fa64
Lint 2024-09-04 09:51:26 +01:00
Andrew Kingston 857122f99e
Remove unnecessary API calls when showing or hiding columns 2024-09-04 09:32:14 +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 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
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
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
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
Andrew Kingston 7d5e884a8f
Fix row action count for views 2024-09-03 11:50:20 +01:00
Andrew Kingston 2a02298ac2
Auto select first available row action 2024-09-03 10:56:38 +01: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
Andrew Kingston 4b367bf505
Add row action button actions 2024-09-03 09:06:12 +01:00
Dean 7dbc45ec82 Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-03 09:04:35 +01:00
Andrew Kingston fcfcc503e0
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-03 08:50:04 +01:00
Andrew Kingston b37a4cb0c9
Lint 2024-09-03 08:49:49 +01:00
Martin McKeaveney f328ae4bf9 account for arrays 2024-09-02 20:45:32 +01:00
Martin McKeaveney 67d5219f75 basic crud working 2024-09-02 20:20:58 +01:00
Martin McKeaveney 99035ad8ae rough pass on AI platform CRUD 2024-09-02 20:16:58 +01:00
Andrew Kingston 3b827c35a2
Add collapsed button option to multistep form block 2024-09-02 16:30:14 +01:00
Martin McKeaveney 1a57e37d38 initial framework for platform AI 2024-09-02 15:22:33 +01:00
Adria Navarro fc3684c73c
Merge branch 'master' into feat/pick-relationship-fields 2024-09-02 16:05:17 +02:00
mikesealey ee50012775 tweaks z-index to show preview above bindings drawer 2024-09-02 13:37:36 +01:00
Andrew Kingston 51cbced119
Add common collapsed button group and use it for row actions and client button groups. Add collapsed settings to grids and form blocks 2024-09-02 11:44:49 +01:00
Sam Rose 3a516e8356
Merge branch 'master' into budi-8435-remove-auto-columns-for-created-by-and-created-at 2024-09-02 11:13:11 +01:00
Andrew Kingston d8b6d10dce
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-02 10:17:56 +01:00
Andrew Kingston fae897f468
Allow button groups to be collapsed 2024-09-02 09:31:19 +01:00
Martin McKeaveney f7b2c77be4
Merge branch 'master' into poc-authenticated-iframe 2024-09-02 09:08:20 +01:00
Dean 8eb5734102 Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-02 09:02:41 +01:00
Andrew Kingston c5e27b860f
Add row actions to tables in data section 2024-09-02 08:45:49 +01:00
Adria Navarro 3d1c861222
Merge branch 'master' into feat/pick-relationship-fields 2024-08-31 20:24:00 +02:00
melohagan fc367476c1
Make sure setEnrichedUsers is called when tenantOwnerLoaded (#14491) 2024-08-30 17:40:43 +00:00
Martin McKeaveney d5f58fc6c8 merge 2024-08-30 18:08:40 +01:00
Sam Rose 955a3a6883
Merge branch 'master' into budi-8435-remove-auto-columns-for-created-by-and-created-at 2024-08-30 17:47:36 +01:00
melohagan 3f357561d0
The UI should indicate who the account holder is (#14470)
* Get tenantInfo in user fetch

* Add account holder label in users table

* Don't allow account holder to be selected in users table

* Sort account holder to top of list

* Only use account holder role in users table

* lint

* Remove joi validation from tenant-info endpoint

* Remove dayPasses

* Catch CouchDB 404 and return undefined

* Don't allow account holder role to be changed UI

* Don't offer delete option for tenant owner

* Backend validation to ensure account holder role cannot be updated

* Don't allow account holder role to be changed UI

* Get tenantOwner in separate call

* Pass data into SelectEditRenderer

* Rename var to __selectable

* setEnrichedUsers

* Update pro reference

* Only load tenantOwner once
2024-08-30 16:29:38 +00:00
Sam Rose 7cbfd7be84
Disable creation of createdAt and createdBy auto columns when default values is enabled. 2024-08-30 15:58:11 +01:00
Adria Navarro 64c2a18934
Merge branch 'master' into feat/pick-relationship-fields 2024-08-30 14:45:01 +02:00
melohagan 4d9f87e4c4
Set password to 12 characters (#14478) 2024-08-30 09:16:16 +00:00
Adria Navarro de29d31c35 Enrich configuration only for views 2024-08-29 13:16:27 +02:00
Martin McKeaveney 8e40e98b6a merge 2024-08-28 16:54:51 +01:00
Martin McKeaveney b3f51e2766 PR comments 2024-08-28 16:49:00 +01:00
Adria Navarro c531084921 Lint 2024-08-27 16:27:50 +02:00
Adria Navarro 8a2bc639ea Flag checks on frontend 2024-08-27 16:21:32 +02:00