1
0
Fork 0
mirror of synced 2024-09-24 13:21:53 +12:00
Commit graph

3706 commits

Author SHA1 Message Date
Michael Drury
617b7df07e
Merge branch 'master' into fix/mysql-correlated-queries 2024-09-23 18:41:43 +01:00
mike12345567
676058bbbd Updates to limit the response of JSON_ARRAYAGG in mysql/mariaDB - rather than using a limited sub-query which is dis-allowed in MySQL/MariaDB due to the nature of the correlated sub-query. 2024-09-23 17:16:34 +01:00
mike12345567
b0252469ed Removing wrap for MySQL. 2024-09-23 12:33:25 +01:00
mike12345567
efdfbe7229 Fixing an issue that was stopping the limit from being applied to MySQL, it needs to wrap the query the same as all other DBs, however it needs to apply the where statement in a slightly different manner. 2024-09-20 17:58:31 +01:00
Martin McKeaveney
95a08514b4 merge 2024-09-20 17:39:19 +01:00
Sam Rose
4b86c49af2
Merge branch 'master' into remove-view-readonly-column-licensing-master 2024-09-19 11:57:10 +01:00
Sam Rose
74effbb55b
Fix tests. 2024-09-19 11:41:10 +01:00
Martin McKeaveney
dadce14a71
Merge branch 'master' into budi-8608-ai-platform-level-config-pt-2 2024-09-19 10:48:01 +01:00
Martin McKeaveney
e0fb44f63f lint 2024-09-19 10:21:49 +01:00
Sam Rose
6d7cffa43e
Make flag name more accurate. 2024-09-19 10:15:18 +01:00
Sam Rose
be5a4f5d97
Require a flag to be set to query PostHog for feature flags. 2024-09-19 10:11:24 +01:00
Martin McKeaveney
69b2bf9bdb lint 2024-09-18 14:21:10 +01:00
Andrew Kingston
fd3c8c4a11
Make view readonly columns available for free 2024-09-17 16:34:00 +01:00
Martin McKeaveney
224be10b6c support for overriding models 2024-09-17 16:08:59 +01:00
mike12345567
63c0d9afb8 Sorting the field list to make sure we have the important fields at the top (if known). 2024-09-16 18:27:53 +01:00
mike12345567
68a710699d Getting external DBs to correctly handle when too many fields. 2024-09-16 18:09:01 +01:00
mike12345567
9d6fc54a99 Adding function parameter limit control for different SQL DBs, every DB has different limits with Postgres being the lowest at 100. We need to fix for wide tables which are related. 2024-09-16 16:12:07 +01:00
Martin McKeaveney
7fc0f38296 Merge branch 'master' of github.com:Budibase/budibase into budi-8608-ai-platform-level-config-pt-2 2024-09-16 11:54:12 +01:00
Martin McKeaveney
c85bc88bf9 draft of openai impl 2024-09-16 11:54:04 +01:00
Andrew Kingston
663c0f20af
Don't use display names as role names, and restore usual names for built in roles 2024-09-13 14:14:36 +01:00
mike12345567
ef3f726346 Fixing test cases. 2024-09-12 16:23:00 +01:00
mike12345567
4952747ae9 Taking working from new-rbac-ui branch and separating it into its own PR, so that other work can be based on this from master. 2024-09-12 15:40:37 +01:00
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