Commit Graph

29047 Commits

Author SHA1 Message Date
Sam Rose c622ef7e90
Merge branch 'master' of github.com:budibase/budibase into budi-8722-default-value-on-user-columns 2024-10-11 16:22:36 +01:00
Sam Rose b24c337834
Respond to PR comment. 2024-10-11 16:22:04 +01:00
Sam Rose 3920ee6db3
Merge branch 'master' into view-calculation-sort-by-calculations 2024-10-11 16:05:46 +01:00
Sam Rose 1ad371cd7a
Fix lint. 2024-10-11 15:58:04 +01:00
Sam Rose e967e62f1d
Add tests. 2024-10-11 15:55:25 +01:00
Adria Navarro 64d4aef87d Fix all or property 2024-10-11 16:41:51 +02:00
Sam Rose 303ad83f75
Merge branch 'master' into view-calculation-sort-by-calculations 2024-10-11 15:37:23 +01:00
Sam Rose 33f7792522
Potential fix for view search problem. 2024-10-11 15:33:33 +01:00
Sam Rose 1bcd2590d3
Allow BB_REFERNCE_SINGLE to have default values. 2024-10-11 12:28:20 +01:00
Adria Navarro b61cdd957e
Merge branch 'master' into remove-related-field-popover 2024-10-11 13:25:48 +02:00
melohagan ecddd46fc6
Update pro (#14769) 2024-10-11 10:59:01 +00:00
Sam Rose 11b02fdb0e
Merge branch 'master' into view-calculation-sort-by-calculations 2024-10-11 11:03:05 +01:00
Andrew Kingston 11f4c941e2
Add on click events for grid layout containers 2024-10-11 11:00:27 +01:00
Adria Navarro 5197c3eac5
Merge branch 'master' into budi-8705-v3-view-joins-required-columns-cant-be-changed-to-read-only 2024-10-11 09:34:58 +02:00
melohagan 402013bef3
UI tweak for days remaining banner of free trial (#14764) 2024-10-11 08:39:03 +02:00
Adria Navarro 7f3e486bca
Merge branch 'master' into budi-8705-v3-view-joins-required-columns-cant-be-changed-to-read-only 2024-10-10 21:34:54 +02:00
mike12345567 324616be59 Finishing multi-inheritance test case and getting accessibility to be detected correctly. 2024-10-10 18:15:23 +01:00
Sam Rose 964f8222ba
Allow sorting by calculation fields. 2024-10-10 17:10:07 +01:00
mike12345567 f907cccc58 Merge branch 'fix/custom-role-naming' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-10 16:28:06 +01:00
Adria Navarro c297396456
Merge branch 'master' into budi-8705-v3-view-joins-required-columns-cant-be-changed-to-read-only 2024-10-10 17:20:16 +02:00
Michael Drury 799ad63568
Merge branch 'master' into fix/custom-role-naming 2024-10-10 16:15:14 +01:00
mike12345567 5f4694d4d8 Fix for an issue found with custom role naming. 2024-10-10 16:13:32 +01:00
Adria Navarro 56aaacb437 Lint 2024-10-10 17:12:53 +02:00
mike12345567 5f91c7d8da new test case. 2024-10-10 16:11:03 +01:00
Adria Navarro 18e1bd0b4c Fix test 2024-10-10 17:03:46 +02:00
Adria Navarro 40966731c9 Remove related fields popover 2024-10-10 16:56:52 +02:00
Adria Navarro ca7f3369af Fix user icons on picker 2024-10-10 16:51:08 +02:00
Sam Rose 4c4429b88a
Fix tests. 2024-10-10 15:49:00 +01:00
Adria Navarro 41cd0d96d6 Fix multiple user column icon 2024-10-10 16:43:08 +02:00
Adria Navarro e191c90385 Simplify enriched column 2024-10-10 16:42:05 +02:00
Sam Rose a00a64bb6e
Properly clean up row actions on table deletion. 2024-10-10 14:56:38 +01:00
mike12345567 4719b16116 Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-10 14:38:18 +01:00
Sam Rose 4031971456
Merge branch 'master' into view-calculation-no-deletes 2024-10-10 12:39:15 +01:00
Sam Rose 4e0c293b08
Merge branch 'master' into view-calculation-fix-table-update 2024-10-10 12:20:20 +01:00
Sam Rose 84ebd6905b
Merge branch 'master' into view-calculation-filtering 2024-10-10 12:03:38 +01:00
Sam Rose 28c22e9aa7
Fix table updates wiping out view calculation fields. 2024-10-10 11:50:38 +01:00
mike12345567 3a2b22d446 Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-10 11:47:19 +01:00
Sam Rose 4c0bd812c1
Respond to PR comment. 2024-10-10 10:37:47 +01:00
Adria Navarro 946fca2042
Merge branch 'master' into BUDI-8686/feature-flag 2024-10-10 10:37:00 +02:00
Adria Navarro cda7782c6d Use flag for views 2024-10-10 10:35:39 +02:00
Adria Navarro a646b86131 Use flag for table 2024-10-10 10:34:56 +02:00
Adria Navarro 3e0408d3b9 Add new flag 2024-10-10 10:34:35 +02:00
Sam Rose 55be64b371
Only check visible fields when checking group by view calculations. 2024-10-10 09:16:43 +01:00
Sam Rose 93ebe39e43
Merge branch 'master' into view-calculation-filtering 2024-10-10 09:02:35 +01:00
Sam Rose b42334fde1
Merge branch 'master' into view-calculation-no-deletes 2024-10-10 09:02:31 +01:00
Sam Rose 7546c9bbe2
Test calculation view searching. 2024-10-09 17:25:41 +01:00
Sam Rose cc07b1407b
Merge branch 'master' into view-calculation-no-deletes 2024-10-09 17:09:03 +01:00
mike12345567 6a25f66f3c Merge branch 'fix/budi-8715-sql-relationships-many-side' of github.com:Budibase/budibase into fix/budi-8715-sql-relationships-many-side 2024-10-09 17:04:46 +01:00
mike12345567 00048a2d3e Addressing PR comments. 2024-10-09 17:04:27 +01:00
Michael Drury 01e458b568
Merge branch 'master' into fix/budi-8715-sql-relationships-many-side 2024-10-09 17:00:48 +01:00
mike12345567 70ab14319d Adding test case for removing from many side of relationships in SQL. 2024-10-09 16:51:11 +01:00
Adria Navarro 6a0f80f28e Remove duplicated test 2024-10-09 17:13:46 +02:00
Adria Navarro a8476a1c8b Fix tests 2024-10-09 17:08:45 +02:00
Adria Navarro 92372d1a4b Fix test 2024-10-09 17:08:45 +02:00
Adria Navarro 85ef2f1d2c Fix build issue 2024-10-09 17:08:45 +02:00
Adria Navarro c84cda40b3 Set default permissions to view 2024-10-09 17:08:45 +02:00
Adria Navarro d01462221f Set default permissions 2024-10-09 17:08:45 +02:00
Adria Navarro b3efea95bf Undo base permissions 2024-10-09 17:08:45 +02:00
Adria Navarro 389c4a9467 Add more tests 2024-10-09 17:08:45 +02:00
Adria Navarro ff402c54e0 Add view tests 2024-10-09 17:08:45 +02:00
Adria Navarro 577ab5b6ce Fix tests 2024-10-09 17:08:45 +02:00
Adria Navarro 37eb66e0d5 Cleanup tests 2024-10-09 17:08:45 +02:00
Adria Navarro a0d3bf9993 Remove redundant ok button 2024-10-09 17:08:45 +02:00
Adria Navarro ebd762cdb6 Fixes 2024-10-09 17:08:35 +02:00
Sam Rose 26a8fabfef
Prevent deleting rows through a calculation view. 2024-10-09 16:05:49 +01:00
Adria Navarro 56459b2736 Type 2024-10-09 16:55:59 +02:00
Adria Navarro 38685b50df Add extra test 2024-10-09 16:55:59 +02:00
Adria Navarro 1e0902a831 Cleanup tess 2024-10-09 16:55:32 +02:00
Adria Navarro aa0a1737c8 Fix tests 2024-10-09 16:55:32 +02:00
Adria Navarro 9f84262940 Clean 2024-10-09 16:55:32 +02:00
Sam Rose 4cde2f26ad wip, tests broken 2024-10-09 16:55:32 +02:00
Sam Rose 3405e6d6b7 Make new tables require ADMIN permissions to read and write. 2024-10-09 16:55:16 +02:00
Sam Rose 871925bcef
Merge branch 'master' of github.com:budibase/budibase into logged-out-search-fix 2024-10-09 15:23:06 +01:00
Sam Rose 9d70b123e5
Remove IP tag. 2024-10-09 15:22:38 +01:00
mike12345567 d62d5b7043 Fixing an issue with removing relationships from the many side of a table in SQL, this was not correctly updating the other table. 2024-10-09 15:09:38 +01:00
Sam Rose 71fdae3383
Merge branch 'master' into view-calculation-readonly 2024-10-09 14:19:07 +01:00
Sam Rose a75666bb7c
Merge branch 'master' into view-calculation-validation-4 2024-10-09 14:03:33 +01:00
Sam Rose 6da0c29c76
Merge branch 'master' into view-calculation-validation-3 2024-10-09 13:46:58 +01:00
Sam Rose 26f2deb234
Set proxy setting on Koa application. 2024-10-09 13:34:43 +01:00
Adria Navarro 23022e324c
Merge branch 'master' into chore/move-table-creation-to-sdk 2024-10-09 14:24:03 +02:00
Sam Rose f4aeb801d2
Merge branch 'master' of github.com:budibase/budibase into logged-out-search-fix 2024-10-09 13:18:24 +01:00
Sam Rose a4090243ec
Fix lint. 2024-10-09 13:17:55 +01:00
Sam Rose adad73a9e2
Fix tests. 2024-10-09 13:10:52 +01:00
Sam Rose 10f3816810
Merge branch 'master' of github.com:budibase/budibase into logged-out-search-fix 2024-10-09 12:57:21 +01:00
Sam Rose eee2991b09
Rejib IP fetching. 2024-10-09 12:57:14 +01:00
Adria Navarro 3b01f404dd Fix imports 2024-10-09 13:49:58 +02:00
Adria Navarro 761d48f4d5
Merge branch 'master' into chore/move-table-creation-to-sdk 2024-10-09 13:49:45 +02:00
Michael Drury 52fa9ae905
Merge branch 'master' into fix/postgres-newlines 2024-10-09 12:48:28 +01:00
Adria Navarro cf92da15c6
Merge branch 'master' into chore/fix-exporting-rows 2024-10-09 13:33:55 +02:00
Adria Navarro 865b7a97e0 Fix 2024-10-09 13:31:34 +02:00
Adria Navarro f05bf25e21 Add failing test 2024-10-09 13:31:11 +02:00
Sam Rose 20f55e3795
Still fetch flags when the user is not logged in. 2024-10-09 12:29:17 +01:00
Adria Navarro 80ae7cbe0b Rename 2024-10-09 13:21:22 +02:00
Adria Navarro 4efe335b65 Create external table in sdk 2024-10-09 13:20:02 +02:00
Michael Drury 64492dca2a
Merge branch 'master' into fix/related-rows-dont-exist 2024-10-09 12:18:37 +01:00
Adria Navarro 15d124bfaf Move internal creation to sdk 2024-10-09 12:58:10 +02:00
Adria Navarro 9d06c705ac Remove ContextUser usages in favor of just ids 2024-10-09 12:47:43 +02:00
Adria Navarro c2a5f673ae Lint 2024-10-09 10:52:14 +02:00
Adria Navarro 684ad854e6
Merge branch 'master' into budi-8708-single-and-multi-select-user-fields-appear-to-no-longer-be 2024-10-09 10:48:01 +02:00
Adria Navarro d811b9527f Fix limit issues 2024-10-09 10:44:04 +02:00
Adria Navarro 3cf96c589c Implement logical conditions 2024-10-09 10:33:15 +02:00
Adria Navarro 8b0c84b2ea In memory filters 2024-10-09 10:32:39 +02:00
Adria Navarro 0e24df2ddf Improve types 2024-10-09 10:32:12 +02:00
Adria Navarro bf62153b8b Add test with conditions 2024-10-09 10:16:32 +02:00
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