Commit Graph

12767 Commits

Author SHA1 Message Date
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
Martin McKeaveney f7b2c77be4
Merge branch 'master' into poc-authenticated-iframe 2024-09-02 09:08:20 +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
Adria Navarro b92adecb53 Display chevron 2024-08-27 15:07:06 +02:00
Dean 3c2cb3dda1 Simplify the approach to leave change behaviour as it is and leave persistence to the close behaviour 2024-08-23 12:24:22 +01:00
Dean b9c685b83b Changed the CodeEditorModal to trigger a change when closing. This will accommodate any state updates to the editor 2024-08-23 10:15:46 +01:00
Dean f44d09b344 Switched the CodeEditor update event from change to blur. 2024-08-23 09:27:46 +01:00
Andrew Kingston 1e4fb27d7c
Ensure autoscreens use a specific component order to look better on older client versions 2024-08-21 16:39:54 +01:00
Andrew Kingston 4be3f0a320
Fix issue where we were saving the entire datasource definition into every datasource setting 2024-08-21 09:55:30 +01:00
Andrew Kingston 2d45f192f6
Lint 2024-08-20 15:07:23 +01:00
Andrew Kingston 7e5f43dd6d
Update table autoscreens to use grid layout 2024-08-20 14:58:07 +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
Martin McKeaveney a21e8123c6
Merge branch 'master' into poc-authenticated-iframe 2024-08-19 18:19:03 +01:00
Martin McKeaveney 89051da102 use postMessage instead of window object 2024-08-19 18:01:56 +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
Martin McKeaveney 8ee64c00fe merge 2024-08-19 11:24:45 +01:00
Andrew Kingston 0252b02406
Update containers to use grid layout by default and ensure autoscreens use new layout prop 2024-08-15 11:36:02 +01:00
Sam Rose 4a1fd6481f
Remove old, unused feature flags. 2024-08-15 10:53:43 +01:00
Andrew Kingston a022e02643
Update blank screens to use grid layout by default 2024-08-15 10:44:42 +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 fa12abf126
Merge branch 'master' into grid-layout-expansion 2024-08-14 11:29:11 +01:00
Andrew Kingston a755fe7630
Allow quick duplicating via ctrl/cmd + drag 2024-08-14 11:21:59 +01:00
Dean e2c491ef96 Backed out reactivity for Binding panel per discussion. Pending some UX discussion 2024-08-13 16:40:48 +01:00
Conor Webb 7456596c7a Refactor based on feedback 2024-08-13 16:36:42 +01:00
Andrew Kingston b321eabb50
Merge branch 'master' into dean-fixes 2024-08-13 15:43:58 +01:00
Andrew Kingston 5d6d75d672
Merge branch 'cheeks-fixes' of github.com:Budibase/budibase into cheeks-fixes 2024-08-13 14:33:25 +01:00
Andrew Kingston 6db20a241b
PR feedback 2024-08-13 14:33:07 +01:00
Conor Webb 9a6a1abb84 Fix logic, enterprise is the only tier that can use this 2024-08-13 12:39:56 +01:00
deanhannigan 424124f5c8
Merge branch 'master' into cheeks-fixes 2024-08-13 12:35:28 +01:00
Dean 3d6acb5efd Removed erroneous param 2024-08-13 12:09:01 +01:00
Conor Webb bd5789f59c Changed label to enterprise. 2024-08-13 11:36:15 +01:00
Conor Webb 8cbb003d44
Merge branch 'master' into Fix-user-access-roles-from-displaying-business 2024-08-13 11:30:56 +01:00
Conor Webb 7b3e02506d Changed from Business to premium 2024-08-13 11:28:12 +01:00
Dean 8a31cc2ff7 Bug fixes for bindings panel and code editor 2024-08-13 11:07:00 +01:00
Andrew Kingston 17c8f8e5d9
Merge branch 'master' into grid-layout-expansion 2024-08-13 09:18:28 +01:00
Dean 8e301902a3 Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-13 09:06:02 +01:00
melohagan 151fff51c5
Make generated passwords longer (#14362)
* Make generated passwords longer

* Use crypto for generating passwords

* Remove comments

* Generate password with length 12
2024-08-12 20:37:59 +00:00
Sam Rose 700356a1ef
Factor out default value check to shared-core. 2024-08-12 11:08:58 +01:00
Sam Rose 1b556f29fe
Rebase on posthog-feature-flags 2024-08-09 14:00:16 +01:00
Sam Rose aaaf173295
Initial UI. 2024-08-09 13:59:00 +01:00
Dean 849f5f21f9 Fix for environment bindings race condition. 2024-08-09 12:44:10 +01:00
Andrew Kingston 2b32db4286
Merge branch 'master' into grid-layout-improved 2024-08-09 10:02:02 +01:00
deanhannigan 3c563c382d
Merge branch 'master' into dean-fixes 2024-08-09 09:02:54 +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
Dean 1d8235a1cc PR feedback. Ensure fieldValue reacts to schema changes 2024-08-08 16:51:33 +01:00
Andrew Kingston 91120c673c
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-improved 2024-08-08 16:07:23 +01:00
Andrew Kingston 013f13315c
Update how available actions on the screen are found so that they understand global bindings properly and respect local scope 2024-08-08 15:17:55 +01:00
Dean bd2664218c PR feedback. Switch single user init back to expect an array and take the result 2024-08-08 12:29:39 +01:00
Andrew Kingston fc21c80d64
Use setting default value in conditional UI drawer 2024-08-08 11:58:19 +01:00
deanhannigan c830cde105
Merge branch 'master' into dean-fixes 2024-08-07 10:20:17 +01:00
Martin McKeaveney ac62a9a5a8 authenticated iframe PoC 2024-08-06 18:46:23 +01:00
Dean 853e891664 Fixes for Single select and Single user pickers. Now displaying binding status correctly 2024-08-06 11:58:12 +01:00
Andrew Kingston 8e04e85df2
Lint 2024-08-06 11:48:47 +01:00
Andrew Kingston df77aa3f83
Update when grid lines are shown, show sibling borders, add component padding, remove row and column settings 2024-08-06 11:07:20 +01:00
Andrew Kingston e58f34ef8c
Merge branch 'master' into grid-layout-improved 2024-08-05 19:34:01 +01:00
Sam Rose da74441c1c
Merge branch 'master' of github.com:budibase/budibase into budi-8483-consolidate-feature-flags-into-a-single-endpoint 2024-08-05 17:11:23 +01:00
Dean e3f021aea1 Added single user validation config so user fields display as set when bindings are used. 2024-08-05 17:05:09 +01:00
Andrew Kingston 22cda514b4
Update component settings bar to respect dependsOn metadata 2024-08-05 16:53:10 +01:00
Dean 2b9298963f Assorted builder fixes and a fix for Google sheets filtering 2024-08-05 09:57:27 +01:00
Andrew Kingston 1ff0c99764
Fix component preview border in tablet and mobile when on small screens 2024-08-03 11:21:56 +01:00
Andrew Kingston 0ba00a5117
Move most grid specific logic into a dedicated file to avoid polluting rest of the codebase 2024-08-02 16:13:49 +01:00
Andrew Kingston 2bc4d3a6da
Improve more component compatibility with grid layouts 2024-08-02 10:00:49 +01:00
Andrew Kingston 3630c73837
Fix flashing of missing component settings panel when deleting components 2024-08-02 09:40:12 +01:00
Andrew Kingston 1219463162
Update grid rows and columns settings and add them to screen settings 2024-08-01 11:58:06 +01:00
Andrew Kingston 8879188595
Update how screen layout param is handled 2024-08-01 11:40:16 +01:00
Adria Navarro bf1566ebb2
Merge branch 'master' into fix/dont-allow-protected-column-names-on-import 2024-08-01 11:04:14 +02:00
Adria Navarro f4bd303572 Handle frontend 2024-08-01 11:02:21 +02:00
Andrew Kingston 391294f7a1
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-improved 2024-07-31 16:45:13 +01:00
Andrew Kingston f6f0b575d6
Add top level screen layout setting 2024-07-31 16:44:46 +01:00
Adria Navarro 38da9012ea Display error 2024-07-31 16:56:14 +02:00
Andrew Kingston 940e2b5a94
Improve client loading states, skeleton and underlay 2024-07-31 15:53:40 +01:00
Andrew Kingston 8540f4020b
Improve client preview styles to work with increase client padding 2024-07-31 15:34:15 +01:00
Adria Navarro 2b22abe0bd
Merge branch 'master' into chore/unify-row-format-values 2024-07-31 12:25:55 +02:00
Adria Navarro 0202db3efe Unify enums 2024-07-31 12:20:45 +02:00
Adria Navarro 780f672100 Handle state issues 2024-07-31 11:44:39 +02:00
Andrew Kingston cb3c667859
Large refactor of grid css variable handling to simplify everything 2024-07-31 10:35:57 +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
Andrew Kingston 29ddeab0d4
Update grid layout to include nested flex wrappers for more layout control 2024-07-30 15:20:59 +01:00
Michael Drury 2486497a6c
Merge branch 'master' into fix/hide-row-actions 2024-07-30 15:20:21 +01:00
mike12345567 76652ddab5 Fixes some issues with row actions which were allowing them to be added from the automation section (which is not allowed) as well as breaking app access once they were added - this hides them properly so they can't be added as well as fixing the issue when they exist. 2024-07-30 15:07:34 +01:00
Andrew Kingston 32ba04c83d
Merge branch 'master' into dean-fixes 2024-07-30 15:03:54 +01:00
Dean 5269258532 Ensure the builder is functional if an app automation does not contain a trigger 2024-07-30 11:37:47 +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
melohagan 60f7c03e17
Fix/verify sso bug (#14253)
* Delete associated SSO user

* Update reset password screen

* Partial type removed

* lint

* Split getFirstPlatformUser from getPlatformUsers

* lint

* Use correct method

* Code review comments

* lint
2024-07-29 13:25:46 +01:00
Gerard Burns cf31c7ba3f
Form Screen Templates Generate Relevant Row Ids, Permission Roles are Automatically Generated (#14192)
* url params

* wip

* wip

* wip

* wip

* permissions now

* change table/screen deletion

* form screen refactor

* refactor grid templates

* wip

* wip permissions

* wip

* wip

* lint

* lint

* wip

* before lint

* lint

* wip

* rename some stuff

* Dean PR Feedback

* remove unneeded awaits
2024-07-29 11:59:24 +00:00
Adria Navarro 8421a75328
Merge branch 'master' into BUDI-8441/row-action-run-api 2024-07-26 15:16:21 +02:00
Adria Navarro f9bfe51c81 Rename external 2024-07-26 14:37:47 +02:00
Adria Navarro 3a095c5071 Renames 2024-07-26 14:35:36 +02:00
Adria Navarro b12641e467
Merge branch 'master' into BUDI-8441/row-action-run-api 2024-07-25 16:09:23 +02:00
Adria Navarro 22f86be34d
Merge branch 'master' into feat/row-actions 2024-07-25 15:26:50 +02:00
Andrew Kingston 7e11b57e87
Merge branch 'master' into remove-selected-rows-datasource 2024-07-25 11:17:20 +01:00
Adria Navarro aafe7a2831
Merge branch 'master' into feat/row-actions 2024-07-25 11:13:18 +02:00
Peter Clement 5ab81543e3
Fix issue with trigger filters not saving (#14231)
* Fix issue with trigger filters not saving

* use enum instead of nasty string

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2024-07-25 09:30:38 +01:00
Adria Navarro 4743cc3ae5 Free plan banner only for free users 2024-07-25 08:38:11 +02:00
Sam Rose 46cd06bacf
Merge branch 'master' of github.com:budibase/budibase into budi-8483-consolidate-feature-flags-into-a-single-endpoint 2024-07-24 16:10:45 +01:00
Andrew Kingston 1e70e3e443
Don't show datasource options for array bindings that lack table IDs 2024-07-24 09:04:05 +01:00
Adria Navarro 2d9da6b7d9
Merge branch 'master' into feat/row-actions 2024-07-24 09:51:47 +02:00
Dean 18777b6fb2 Removed explicit bindings prop from draggable list as it was overriding bindings added via the listTypeProps. Updated grid config to use listTypeProps instead 2024-07-23 14:55:38 +01:00
Adria Navarro af0b69e8b6 Reuse 2024-07-23 12:09:53 +02:00
Adria Navarro d601400871 Don't allow edit or delete actions for row actions 2024-07-23 10:21:09 +02:00
Adria Navarro 9428172482 Prevent duplicate 2024-07-23 10:16:02 +02:00
Adria Navarro 1081d415fa Refetch builder data 2024-07-23 10:15:25 +02:00
Adria Navarro d01bd54fd1 Use name (not display name) on saving 2024-07-23 10:15:25 +02:00
Adria Navarro b7fc1cddb7 Merge branch 'master' into feat/row-actions 2024-07-23 10:03:41 +02:00
Sam Rose f3c73fe4a8
Support primitives in feature flags, make flag types flow, remove some obsolete feature flag systems. 2024-07-22 17:43:53 +01:00
Andrew Kingston 3650041856
Merge branch 'master' into conditional-table-colours 2024-07-22 14:30:54 +01:00
Adria Navarro 3bb3376a82 Format on frontend 2024-07-22 14:31:59 +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 1b2182a690 Run without required 2024-07-22 14:30:38 +02:00
Adria Navarro e0d3855945 Display row action trigger info 2024-07-22 14:30:38 +02:00
Adria Navarro b9443906dc Fix 2024-07-22 14:23:18 +02:00
Adria Navarro b75c8b32e3 Field readonly 2024-07-22 14:23:17 +02:00
Dean 75217efee4 Fix to switch internal source check from table.sql to table.sourceType === DB_TYPE_INTERNAL. After the SQS changes table.sql becomes true for internal types 2024-07-22 12:37:40 +01:00
Andrew Kingston dbe321155f
Use multiselect for options fields in conditions using the 'in' operator 2024-07-22 11:55:03 +01:00
Andrew Kingston 98d55db959
Update tests 2024-07-22 11:30:06 +01:00
Andrew Kingston a14a737921
Merge branch 'master' of github.com:Budibase/budibase into conditional-table-colours 2024-07-22 11:02:02 +01:00
Andrew Kingston 27e4b4e3b4
Merge branch 'master' into dean-fixes 2024-07-22 10:17:50 +01:00
Andrew Kingston 6fd265776d
Add bespoke component for selecting users in table conditions 2024-07-22 09:58:59 +01:00
Gerard Burns f1a56b3831
Fix Automations Breaking When Their Datasource is Deleted (#14195) 2024-07-22 08:56:04 +00:00
Andrew Kingston e4cd71feab
Add options picker for multiselect columns 2024-07-22 09:38:43 +01:00
Andrew Kingston 26a552ac5c
Add options picker for values when configuring conditions on options columns 2024-07-22 09:35:36 +01: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
Andrew Kingston d774e30a0a
Improve table condition editor handling of value types and missing values 2024-07-22 09:21:46 +01:00
Andrew Kingston 27789a59d1
Hide table conditions for invalid column types 2024-07-22 09:13:13 +01:00
Andrew Kingston 8abf97e8bb
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-07-22 08:01:36 +01:00
Andrew Kingston c2c799e473
Merge branch 'master' into table-improvements-2 2024-07-22 08:00:36 +01:00
Adria Navarro bb4fd4c14c Fix possible undefined reference 2024-07-18 17:19:34 +02:00
Adria Navarro 19d614b329 Remove save button on add action step 2024-07-18 17:17:27 +02:00
Gerard Burns 3b0e2ba0e5
Fix Bug Preventing Deleting Multiple Apps in a Row (#14196) 2024-07-18 14:40:00 +01:00
Dean 31df2bbb5f Merge remote-tracking branch 'origin/master' into dean-fixes 2024-07-18 14:06:16 +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
Dean 94c7f50f6e Merge remote-tracking branch 'origin/master' into dean-fixes 2024-07-18 10:11:02 +01:00
Andrew Kingston 7faa6188c4
Improve support for formula columns when using table conditional colouring 2024-07-17 12:33:05 +01:00
Andrew Kingston 62d43bc183
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-07-17 08:06:03 +01:00
Andrew Kingston ee984b6a19
Update table conditions to apply both row and cell conditions via same configuration 2024-07-16 14:01:50 +01:00
deanhannigan 17026d888e
Merge branch 'master' into table-improvements-2 2024-07-16 09:04:39 +01:00