Commit Graph

232 Commits

Author SHA1 Message Date
Sam Rose f46a668465
Allow bigints to be used in view calculations, and make sure they're accurate up to 64bit signed int via tests. 2024-10-25 15:55:07 +01:00
Sam Rose 6f4e1dd711
Respond to PR comment. 2024-10-23 11:34:55 +01:00
Sam Rose 67b814a5ca
Yet more tests. 2024-10-21 13:35:53 +01:00
Sam Rose 205d6d0671
Re-enable tests. 2024-10-21 11:39:22 +01:00
Sam Rose 064721cefa
Make sure you can still create views with a query but no queryUI 2024-10-21 11:30:28 +01:00
Sam Rose 0c6afda606
Merge branch 'master' of github.com:budibase/budibase into queryui-default 2024-10-21 10:04:32 +01:00
Sam Rose 915202bada
More tests. 2024-10-21 09:48:51 +01:00
mike12345567 e7a6e58751 Updating some further types - added 2 ts-ignores which will be removed on v3 branch. 2024-10-18 17:59:26 +01:00
Sam Rose 80875fd9a0
More tests. 2024-10-18 17:50:08 +01:00
Sam Rose 4b6a66627a
More view search tests. 2024-10-18 15:28:03 +01:00
Sam Rose f53e68f526
Fix allOr test 2024-10-18 14:53:20 +01:00
Sam Rose 0fce17c3c0
Fix allOr for everything except SQS. 2024-10-18 14:50:06 +01:00
Sam Rose b7979f4719
Refactor SearchFilterGroup type to be less verbose and more clearly named. 2024-10-18 10:32:28 +01:00
Sam Rose 714029b9a0
Making more progress on testing view searching. 2024-10-17 18:06:45 +01:00
Sam Rose 17e946845e
Get existing tests passing. 2024-10-17 17:16:54 +01:00
Sam Rose cb41861d13
Making progress toward testing buildCondition and friends. 2024-10-17 11:54:34 +01:00
Sam Rose 31c0ed69f1
wip 2024-10-16 18:28:40 +01:00
Sam Rose 13424218eb
Merge branch 'master' into budi-8730-views-filter-by-current-user_id-does-not-work 2024-10-11 16:42:37 +01:00
Sam Rose e967e62f1d
Add tests. 2024-10-11 15:55:25 +01:00
Sam Rose 964f8222ba
Allow sorting by calculation fields. 2024-10-10 17:10:07 +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
Sam Rose 4c0bd812c1
Respond to PR comment. 2024-10-10 10:37:47 +01:00
Sam Rose 55be64b371
Only check visible fields when checking group by view calculations. 2024-10-10 09:16:43 +01:00
Sam Rose 7546c9bbe2
Test calculation view searching. 2024-10-09 17:25:41 +01:00
Sam Rose 26a8fabfef
Prevent deleting rows through a calculation view. 2024-10-09 16:05:49 +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
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 1106244ff3
Merge branch 'master' into allow-calculation-fields-to-hide-required-fields 2024-10-08 09:30:00 +01:00
Sam Rose 11804f6ddd
Create a feature flag helper for tests. 2024-10-07 18:18:04 +01:00
Sam Rose 3e865d5609
Merge branch 'master' into view-calculation-validation 2024-10-07 17:05:18 +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 fb7133e64f
Validate that there are no duplicate calculations in calculation views. 2024-10-04 11:09:29 +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
Andrew Kingston afca86cf8f
Merge branch 'master' into view-ui-metadata 2024-10-04 09:45:34 +01:00