1
0
Fork 0
mirror of synced 2024-09-21 03:43:21 +12:00
Commit graph

3684 commits

Author SHA1 Message Date
Michael Drury
cdcefc397c
Merge branch 'master' into fix/role-permission-update 2024-09-12 13:30:05 +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
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
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
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
Martin McKeaveney
9179569cd7
Merge branch 'master' into budi-8608-ai-platform-level-config 2024-09-11 10:43:41 +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
Martin McKeaveney
0cf626be91 Merge 2024-09-10 11:00:33 +01:00
Martin McKeaveney
96fbc8fff0 feature flag support 2024-09-09 18:07:47 +01:00
Martin McKeaveney
b4a4f81308 linting 2024-09-09 16:52:56 +01:00
Michael Drury
e2c6893aa3
Merge branch 'master' into fix/sql-many-relationships 2024-09-09 16:07:16 +01:00
Martin McKeaveney
57698170a8 lint 2024-09-09 13:55:26 +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
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
Martin McKeaveney
b949940653 remove comments 2024-09-06 15:44:23 +01:00
Martin McKeaveney
cdb0e2509c testing configuration, unit tests for AI config 2024-09-06 14:53:26 +01:00
mike12345567
f7d9b8a9b3 Updating select statement generation. 2024-09-05 19:04:45 +01:00
Peter Clement
b1b861139d feature flag the branch action definition 2024-09-05 14:25:04 +01:00
mike12345567
e30469ce16 Getting MariaDB to work again. 2024-09-04 18:14:24 +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
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
mike12345567
fed82dffaf Linting. 2024-09-04 13:11:03 +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
Martin McKeaveney
ca4b17bc9b icons, styling of AI configs and further simplification 2024-09-03 15:11:52 +01:00
mike12345567
ac7838f80d Fixing an issue with inconsistent relationship order. 2024-09-03 12:09:33 +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
Adria Navarro
3cee97aa02 Merge branch 'master' into feat/pick-relationship-fields 2024-09-03 11:19:18 +02:00
Adria Navarro
1be8289677
Merge branch 'master' into feat/row-action-view-security 2024-09-03 10:13:22 +02:00
Martin McKeaveney
f328ae4bf9 account for arrays 2024-09-02 20:45:32 +01:00
Martin McKeaveney
99035ad8ae rough pass on AI platform CRUD 2024-09-02 20:16:58 +01:00
mike12345567
fc31a28c10 Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships 2024-09-02 16:13:26 +01:00
Adria Navarro
fc3684c73c
Merge branch 'master' into feat/pick-relationship-fields 2024-09-02 16:05:17 +02: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
Adria Navarro
3d1c861222
Merge branch 'master' into feat/pick-relationship-fields 2024-08-31 20:24:00 +02:00
Michael Drury
9b84d959dc
Merge branch 'master' into fix/sqs-default-dev-on 2024-08-30 18:07:51 +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
mike12345567
b622df2683 Defaulting SQS to on in development environments, this removes the need for setting it in the management scripts. 2024-08-30 15:10:55 +01:00
Adria Navarro
64c2a18934
Merge branch 'master' into feat/pick-relationship-fields 2024-08-30 14:45:01 +02:00
mike12345567
6407f5b68d Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships 2024-08-30 13:44:40 +01:00
Adria Navarro
dd14d0b646 Fix return types 2024-08-30 10:30:27 +02:00
mike12345567
a9b1a22403 Some improvements to get SQS tests passing. 2024-08-29 18:56:14 +01:00
mike12345567
3e51dde6d2 Check for alias as well when deciding whether filter requires relationship addition. 2024-08-29 17:58:11 +01:00