Commit Graph

29043 Commits

Author SHA1 Message Date
Andrew Kingston 0c53272187
Allow empty queries when searching tables 2024-10-09 08:22:54 +01:00
Sam Rose 0182d4a09f
Make sure calculation views cannot be used to write or modify rows. 2024-10-08 17:55:42 +01:00
Sam Rose 5dc85230d9
Add a test to make sure 'shadowing' a field works as expected in view calculations. 2024-10-08 17:04:45 +01:00
Sam Rose 5c3adbed27
Validate you can't group by complex fields. 2024-10-08 15:34:34 +01:00
Sam Rose f1b04d1252
Merge master. 2024-10-08 15:06:57 +01:00
Sam Rose 2b47789fc8
Merge branch 'master' into feature-flag-helper 2024-10-08 14:42:09 +01:00
melohagan e3c6b60211
Remove unused properties (#14732)
* Remove unused properties

* lint
2024-10-08 12:56:48 +00:00
Sam Rose 7818546ade
Fix tests. 2024-10-08 12:31:14 +01:00
Sam Rose 4f628c1d54
Merge branch 'master' of github.com:budibase/budibase into mark-calculation-views 2024-10-08 12:23:28 +01:00
Sam Rose 9b3ab049a4
wip 2024-10-08 11:50:16 +01:00
Sam Rose 13a78867ac
Merge branch 'master' of github.com:budibase/budibase into view-calculation-validation-2 2024-10-08 11:21:41 +01:00
Sam Rose 2d19644bd8
Fix tests. 2024-10-08 11:19:43 +01:00
Sam Rose d0c57c82ad
Fix lint. 2024-10-08 11:15:53 +01:00
Sam Rose 635d268eea
Merge branch 'master' of github.com:budibase/budibase into feature-flag-helper 2024-10-08 11:14:11 +01:00
Sam Rose c1189ecc96
Merge master. 2024-10-08 11:10:23 +01:00
Sam Rose a4a90d7456
Fix tests. 2024-10-08 09:56:51 +01:00
Sam Rose 820c66be7f
Merge branch 'master' of github.com:budibase/budibase into graceful-sqs-5xx-error-handling 2024-10-08 09:42:35 +01:00
Sam Rose 1106244ff3
Merge branch 'master' into allow-calculation-fields-to-hide-required-fields 2024-10-08 09:30:00 +01:00
Sam Rose e18cc8aff2
Merge branch 'master' of github.com:budibase/budibase into graceful-sqs-5xx-error-handling 2024-10-07 18:19:56 +01:00
Sam Rose 5c092abd85
Merge branch 'master' of github.com:budibase/budibase into feature-flag-helper 2024-10-07 18:19:37 +01:00
Sam Rose 11804f6ddd
Create a feature flag helper for tests. 2024-10-07 18:18:04 +01:00
Martin McKeaveney 3d83676c03 adding missing await 2024-10-07 18:13:41 +01:00
Sam Rose 2d07e63325
Merge branch 'master' into fix-enterprise-vulns 2024-10-07 17:52:32 +01:00
Martin McKeaveney 1e6a7b66e8 pr comments 2024-10-07 17:42:35 +01:00
Martin McKeaveney 12fdb930aa remove nonce 2024-10-07 17:31:45 +01:00
Sam Rose c796c11153
Merge branch 'master' of github.com:budibase/budibase into graceful-sqs-5xx-error-handling 2024-10-07 17:20:11 +01:00
Sam Rose 3e865d5609
Merge branch 'master' into view-calculation-validation 2024-10-07 17:05:18 +01:00
Sam Rose 6e4e76e21c
Merge branch 'master' into graceful-sqs-5xx-error-handling 2024-10-07 17:05:07 +01:00
Martin McKeaveney ce61af1331 XSS safe mode to prevent unsanitised input 2024-10-07 16:47:49 +01:00
Martin McKeaveney af2071c60c fixing vulns for ent client 2024-10-07 16:44:28 +01:00
Sam Rose f2e78ec4d5
Don't check required fields at all for calculation views. 2024-10-07 16:39:44 +01:00
Sam Rose f4b430e27c
Remove uiMetadata from ViewV2, it's not needed now we have the type field. 2024-10-07 16:38:18 +01:00
Sam Rose 672469526e
Mark calculation views explicitly instead of figuring it out implicitly. 2024-10-07 16:33:14 +01:00
Sam Rose e6e25fdf94
Allow calculation views to hide required fields. 2024-10-07 14:59:29 +01:00
Sam Rose fc1b53d9df
Merge branch 'master' of github.com:budibase/budibase into remove-unneeded-deep-clone 2024-10-07 12:39:10 +01:00
Sam Rose deee5e4e05
Put the frontend back to how it was. 2024-10-07 12:35:05 +01:00
Sam Rose c21d8a8131
Remove inaccurate comment. 2024-10-07 12:27:17 +01:00
Sam Rose 55699cfaff
Don't clone non-object/non-arrays, use default JS in manifest.spec.ts. 2024-10-07 12:23:22 +01:00
Sam Rose 2c451d494b
Backend/frontend JS parity, deep clone optimisation. 2024-10-07 12:04:45 +01:00
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
Adria Navarro e6cf90e160
Merge branch 'master' into graceful-sqs-5xx-error-handling 2024-10-07 11:51:04 +02:00
Martin McKeaveney a583b824c2
Merge pull request #14700 from Budibase/view-ui-metadata
Add uiMetadata to viewV2
2024-10-07 10:23:02 +01:00
Sam Rose 27578db4b7
Fix SQS error handling. 2024-10-07 09:48:33 +01:00
Adria Navarro 6954fc6416
Merge branch 'master' into row-action/set-table-permission 2024-10-04 15:39:06 +02:00
Sam Rose 55008c4bb5
Merge branch 'master' into view-ui-metadata 2024-10-04 14:32:03 +01:00
Adria Navarro 2edc30e7a5
Merge branch 'master' into row-action/set-table-permission 2024-10-04 15:31:59 +02:00
Sam Rose 11dc2766cc
Merge branch 'master' into fix/related-rows-dont-exist 2024-10-04 14:30:45 +01:00
Sam Rose 191be8689a
Merge branch 'master' into lab-day/app-sorting 2024-10-04 14:27:01 +01:00
Adria Navarro f38180eaaa Add comment 2024-10-04 14:48:50 +02:00
Adria Navarro 9d7fdb1ed7 Fix test 2024-10-04 14:45:28 +02:00
Adria Navarro 3830d6cff7 Clean action between tests 2024-10-04 14:45:11 +02:00
Adria Navarro 01b7f7388f More tests 2024-10-04 14:16:50 +02:00
Adria Navarro bb6bd1711a Add extra tests 2024-10-04 14:03:03 +02:00
Adria Navarro 9063e73f88 Fix tests 2024-10-04 14:02:56 +02:00
Adria Navarro 4c4f766a6a Endpoint to allow/disallow runs from table 2024-10-04 14:02:48 +02:00
Adria Navarro 75b5bbf401 Table run by default 2024-10-04 14:02:42 +02:00
Adria Navarro 8764a8c6e8 Return allowed run from table 2024-10-04 14:02:30 +02:00
Adria Navarro baa5a86ebb Rename allowedViews to allowedSources 2024-10-04 14:01:46 +02:00
Sam Rose c10cdd3aaf
Fix undefined error. 2024-10-04 11:56:55 +01:00
Sam Rose c247b194c2
Fix error propagation all the way out of processStringSync. 2024-10-04 11:48:19 +01:00
Sam Rose 4fb870e449
Make processStringSync's throw behaviour opt-in. 2024-10-04 11:30:10 +01:00
Andrew Thompson ec6a5bea13
Merge branch 'master' into lab-day/app-sorting 2024-10-04 11:25:15 +01:00
Sam Rose 2e4607edb6
Ensure processObjectSync does not throw. 2024-10-04 11:13:30 +01:00
Sam Rose 1b5c19554e
Merge branch 'master' into view-calculation-validation 2024-10-04 11:12:13 +01:00
Sam Rose fb7133e64f
Validate that there are no duplicate calculations in calculation views. 2024-10-04 11:09:29 +01:00
andz-bb 696b2c38db persist app sort method selection by saving it against the user 2024-10-04 10:54:14 +01:00
Sam Rose 27508d934d
Validate that you cannot create a calculation view with more than 5 calculation fields. 2024-10-04 10:45:03 +01:00
Sam Rose 0eec9f9146
Merge branch 'js-stack-traces' of github.com:budibase/budibase into js-stack-traces 2024-10-04 10:32:43 +01:00
Sam Rose 28e6a03929
Include syntax errors in processJS 2024-10-04 10:32:33 +01:00
Andrew Kingston afca86cf8f
Merge branch 'master' into view-ui-metadata 2024-10-04 09:45:34 +01:00
Sam Rose e39ced99d9
Merge branch 'master' into js-stack-traces 2024-10-04 09:44:59 +01:00
Andrew Kingston a563adc2c0
Update tests 2024-10-04 09:43:23 +01:00
Sam Rose 831c81a99c
Fix automation tests. 2024-10-04 09:31:42 +01:00
Andrew Kingston 215e359615
Add uiMetadata to viewV2 2024-10-04 09:29:41 +01:00
mike12345567 586dd8fea7 Fixing an issue with newlines between coalesce statements in Postgres - we were escaping newlines even if they were valid when given a list of JSON operations to perform. 2024-10-03 18:10:58 +01:00
mike12345567 bfbc576ed1 Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-03 17:22:09 +01:00
Michael Drury d5af9315a5
Merge branch 'master' into fix/related-rows-dont-exist 2024-10-03 17:10:23 +01:00
Sam Rose 725096c9d1
Merge master. 2024-10-03 16:33:35 +01:00
Sam Rose 19f58b62c9
Merge branch 'master' of github.com:budibase/budibase into js-stack-traces 2024-10-03 16:32:43 +01:00
Sam Rose 15a30b1d9e
Fix yet more tests. 2024-10-03 16:32:14 +01:00
mike12345567 6fb844753b Another small fix. 2024-10-03 16:24:54 +01:00
mike12345567 86846eff3f Small fix. 2024-10-03 16:22:32 +01:00
Sam Rose 03c514be4c
Fix tests. 2024-10-03 16:16:42 +01:00
mike12345567 a6f6942288 Fixing an issue with corrupt relationship records referencing rows which don't exist, this is a temporary measure as these relationships should be cleaned up correctly but for now ignore any which reference rows which no longer exist. 2024-10-03 16:10:07 +01:00
Sam Rose 646fc5e6bd
Respond to PR comment. 2024-10-03 15:56:19 +01:00
Michael Drury aae5c19927
Merge branch 'master' into backport-v3-view-updates 2024-10-03 15:09:54 +01:00
mike12345567 9c70ed92ba Small build fix. 2024-10-03 14:47:31 +01:00
Sam Rose 795b10c4c9
Fix types in string-templates. 2024-10-03 13:11:35 +01:00
Sam Rose f9ccbbe081
Fix jsRunner.spec.ts. 2024-10-03 13:11:01 +01:00
Sam Rose df242cc2ad
Don't break the fact that processStringSync returns a string. 2024-10-03 13:07:22 +01:00
Sam Rose fdbe633b02
Get errors working on the client side as well. 2024-10-03 12:43:57 +01:00
Sam Rose 9bb6855967
Merge branch 'master' of github.com:budibase/budibase into js-stack-traces 2024-10-03 11:59:14 +01:00
Adria Navarro ca88943048
Merge branch 'master' into chore/search-tests-from-views 2024-10-03 10:45:36 +02:00
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 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
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 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
Sam Rose 0679ec8993
Make sure calculation views are created and returned correctly. 2024-10-02 10:36:45 +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
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
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
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
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
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
mike12345567 d6d4da221d Updating role validator. 2024-09-27 17:05:03 +01:00
mike12345567 61c28154fb Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-09-27 13:33:27 +01: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
Adria Navarro 41b7e765f3
Merge branch 'master' into BUDI-8565/related-columns 2024-09-27 12:43:18 +02: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
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
Martin McKeaveney 3b32eb89cb
Merge branch 'master' into ai-configs-design-updates 2024-09-27 09:00:40 +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
mike12345567 fa9bb030c9 Utility for detecting loops in a list of roles. 2024-09-26 18:26:35 +01:00
mike12345567 10e187014a Fixing type issues. 2024-09-26 18:02:32 +01: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
mike12345567 4fb5943b4c Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-09-26 11:14:43 +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
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
mike12345567 5b11aa6ff6 Merge branch 'master' of github.com:Budibase/budibase into update-docker-compose-for-sqs 2024-09-25 16:57:08 +01: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
Adria Navarro 58a51207f3 Display multi boolean 2024-09-25 17:31:16 +02:00
Adria Navarro 863ff4d9f9 Format dates 2024-09-25 17:29:44 +02:00
mike12345567 f737aa9826 Updating account portal submodule. 2024-09-25 16:12:17 +01:00
Mike Sealey a21a096e6c
Merge branch 'master' into BUDI-8588 2024-09-25 15:54:12 +01:00
Sam Rose 564e16fd5c
wip 2024-09-25 15:41:18 +01:00
Adria Navarro 337ac90906 Move and unify code 2024-09-25 16:39:13 +02: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
Sam Rose 76453bd500
Fix many more search tests. 2024-09-25 14:44:11 +01:00
Adria Navarro 33f42e10bd Typings 2024-09-25 14:20:52 +02:00
Adria Navarro 475775206c Fix test 2024-09-25 14:20:03 +02:00
Adria Navarro c351a9bced Fix icons 2024-09-25 13:11:25 +02:00
Adria Navarro e4259b4d61 ENRICHED_RELATIONSHIPS on for dev 2024-09-25 13:08:10 +02:00
Adria Navarro d60588d323 Display signature on on views when dark mode 2024-09-25 13:06:05 +02:00
Adria Navarro 7dc54b3f26 Simplify parsing 2024-09-25 12:49:51 +02:00
Adria Navarro b9c3838312 Handle single 2024-09-25 12:49:51 +02:00
Adria Navarro 18084b16f7 Undo unnecessary changes 2024-09-25 12:49:51 +02:00
Adria Navarro a998e46014 Remove duplicates 2024-09-25 12:49:51 +02:00
Adria Navarro 33a5075f10 Map values 2024-09-25 12:49:51 +02:00
Adria Navarro 7f6236852e Clean deprecated code 2024-09-25 12:49:51 +02:00
Adria Navarro 6096f106b3 Handle resize all 2024-09-25 12:49:51 +02:00
Adria Navarro b7b932788b Handle reordering 2024-09-25 12:49:51 +02:00
Adria Navarro d4555c00d4 Fix resize 2024-09-25 12:49:51 +02:00
Adria Navarro 48f4dceddc Link 2024-09-25 12:49:51 +02:00
Adria Navarro 4e83daf5d9 Allow selecting columns in design 2024-09-25 12:49:51 +02:00
Adria Navarro 083e6ae15b Enrich at schema level 2024-09-25 12:49:51 +02:00
Adria Navarro 6d8505cee6 Add tablecolumns 2024-09-25 12:49:51 +02:00
Adria Navarro 4272b614e2 Cleanup 2024-09-25 12:49:51 +02:00
Adria Navarro eed82075fd Enrich visible columns 2024-09-25 12:49:51 +02:00
Adria Navarro 488165d859 Lint 2024-09-25 12:49:51 +02:00
Adria Navarro e9db3d64e7 Extra enrichement 2024-09-25 12:49:51 +02:00
Adria Navarro 4aa9e08ec5 Don't show non visible even if previously configured 2024-09-25 12:49:51 +02:00
Adria Navarro d799bfacb6 Readonly 2024-09-25 12:49:51 +02:00
Adria Navarro 574b2e5a3c Map types 2024-09-25 12:49:51 +02:00
Adria Navarro 8ee6e52f08 Use types 2024-09-25 12:49:51 +02:00
Adria Navarro 49502afbee Default off 2024-09-25 12:49:51 +02:00
Adria Navarro 5519088376 Display related 2024-09-25 12:49:51 +02:00
Adria Navarro 77587c8686 Add related columns 2024-09-25 12:49:51 +02:00
Adria Navarro 7072244f31 Fix 2024-09-25 12:44:30 +02:00
Adria Navarro 9ecb64a992 Use sqs flag correctly on test 2024-09-25 10:32:58 +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
Adria Navarro 7a7ce3dc62 Fix 2024-09-24 17:56:07 +02:00
Adria Navarro 53b4634cff Add enrichment tests 2024-09-24 17:51:05 +02:00
Adria Navarro d7d8284caf Add test 2024-09-24 17:42:25 +02: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 36587691d2 Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-09-24 16:33:45 +01:00
Peter Clement 4a55021844 refs 2024-09-24 16:15:07 +01:00
Peter Clement 751a84156e Merge remote-tracking branch 'origin/master' into feat/more-automation-tests 2024-09-24 16:14:25 +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
Peter Clement 0c6946af62 more automation tests 2024-09-24 15:01:05 +01:00
Michael Drury 46e0f4c00e
Merge branch 'master' into fix/mysql-correlated-queries 2024-09-24 14:07:08 +01:00
Peter Clement 5248dcbfa2
Merge branch 'master' into fixes/automation-bug-fixing 2024-09-24 13:56:54 +01:00
mike12345567 c643c82654 Fix for SQL server. 2024-09-24 13:44:26 +01:00
Sam Rose fc9b54cb85
Mostly solving type errors around passing the view all the way down, got a fair few left. 2024-09-24 13:01:33 +01:00
Sam Rose 5f5b38d9a4
Update the version of PostHog used in the cli package. 2024-09-24 12:31:56 +01:00
Sam Rose 51774b3434
Working on plumbing 'source' all the way through our code. 2024-09-24 12:30:45 +01:00
mikesealey 3e9ca562c5 reworks changes based on feedback 2024-09-24 12:12:46 +01:00
Peter Clement 6842c392a2 Merge remote-tracking branch 'origin/master' into feat/more-automation-tests 2024-09-24 12:05:54 +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
mike12345567 6a7959e93c Fixing test case. 2024-09-24 11:36:14 +01:00
mike12345567 385c274263 Merge branch 'fix/mysql-correlated-queries' of github.com:Budibase/budibase into fix/mysql-correlated-queries 2024-09-24 11:17:11 +01:00
mike12345567 956df101e8 PR comments and type improvements. 2024-09-24 11:16:42 +01:00
Peter Clement 980615b37b looping query rows 2024-09-24 11:08:44 +01:00
Michael Drury 617b7df07e
Merge branch 'master' into fix/mysql-correlated-queries 2024-09-23 18:41:43 +01:00
mike12345567 680c68a35b Adding test case. 2024-09-23 18:41:23 +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
Peter Clement a529e288b8 Merge remote-tracking branch 'refs/remotes/origin/fixes/automation-bug-fixing' into fixes/automation-bug-fixing 2024-09-23 15:29:54 +01:00
Peter Clement 89354f640b dupe string 2024-09-23 15:29:27 +01:00
Peter Clement 0aa8737845
Merge branch 'master' into fixes/automation-bug-fixing 2024-09-23 15:23:35 +01:00
Peter Clement 63651b21e6 lint 2024-09-23 15:17:44 +01:00
Peter Clement 335240718c tidy up 2024-09-23 15:02:37 +01:00
Peter Clement 189caa6235 fix issue where you could have multiple steps with the same name 2024-09-23 14:59:41 +01:00
Peter Clement c083fe3bd7 fix issue with js bindings not using quotes 2024-09-23 14:43:46 +01:00
Sam Rose 4c9f32ad88
Merge branch 'master' of github.com:budibase/budibase into BUDI-8588 2024-09-23 14:18:17 +01:00
Sam Rose 6cf7c55fd9
Merge master. 2024-09-23 14:14:23 +01:00
Sam Rose f6c09f43a6
Merge branch 'master' into budi-8637-googlesheets-issues-automations-row-actions-and-filtering-2 2024-09-23 13:23:19 +01:00
mike12345567 c8d1956c73 Fixing AI test cases. 2024-09-23 12:59:20 +01:00
mike12345567 b0252469ed Removing wrap for MySQL. 2024-09-23 12:33:25 +01:00
Sam Rose 028d15911e
Revert "Set mssql SHA back to 2019."
This reverts commit da805b10ae.
2024-09-23 11:47:08 +01:00
Sam Rose 39736c57ca
Merge branch 'master' into budi-8637-googlesheets-issues-automations-row-actions-and-filtering-2 2024-09-23 11:46:22 +01:00
Martin McKeaveney dc6c6ad9c8 ref 2024-09-20 18:42:50 +01:00
Martin McKeaveney 3b984629ac pro reference 2024-09-20 18:35:34 +01:00
Michael Drury 52fba580cb
Merge branch 'master' into budi-8637-googlesheets-issues-automations-row-actions-and-filtering-2 2024-09-20 18:00:46 +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 4fec5fcddd update pro ref 2024-09-20 17:48:56 +01:00