Commit Graph

844 Commits

Author SHA1 Message Date
Andrew Kingston 3e2fdee186
Remove logs 2024-09-16 14:59:33 +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 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 2849a7a4ff
Add uiMetdata prefix to roles everywhere 2024-09-13 14:03:21 +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 35bdc998ca
Fix roles store update 2024-09-12 10:33:30 +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 a81d9c6dd1
Add display name, color and descriptions to roles. Allow row CRUD via new UI 2024-09-11 15:42:05 +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
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
Peter Clement abaa40a272 automation steps using names 2024-09-10 17:09:42 +01:00
Martin McKeaveney c6907eb09e fix types 2024-09-10 16:41:44 +01:00
Martin McKeaveney 2eb53c018a sort settings pages 2024-09-10 15:19:41 +01:00
Martin McKeaveney 933ca952d2 lint 2024-09-10 14:50:17 +01:00
Dean 5cc8433773 Builder test fixes 2024-09-10 11:05:49 +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
Dean 11b146fcbf Updates to filter UI and API requests across budibase 2024-09-09 16:36:31 +01:00
Andrew Kingston 714d05a9d2
Request new name for row actions rather than autonaming 2024-09-09 12:36:03 +01:00
Andrew Kingston 5b6809b913
Fix tests 2024-09-04 15:41:10 +01:00
Andrew Kingston 26b5784345
Fix navigation to new row actions not working 2024-09-03 20:10:46 +01:00
Andrew Kingston e0c4273acf
Don't wait for things we don't care about 2024-09-03 19:56:32 +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
Andrew Kingston 53ff7e1167
Add new builder store for row action CRUD, ensuring consistent state everywhere 2024-09-03 18:58:22 +01:00
Andrew Kingston 789df301cb
Enable renaming row actions and improve row actions in grids 2024-09-03 15:05:13 +01:00
Martin McKeaveney 99035ad8ae rough pass on AI platform CRUD 2024-09-02 20:16:58 +01:00
Martin McKeaveney 1a57e37d38 initial framework for platform AI 2024-09-02 15:22:33 +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
Dean 8eb5734102 Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-02 09:02:41 +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
Andrew Kingston 8d87395a98
Fix a few edge cases with v1 views 2024-08-23 13:41:35 +01:00
Andrew Kingston 2a67c0e09e
Allow deleting row actions from automations 2024-08-22 16:58:12 +01:00
Dean f6723cf77b Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-08-22 09:26:28 +01:00
Dean 49628e6235 Merge commit 2024-08-22 09:26:08 +01:00
Andrew Kingston 346f55691b
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-20 10:26:39 +01:00
Gerard Burns 205a50156b
[BUDI-8460] Add New Step to Table Screen Template (#14203)
* [BUDI-8460] Add New Step to Table Screen Template Flow

* fix tests

* PR Feedback

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-08-19 10:44:09 +00:00
Sam Rose 4a1fd6481f
Remove old, unused feature flags. 2024-08-15 10:53:43 +01:00
Andrew Kingston 6783f9b4ee
Reset grid position metadata when copying and pasting between screens 2024-08-15 09:54:47 +01:00
Andrew Kingston a755fe7630
Allow quick duplicating via ctrl/cmd + drag 2024-08-14 11:21:59 +01:00
Andrew Kingston 2b32db4286
Merge branch 'master' into grid-layout-improved 2024-08-09 10:02:02 +01:00
melohagan c86b1d7ca5
Auto login the user after password is set (#14344)
* login after creating super admin user

* Allow keyboard enter key in create account from invite

* Allow enter key to submit password reset

* Min length for password validation should be 12

* Default PASSWORD_MIN_LENGTH to 12

* fix unit tests

* Fix unit tests

* Add passwordMinLength to admin store
2024-08-08 17:45:04 +01:00
Andrew Kingston 3630c73837
Fix flashing of missing component settings panel when deleting components 2024-08-02 09:40:12 +01:00
mike12345567 8f7a88ce86 Moving logic to frontend - definitions are returned unless they are deprecated, frontend decides which it can use to create. 2024-07-30 16:04:33 +01:00
Dean cad066c668 Reduced the number of unnecessary calls to update the automation store or fetch automations. The contant updates appeared to cause issues with routify 2024-07-30 10:03:24 +01:00
Adria Navarro 1081d415fa Refetch builder data 2024-07-23 10:15:25 +02:00
Adria Navarro b7a969280f Display data 2024-07-22 14:31:42 +02:00
Adria Navarro 6221b9320e Enrich 2024-07-22 14:31:00 +02:00
Adria Navarro b9443906dc Fix 2024-07-22 14:23:18 +02:00
Gerard Burns 9d8e470aa6
Fix Screen History Issue (#14207) 2024-07-22 09:33:27 +01:00
Gerard Burns 7548b48f9e
Allow Opening Certain Context Menus With Right Click (#14169)
* Allow Opening NavItem Context Menus With Right Click

* dean pr feedback

* PR Feedback 1

* Fix pasting into a component issue

* Remove animation

* Move ContextMenu Into Routify Router Scope
2024-07-22 09:27:44 +01:00
Peter Clement 7fd55fe27d
Automation trigger filtering (#14123)
* backend for triggering automation based on filters

* frontend for handling triggering automations on filter / old row

* lint and bug fix

* fix issue with test header

* make test data optional

* improve safety on trigger gate

* add support for running trigger with filter if no change happened but filter matches

* update var naming to actually make sense

* tests

* fix lint

* improve gating for shouldTrigger check

* remove unecessary cast

* unecessary tableId check

* frontend text updates

* resolving comments

* pro

* Update packages/types/src/documents/app/automation.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* link out to docs for trigger filtering

* fix pro

* more pr comments

* use getAppId

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-07-18 10:38:15 +01:00
Conor Webb d1f0454831
Switch the notification messages around as it was stating it was enable/disabled at the wrong times. (#14124) 2024-07-09 08:55:19 +00:00
Dean 5ff8b03378 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-06-25 12:05:31 +01:00
Dean e9985adcd4 Updates and refactoring of Automation flows 2024-06-25 11:52:11 +01:00
Gerard Burns e88ffea1a4
Modal component (#13848)
* wip

* wip

* wip

* wip

* wip

* add note for illegalChildren reset behavior

* on close working

* wip

* lint

* wip

* Fix potential remounting loop caused by spreading props and unnecessary component keying

* theme

* user prompt

* dotted border for empty

* PR Feedback

* lint

* fix modal background color

* use bbui modal

* lint

* fix indicator and prevent closing modal in builder

* pr feedback

* pr feedback

* fix fullscreen

---------

Co-authored-by: deanhannigan <deanhannigan@gmail.com>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-06-18 11:18:05 +01:00
Adria Navarro 5c3973d7f9
Merge branch 'master' into feat/readonly-columns 2024-06-03 10:06:50 +02:00
melohagan cbb3c9aa93
Allow a user invite to be revoked (#13805)
* Add free_trial to deploy camunda script

* Allow user invites to be deleted

* Refactor to pass invite codes

* lint

* update account-portal

* yarn lock

* users terminology instead of rows and invites
2024-05-31 14:34:08 +00:00
Adria Navarro 8e72f1f0fa Lock readonly 2024-05-30 11:14:12 +02:00
Andrew Kingston 35c52203ce Add tests for enriching empty card block settings 2024-05-21 17:29:32 +01:00
Andrew Kingston a074cb6bef Remove enrichEmptySettings from component patch function as any screen update already invokes empty setting enrichment on every single component 2024-05-21 14:17:35 +01:00
Andrew Kingston 16fd09e4c9 Merge branch 'master' of github.com:Budibase/budibase into prefill-cards 2024-05-21 12:03:16 +01:00
Gerard Burns 04cf17cea7 merge master 2024-05-21 09:51:06 +01:00
Andrew Kingston 0c63946df7
Merge branch 'master' into prefill-cards 2024-05-21 09:10:23 +01:00
Conor Webb 3c74d29cf6
Added the ability to disable automations (#13667)
* Added disabling functionality for automations

* Removed external trigger automations that are disabled from selectable bindings

* Added new popover option for disabling automations

* Added toggle UI Inside automation screen

* Added subtle styling to automation list for disabled functionality.

* Fixed linting error

* Removed duplicate bbui import

* Fixed store function spacing

* Fixed linting issues.

* Added the requested changes to how disable is handled.

* Fixed linting issues.

* Minor UI tweaks based on feedback.

* Added logic to prevent crons type automations from running when disabled.

* Removing webhook disable, causes trigger url to be re-generated.

* Add unit test to ensure disabled automations are filtered out of the active queue

* Fixed lint issues

* Reverted disabled unit test

* Added error throw for disabled automations

* Add test for when a disabled automation gets triggered

* Added try, catch for trigger function - error handling

* Fixed linting issues
2024-05-20 15:13:08 +01:00
deanhannigan 8d5d459c13
Merge branch 'master' into prefill-cards 2024-05-20 11:58:34 +01:00
Andrew Kingston b902e765fd Observe size changes in tabs as a catch-all solution for incorrect underline sizing 2024-05-20 09:37:48 +01:00
Dean bb552c1984 Feedback and some fixes. Fix for app list getting squashed when the app metadata was updated. 2024-05-15 12:50:50 +01:00
Gerard Burns 693e3373a6 merge master 2024-05-14 13:38:28 +01:00
Gerard Burns bb69e0c1c9 linting 2024-05-14 11:24:51 +01:00
Gerard Burns a95941b1e2 add tests and move type support presets to app store 2024-05-13 22:26:43 +01:00
deanhannigan 698ea861a5
Merge branch 'master' into fix/builder-tabs-underline 2024-05-13 14:47:06 +01:00
deanhannigan e185cf79de
Merge branch 'master' into fix/builder-tabs-underline 2024-05-13 14:04:12 +01:00
Michael Drury 00e7d22c47
Merge branch 'master' into fix/13660 2024-05-13 13:34:38 +01:00
mike12345567 58cda93b08 PR comments. 2024-05-13 13:33:59 +01:00
Andrew Kingston 68148a6d3a
Merge branch 'master' into fix-component-auto-expand 2024-05-13 13:24:07 +01:00
mike12345567 92348fb526 Changing the logic of how automation thread timeout gets applied, so that it can be used properly. 2024-05-13 12:53:44 +01:00
Andrew Kingston d39ec25f0c
Merge branch 'master' into prefill-cards 2024-05-13 10:23:07 +01:00
Dean 31fccf23a8 Add font load event to allow the header to redraw as the fonts load 2024-05-08 09:23:30 +01:00
melohagan cfc2ea9117
Add free trial modal (#13609)
* Add free_trial to deploy camunda script

* WIP FreeTrial modal

* Handle free trial modal via self endpoint

* Set correct plan title for trial

* Remove catch

* lint

* Refactor

* Remove unnecessary code

* Rename to EnterpriseBasicTrialModal
2024-05-07 12:44:57 +01:00
Gerard Burns 0cda854f1d remove line 2024-05-07 09:18:34 +01:00
Gerard Burns cbf33adc0e fix 2024-04-24 08:05:29 +01:00
Gerard Burns 53553d8dd6 linting 2024-04-22 14:34:20 +01:00
Gerard Burns 498a562b07 lines for dates 2024-04-22 14:34:20 +01:00
Gerard Burns 4690f78775 add explanation modal type presets 2024-04-22 14:34:19 +01:00
Andrew Kingston ebbd0a87d4 Remove dates from card block autofill because the timestamps don't look nice 2024-04-19 11:48:26 +01:00
Andrew Kingston 1ede3b34d4
Merge branch 'master' into prefill-cards 2024-04-19 11:43:40 +01:00
Andrew Kingston e670dc1e1b Lint 2024-04-19 11:43:25 +01:00
Andrew Kingston bc29d3515f Improve card binding autofill field selection 2024-04-19 11:35:16 +01:00
Andrew Kingston 75bf928242 Tidy up card binding logic 2024-04-19 11:08:59 +01:00
Andrew Kingston e98a9f7f80 Update when empty setting enrichment runs to ensure card blocks properly reset when changing datasource 2024-04-19 10:55:58 +01:00
Andrew Kingston cb3937b5c1 Auto fill card blocks with bindings and reset when changing datasource 2024-04-18 15:58:40 +01:00
Adria Navarro ae137ca677 Fix update 2024-04-17 16:34:08 +02:00
Adria Navarro 54f2c825fc Remove _add 2024-04-17 12:12:41 +02:00
Adria Navarro 3e32ce4d24 Use shared-core 2024-04-17 12:12:09 +02:00
Andrew Kingston dc0b56e213 Update navigation tests 2024-04-10 16:17:06 +01:00
Andrew Kingston 2a9a05ad2d Merge branch 'nested-nav-links' of github.com:Budibase/budibase into nested-nav-links 2024-04-10 16:07:11 +01:00
Andrew Kingston b62c1e6fb3 Update navigation tests 2024-04-10 16:06:37 +01:00
Andrew Kingston e0f02941b9
Merge branch 'master' into nested-nav-links 2024-04-10 14:19:26 +01:00
Andrew Kingston 380a0e7d30 Add type and role to automatically created nav links and ensure cleanup from both links and sublinks when deleting screens 2024-04-10 14:19:05 +01:00
Adria Navarro bc0b42bda6 Fix test 2024-04-10 12:35:31 +02:00
melohagan 923ae021a1
Feature/nps survey (#13423)
* get process env in JS file

* Hard-code posthog token

* Set posthog key based on env

* Don't run posthog locally in dev

* fix

* Only run posthog analytics in prod

* Don't use posthog in dev

* Revert posthog code changes.

* Remove intercom

* lint
2024-04-09 15:24:03 +01:00
Adria Navarro d431f633d3 Use types 2024-04-03 12:02:55 +02:00
Andrew Kingston 567c3a6d10 Add optional chaining to fix log out and log in issue 2024-04-02 14:46:28 +01:00
Andrew Kingston 6c9127427c Fix issues with colours in app skeletons 2024-03-26 10:43:56 +00:00
Andrew Kingston 44114d9af1 Lint 2024-03-21 16:26:53 +00:00
Andrew Kingston c6fca37b43 Update dataprovider validation which was not aware of global bindings 2024-03-21 16:05:02 +00:00
Andrew Kingston 5acfc3143d Multiple performance improvements to component selection and hovering 2024-03-20 17:01:23 +00:00
Conor Webb 35e1114fac
Added a setting to allow the title's text alignment to be changed (#13235)
* Added setting to allow title text alignment to be set and changed

* Switched out for icons instead of a select as per feedback.

* Edited right icon to display the correct icon.

* Updated to use the paragrah alignment component icons.

* Added button list component

* Reworked template to use BarButtonList over ActionButton component

* Updated selectedArray name to alignmentOptions provides better meaning
2024-03-19 16:13:28 +00:00
Gerard Burns fbec6d6eff Merge branch 'master' into component-collapse-redo 2024-03-15 14:38:46 +00:00
Gerard Burns f632e67f44 merge master 2024-03-15 14:05:18 +00:00
Dean b8277fc60f Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-15 10:01:38 +00:00
Dean f2dbeed6e8 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-15 09:20:02 +00:00
Dean 4949ea1bcd PR feedback 2024-03-15 09:09:44 +00:00
Andrew Kingston b6eab42c18 Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-14 16:24:16 +00:00
Andrew Kingston 542a1111c6
Merge branch 'master' into cheeks-lab-day-binding-eval 2024-03-14 16:22:03 +00:00
Gerard Burns 61f2746cf9 linting 2024-03-14 15:51:48 +00:00
Gerard Burns d1affc2586 wip 2024-03-14 15:21:55 +00:00
Gerard Burns 89371c5f5f remove node collapsing magic string 2024-03-14 13:24:34 +00:00
Gerard Burns ece7060b6b Merge branch 'master' into component-collapse-redo 2024-03-14 10:49:34 +00:00
Dean 9755d40203 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-14 09:52:01 +00:00
Sam Rose 02158a0fb1
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-03-14 09:24:02 +00:00
Andrew Kingston 75dc2b174b Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-12 17:04:34 +00:00
Andrew Kingston b13d2d3803 Merge branch 'master' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-12 15:38:23 +00:00
Adria Navarro e754c660ee Fix edition of groups with groups 2024-03-12 08:56:36 +01:00
Adria Navarro 4b2c16998c Fix SCIM groups edition 2024-03-12 08:51:01 +01:00
Andrew Kingston af10b65d51 Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-11 13:55:12 +00:00
Andrew Kingston b1c4c910d8
Merge branch 'master' into cheeks-lab-day-binding-eval 2024-03-11 13:49:06 +00:00
Sam Rose 3550ae8c1a
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-03-11 13:45:08 +00:00
Dean e3fba2aa05 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-11 10:11:01 +00:00
Andrew Kingston ce0ad154da Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-11 09:33:46 +00:00
Dean fec52c11e8 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-08 14:26:05 +00:00
Adria Navarro c955135f51 Lint 2024-03-07 14:11:19 +01:00
Adria Navarro 73c141c0fb Merge branch 'feat/BUDI-8046' into display_scim_sync_per_row 2024-03-07 13:33:59 +01:00
Andrew Kingston cb7f33de77 Add automatic naming of snippets 2024-03-06 20:27:46 +00:00
Andrew Kingston 4d271ccb53 Add real snippet saving and fix snippet evaluation in client apps 2024-03-06 19:07:16 +00:00
Andrew Kingston 84fb0dd9de Add local state manipulation of snippets 2024-03-06 13:33:00 +00:00
Dean f494611bd8 Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-03-06 10:13:58 +00:00
Dean e3603a81d5 App favouriting 2024-03-06 09:33:17 +00:00
Andrew Kingston 706f9b5d4a Update snippets to be an array 2024-03-05 19:11:34 +00:00
Andrew Kingston fa685962a8 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-05 11:46:48 +00:00
melohagan ee0f0abad2
Fix/rename mysql column (#13186)
* Rebuild table schema when adding new column to get externalType

* Added MySQL integration test suite

* Add test for emitting datasource on save new column

* Update packages/server/src/integration-test/mysql.spec.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* remove duplicate tests

* Use UUID

* update account portal

* Remove _add for internal save

* Internal DB add column unit test

* rename column test

* update modules

* fix tests

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-03-04 15:55:45 +00:00
melohagan 5fabe14f62
Revert "Rebuild table schema when adding new column to get externalType (#13165)" (#13184)
This reverts commit a59647e158.
2024-03-04 12:20:27 +00:00
melohagan a59647e158
Rebuild table schema when adding new column to get externalType (#13165)
* Rebuild table schema when adding new column to get externalType

* Added MySQL integration test suite

* Add test for emitting datasource on save new column

* Update packages/server/src/integration-test/mysql.spec.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* remove duplicate tests

* Use UUID

* update account portal

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-03-04 11:21:43 +00:00
Gerard Burns 7cd0ce371d wip 2024-03-04 08:17:58 +00:00
Gerard Burns f1208919ee linting 2024-03-04 08:07:15 +00:00