Commit Graph

28894 Commits

Author SHA1 Message Date
Adria Navarro 9ba759093e Small rename 2024-10-03 10:44:58 +02:00
Adria Navarro 36e304aaf5 Unify 2024-10-03 10:44:15 +02:00
Sam Rose b004ef5448
Pull the error object out of isolated-vm when a user script throws an error. 2024-10-03 09:42:08 +01:00
Adria Navarro 1b53bab92e Extract 2024-10-03 10:28:29 +02:00
Adria Navarro 7c778061e5 Fix sql relationship fetching 2024-10-03 09:50:58 +02:00
Adria Navarro 7e4097476e
Merge branch 'master' into chore/search-tests-from-views 2024-10-03 09:23:02 +02:00
mike12345567 98ebd8f18c Omitting in tests. 2024-10-02 18:59:20 +01:00
mike12345567 932413c4c1 Getting re-loading of view queries working again. 2024-10-02 18:57:40 +01:00
mike12345567 bcb940b7eb Merge issue. 2024-10-02 18:45:47 +01:00
mike12345567 f4177230a7 Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into view-merge-v3-ui 2024-10-02 18:43:46 +01:00
mike12345567 8cb6603a73 Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into backport-v3-view-updates 2024-10-02 18:43:21 +01:00
mike12345567 9e7ed04719 Support saving queryUI. 2024-10-02 18:43:07 +01:00
mike12345567 2fed6008fa Updating view stores. 2024-10-02 18:41:27 +01:00
mike12345567 786bfdb0e2 Merging v3-backport branch 2024-10-02 18:09:53 +01:00
mike12345567 5709c5f8d5 Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-02 17:51:22 +01:00
Michael Drury f2ced5f129
Merge branch 'master' into backport-v3-view-updates 2024-10-02 17:50:49 +01:00
Sam Rose 73613ce8bf
Fix spread operator use. 2024-10-02 16:52:40 +01:00
Sam Rose 7ed28593fb
Add a test for a count distinct column that references a non-existent field. 2024-10-02 16:49:14 +01:00
Sam Rose 50c307df4d
Add more view calculation tests, and implement count distinct. 2024-10-02 16:49:14 +01:00
Sam Rose 612d0844bf
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql-4 2024-10-02 16:48:49 +01:00
Adria Navarro 39511a4e83 Fix tests 2024-10-02 17:39:35 +02:00
Andrew Kingston 8b0600f716
Merge branch 'master' into default-values-options-backend 2024-10-02 16:06:59 +01:00
Adria Navarro 576ebc997e
Merge branch 'master' into chore/search-tests-from-views 2024-10-02 16:55:13 +02:00
Adria Navarro 521a14650d Fix tests 2024-10-02 16:50:54 +02:00
Adria Navarro 0484b798fc Honor onEmptyFilter in views 2024-10-02 16:50:54 +02:00
Adria Navarro 557add173a Fix view relationships 2024-10-02 16:50:54 +02:00
Andrew Kingston 27ab119abf
Merge branch 'master' into fix-form-browser-crash 2024-10-02 15:45:06 +01:00
Andrew Kingston 45e708652e
Revert backend changes 2024-10-02 15:39:48 +01:00
Andrew Kingston 3e3fd20207
Add tests for new default value types 2024-10-02 15:35:17 +01:00
Andrew Kingston c4a98832cb
Enable default values for options and array types 2024-10-02 15:24:04 +01:00
Michael Drury fb68fe2f8c
Merge branch 'master' into backport-v3-view-updates 2024-10-02 14:09:11 +01:00
Sam Rose 8e120b2b5e
Merge branch 'master' into count-field-name 2024-10-02 13:58:58 +01:00
Sam Rose 45a6f0680f
Fix view.spec.ts tests. 2024-10-02 13:58:23 +01:00
Adria Navarro 0d64e03c9f Don't run for lucene views 2024-10-02 14:10:29 +02:00
Andrew Kingston bc96e61baf
Avoid mutating path array in-place 2024-10-02 12:57:10 +01:00
Adria Navarro 4b83d6b00b Fix tests 2024-10-02 13:07:41 +02:00
Adria Navarro 2d6e97bac9
Merge branch 'master' into chore/search-tests-from-views 2024-10-02 12:38:57 +02:00
Adria Navarro 470ad95208 Run view tests 2024-10-02 12:37:40 +02:00
Adria Navarro e08c3b8574 Run view tests 2024-10-02 12:26:03 +02:00
Andrew Kingston ce07aa98d2
Make collapsed buttons in grids CTAs 2024-10-02 11:11:47 +01:00
Andrew Kingston a4c67f1812
Show notification when running row actions in the data section 2024-10-02 11:11:20 +01:00
Andrew Kingston 27c65ccff2
Cleanup 2024-10-02 10:54:17 +01:00
Andrew Kingston a49e779d11
Add default value for multi-selects and improve default value validation 2024-10-02 10:50:22 +01:00
Sam Rose 0679ec8993
Make sure calculation views are created and returned correctly. 2024-10-02 10:36:45 +01:00
Andrew Kingston f6a783a9f1
Update submodules 2024-10-02 10:25:22 +01:00
Andrew Kingston bddb7a72f7
Merge branch 'v3-ui' of github.com:Budibase/budibase into default-values-options 2024-10-02 10:19:46 +01:00
Andrew Kingston f6d937fda5
Merge branch 'v3-ui' of github.com:Budibase/budibase into default-values-options 2024-10-02 10:19:37 +01:00
Conor Webb dda078d743
Merge branch 'master' into v3-ui 2024-10-02 10:15:20 +01:00
Sam Rose ab386e5047
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql-4 2024-10-02 10:06:44 +01:00
Sam Rose ee897e4d7e
Fix imports. 2024-10-02 10:05:56 +01:00
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