Commit Graph

29045 Commits

Author SHA1 Message Date
mike12345567 9fceef0fc2 Some more fixes and test case for screen access. 2024-10-15 17:53:48 +01:00
Adria Navarro 8a6dbef249 Fix sqs 2024-10-15 18:50:58 +02:00
Sam Rose 3fc170c16b
Add settings to automation context. 2024-10-15 17:33:32 +01:00
Adria Navarro 86e5718705 Fix tests 2024-10-15 17:40:03 +02:00
Adria Navarro 225d062fcc Fix 2024-10-15 16:30:10 +02:00
Adria Navarro 6688ccf1ab Ensure we replace only on when starting with 2024-10-15 15:50:52 +02:00
mike12345567 808096f31b Updating screen test case. 2024-10-15 14:34:32 +01:00
mike12345567 ca72dffb1f Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-15 13:34:39 +01:00
Adria Navarro 41405ea39d Add extra rows 2024-10-15 14:15:45 +02:00
mike12345567 bb43049d55 Adding loop protection. 2024-10-15 12:07:31 +01:00
Adria Navarro 2f2cfb392d
Merge branch 'master' into chore/negated-join-filters 2024-10-15 12:04:30 +02:00
Adria Navarro 975945a23a Improve tests 2024-10-15 12:03:23 +02:00
Adria Navarro 5782b20509 Update test 2024-10-15 11:36:29 +02:00
Adria Navarro 57da952f69 Fix "parenthesis" 2024-10-15 11:34:35 +02:00
Adria Navarro 76d0107d4d Handle empty relationships 2024-10-15 10:10:15 +02:00
mike12345567 a56a228042 Fixes based on test case. 2024-10-14 18:57:54 +01:00
mike12345567 26ee50b10b Adding test case for multi-inheritance 2024-10-14 18:57:46 +01:00
mike12345567 676cb3f92e Handling role numbering. 2024-10-14 18:00:41 +01:00
Sam Rose 867ba12f8a
Merge branch 'update-docker-compose-for-sqs' of github.com:budibase/budibase into update-docker-compose-for-sqs 2024-10-14 17:24:44 +01:00
Sam Rose 58b4a37fca
Enable SQS in code instead of in env vars. 2024-10-14 17:20:36 +01:00
Sam Rose 2637336bd6
Merge branch 'master' into update-docker-compose-for-sqs 2024-10-14 15:41:09 +01:00
Adria Navarro 7ea2c187a7 Simplify 2024-10-14 16:17:24 +02:00
Adria Navarro b3cea00ab3
Merge branch 'master' into BUDI-8699/view-joins-with-any-and-all-not-working-correctly 2024-10-14 16:07:32 +02:00
Sam Rose da12da6fe1
Merge branch 'master' into update-docker-compose-for-sqs 2024-10-14 14:28:52 +01:00
Adria Navarro b744de6e62
Merge branch 'master' into fix/inconsistent-column-schemas 2024-10-14 15:10:58 +02:00
mike12345567 243391d6cb Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-14 12:57:22 +01:00
Sam Rose 7cb62f7e44
Merge branch 'master' into multi-user-default 2024-10-14 12:55:28 +01:00
Adria Navarro 31cfb1176d
Merge branch 'master' into fix/inconsistent-column-schemas 2024-10-14 13:26:00 +02:00
Adria Navarro 874df3f54d Fix wrong schema while fetching from datasource 2024-10-14 13:20:34 +02:00
Sam Rose 7c9b61181f
Fix lint. 2024-10-14 12:15:45 +01:00
Sam Rose e9ad3e58be
Support default values on multi-user columns. 2024-10-14 12:14:41 +01:00
Martin McKeaveney 6b38efa0bd
Merge branch 'master' into fix-container-on-click-grid 2024-10-14 12:09:20 +01:00
Adria Navarro 61967b6b4b Fix invalid schema 2024-10-14 13:01:20 +02:00
Adria Navarro 1052f36084 Fix invalid schemas while fetching 2024-10-14 13:00:26 +02:00
Adria Navarro a6cb1d072a Fix sql alias test 2024-10-14 10:40:08 +02:00
Adria Navarro ca7a7bcef9 Fix tests 2024-10-14 10:40:08 +02:00
Adria Navarro f73b7d4824 More tests 2024-10-14 10:40:08 +02:00
Adria Navarro bfdead820c Cleanup tests 2024-10-14 10:40:08 +02:00
Adria Navarro cf089eff26 Fix ors 2024-10-14 10:40:08 +02:00
Adria Navarro 2311f8aa50 Don't break or conditions on nested joins 2024-10-14 10:40:08 +02:00
Adria Navarro f192a30da0 More tests 2024-10-14 10:40:08 +02:00
Adria Navarro 37450823bb More tests 2024-10-14 10:40:08 +02:00
Adria Navarro cb78e0bc13 Add extra tests 2024-10-14 10:40:08 +02:00
Michael Drury c8f7722f9c
Merge branch 'master' into fix/screen-role-creation 2024-10-11 17:57:22 +01:00
mike12345567 d0cb873382 Adding test case for the fix. 2024-10-11 17:55:59 +01:00
mike12345567 bdbcf2110e Fixing an issue with screen creation - wrong base permissions were being detected for external DBs. 2024-10-11 17:04:29 +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 158e095045
Fix lint. 2024-10-11 16:24:03 +01:00
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