Commit Graph

2416 Commits

Author SHA1 Message Date
melohagan 7dcdce2480
Gro 738 refactor code that returns the account holder from user (#14872)
* WIP

* WIP

* Remove tests

* Remove TenantInfo

* Remove unused export

* Remove TenantInfo type

* Remove unused export

* Remove unused routes

* Add getAccountHolder front-end endpoint

* Add endpoint to no tenancy list

* Get account holder via appId

* lint

* Update pro ref

* Use account email instead of budibaseUserId (#14876)

* Update account-portal ref

* Update account portal ref

* Correct import order

* Simplify boolean

* type fix

* Rename endpoint to accountholder

* Update account-portal ref

* Refactor

* Refactor to not use appId

* Update type

* appId not needed

* Unused import
2024-10-28 14:46:42 +00:00
Michael Drury 207cf40504
Merge branch 'master' into fix/openapi-security 2024-10-25 11:01:40 +01:00
mike12345567 5a46e16b8d Adding some tests around the openAPI public APIs to make sure the security works the way we expect, do not redirect API requests. 2024-10-24 16:54:08 +01:00
Sam Rose 26192515b3
Merge branch 'master' of github.com:budibase/budibase into sql-security 2024-10-23 14:45:51 +01:00
Sam Rose 56a68db1d4
Checkpoint EOD: fixed a bunch more raw cases, some test failures to fix tomorrow. 2024-10-22 18:33:44 +01:00
Peter Clement bce430b57c pr comments 2024-10-22 12:03:16 +01:00
Peter Clement abe725a3b9 Merge remote-tracking branch 'origin/master' into feat/support-user-in-automation-context 2024-10-22 10:53:17 +01:00
Peter Clement 09695fabd6 extract necessary user bindings and add types 2024-10-22 10:52:52 +01:00
mike12345567 f857e2a3e9 Adding BUDIBASE_AI feature flag. 2024-10-21 12:56:59 +01:00
Peter Clement d7d7ae9d75 Merge remote-tracking branch 'origin/master' into feat/support-user-in-automation-context 2024-10-21 11:00:24 +01:00
mike12345567 24dbb0cef9 Merge branch 'master' of github.com:Budibase/budibase into fix/all-feature-flag-enum 2024-10-18 18:24:02 +01:00
mike12345567 b94498e583 Backporting types from v3 to support updating pro submodule. 2024-10-18 17:29:22 +01:00
mike12345567 94789ff03d Adding all feature flags to enum, just so there is a simple reference to see all feature flags that are available. 2024-10-18 16:51:23 +01:00
Peter Clement a26b64bb03 pass user through to automation context 2024-10-18 15:08:18 +01:00
Michael Drury aaf5debc52
Merge branch 'master' into feature/role-multi-inheritance 2024-10-17 17:01:27 +01:00
Adria Navarro ab517bf86d Persist created version 2024-10-17 10:32:17 +02:00
mike12345567 1f9c33c53a Test cases based on frontend. 2024-10-16 21:29:33 +01:00
mike12345567 ca72dffb1f Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-15 13:34:39 +01:00
mike12345567 243391d6cb Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-14 12:57:22 +01:00
Sam Rose e9ad3e58be
Support default values on multi-user columns. 2024-10-14 12:14:41 +01:00
Sam Rose 1bcd2590d3
Allow BB_REFERNCE_SINGLE to have default values. 2024-10-11 12:28:20 +01:00
mike12345567 f907cccc58 Merge branch 'fix/custom-role-naming' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-10 16:28:06 +01:00
Adria Navarro c297396456
Merge branch 'master' into budi-8705-v3-view-joins-required-columns-cant-be-changed-to-read-only 2024-10-10 17:20:16 +02:00
Sam Rose 4c4429b88a
Fix tests. 2024-10-10 15:49:00 +01:00
Adria Navarro e191c90385 Simplify enriched column 2024-10-10 16:42:05 +02:00
mike12345567 3a2b22d446 Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-10 11:47:19 +01:00
Adria Navarro 3e0408d3b9 Add new flag 2024-10-10 10:34:35 +02:00
Adria Navarro d01462221f Set default permissions 2024-10-09 17:08:45 +02:00
Sam Rose 4cde2f26ad wip, tests broken 2024-10-09 16:55:32 +02:00
Sam Rose 3405e6d6b7 Make new tables require ADMIN permissions to read and write. 2024-10-09 16:55:16 +02:00
Sam Rose 6da0c29c76
Merge branch 'master' into view-calculation-validation-3 2024-10-09 13:46:58 +01:00
Michael Drury 64492dca2a
Merge branch 'master' into fix/related-rows-dont-exist 2024-10-09 12:18:37 +01:00
Sam Rose f1b04d1252
Merge master. 2024-10-08 15:06:57 +01:00
melohagan e3c6b60211
Remove unused properties (#14732)
* Remove unused properties

* lint
2024-10-08 12:56:48 +00:00
Sam Rose 9b3ab049a4
wip 2024-10-08 11:50:16 +01:00
Sam Rose f4b430e27c
Remove uiMetadata from ViewV2, it's not needed now we have the type field. 2024-10-07 16:38:18 +01:00
Sam Rose 672469526e
Mark calculation views explicitly instead of figuring it out implicitly. 2024-10-07 16:33:14 +01:00
melohagan db25511948
Changes relating to adding accountName to Account entity (#14712)
* Remove unused code

* Typing compromise because Account extends CreateAccount

* Update account-portal

* Update account-portal
2024-10-07 12:26:55 +02:00
Martin McKeaveney a583b824c2
Merge pull request #14700 from Budibase/view-ui-metadata
Add uiMetadata to viewV2
2024-10-07 10:23:02 +01:00
Adria Navarro 6954fc6416
Merge branch 'master' into row-action/set-table-permission 2024-10-04 15:39:06 +02:00
Sam Rose 11dc2766cc
Merge branch 'master' into fix/related-rows-dont-exist 2024-10-04 14:30:45 +01:00
Adria Navarro 8764a8c6e8 Return allowed run from table 2024-10-04 14:02:30 +02:00
Adria Navarro baa5a86ebb Rename allowedViews to allowedSources 2024-10-04 14:01:46 +02:00
andz-bb 696b2c38db persist app sort method selection by saving it against the user 2024-10-04 10:54:14 +01:00
Andrew Kingston afca86cf8f
Merge branch 'master' into view-ui-metadata 2024-10-04 09:45:34 +01:00
Andrew Kingston 215e359615
Add uiMetadata to viewV2 2024-10-04 09:29:41 +01:00
mike12345567 bfbc576ed1 Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-03 17:22:09 +01:00
Michael Drury d5af9315a5
Merge branch 'master' into fix/related-rows-dont-exist 2024-10-03 17:10:23 +01:00
Sam Rose 725096c9d1
Merge master. 2024-10-03 16:33:35 +01:00
mike12345567 a6f6942288 Fixing an issue with corrupt relationship records referencing rows which don't exist, this is a temporary measure as these relationships should be cleaned up correctly but for now ignore any which reference rows which no longer exist. 2024-10-03 16:10:07 +01:00