Commit Graph

10134 Commits

Author SHA1 Message Date
mike12345567 fe5cc6878b Adding licensing checks to import/export API. 2023-09-22 17:38:34 +01:00
Adria Navarro 02ab0a134e Update ts to 5.x 2023-09-22 18:17:19 +02:00
Adria Navarro 38d6fa8b2a Renames 2023-09-22 17:33:13 +02:00
mike12345567 07c7192154 Adding documentation for export endpoint. 2023-09-22 13:29:16 +01:00
Mel O'Hagan a790d6cd74 Let null and blank strings be saved as they are 2023-09-22 11:05:24 +01:00
mike12345567 cf24d90f4b Base of API - still needs pro implementation. 2023-09-21 18:04:15 +01:00
mike12345567 85887d0371 Adding test case for app import functionality. 2023-09-20 18:25:34 +01:00
mike12345567 61c12d88cf Final work to support app update process. 2023-09-20 16:43:50 +01:00
Adria Navarro 8a5270c6ee Fix 2023-09-20 13:19:38 +02:00
mike12345567 65d96b5ec5 Adding message to let user know why roles have been ignored, as well as adding test case for this. 2023-09-20 12:13:10 +01:00
Adria Navarro 31b29662d6 Handle delete behaviours 2023-09-20 12:47:47 +02:00
Adria Navarro 244af30b6a Fix tests 2023-09-20 12:47:47 +02:00
Adria Navarro af499412cf Don't return the full user object 2023-09-20 12:47:47 +02:00
Adria Navarro 85be9d6ebd Lint 2023-09-20 12:45:26 +02:00
mike12345567 87362be154 Removing required from roles on user API, as it is now paid. 2023-09-20 10:54:06 +01:00
Adria Navarro d1cfb64017 Renames 2023-09-20 10:08:47 +02:00
Adria Navarro ed830835a4 use bulk cache in processOutputBBReferences 2023-09-20 10:07:38 +02:00
Adria Navarro 58d9d3e8e8 use bulk cache in processInputBBReferences 2023-09-20 10:05:52 +02:00
mike12345567 8e0cf1d087 Moving things around ready for implementation of temp db handle. 2023-09-19 18:38:44 +01:00
mike12345567 e408de539a Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7458 2023-09-19 17:31:49 +01:00
mike12345567 05e5efd2c2 Merge branch 'develop' of github.com:Budibase/budibase into fix/BUDI-7258 2023-09-19 14:17:46 +01:00
mike12345567 c8775601fc Merge branch 'fix/BUDI-7258' of github.com:Budibase/budibase into fix/BUDI-7258 2023-09-19 14:01:24 +01:00
mike12345567 e69ebfb2ab Adding test case for row creation, don't allow user table. 2023-09-19 14:01:03 +01:00
mike12345567 e8e4dd5c90 Finishing UI - getting API ready. 2023-09-19 13:45:24 +01:00
Michael Drury 9e5b6bf654 Merge branch 'develop' into fix/BUDI-7258 2023-09-19 13:45:04 +01:00
Adria Navarro 9cd7ef7827 Typing redis 2023-09-19 14:32:05 +02:00
Adria Navarro 1314b991c7 Value is always csv 2023-09-19 13:17:07 +02:00
Adria Navarro 235799c07d Merge branch 'develop' into backmerge-20230919 2023-09-19 12:33:04 +02:00
Adria Navarro 89af863c34 Lint 2023-09-19 10:14:25 +02:00
Adria Navarro 4bea599b2a Merge branch 'feature/user-column-type' into BUDI-7455/populate_user_refs_on_get 2023-09-19 10:12:10 +02:00
Adria Navarro 9ef710c8c0 Handle bb ref only if there is a value 2023-09-19 10:07:20 +02:00
Adria Navarro 60460da4f9 Error handling 2023-09-19 10:07:20 +02:00
Adria Navarro b808d76734 Validate objects 2023-09-19 10:07:20 +02:00
Adria Navarro f1a1cf74bc Validate and return csv 2023-09-19 10:07:20 +02:00
Adria Navarro 2f9843bd4c Handle ids 2023-09-19 10:07:20 +02:00
Adria Navarro 20ab7fb24d Renames 2023-09-19 10:06:18 +02:00
Adria Navarro 05315df183 Clean test 2023-09-19 10:06:18 +02:00
Adria Navarro 33d8b34ed7 Add tests 2023-09-19 10:06:17 +02:00
Adria Navarro a1bb33bb4a Process bb ref on input processing 2023-09-19 10:06:17 +02:00
Adria Navarro 9860023c9e inputProcessing async 2023-09-19 10:06:17 +02:00
Adria Navarro e4caf8b737 Remove context refs in row processor 2023-09-19 10:06:17 +02:00
Adria Navarro 3ee95938c3 Allow bb_refs to externals 2023-09-19 10:06:17 +02:00
Adria Navarro a79960bf23 Typings 2023-09-19 10:06:16 +02:00
mike12345567 bd197bee9e Frontend work and basic API work for app update support. 2023-09-18 18:06:03 +01:00
Adria Navarro 3f7b615d10 Populate apps from groups while fetching apps 2023-09-18 17:58:07 +02:00
Gerard Burns 36acd69fdd Note about MySQL SSL (#11797) 2023-09-18 12:14:12 +01:00
Adria Navarro 256ab3a296 Fix test 2023-09-18 12:22:18 +02:00
Adria Navarro ead2a2795e Fix deletion 2023-09-18 11:58:34 +02:00
Adria Navarro 7f6ef551c9 Return always arrays for bb processor fields 2023-09-18 11:57:27 +02:00
Adria Navarro 60d94e76cf Lint 2023-09-15 13:49:24 +02:00
Adria Navarro 29eaeacc4c Fix deletions 2023-09-15 13:47:08 +02:00
Adria Navarro 385989eca4 Process output 2023-09-15 13:31:56 +02:00
Adria Navarro bebe342b33 Handle output processing 2023-09-15 13:31:22 +02:00
Adria Navarro 9510c37b7a Handle bb ref only if there is a value 2023-09-15 13:04:45 +02:00
Adria Navarro 679f56f32f Error handling 2023-09-15 12:29:57 +02:00
Adria Navarro d62e9a475f Validate objects 2023-09-15 12:10:59 +02:00
Adria Navarro 0d3f9dac8c Validate and return csv 2023-09-15 12:07:25 +02:00
Adria Navarro 1ff3f5db80 Handle ids 2023-09-15 11:21:10 +02:00
Adria Navarro 4c4c2e118b Renames 2023-09-15 10:54:43 +02:00
Adria Navarro 8a9474c2ac Clean test 2023-09-15 10:44:50 +02:00
Adria Navarro e36fd75bc1 Add tests 2023-09-15 10:41:39 +02:00
Adria Navarro 0e3f316eb2 Process bb ref on input processing 2023-09-15 10:33:36 +02:00
Adria Navarro edd8879d04 inputProcessing async 2023-09-15 10:31:54 +02:00
Adria Navarro 1cbfeafe39 Remove context refs in row processor 2023-09-15 09:56:28 +02:00
mike12345567 68f3197522 Moving test to where the functions are now. 2023-09-14 17:12:09 +01:00
mike12345567 8ca3f13a1c Quick re-jig based on test failure, seems the base sql.ts is depended on fairly heavily, importing the SDK can create a lot of cycles. 2023-09-14 16:53:36 +01:00
Adria Navarro 8564509ca9 Allow bb_refs to externals 2023-09-14 17:51:09 +02:00
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
Adria Navarro 9a15277fa1 Split authorized middleware to handle resource id fetch 2023-08-24 09:11:54 +02:00
Adria Navarro 1a88a9078d Merge branch 'develop' into BUDI-7393-view-permissions-behind-feature-flag 2023-08-24 08:39:53 +02:00
Andrew Kingston f421ef54f3 Merge branch 'develop' of github.com:Budibase/budibase into design-section-feature-branch 2023-08-23 18:45:35 +01:00
mike12345567 1a06fc0417 Removing Postgres test update, didn't help. 2023-08-23 18:14:01 +01:00
mike12345567 67104d7cb3 Quick hacks to try and help with the stability of some failing tests. 2023-08-23 18:05:58 +01:00
mike12345567 6731eefefd Adding wait strategy to Postgres runner. 2023-08-23 17:42:01 +01:00
Andrew Kingston f0e7f481de Merge branch 'design-section-feature-branch' of github.com:Budibase/budibase into screen-theme-rightpanel 2023-08-23 16:20:55 +01:00
mike12345567 613b7a3344 Fixing reference (IDE generated). 2023-08-23 14:20:30 +01:00
mike12345567 3395a5b96b Some other minor changes to fully support the per app builder from groups, making sure middlewares are properly aware. 2023-08-22 19:15:47 +01:00
mike12345567 656870db8b Adding last of support for per app group builder support, enriching the user on self return, as well as adding the functionality required to server middlewares. 2023-08-22 18:14:08 +01:00
Adria Navarro 27a5123855 Fix build 2023-08-22 12:42:59 +03:00
Adria Navarro e4feb64fe5 Use extracted functions 2023-08-22 12:19:20 +03:00
Adria Navarro d8473b4a23 Renames 2023-08-22 12:09:21 +03:00
Adria Navarro 1283431b32 Move permissions get into the config api 2023-08-22 12:06:44 +03:00
Adria Navarro 561fe3cbe9 Merge branch 'develop' into BUDI-7393-view-permissions-behind-feature-flag 2023-08-22 11:49:07 +03:00
Adria Navarro 664f257239 Implemment checks 2023-08-22 11:27:06 +03:00
Adria Navarro 10e0abec3e Test deleting when forbidden 2023-08-22 10:30:12 +03:00
Adria Navarro 96f9a34136 Test adding when forbidden 2023-08-22 10:26:46 +03:00
Adria Navarro f1232eac90 Add permission api to testconfig 2023-08-22 10:24:43 +03:00
Andrew Kingston 86c9e2a192 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-21 16:50:45 +01:00
Adria Navarro 63ffc81ffe Tests 2023-08-21 17:56:58 +03:00
Adria Navarro 54c285f71c Add basic sdk checks 2023-08-21 17:56:40 +03:00
Adria Navarro 62579fab4e Check if resouce is allowed to change 2023-08-21 17:56:19 +03:00
mike12345567 3b19c8410f Comments. 2023-08-21 15:31:35 +01:00
Adria Navarro 28fac62239 Remove unused param 2023-08-21 17:09:33 +03:00
Adria Navarro edb8cd6330 Refactor tests to TS 2023-08-21 16:57:00 +03:00
Andrew Kingston 729b93532b Prevent overriding onEmptyFilter behaviour for views 2023-08-21 12:01:17 +01:00
Andrew Kingston 6d46fb2963 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-21 11:57:28 +01:00
Andrew Kingston 0566644508 Allow view searching and sorting. Refactor grid logic to fix multiple issuies 2023-08-21 11:56:58 +01:00
Adria Navarro 5dca30986e Merge branch 'develop' into chore/fix_os_contributor 2023-08-21 10:27:22 +03:00
mike12345567 d492fde27b Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7108 2023-08-18 15:50:18 +01:00
mike12345567 6b2db463aa Fixing issue created by reverting of revert merge. 2023-08-18 15:49:58 +01:00
mike12345567 a5a1c62eb1 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7108 2023-08-18 14:34:08 +01:00
mike12345567 7110351bdc Revert "revert develop into master"
This reverts commit fd099658a0.
2023-08-18 14:33:21 +01:00
mike12345567 aef7f28ccb Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7108 2023-08-18 13:30:47 +01:00
mike12345567 621b1fadea Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7108 2023-08-18 13:22:34 +01:00
mike12345567 66a94d3857 Quick fix for server tests. 2023-08-18 10:56:13 +01:00
mike12345567 9cfab6fbfd Merge branch 'fix/automation-improvements' of github.com:Budibase/budibase into fix/automation-improvements 2023-08-17 17:45:17 +01:00
mike12345567 ba5e390b3f Quick PR comments. 2023-08-17 17:44:59 +01:00
Michael Drury df31fb1b8d Merge branch 'develop' into fix/automation-improvements 2023-08-17 17:35:02 +01:00
mike12345567 e174211440 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-08-17 17:34:44 +01:00
mike12345567 4c6c0f3002 Quick fix based on tests. 2023-08-17 16:51:11 +01:00
mike12345567 95b8a4ea10 Adding feature flagging, the option to only start the automations, or the API, meaning we can split the service if needed. 2023-08-17 16:39:25 +01:00
Andrew Kingston b5546f8d9b Update server and builder to properly sync changes with tables and views across all users 2023-08-17 16:04:56 +01:00
melohagan b57a8c1130 Move when filter empty option into filter drawer (#11262)
* Add when filter empty dropdown

* Add unit tests

* "fix" typescript issue

* Add empty filter check for external

* Add unit test

* Hide empty filter option for custom query

* Make onEmptyFilter optional

* Fix unit tests

* Remove onEmptyFilter automation input

* Remove unused var

* Refactor

* Fix path

* Fix type issue

* Fix types
2023-08-17 13:31:52 +01:00
Andrew Kingston e7c4ebea39 Persist source view ID in ctx when using a view ID in the rows API and support collab in views 2023-08-17 12:07:37 +01:00
Martin McKeaveney fd099658a0 revert develop into master 2023-08-17 10:28:15 +01:00
melohagan 6d40a54fd5 Only get definition for given schema (#11532) 2023-08-17 10:10:52 +01:00
mike12345567 e068e301ff Updating automation history tab to handle the stopped error status which can occur for CRONs. 2023-08-16 18:21:53 +01:00
mike12345567 9489e309b5 Improving logging of publishing around CRON jobs, try to understand what is being disabled/created. 2023-08-16 18:12:21 +01:00
Andrew Kingston abc072cbbe Fix access control on view searching and handle errors when fetching view definitions 2023-08-16 11:00:14 +01:00
mike12345567 8f81a16340 Updating types to be based on the open API definition rather than types. 2023-08-15 17:33:22 +01:00
Andrew Kingston c115a87cd6 Add dedicated endpoint for fetching view definitions 2023-08-15 17:07:14 +01:00
Andrew Kingston a6da5fd2bb Update grid socket middleware to support V2 views 2023-08-15 16:55:05 +01:00
mike12345567 a6a70c2d09 Building out the role assignment/unassignment APIs as new components of the public API. 2023-08-15 16:46:21 +01:00
mike12345567 e97c042e95 Adding test cases. 2023-08-15 15:35:52 +01:00
mike12345567 b3e8989060 Adding pro integration. 2023-08-15 14:19:36 +01:00
Andrew Kingston 4bfa0d8cb0 Don't throw an error when atempting to update a view that includes non UI metadata overrides 2023-08-14 16:17:30 +01:00
mike12345567 4bbae677b2 Updating tests/search to handle no schema means no data, rather than all data. 2023-08-14 12:44:05 +01:00
mike12345567 0fb6f8312a Fixing test and updating middleware to match requirements. 2023-08-14 12:10:16 +01:00
mike12345567 3b7a5c0392 Mutate in middleware, don't update reference. 2023-08-14 11:44:10 +01:00
mike12345567 97e5fe37a1 Cloning table schema to avoid mutation. 2023-08-14 11:19:00 +01:00
mike12345567 5d2813361c Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7108 2023-08-14 11:00:06 +01:00
mike12345567 672e370904 Default state of view is no data returned. 2023-08-11 16:01:53 +01:00
mike12345567 9e0964a5e3 Removing concept of columns and schemaUI, replacing with just schema as now the backend uses UI attributes. 2023-08-11 15:52:13 +01:00
mike12345567 199d27fc89 Test case for returning missing columns as visible: false 2023-08-11 15:16:33 +01:00
mike12345567 71d8ea5743 Test case for view row API trimming. 2023-08-11 15:00:50 +01:00
mike12345567 584784edca Lint. 2023-08-11 14:58:09 +01:00
mike12345567 822a086666 Refactoring to make it so that visible: false columns are removed from views, and when returning view schema, all columns are enriched. 2023-08-11 14:57:53 +01:00
mike12345567 bee6d21d82 Fix type issue. 2023-08-11 14:42:34 +01:00
mike12345567 1e4cbc769c cleanup. 2023-08-11 14:39:56 +01:00
mike12345567 7be67bf603 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-11 14:39:12 +01:00
mike12345567 60af4029aa Merge branch 'develop' of github.com:Budibase/budibase into BUDI-7189/handle_tableschema_changes_on_views 2023-08-11 14:15:21 +01:00
mike12345567 a24e1809b6 Merge branch 'views-v2-frontend' of github.com:Budibase/budibase into views-v2-frontend 2023-08-11 13:16:56 +01:00
mike12345567 b4b52d9266 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-11 13:16:29 +01:00
Michael Drury 9a19c7a14e Merge branch 'develop' into budi-7350-filter-equal-for-numbers-not-working-in-data-providers 2023-08-10 16:35:36 +01:00
Michael Drury 08e663a8d3 Merge branch 'master' into budi-7350-filter-equal-for-numbers-not-working-in-data-providers 2023-08-10 16:28:59 +01:00
Adria Navarro 65e5e40963 Fix python installation in server docker and single image 2023-08-10 17:24:48 +03:00
Adria Navarro 5b29e879a4 Fix dev when no pro loaded 2023-08-10 16:03:37 +03:00
Adria Navarro f6838631b0 Merge branch 'develop' into master-backmerge-20230810 2023-08-10 15:32:00 +03:00
mike12345567 d6da826c9f Further PR comments. 2023-08-10 11:07:25 +01:00
mike12345567 893aaa2bf2 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7108 2023-08-09 17:19:35 +01:00
mike12345567 a3a8d35b8d Adding logging of start, end and duration from automation logs. 2023-08-09 16:58:46 +01:00
mike12345567 2622fecd93 Quick fix. 2023-08-09 16:33:37 +01:00
mike12345567 63006e36d4 Adding the ability to disable an automation, as well making sure that automations have steps before running. 2023-08-09 16:24:57 +01:00
Adria Navarro 4f27197cce Add extra tests 2023-08-09 16:28:17 +03:00
Adria Navarro 3bf794c6ba Handle renames 2023-08-09 16:25:05 +03:00
Adria Navarro a17f81ffb3 Handle view schemas on external 2023-08-09 15:44:13 +03:00
Adria Navarro 1b9784013c Tables 2023-08-09 15:43:59 +03:00
Adria Navarro 082166d8f9 Typing table save 2023-08-09 15:43:53 +03:00
Adria Navarro dbbe9ff0ac Fix types 2023-08-09 14:08:54 +03:00
Adria Navarro a843385e79 Remove .only 2023-08-09 13:43:55 +03:00
Adria Navarro 865238a827 SyncSchema and tests 2023-08-09 13:43:13 +03:00
Adria Navarro 4c1747cce4 Handle view schema on table updates 2023-08-09 13:26:07 +03:00
Adria Navarro dcf26dd0cb Fix overriding viewv2 schemas 2023-08-09 12:53:08 +03:00
mike12345567 c18459d84d Updating trim view info test case. 2023-08-08 13:43:13 +01:00
mike12345567 0abd1deb34 Updating test cases, fixes based on running through view/row API. 2023-08-08 13:19:22 +01:00
mike12345567 2011e1693e PR comments. 2023-08-08 12:06:25 +01:00
mike12345567 a44a92dcc2 Merge branch 'develop' of github.com:Budibase/budibase into feature/view-api-merge 2023-08-08 11:42:04 +01:00
Andrew Kingston f6bbfe5e4e Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-08 09:29:35 +01:00
Adria Navarro c7cd6d8afd Merge branch 'develop' into BUDI-6785-update-to-node-18 2023-08-08 10:30:31 +03:00
Michael Drury 88edc9edf9 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-08-07 21:32:48 +01:00
mike12345567 986939b85d Fix for DS+ unable to patch rows correctly. 2023-08-07 17:44:44 +01:00
mike12345567 4c2e3a5489 Updating last remaining view perms to table perms. 2023-08-07 16:49:13 +01:00
mike12345567 41a9041268 PR fixes. 2023-08-07 16:36:28 +01:00
mike12345567 5e37d981da Merge branch 'develop' of github.com:Budibase/budibase into feature/view-api-merge 2023-08-07 16:22:19 +01:00
Adria Navarro af2fac6958 Fix overriding view v2 schema 2023-08-07 17:21:58 +03:00
Adria Navarro aadcd0ae13 Typing update table 2023-08-07 17:20:53 +03:00
Michael Drury 2ea45e1351 Merge branch 'master' into log/automation-id-with-execution 2023-08-07 15:03:38 +01:00
Adria Navarro a6ce7ac2ef Merge branch 'develop' into BUDI-6785-update-to-node-18 2023-08-07 14:56:53 +01:00
Andrew Kingston 935c0006c6 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-07 14:42:22 +01:00
Adria Navarro 4d2fef6b19 Fix types after merge 2023-08-07 15:33:50 +03:00
Adria Navarro f1739d9aa4 Merge branch 'develop' into BUDI-7189/change_query_format 2023-08-07 15:32:55 +03:00
Adria Navarro 81749468e2 Merge branch 'develop' into BUDI-6785-update-to-node-18 2023-08-07 13:28:55 +01:00
Martin McKeaveney b7810f915e fix lint 2023-08-07 12:55:28 +01:00
Adria Navarro 74678e7248 Merge branch 'develop' into BUDI-7189/search_pagination 2023-08-07 12:55:26 +01:00
Andrew Kingston d5cfc5f53a Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-07 12:52:43 +01:00
Adria Navarro 12d6911ae3 Update docker images to 18.x 2023-08-07 14:38:16 +03:00
Martin McKeaveney 14785ca49d move to info log line 2023-08-07 12:36:19 +01:00
Adria Navarro 516e2ff09a Merge branch 'develop' into BUDI-6785-update-to-node-18 2023-08-07 12:32:20 +01:00
Adria Navarro 8d3919cdf5 Merge branch 'develop' into BUDI-7189/type_search 2023-08-07 12:26:46 +01:00
Adria Navarro c6fba3a827 Fix types 2023-08-07 14:16:23 +03:00
Adria Navarro 98a5d36d57 Merge branch 'develop' into BUDI-7189/change_query_format 2023-08-07 11:52:08 +01:00
Adria Navarro 77568af704 Change filter query to store the expected shape 2023-08-07 13:14:18 +03:00
Martin McKeaveney ac5ce13f80 debug log for automation ID 2023-08-07 10:59:42 +01:00
Martin McKeaveney 12d5f0109d Merge branch 'master' into develop 2023-08-07 09:24:10 +01:00
Adria Navarro 39d099b443 Handle and test pagination 2023-08-07 10:49:04 +03:00
Adria Navarro 497943930e Rename 2023-08-07 09:22:39 +03:00
mike12345567 ec761c2387 Building out public API for role assignment and un-assignment - need to flesh out pro component. 2023-08-04 18:01:45 +01:00
mike12345567 a8af298ef5 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7108 2023-08-04 17:20:51 +01:00
mike12345567 a1d85a831c Some quick modifications to allow the views to go through the standard row CRUD, the view search is still separate for now however this may change. 2023-08-04 16:58:40 +01:00
Adria Navarro 250505a19b Add limit on request 2023-08-04 18:41:49 +03:00
Adria Navarro 4f08f900ed Type view search 2023-08-04 18:38:07 +03:00
Adria Navarro 259bb3cdc2 Merge branch 'develop' into BUDI-7189/type_search 2023-08-04 16:23:07 +01:00
Adria Navarro 4d74a6615f Fix types 2023-08-04 18:22:33 +03:00
mike12345567 a2667c6d72 Removing the ability to set roles, builder and admin structure through basic public API. 2023-08-04 15:43:02 +01:00
Andrew Kingston 938a5a445f Add multi dev collab for viewV2 definitions 2023-08-04 15:04:58 +01:00
melohagan ece1c421fa Fix/formula as display (#11439)
* Allow formulas to be display columns in the grid

* Ensure SQL Server always has a sort order
2023-08-04 13:53:30 +01:00
Adria Navarro d3470dfcb0 Fix imports 2023-08-04 12:00:25 +03:00
Mel O'Hagan 20f71fadd3 Refactor 2023-08-03 18:52:55 +01:00
Mel O'Hagan 8c61359b9d Allow user specified type casting in MySQL queries 2023-08-03 17:23:15 +01:00
Adria Navarro 464ba92b47 Fix tests 2023-08-03 14:32:03 +03:00
Adria Navarro 227ac9dd88 Merge branch 'BUDI-7189/search_pagination' into BUDI-7189/type_search 2023-08-03 14:23:59 +03:00
Adria Navarro cb59a2fc9b Type search request 2023-08-03 05:16:10 +02:00
Adria Navarro a91ce15c9b Move interface SearchParams to types 2023-08-03 05:14:50 +02:00
Adria Navarro d28120de3a Make search a post request 2023-08-03 04:58:37 +02:00
Andrew Kingston 858a0796bd Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-02 14:50:40 +01:00
Adria Navarro b69943c074 Move tests 2023-08-02 15:13:43 +02:00
Adria Navarro e8b2a074d0 Merge branch 'develop' into BUDI-7189/add_primary_column 2023-08-02 13:49:18 +01:00
Adria Navarro 14e0396857 Merge branch 'develop' into chore/fix_build_issues 2023-08-02 13:35:03 +01:00
Adria Navarro e11279311d Add tests 2023-08-02 13:37:58 +02:00
Adria Navarro a3a1e29350 Handle undefineds 2023-08-02 13:37:36 +02:00
Adria Navarro 398cf99b4f Handle primaryDisplay on controller 2023-08-02 13:17:20 +02:00
Adria Navarro 1ef8d118cb Remove unnecessary package.json/gitHead 2023-08-02 12:04:54 +02:00
Adria Navarro fcba916f0c Add bail in jest 2023-08-02 11:25:52 +02:00
Adria Navarro acd9d8ae54 Fix test issues 2023-08-02 10:22:42 +02:00
Adria Navarro c279849340 Fix orders on server/worker 2023-08-02 10:17:58 +02:00
Adria Navarro 4b5751003f Revert "Remove composite"
This reverts commit f9115f1554bbadadc3a0ef91d00d170fa05e45b6.
2023-08-01 19:23:48 +02:00
Adria Navarro 5347504c12 Fix nodemon watch 2023-08-01 19:23:31 +02:00
Adria Navarro 250a4e890f Remove composite 2023-08-01 19:23:23 +02:00
mike12345567 8c2d0f594c Quick fix for utilising a hyphen in a Postgres schema - this needed to be escaped correctly. 2023-08-01 18:18:53 +01:00
Adria Navarro e011ccd0c4 Merge branch 'develop' into chore/typecheck_tests 2023-08-01 16:49:06 +01:00
mike12345567 7871bedb25 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-08-01 15:27:38 +01:00
Adria Navarro 130ab97368 Merge branch 'develop' into chore/typecheck_tests 2023-08-01 14:27:40 +01:00
Andrew Kingston bb810e14d7 Fix issue with order 0 being ignored 2023-08-01 14:24:06 +01:00
Andrew Kingston cb01768e5a Fix crash when schemaNonUI does not exist 2023-08-01 14:18:12 +01:00
Andrew Kingston cb78788bdb Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-01 14:12:03 +01:00
Adria Navarro 67baa56cbf Skip flaky test 2023-08-01 14:40:47 +02:00
mike12345567 b32ed151a1 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-08-01 13:11:45 +01:00
Adria Navarro 559f52d904 Lint 2023-08-01 13:36:38 +02:00
mike12345567 4e1aa4fbbd Final PR comment. 2023-08-01 12:33:59 +01:00
Adria Navarro ff7120cf7a Fix types on tests 2023-08-01 12:57:44 +02:00
Adria Navarro c6c1450d06 Fixe types 2023-08-01 12:52:12 +02:00
Adria Navarro f4675aab6e Fix import 2023-08-01 12:52:12 +02:00
Adria Navarro b3a110e609 Run tests checks for server 2023-08-01 12:52:12 +02:00
Adria Navarro 44e028b574 Fix test 2023-08-01 12:26:37 +02:00
Adria Navarro 2cc924f9e7 Fix tests 2023-08-01 12:08:40 +02:00
Adria Navarro 76cacfaff0 Clean code 2023-08-01 12:03:43 +02:00
Adria Navarro 624dc5ff26 Merge branch 'develop' into BUDI-7189/split_fields_and_ui 2023-08-01 11:59:18 +02:00
mike12345567 dce38908c9 PR comments (backend). 2023-08-01 10:56:47 +01:00
Andrew Kingston fb510f70e2 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-01 10:52:26 +01:00
Adria Navarro c425194a85 Check schemas on patch 2023-08-01 11:38:36 +02:00
Adria Navarro d440291ebc Throw exception when updating non ui fields 2023-08-01 11:31:58 +02:00
Adria Navarro bce75c91a6 Persist only UI schema overrides 2023-08-01 10:57:03 +02:00
Adria Navarro b528257bbe Change viewrequest to accept schema 2023-08-01 10:45:00 +02:00
mike12345567 fc01ac4f71 Quick fix for application.spec.ts - didn't specify user properly. 2023-07-31 19:04:17 +01:00
Adria Navarro 73ded07484 Fix tests 2023-07-31 17:23:34 +02:00
Adria Navarro 1b2ce184d9 Fix types 2023-07-31 17:22:10 +02:00
Adria Navarro da6136a108 Enrich schema using the new data 2023-07-31 17:15:51 +02:00
Adria Navarro 76e836ca55 Test deleting multiple rows 2023-07-31 16:37:24 +02:00
Adria Navarro 3335c86a84 Delete row from view 2023-07-31 16:14:14 +02:00
Adria Navarro d1ad443d18 Patch 2023-07-31 15:41:13 +02:00
Adria Navarro b43f921253 Test middlewares 2023-07-31 15:26:01 +02:00
Adria Navarro 1d13b49e86 Fix middleware usage 2023-07-31 14:16:38 +02:00
Adria Navarro b3b4a6a177 Test noViewDataMiddleware 2023-07-31 14:14:59 +02:00
Adria Navarro d8df917772 More tests 2023-07-31 14:08:31 +02:00
Adria Navarro 525052ce7e Unhappy path tests 2023-07-31 13:34:57 +02:00
Adria Navarro 70cd44ba2a More tests 2023-07-31 13:24:08 +02:00
Adria Navarro 30c3c6e5ad Test middlewate 2023-07-31 13:17:54 +02:00
Andrew Kingston fdfedfdd92 Fix websocket error 2023-07-31 11:21:11 +01:00
Adria Navarro eaa7d9bf81 trimViewRowInfo middleware and api test 2023-07-31 12:03:03 +02:00
Adria Navarro 5052f2cd68 Fix 2023-07-31 11:22:12 +02:00
Adria Navarro 97f7629345 Renames 2023-07-31 10:50:33 +02:00
Adria Navarro 4c11a6593c Add sdk trim view fields 2023-07-31 10:43:45 +02:00
Adria Navarro 0f540e669c Types 2023-07-31 10:39:12 +02:00
Adria Navarro 7a9a997d73 Use middleware for checks 2023-07-31 10:38:31 +02:00
Adria Navarro 5cfddabac7 Move row view controllers in their own file 2023-07-31 10:21:44 +02:00
Adria Navarro 752e901b3d Don't allow saving _viewId on row.patch 2023-07-31 09:58:49 +02:00
Adria Navarro ed256242c8 Don't allow saving _viewId on row.create 2023-07-31 09:54:20 +02:00
Andrew Kingston 0c72d08763 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-07-31 08:43:11 +01:00
Andrew Kingston 8204935dfa Add ability to update views, create views with existing filters and sorting applied 2023-07-30 12:49:07 +01:00
mike12345567 8522cb94d3 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-28 17:10:43 +01:00
mike12345567 7b9f86d7ea Fix found by authorized test case. 2023-07-28 17:06:53 +01:00
Adria Navarro d5533c00d6 Fix workerIdleMemoryLimit usage 2023-07-28 18:03:03 +02:00
Adria Navarro 51a1d1c183 Add force exists 2023-07-28 18:03:03 +02:00
Adria Navarro e2758d3da1 Remove it.only( 2023-07-28 18:03:03 +02:00
Adria Navarro 712732f795 Run in band? 2023-07-28 18:03:03 +02:00
Adria Navarro e5ceaf8ffd Add 2gb limit 2023-07-28 18:03:03 +02:00
Adria Navarro 42b14fe712 Add workerIdleMemoryLimit 2023-07-28 18:03:03 +02:00
Adria Navarro 2e1903f955 Log 2023-07-28 18:03:03 +02:00
Adria Navarro f82c10782f Log heap usage 2023-07-28 18:03:03 +02:00
Adria Navarro 0f75660808 Attempt different commands 2023-07-28 18:03:03 +02:00
Adria Navarro e71ec971a0 workerIdleMemoryLimit server at 50% 2023-07-28 18:03:03 +02:00
Adria Navarro c7b0960bb3 Make use of workerIdleMemoryLimit 2023-07-28 18:03:03 +02:00
Adria Navarro d8c2499c15 Fix automation issues 2023-07-28 18:03:03 +02:00
Adria Navarro b9820f94e6 Import lodash modules 2023-07-28 17:11:48 +02:00
Adria Navarro 6d5eef4e42 Update 2023-07-28 17:11:48 +02:00
Adria Navarro 1ce9bffe40 Remove duplicated key 2023-07-28 17:11:48 +02:00
Adria Navarro 12b3eedc67 Remove ts-jest 2023-07-28 17:11:48 +02:00
Adria Navarro baf1c1ff07 Update swc deps 2023-07-28 17:11:48 +02:00
Adria Navarro 39ba4a544a Fix mocks 2023-07-28 17:11:48 +02:00
Adria Navarro 5f1565886f Unify jest 2023-07-28 17:11:48 +02:00
mike12345567 3798caf86d Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-28 16:08:38 +01:00
mike12345567 f6eaa610d0 App builders can't create apps anymore, removing this functionality. 2023-07-28 15:54:55 +01:00
mike12345567 72438f531d Update for worker, get builder endpoints working for app builders. 2023-07-28 15:39:59 +01:00
mike12345567 1403bf26c6 Quick fixes based on raising PR, types and tests. 2023-07-28 13:58:20 +01:00
mike12345567 d62b2bdbe0 switching to global builder role for plugin API, dis-allowing per app builders to delete apps and updating UI to reflect these updates. 2023-07-27 18:09:30 +01:00
mike12345567 d8f50f139e Frontend update for app builders, handling when in the builder portal and don't have any app access, as well as allowing viewing of apps from the portal. 2023-07-27 17:52:56 +01:00
Andrew Kingston aef9ff06af Disable component validation for old app imports 2023-07-27 16:09:38 +01:00
mike12345567 ba9a3a6caf Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-27 11:13:04 +01:00
mike12345567 c2793ede4c Properly supporting the new global builder permission type to deny access to app creation. 2023-07-26 17:48:35 +01:00
mike12345567 64a5426d36 Updates to remove app builder concept, denying access to app creation for app builders. 2023-07-26 17:32:21 +01:00
Adria Navarro f02dee7806 Merge branch 'develop' into BUDI-7189/type_patching 2023-07-26 16:58:02 +01:00
Adria Navarro 2457bf1b37 Extract external getrow to sdk 2023-07-26 16:03:14 +02:00
mike12345567 62ace8a3ab Merge branch 'master' of github.com:Budibase/budibase into develop 2023-07-26 14:42:05 +01:00
mike12345567 c277b065db Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-26 14:40:17 +01:00
mike12345567 8253ad0a2e Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-26 14:24:29 +01:00
Adria Navarro 508e30edae Fix sdk refs 2023-07-26 14:54:59 +02:00
Adria Navarro b0af0a287e Remove view tests 2023-07-26 14:53:51 +02:00
Adria Navarro 11f0569446 Move row.validate to the sdk 2023-07-26 14:12:58 +02:00
Michael Drury 08b3d49bce Merge pull request #11366 from Budibase/fix/falsey-composite-keys
Fix for falsey composite keys
2023-07-26 12:58:29 +01:00
Adria Navarro af933bd158 More types 2023-07-26 13:55:02 +02:00
Adria Navarro f0f68f10d8 Add tests 2023-07-26 13:55:02 +02:00
Adria Navarro 97dcd3fb0a Add patch view test 2023-07-26 13:55:02 +02:00
Adria Navarro 77c2ce590c Use test api for patch 2023-07-26 13:55:02 +02:00
Adria Navarro f6e6243c81 Type patch 2023-07-26 13:55:02 +02:00
Adria Navarro b69e18ab70 Return _viewId when searching 2023-07-26 13:54:35 +02:00
Adria Navarro 2c6725404f Types 2023-07-26 13:54:35 +02:00
Adria Navarro de0f3f7463 Merge branch 'develop' into backmerge-master-20230726 2023-07-26 12:50:52 +01:00
mike12345567 f2abcf581f Fixing issue with falsey composite keys, if one of the values used for a composite key is say an empty string, or a zero it would not be added to the _id field, stopping the field from being retrievable. 2023-07-26 12:31:46 +01:00
Adria Navarro 2e54b40d55 Build backend-core before dev script 2023-07-26 12:48:33 +02:00
Adria Navarro aeeb69d80e Merge pull request #11352 from Budibase/BUDI-7189/return_default_row_data
Return default row data
2023-07-26 11:29:24 +01:00
Adria Navarro 17b394dba9 Increase timeouts 2023-07-26 12:12:32 +02:00
Adria Navarro d07f840559 Increase timeouts 2023-07-25 22:15:45 +02:00
Adria Navarro 1512ecd939 Merge pull request #11349 from Budibase/BUDI-7189/update_view_endpoint
Add endpoint to update views 2.0
2023-07-25 19:04:36 +01:00
Adria Navarro 3ce92e8034 Implement and test external field selector 2023-07-25 19:48:46 +02:00
Adria Navarro 67f502579e Test schema 2023-07-25 19:48:46 +02:00
Adria Navarro 3c28d112b5 Add internal sdk tests 2023-07-25 19:48:46 +02:00
Adria Navarro d93c99b947 Return data when schema is defined 2023-07-25 19:48:46 +02:00
Adria Navarro b2e0384f8a Check ui path vs body 2023-07-25 19:46:46 +02:00
Adria Navarro 783e8a5b08 Change url to include the id 2023-07-25 19:34:52 +02:00
Dean 211bab4cf6 Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-25 16:18:05 +01:00
Andrew Kingston a1fe1150ab Merge pull request #11334 from Budibase/cheeks-fixes
Prevent parentheses in query names
2023-07-25 16:13:03 +01:00
Dean 85d3980bdc PR Feedback 2023-07-25 15:47:25 +01:00
Dean a5b81558b9 Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-25 15:42:01 +01:00
Adria Navarro 9235afb5d9 Test updating v1 2023-07-25 15:49:32 +02:00
Adria Navarro 6e24bf41df More tests 2023-07-25 15:41:04 +02:00
Adria Navarro 97957e96bd Update test 2023-07-25 15:35:48 +02:00
Adria Navarro 2412056292 Update basic test 2023-07-25 15:34:25 +02:00
Adria Navarro 29bc87a47f Update view endpoint 2023-07-25 15:33:49 +02:00
Rory Powell 7236fb8141 Merge pull request #11305 from Budibase/feature/offline-license-master
Cherry-pick: Offline Licensing
2023-07-25 11:38:58 +01:00
Adria Navarro c9dc4006a1 Merge branch 'BUDI-7189-views-v2' into BUDI-7189/return_columns_based_on_schema 2023-07-24 16:47:46 +02:00
Adria Navarro 76d32b40fd Merge pull request #11286 from Budibase/BUDI-7189/create_view_schema_endpoint
Return schema from table endpoint
2023-07-24 15:42:03 +01:00
Adria Navarro 7465c04799 Fix controller 2023-07-24 16:35:22 +02:00
Adria Navarro c870039416 Refactor plus selector 2023-07-24 16:29:49 +02:00
Adria Navarro 5bd149f66f Use sdk to populate views 2023-07-24 16:13:15 +02:00
Adria Navarro 1cf4e6e85a Return full object from search 2023-07-24 16:13:15 +02:00
Adria Navarro 9cf401162b Add views 2023-07-24 16:13:15 +02:00
Adria Navarro d1d86b6803 Filter on the sdk 2023-07-24 16:13:15 +02:00
Adria Navarro 2186b0407a Honor schema on view search 2023-07-24 16:13:15 +02:00
Adria Navarro c58b145afd Test sdks 2023-07-24 16:12:42 +02:00
Adria Navarro d8b801e647 Remove wrong describe 2023-07-24 16:04:54 +02:00
Dean 0d8d96b911 PR Feedback 2023-07-24 15:03:13 +01:00
Adria Navarro 77a004f19a Remove wrong describe 2023-07-24 16:02:59 +02:00
Adria Navarro ff57b982f8 Move enrich view schemas to view sdk 2023-07-24 15:57:17 +02:00
Adria Navarro dceb51a08d Skip table order if defined on view 2023-07-24 15:17:05 +02:00
Adria Navarro 8e904cea13 Set order to the tests 2023-07-24 15:17:05 +02:00
Adria Navarro 0f53fa14ad Undo not required changes 2023-07-24 15:17:05 +02:00
Adria Navarro 559cb3d9e0 Test sdk calls 2023-07-24 15:17:05 +02:00
Adria Navarro 810bb41547 Add sdk tests 2023-07-24 15:17:04 +02:00
Adria Navarro d2020fd6bc Move enrich views to sdk 2023-07-24 15:17:04 +02:00
Adria Navarro 396c4ad439 Use new table schema 2023-07-24 15:17:04 +02:00
Adria Navarro ed02aa4d8b Enrich view schemas 2023-07-24 15:17:04 +02:00
Adria Navarro a65e69e614 Add tests 2023-07-24 15:17:04 +02:00
Adria Navarro 3f2fa1a8dc Remove view endpoint 2023-07-24 15:17:04 +02:00
Adria Navarro 22dd218b1a Fetch schema 2023-07-24 15:17:04 +02:00
Adria Navarro 30138570d5 Typex 2023-07-24 15:17:04 +02:00
Adria Navarro 5fa7972564 Test returning views 2023-07-24 15:17:04 +02:00
Adria Navarro 46cb7c7117 Table tests to ts 2023-07-24 15:17:04 +02:00
Adria Navarro d12d6f5bef Add tests 2023-07-24 15:17:04 +02:00
Adria Navarro c747881d73 Allow selecting certain columns 2023-07-24 15:17:04 +02:00
Adria Navarro f3f0ee0959 Return view schema endpoint 2023-07-24 15:17:04 +02:00
Adria Navarro 7d84deea1a Fix return code 2023-07-24 15:16:31 +02:00
Adria Navarro 1760980aad Allow overriding default sort 2023-07-24 15:16:31 +02:00
Adria Navarro 4e646bb463 Only ui metadata fields 2023-07-24 15:15:44 +02:00
Adria Navarro e068e62eb1 Change view columns for schema 2023-07-24 15:15:44 +02:00
Adria Navarro fbccec64c7 Renames 2023-07-24 15:15:44 +02:00
Adria Navarro 56e6d48ec7 Remove :tableid from view create 2023-07-24 15:15:44 +02:00
Adria Navarro 6d973ce99a Infer table on search 2023-07-24 15:15:44 +02:00
Adria Navarro 36b82681ff Remove tableid from remove view url 2023-07-24 15:15:44 +02:00
Adria Navarro fc831db06b Store ids containing table info 2023-07-24 15:15:44 +02:00
Adria Navarro ff3bbf6217 Allow ViewV2 types 2023-07-24 15:15:44 +02:00
Adria Navarro ac0ae34808 Fix search 2023-07-24 15:15:44 +02:00
Adria Navarro 21e17053c6 Don't persist the view as doc 2023-07-24 15:15:44 +02:00
Adria Navarro d6121d1504 Remove fetch view 2023-07-24 15:15:44 +02:00
Adria Navarro 56ee61d76c Remove get from delete tests 2023-07-24 15:15:44 +02:00
Adria Navarro 76f89e10d3 Create/delete, save to table 2023-07-24 15:15:44 +02:00
Adria Navarro b82876b147 Remove view fetch logic 2023-07-24 15:15:44 +02:00
Adria Navarro 49980dadf1 Fix merge conflicts 2023-07-24 15:15:43 +02:00
Adria Navarro 516b5691e8 DRY 2023-07-24 15:15:43 +02:00
Adria Navarro 582e0eb1dd Use types 2023-07-24 15:15:43 +02:00
Adria Navarro 12891456de Fix test 2023-07-24 15:15:43 +02:00
Adria Navarro 28f4aef07f Persist columns in views 2023-07-24 15:15:43 +02:00