Commit Graph

3741 Commits

Author SHA1 Message Date
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
Sam Rose 50c307df4d
Add more view calculation tests, and implement count distinct. 2024-10-02 16:49:14 +01:00
Sam Rose ee897e4d7e
Fix imports. 2024-10-02 10:05:56 +01:00
Sam Rose 4dd6afd435
Symbolise the special __bb_total count field name. 2024-10-02 09:57:18 +01:00
Sam Rose 7b9af81fd5
Clean up params and isSqs 2024-10-02 09:44:20 +01:00
Sam Rose ddd229062c
Rename total field when doing row counts. 2024-10-02 09:39:54 +01:00
Sam Rose 08f1c4dadc
Update packages/backend-core/src/sql/sql.ts
Co-authored-by: Adria Navarro <adria@budibase.com>
2024-10-02 09:35:15 +01:00
Sam Rose 7cee1509aa
Fix sqlAlias.spec.ts 2024-10-01 16:17:11 +01:00
Sam Rose addd54a8e8
Fix generic-sql.spec.ts 2024-10-01 15:39:33 +01:00
Sam Rose ae4f7ae4b4
Implement group by and add a test for it. 2024-10-01 15:04:01 +01:00
Sam Rose 987a24fabc
wip 2024-10-01 11:48:14 +01:00
Sam Rose c0cc2a9e3d
Move isSupportedUserSearch from backend-core to shared-core. 2024-09-30 15:16:24 +01:00
Sam Rose 62e1e66ce9
Merge master. 2024-09-30 09:54:36 +01:00
Sam Rose c4c524c6ff
viewV2.spec.ts passsing in full 2024-09-26 15:22:10 +01:00
Adria Navarro b4da4529a3 ENRICHED_RELATIONSHIPS on by default in tests 2024-09-26 15:23:41 +02:00
Adria Navarro 4fe0af81ec Fix test runs 2024-09-26 14:15:08 +02:00
Sam Rose b93e6cb986
Merge master. 2024-09-26 10:54:30 +01:00
Adria Navarro 012c7142fc
Merge branch 'master' into BUDI-8565/related-columns 2024-09-25 16:24:06 +02:00
Sam Rose b68a51bd55
Merge master. 2024-09-25 14:59:47 +01:00
Sam Rose 40d1d48ddf
Increase PostHog flag polling interval to 3 minutes. 2024-09-25 14:46:16 +01:00
Adria Navarro e4259b4d61 ENRICHED_RELATIONSHIPS on for dev 2024-09-25 13:08:10 +02:00
Sam Rose f475454bce
Fix search API break. 2024-09-24 18:07:31 +01:00
Sam Rose e3256cb005
Fix row.spec.ts. 2024-09-24 17:46:38 +01:00
Sam Rose 0eb90cfbea
Type checks pass, now to find out how much stuff I've broken. 2024-09-24 16:35:53 +01:00
mike12345567 a5cb1b39dc All docs no error fix. 2024-09-24 15:51:41 +01:00
mike12345567 ad60f8a811 All docs returns no docs if 404. 2024-09-24 15:47:07 +01:00
mike12345567 6d8921978b Quick temporary fix for issue - previously the invalid state was never reset, which can cause apps to go missing completely, updating this so it will fix it self after a short while. 2024-09-24 15:30:39 +01:00
Sam Rose 0fee7dfd4f
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql 2024-09-24 15:07:08 +01:00
mike12345567 c643c82654 Fix for SQL server. 2024-09-24 13:44:26 +01:00
Sam Rose 51774b3434
Working on plumbing 'source' all the way through our code. 2024-09-24 12:30:45 +01:00
mike12345567 464f973f12 Adding a separation for MariaDB and MySQL, mariaDB is the core of the problem, this solves for it by separating them and allowing us to use the special json_arrayagg for mariaDB, but use a correlated sub-query for MySQL. 2024-09-24 12:01:47 +01:00
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
Sam Rose 6cf7c55fd9
Merge master. 2024-09-23 14:14:23 +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 b8a3210286
Merge master. 2024-09-20 15:41:57 +01:00
Sam Rose 9588192a52
Merge master. 2024-09-20 11:46:58 +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