Commit Graph

28894 Commits

Author SHA1 Message Date
deanhannigan 82006c4088
Merge branch 'master' into v3-ui 2024-10-02 09:57:55 +01:00
Sam Rose 4dd6afd435
Symbolise the special __bb_total count field name. 2024-10-02 09:57:18 +01:00
Sam Rose 904dd8364a
Merge branch 'master' into view-calculation-sql-3 2024-10-02 09:55:50 +01:00
Dean 61a0db0984 Add explicit typing for view search filter config 2024-10-02 09:51:13 +01:00
Sam Rose d00513db33
Merge branch 'master' into view-calculation-sql-2 2024-10-02 09:46:44 +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
Michael Drury 9ed77d6aea
Merge branch 'master' into backport-v3-view-updates 2024-10-02 09:37:40 +01:00
Sam Rose cc6b2f6717
add failing test 2024-10-02 09:35:47 +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 abeeecba9d
Merge branch 'master' into view-calculation-sql-2 2024-10-02 09:24:23 +01:00
Dean 2884ac4638 Merge remote-tracking branch 'origin/master' into v3-ui 2024-10-02 09:21:00 +01:00
Sam Rose 3ef8d4ad04
Merge branch 'master' into feat/fix-automation-context 2024-10-01 17:31:22 +01:00
Sam Rose 77856eb35a
Add a test to make sure fields on the underlying table that are required are not required on the view. 2024-10-01 17:23:21 +01:00
Martin McKeaveney 9a6301fd5f
Merge branch 'master' into budi-8664-cron-helper-ai-feature 2024-10-01 17:06:33 +01:00
Martin McKeaveney a28a64f9d8 update pro ref 2024-10-01 17:05:38 +01:00
Martin McKeaveney c4a6a92bdb PR comments 2024-10-01 17:03:06 +01:00
Sam Rose 13248c409f
Respond to PR comment. 2024-10-01 16:44:16 +01:00
Sam Rose 321bf5cd79
Merge branch 'master' into view-calculation-sql-2 2024-10-01 16:37:07 +01:00
Andrew Kingston 1dea53f597
Refresh data when adding columns 2024-10-01 16:25:48 +01:00
Sam Rose 4165c6cab4
Test all aggregation types. 2024-10-01 16:17:22 +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 1f209e62b9
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql-2 2024-10-01 15:05:52 +01:00
Sam Rose ae4f7ae4b4
Implement group by and add a test for it. 2024-10-01 15:04:01 +01:00
Sam Rose 8e88502761
Merge branch 'master' into backport-v3-view-updates 2024-10-01 14:03:11 +01:00
Peter Clement 76a9861107
Merge branch 'master' into feat/fix-automation-context 2024-10-01 13:27:28 +01:00
Peter Clement f00593ff26 pr comments 2024-10-01 12:25:41 +01:00
Adria Navarro b88e63d490 Helpers not changing state 2024-10-01 13:24:38 +02:00
Adria Navarro 97b70e1f5a Change tableid for source id 2024-10-01 13:21:04 +02:00
Sam Rose 84f7a477a1
Fix the binding drawer for default values. 2024-10-01 12:00:03 +01:00
Sam Rose 987a24fabc
wip 2024-10-01 11:48:14 +01:00
mike12345567 4d33106b45 Undo commenting out other DBs. 2024-10-01 11:42:44 +01:00
mike12345567 d7873c5c6e Test fix. 2024-10-01 11:42:16 +01:00
mike12345567 19407d5e37 Check filters have been provided. 2024-10-01 11:38:02 +01:00
mike12345567 522941abf0 PR comments. 2024-10-01 11:31:41 +01:00
Adria Navarro 119767a30e Cleanup 2024-10-01 12:20:18 +02:00
Adria Navarro 1972ed6533 Merge branch 'master' into backport-v3-view-updates 2024-10-01 12:19:25 +02:00
Andrew Kingston 930dd812cc
Add uiMetadata to viewv2 2024-10-01 10:59:48 +01:00
Andrew Kingston ec8856b6ae
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-01 10:25:45 +01:00
Andrew Kingston db41b4c385
Add initial differences for calculation views 2024-10-01 10:25:32 +01:00
mike12345567 975e348de5 Check options.fields are in the table. 2024-10-01 10:25:15 +01:00
Adria Navarro f31c7c3487 Add test 2024-10-01 10:56:16 +02:00
Adria Navarro 527876fc41
Merge branch 'master' into BUDI-8630/view-security-allow-filters-specified-on-view-to-use-any 2024-10-01 10:51:37 +02:00
Dean e2247cfb2c Merge remote-tracking branch 'origin/master' into v3-ui 2024-10-01 09:27:00 +01:00
mike12345567 6e660151bd backport of V3 backend changes for search filters on view, giving this the correct type to support conditionals. 2024-09-30 18:06:47 +01:00
Sam Rose 6bbcffb645
Merge branch 'master' into better-types-on-removeInvalidFilters 2024-09-30 16:45:11 +01:00
Martin McKeaveney bd6ad0ff0e
Merge branch 'master' into budi-8664-cron-helper-ai-feature 2024-09-30 16:17:27 +01:00
Michael Drury efdbe5a238
Merge branch 'master' into fix/view-user-columns 2024-09-30 16:15:39 +01:00
Sam Rose 604dc51b1c
Merge branch 'master' into better-types-on-removeInvalidFilters 2024-09-30 15:54:51 +01:00
Sam Rose f6649b294b
Remove an implicit any from removeInvalidFilters. 2024-09-30 15:54:01 +01:00
mike12345567 01415fb066 Quick fix. 2024-09-30 15:43:58 +01:00
Sam Rose 52069f429f
Merge branch 'master' into default-view-permissions-taylor-version 2024-09-30 15:42:30 +01:00
Sam Rose 28bb321511
Set view permissions to explicit roles from the parent table 2024-09-30 15:36:49 +01:00
mike12345567 f28cb1badb Another slight change. 2024-09-30 15:18:15 +01:00
Martin McKeaveney b1462b4c19 lint 2024-09-30 15:17:07 +01:00
mike12345567 7888c22015 Quick fix. 2024-09-30 15:17:03 +01:00
Sam Rose c0cc2a9e3d
Move isSupportedUserSearch from backend-core to shared-core. 2024-09-30 15:16:24 +01:00
Adria Navarro abb3a8fe85 Fix 2024-09-30 16:10:44 +02:00
Peter Clement dc23977619 fix broken trigger binding 2024-09-30 15:02:55 +01:00
mike12345567 3ecd86b2af Fixing an issue with user columns getting correct user ID, the logical operators were not being recursed correctly. 2024-09-30 14:58:27 +01:00
Adria Navarro be70692cfd Fix 2024-09-30 15:57:49 +02:00
Adria Navarro 53620907bb Fix lucene views 2024-09-30 15:55:34 +02:00
Martin McKeaveney ce1ca5b89e add finally block instead of duplication 2024-09-30 14:48:02 +01:00
Martin McKeaveney fc642a259c tidy up 2024-09-30 14:43:10 +01:00
Adria Navarro 7d8238ec98 Fix 2024-09-30 15:40:21 +02:00
Adria Navarro 6e1cd6eb01 Move query logic to sdk 2024-09-30 15:37:20 +02:00
Adria Navarro 26638ace0a Add globalId and userId to userContextBindings 2024-09-30 15:30:18 +02:00
Martin McKeaveney e281250569 ai cron helper E2E 2024-09-30 14:00:12 +01:00
Peter Clement 5d31976835 updated automation thread to use ids and test 2024-09-30 13:08:11 +01:00
Sam Rose b2545a30e1
Update account-portal submodule to latest master. 2024-09-30 11:51:28 +01:00
Sam Rose 62e1e66ce9
Merge master. 2024-09-30 09:54:36 +01:00
Andrew Kingston 8fab576b5a
Remove duplicate dark mode attribute 2024-09-30 08:23:57 +01:00
Andrew Kingston 0ee3dfacf7
Merge branch 'v3-ui' of github.com:Budibase/budibase into v3-ui 2024-09-30 08:20:09 +01:00
Andrew Kingston d09cbc4029
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-09-30 08:19:19 +01:00
Adria Navarro 925aff4b71
Merge branch 'master' into v3-ui 2024-09-27 14:37:39 +02:00
Adria Navarro 5853f3b148 Fix signature theme 2024-09-27 14:37:10 +02:00
Adria Navarro d082c7b77d Merge branch 'master' into v3-ui 2024-09-27 14:28:09 +02:00
mike12345567 c5ba891793 Merge branch 'fix/view-performance-improvements' of github.com:Budibase/budibase into fix/view-performance-improvements 2024-09-27 13:07:57 +01:00
mike12345567 c30fe28fe8 Lint. 2024-09-27 13:07:44 +01:00
mike12345567 2a78409e8f Removing feature check. 2024-09-27 13:07:17 +01:00
Adria Navarro 042db6e748
Merge branch 'master' into fix/view-performance-improvements 2024-09-27 13:29:47 +02:00
mike12345567 d71ba7d37f Removing un-needed import. 2024-09-27 12:27:41 +01:00
mike12345567 aa4cc2079f Adding comment to explain new function. 2024-09-27 12:24:40 +01:00
mike12345567 c41c25a603 This improves the performance of views when the enriched relationships feature has been enabled. There was an issue that caused the squashLinks and outputProcessing to loop onto each other until things broke down - this fixes the issue. 2024-09-27 12:19:24 +01:00
Andrew Kingston 95cc7a6e60
Merge pull request #14597 from Budibase/default-view-permissions
Default view permissions to parent table roles
2024-09-27 12:03:09 +01:00
Adria Navarro 41b7e765f3
Merge branch 'master' into BUDI-8565/related-columns 2024-09-27 12:43:18 +02:00
Peter Clement e38eb58cf0 Merge remote-tracking branch 'origin/master' into v3-ui 2024-09-27 11:34:50 +01:00
Andrew Kingston 60c55b06ed
Update new view popover to allow for creating calculation views 2024-09-27 10:39:50 +01:00
Andrew Kingston 80cdcf99da
Add additional comments to tests 2024-09-27 10:35:23 +01:00
Adria Navarro 747057b011
Merge branch 'master' into BUDI-8565/related-columns 2024-09-27 11:31:28 +02:00
Adria Navarro fdfa451124 More verbose reduce params 2024-09-27 11:23:50 +02:00
Peter Clement 5ef0e48ee0 add back space 2024-09-27 10:21:52 +01:00
Adria Navarro f73cf5983a Hide column 2024-09-27 11:14:32 +02:00
Peter Clement 9e8a6f85f6
Merge branch 'master' into feat/branching-tests-issue 2024-09-27 10:05:16 +01:00
Peter Clement f03ed03794
remove space
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-27 10:05:05 +01:00
Adria Navarro 64f4497c76 Prevent flashed while sorting 2024-09-27 11:02:00 +02:00
Sam Rose 5919f1becd
Update account-portal submodule to latest master. 2024-09-27 09:57:56 +01:00
Andrew Kingston 80f1de27de
Please just work tests 2024-09-27 09:19:42 +01:00
Sam Rose d84bf5abda
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql 2024-09-27 09:18:34 +01:00
Peter Clement acdcd02fcd Fix small issue with conditions in branches 2024-09-27 09:12:50 +01:00
deanhannigan ffdc8ff1be
Merge branch 'master' into v3-ui 2024-09-27 09:10:25 +01:00
Andrew Kingston b53bc5dfaf
Update tests 2024-09-27 09:08:38 +01:00
Martin McKeaveney 3b32eb89cb
Merge branch 'master' into ai-configs-design-updates 2024-09-27 09:00:40 +01:00
Andrew Kingston 3b934a3f2d
Merge branch 'view-calculation-sql' of github.com:Budibase/budibase into view-calculation-ui 2024-09-27 08:34:48 +01:00
Andrew Kingston baa088049a
Account for both shapes of the required constraint and ensure required trumps default values 2024-09-27 08:33:09 +01:00
Andrew Kingston 15baff1a7e
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-09-27 08:07:35 +01:00
Adria Navarro 3e294c3cb9 Don't allow related fields in sort button 2024-09-26 21:15:14 +02:00
Adria Navarro aa044b94cf Don't allow sort columns as display or sorting 2024-09-26 21:09:47 +02:00
Martin McKeaveney 98a2da20b4 lint 2024-09-26 17:31:22 +01:00
Sam Rose 264b10f3f3
Fix isView. 2024-09-26 17:22:11 +01:00
Martin McKeaveney 133ce9e784 update colour on tags 2024-09-26 17:21:18 +01:00
Martin McKeaveney e65a9157cc opacity/custom config updates, fix tests 2024-09-26 17:14:20 +01:00
Sam Rose 559988e011
Correct error message. 2024-09-26 17:11:50 +01:00
Sam Rose d7ffdf02c2
Update isTable and isView to depend on the ID format. 2024-09-26 17:10:53 +01:00
Sam Rose 8dd21e5592
Wider check on fields == null. 2024-09-26 17:06:51 +01:00
Sam Rose aa738659ae
Respond to PR feedback. 2024-09-26 16:21:34 +01:00
Adria Navarro d7715e4f5c Don't allow related columns as display or sorting 2024-09-26 17:00:44 +02:00
Sam Rose 743140eeae
Update account-portal submodule to latest master. 2024-09-26 15:55:37 +01:00
Sam Rose ae8a864566
Collapse duplicated key names. 2024-09-26 15:51:21 +01:00
Sam Rose ec6fa5f79b
Return SQS error to prevoius state. 2024-09-26 15:50:49 +01:00
Sam Rose 26a27ff70f
Remove needless table copy. 2024-09-26 15:48:44 +01:00
Sam Rose 25a2e02a90
Remove needless table copy. 2024-09-26 15:40:25 +01:00
Sam Rose 7c6c03c80b
Rename ViewUIFieldMetadata -> ViewFieldMetadata to match master. 2024-09-26 15:32:21 +01:00
Sam Rose e760dc4dc6
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql 2024-09-26 15:22:21 +01:00
Sam Rose c4c524c6ff
viewV2.spec.ts passsing in full 2024-09-26 15:22:10 +01:00
Adria Navarro ee962380b3 Handle undefined properly 2024-09-26 16:19:38 +02:00
Martin McKeaveney fd3cedbccf move premium badge to top of AI config, add AzureOpenAI logo 2024-09-26 15:06:14 +01:00
Adria Navarro 13418a56f8
Merge branch 'master' into BUDI-8565/related-columns 2024-09-26 15:31:45 +02: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
Adria Navarro f53664a694 Fix null references 2024-09-26 14:15:08 +02:00
Adria Navarro 5830d3b1bb
Merge branch 'master' into BUDI-8565/related-columns 2024-09-26 14:11:43 +02:00
Adria Navarro 031bdcfeb5 Display signatures 2024-09-26 13:41:54 +02:00
Adria Navarro 0c44f58466 Fix attachment undefined references 2024-09-26 13:33:14 +02:00
Sam Rose 0ef633b87a
Fix viewV2.spec.ts for sqs 2024-09-26 11:56:03 +01:00
Peter Clement 4bc30a0187 pr comment 2024-09-26 11:50:03 +01:00
Sam Rose b93e6cb986
Merge master. 2024-09-26 10:54:30 +01:00
Sam Rose 43265bf1ea
Rejig view calculation code to work with aggregates again. Broke some other tests in the process. 2024-09-26 10:54:04 +01:00
Peter Clement 62b94111cc Merge remote-tracking branch 'refs/remotes/origin/feat/more-automation-tests' into feat/more-automation-tests 2024-09-26 10:22:36 +01:00
Peter Clement 44702bbfb6 pr comments 2024-09-26 10:22:16 +01:00
deanhannigan 577dfb0d17
Merge branch 'master' into v3-ui 2024-09-26 09:13:56 +01:00
Peter Clement 4662ac4c5e
Merge branch 'master' into feat/more-automation-tests 2024-09-26 08:46:39 +01:00
Adria Navarro 680cf5803d Fix formattings 2024-09-25 18:17:55 +02:00
Adria Navarro 7f5f4d9ecb Handle unique values 2024-09-25 18:10:23 +02:00
Sam Rose efd677e16a
Most tests passing. 2024-09-25 16:50:06 +01:00
Adria Navarro d68a2ac41e Display signatures 2024-09-25 17:48:33 +02:00
Sam Rose 566af9e454
Fix bulk import to not modify the table schema. 2024-09-25 16:44:37 +01:00
Adria Navarro cbd82bcf6a Format strings 2024-09-25 17:42:21 +02:00
Peter Clement c89cebbece ref 2024-09-25 16:39:49 +01:00