Commit Graph

9667 Commits

Author SHA1 Message Date
Adria Navarro 85a9b9ab21 Typings 2023-09-14 15:18:54 +02:00
mike12345567 217d10f5fb Fix for more than/less than ranges, zeros were ignored when building up ranges, so that it simply acted like an upper limit, rather than a range. 2023-09-14 14:00:49 +01:00
mike12345567 ff5e9a468d Add an error if trying to add new users to the user metadata table within an app - this is invalid and should throw an error. 2023-09-14 12:44:14 +01:00
Adria Navarro 434a153395 Merge branch 'develop' into backmerge 2023-09-13 21:34:21 +02:00
Adria Navarro 405ea4e37b Reverts 2023-09-13 16:39:23 +02:00
Adria Navarro d1e1ad4930 Revert TestConfiguration changes 2023-09-13 16:33:04 +02:00
Adria Navarro dc29ebfe27 Fix tests 2023-09-13 15:54:44 +02:00
Adria Navarro 17c365d398 Fix tests 2023-09-13 15:39:59 +02:00
Adria Navarro d248c7b6b8 Fix types 2023-09-13 15:26:29 +02:00
Adria Navarro 9c6e880479 Fix update datasource test helper 2023-09-13 15:03:21 +02:00
Adria Navarro 881ff02a7d Merge branch 'develop' into BUDI-7367/ds_plus_row_unittest 2023-09-13 14:49:17 +02:00
Adria Navarro 142fb18c17 Fix tests 2023-09-13 14:09:48 +02:00
Adria Navarro c530d5fa34 Timeout issues 2023-09-13 13:17:51 +02:00
Adria Navarro dc5cd7cf76 Fix 2023-09-13 12:53:47 +02:00
Adria Navarro 6bae382d81 Fix tests 2023-09-13 12:23:59 +02:00
Adria Navarro ceb3129e22 Revert relationship changes 2023-09-13 12:02:13 +02:00
Adria Navarro 823afa1f55 Run all tests 2023-09-13 11:59:34 +02:00
Adria Navarro c7e41eacc7 Cleanup test 2023-09-13 11:00:53 +02:00
Adria Navarro 47899c669d Use api 2023-09-13 10:39:22 +02:00
Adria Navarro 069b0d6161 Fix types 2023-09-13 10:31:39 +02:00
Adria Navarro cf74f19381 Use test api 2023-09-13 10:13:54 +02:00
Adria Navarro 4d12ee53da LegacyView test api 2023-09-13 09:59:17 +02:00
Adria Navarro 14259c82f3 Use test api 2023-09-13 09:57:41 +02:00
Adria Navarro 986decb103 Reduce timings 2023-09-13 09:37:11 +02:00
Adria Navarro 0c8a8e1b26 Unify 2023-09-12 21:09:25 +02:00
Adria Navarro eee8a2e5f9 Run before alls 2023-09-12 20:49:47 +02:00
Adria Navarro d522ff70b4 Don't create tables for each test 2023-09-12 20:47:06 +02:00
Adria Navarro b5e6b42db2 Reuse tables 2023-09-12 20:40:00 +02:00
Adria Navarro 458de1282e Use api for testing 2023-09-12 20:17:21 +02:00
Adria Navarro f0872c1fa3 Improve api 2023-09-12 19:59:37 +02:00
Adria Navarro fccb2f625c Use configs 2023-09-12 19:39:40 +02:00
Adria Navarro 3843581e56 Unify 2023-09-12 19:31:58 +02:00
Adria Navarro 9c37f2f056 Use configs 2023-09-12 19:18:19 +02:00
Adria Navarro cb762cc336 Use api for testing 2023-09-12 19:03:30 +02:00
Adria Navarro dd47c79ef9 Replace guids by words 2023-09-12 18:09:42 +02:00
Adria Navarro 8b644555e3 Fetch primaryDisplay 2023-09-12 18:09:09 +02:00
Adria Navarro a537b17b23 Run attachments only on internal 2023-09-12 18:07:50 +02:00
Adria Navarro 88c68cfe58 Fetch relationships on external row find 2023-09-12 18:07:20 +02:00
mike12345567 80e217afda Quick test to avoid scenario in future. 2023-09-12 14:23:08 +01:00
mike12345567 aed5694ac2 Adding dedicated function for removing empty filters. 2023-09-12 14:06:20 +01:00
mike12345567 aeac7aaa0c Making sure that not all falsy values are considered invalid filter inputs. 2023-09-12 13:54:39 +01:00
Mel O'Hagan 91fedc8241 Merge branch 'master' into budi-7476-postgres-sql-invalid-time-value-error-when-saving-json-as 2023-09-12 10:37:30 +01:00
Adria Navarro 66524d998b Run coerced only for internal 2023-09-12 11:02:44 +02:00
Peter Clement 0df9f821fe Merge remote-tracking branch 'origin/master' into fix/remove-developer-role-from-imports 2023-09-12 09:36:11 +01:00
Peter Clement cee89b95b1 remove reference to premium plan 2023-09-12 09:34:11 +01:00
Adria Navarro 8ee23e6168 Fix 2023-09-12 09:57:47 +02:00
Adria Navarro c70c627fc9 Fix view test 2023-09-12 09:52:46 +02:00
Adria Navarro a3e9765555 Merge branch 'develop' into BUDI-7367/ds_plus_row_unittest 2023-09-12 09:20:00 +02:00
Mel O'Hagan 17dc01808c Additional unit test 2023-09-11 21:35:51 +01:00
Mel O'Hagan 7147752b9c Fix date validation regex 2023-09-11 21:26:05 +01:00
Martin McKeaveney 722c4e6d48 merge with master 2023-09-11 11:57:18 +01:00
Adria Navarro 4e69e51cca Fix autocolumns 2023-09-08 17:42:54 +02:00
Adria Navarro 2f5aadec4b More fixes 2023-09-08 16:39:13 +02:00
Adria Navarro 8858fe3887 Fixes 2023-09-08 16:31:47 +02:00
Adria Navarro 1a7a1cdd1b Fix view test 2023-09-08 16:23:34 +02:00
Adria Navarro b63b61655b Fixes 2023-09-08 15:54:27 +02:00
Adria Navarro c26a4c3a11 Fixes 2023-09-08 15:46:10 +02:00
Adria Navarro 45ddd46f4c Fix tests 2023-09-08 15:29:05 +02:00
Adria Navarro a5142088d9 Clean tests 2023-09-08 15:09:50 +02:00
Adria Navarro 9b783e0804 Fix cleanup relationships 2023-09-08 15:08:49 +02:00
Adria Navarro 5e2e43a7d7 Clean configs 2023-09-08 13:52:17 +02:00
Adria Navarro 9e799c6b93 Legacy views tests 2023-09-08 10:43:19 +02:00
Adria Navarro 93e9b1b8b4 Fix tests 2023-09-08 10:34:45 +02:00
Adria Navarro 3912517f67 Do not validate external 2023-09-08 10:22:24 +02:00
Adria Navarro 93124d804b Fix validate test 2023-09-08 10:17:22 +02:00
Adria Navarro 2c6df74755 Fix more tests 2023-09-08 10:12:46 +02:00
Adria Navarro f8adbb86a0 Fix tests 2023-09-08 10:04:49 +02:00
Adria Navarro c6621e8c49 Type response 2023-09-08 10:04:35 +02:00
Adria Navarro e2b8226de1 Merge branch 'develop' into BUDI-7367/ds_plus_row_unittest 2023-09-08 09:11:27 +02:00
Adria Navarro 3b69acc166 Merge branch 'develop' into update-node-types 2023-09-07 19:50:39 +02:00
Martin McKeaveney ab5753273d fix for legacy custom roles 2023-09-07 18:50:07 +01:00
Michael Drury 7bb1db6c1d Merge branch 'develop' into fix/shared-core-dev 2023-09-07 17:07:41 +01:00
Michael Drury fe39bdfbfb Merge branch 'develop' into fix/shared-core-dev 2023-09-07 16:33:05 +01:00
Michael Drury 8b4c4fd3d7 Merge branch 'develop' into fix/BUDI-7447 2023-09-07 16:32:54 +01:00
mike12345567 2f115b5b64 Quick fix for automation timing. 2023-09-07 15:27:52 +01:00
Adria Navarro 205d33f172 Clean cypress refs 2023-09-07 15:37:22 +02:00
Adria Navarro f691987e65 Update node types 2023-09-07 11:21:41 +02:00
mike12345567 c361588bd4 Updating the yarn dev process to not include a removal of the dist directory as part of the streamed watchers - this seems to create a problem for shared core and moving this up a level to a parallel run before the watchers massively improves stability. 2023-09-06 18:17:44 +01:00
Adria Navarro 7a8eab863c Fix tests 2023-09-06 13:03:35 +02:00
Adria Navarro 3fe7a9f4cb Unmock pg 2023-09-06 12:51:08 +02:00
Adria Navarro 0f0533ff2b Merge branch 'develop' into fix/backend-core-test-types 2023-09-06 10:08:46 +02:00
Adria Navarro 1c8060272d Fix import 2023-09-06 01:49:54 +02:00
Adria Navarro cd8e667f39 Fix permission sdk usage on auth middleware 2023-09-06 00:23:19 +02:00
mike12345567 c6223ca935 Linting. 2023-09-05 12:33:01 +01:00
mike12345567 83875cd2d6 Merge branch 'develop' of github.com:Budibase/budibase into merge-master-develop 2023-09-05 12:29:27 +01:00
mike12345567 d096f359d7 Revert "Revert "Merge branch 'develop' into master""
This reverts commit 3265042025.
2023-09-05 12:28:56 +01:00
Adria Navarro f476c84bc2 Run row api for pg 2023-09-05 12:09:11 +02:00
Adria Navarro 14303c9eb0 Extend test create api 2023-09-05 11:41:30 +02:00
Adria Navarro 887ebb2eeb Simplify 2023-09-05 11:16:37 +02:00
Adria Navarro 6240740a42 Simplify 2023-09-05 11:11:47 +02:00
Adria Navarro b27899b1e6 Redo helpers 2023-09-05 10:47:59 +02:00
Adria Navarro 57801b5bcc Use docker utils helpers 2023-09-04 19:05:18 +02:00
Adria Navarro baab7d3fb5 Use docker utils helpers 2023-09-04 19:05:11 +02:00
Adria Navarro e4479ee522 Use docker utils helpers 2023-09-04 19:05:04 +02:00
Adria Navarro 8931309669 Datasource test api 2023-09-04 18:53:32 +02:00
Adria Navarro cb6977a18b Create non-plus datasource 2023-09-04 17:01:49 +02:00
Adria Navarro 122cd843ab Type ds in testconfiguration 2023-09-04 16:25:34 +02:00
Adria Navarro c5e061c9bf Fix types 2023-09-04 16:22:50 +02:00
Adria Navarro 111e999962 Merge branch 'develop' into BUDI-7393/use_permissions_on_middleware 2023-09-04 15:51:45 +02:00
Adria Navarro d16110ca73 Fix tests 2023-09-04 15:49:58 +02:00
Adria Navarro ad8fb01657 Use permissions sdk on authorized middleware 2023-09-04 14:13:10 +02:00
Adria Navarro f6329e6a22 Add tests 2023-09-04 14:12:37 +02:00
Adria Navarro f6e5e9ad6b Fix test after rebase 2023-09-04 12:35:35 +02:00
Adria Navarro 2c70543d5c Merge branch 'develop' into BUDI-7189/fix/legacy_views_permissions 2023-09-04 12:34:19 +02:00
Adria Navarro 5429c03741 Fix renamings 2023-09-04 12:28:10 +02:00
Adria Navarro 900c773ce9 Renamings 2023-09-04 12:17:37 +02:00
Adria Navarro 8b5700774b Add test 2023-09-04 12:16:44 +02:00
Adria Navarro d68d449f1f DRY 2023-09-04 12:11:59 +02:00
Adria Navarro a012c0a458 Add back base default legacy views permissions 2023-09-04 12:00:58 +02:00
Andrew Kingston 770216ccf1 Merge branch 'master' into dean-bug-fixes 2023-09-04 10:17:10 +01:00
Adria Navarro 5599e44422 Fix tests 2023-09-04 09:40:56 +02:00
Adria Navarro bb8aacd830 Improve messaging 2023-09-01 17:23:47 +02:00
Adria Navarro 0dc03abe5f Display dependant info 2023-09-01 17:03:33 +02:00
Rory Powell 64af549341 Revert "Merge pull request #11489 from Budibase/fix/automation-disable"
This reverts commit e6319cce67, reversing
changes made to 7c12280fe3.
2023-09-01 15:12:23 +01:00
Martin McKeaveney 5845884e77 Revert "don't recreate secret after first deploy, bump vm2 deps" 2023-09-01 11:30:05 +01:00
Adria Navarro a541bde7e1 Secure view read 2023-09-01 12:19:16 +02:00
Adria Navarro 5b7756936d Change api interfaces 2023-09-01 11:33:59 +02:00
Adria Navarro 466f1e6132 Display inherit option 2023-09-01 10:52:06 +02:00
Adria Navarro 5d870fb41a Rename 2023-09-01 09:50:55 +02:00
Adria Navarro 774ff745b6 Return role origin 2023-09-01 09:40:29 +02:00
Adria Navarro a56712f4d7 Change shape 2023-08-31 13:01:17 +02:00
Adria Navarro dcd8c3b289 Move permissions code to sdk 2023-08-31 10:36:17 +02:00
Dean 4d2f76e5be Fix for view export filtering and view tableblock exception 2023-08-31 08:42:31 +01:00
Adria Navarro cefb57d78a Merge branch 'develop' into views-v2-frontend 2023-08-30 15:12:56 +02:00
Adria Navarro 8e4138f50d Lint 2023-08-29 18:32:18 +02:00
Martin McKeaveney 6ac0f3e8bc Merge branch 'master' into fix/security-deps 2023-08-29 16:56:31 +01:00
Adria Navarro 24332f2f45 Fix tests 2023-08-29 16:39:19 +02:00
Adria Navarro ed9e0ed2ff Test external 2023-08-29 16:13:44 +02:00
Adria Navarro 6f2aa32878 Implement external 2023-08-29 15:39:56 +02:00
Martin McKeaveney 3265042025 Revert "Merge branch 'develop' into master"
This reverts commit 99adc2039b, reversing
changes made to fec20e526e.
2023-08-29 14:27:39 +01:00
Adria Navarro 7e2ecc1b3a Split between internal and external views 2023-08-29 13:35:22 +02:00
Adria Navarro bf59ecf6b7 Split between internal and external views 2023-08-29 13:35:12 +02:00
Martin McKeaveney 26aa47078b Merge branch 'master' into fix/security-deps 2023-08-25 18:35:27 +01:00
Andrew Kingston abbc4f7d2a Remove tests which are no longer relevant 2023-08-25 16:27:39 +01:00
Andrew Kingston 100c6450dc Update view tests 2023-08-25 15:50:29 +01:00
Andrew Kingston e82c08ea3e Fix row tests 2023-08-25 15:28:29 +01:00
Martin McKeaveney 2eb78fb23d don't recreate secret after first deploy, bump vm2 deps 2023-08-24 17:12:48 +01:00
Andrew Kingston a22fc8d208 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-24 12:07:23 +01:00
Adria Navarro 388731bd9e Merge branch 'develop' into BUDI-7393/allow-view-permissions 2023-08-24 13:36:07 +03:00
Adria Navarro c0581408e9 Add extra tests 2023-08-24 11:48:38 +02:00
Adria Navarro 12be5a3d83 Setuo init pro mocks 2023-08-24 11:47:51 +02:00
Adria Navarro 3e70369832 Use 2023-08-24 11:47:42 +02:00
Adria Navarro cfeb6993cc Test authorised view use cases 2023-08-24 11:46:36 +02:00
Adria Navarro 8359185a22 Add unhappy paths tests 2023-08-24 11:23:30 +02:00
Adria Navarro 84a6f239a9 Migrate tests to ts 2023-08-24 11:05:31 +02:00
Andrew Kingston a6e000ed34 Merge branch 'develop' into design-section-feature-branch 2023-08-24 09:23:30 +01:00
Adria Navarro 9a7a3b9c72 Rename test 2023-08-24 10:23:21 +02:00
Adria Navarro bfa2b491f3 Allow view permission type 2023-08-24 10:22:08 +02:00
Adria Navarro 972cc9916b Add inheritance tests 2023-08-24 09:39:38 +02:00
Adria Navarro b380207064 Merge resource and authorized, allowing transformers 2023-08-24 09:36:44 +02:00