Commit Graph

20710 Commits

Author SHA1 Message Date
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
Andrew Kingston 1ddd0bca21 Allow configuring access for views 2023-08-15 16:32:36 +01:00
mike12345567 cb49906d36 Updating pro reference. 2023-08-15 15:55:56 +01:00
Andrew Kingston b53f61228c Throw error when attempting to fetch an individual row from a view 2023-08-15 15:47:26 +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
Peter Clement 9ac5f60338 fix column alignment for first column in table 2023-08-15 11:55:33 +01:00
Andrew Kingston 123be842fb Update deleting rows from views 2023-08-14 16:20:16 +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
Andrew Kingston 6a7e0d2d31 Refresh view data when showing hidden columns in order to populate new cells 2023-08-14 15:58:14 +01:00
Andrew Kingston 1382290116 Merge branch 'views-v2-frontend' of github.com:Budibase/budibase into views-v2-frontend 2023-08-14 12:52:36 +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
Andrew Kingston a7b37a4550 Fix trimming extra view fields and ensure empty views allow nothing 2023-08-14 12:04:36 +01:00
Andrew Kingston d1b3d033dd Fix table resetting state more often than desired 2023-08-14 11:50:30 +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
Peter Clement 9fe02e7963 Merge remote-tracking branch 'origin/develop' into fix/new-column-popover-fixes 2023-08-14 09:28:06 +01:00
Dean a2d4efbafd Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-14 09:05:42 +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
Dean 29c8dbd94a Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-11 14:20:25 +01:00
Dean 8d4bb0e5fd A 2023-08-11 14:19:54 +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
Andrew Kingston a671a85c46 Add WIP updates for view endpoint updates 2023-08-11 13:17:10 +01:00
Andrew Kingston dcb238251e Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-11 12:12:56 +01:00
Peter Clement 6b75a653f8 focus input when popover opens 2023-08-11 12:00:33 +01:00
Peter Clement f7c1db5926 focus input when popover opens 2023-08-11 11:59:40 +01:00
Mel O'Hagan 1730b26489 Merge branch 'develop' into budi-6298-change-form-step-should-support-bindings 2023-08-11 07:43:40 +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
Dean 9d255c2213 Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-10 15:58:56 +01:00
Adria Navarro 65e5e40963 Fix python installation in server docker and single image 2023-08-10 17:24:48 +03:00
Dean 8d86e2e5dd Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-10 14:50:46 +01: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
Adria Navarro b4615af979 Update pro ref 2023-08-10 14:26:33 +03:00
Adria Navarro 5c66a10f36 Update pro ref 2023-08-10 14:19:01 +03:00
mike12345567 d6da826c9f Further PR comments. 2023-08-10 11:07:25 +01:00
Michael Drury 567d9eeafe Merge branch 'develop' into feature/view-api-merge 2023-08-10 11:04:56 +01:00
Adria Navarro 90e9263dc7 Update pro ref 2023-08-10 13:00:02 +03:00
Adria Navarro f226d7d093 Update package.json 2023-08-10 10:07:05 +01:00
Martin McKeaveney 35d349de9e self host banner 2023-08-09 18:00:44 +01:00
mike12345567 893aaa2bf2 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7108 2023-08-09 17:19:35 +01:00
Michael Drury f7d94e1864 Merge branch 'master' into fix/automation-disable 2023-08-09 17:13:14 +01:00
mike12345567 a3a8d35b8d Adding logging of start, end and duration from automation logs. 2023-08-09 16:58:46 +01:00
Andrew Kingston 5188abe4e5 Strip hidden fields from viewsV2 in design section 2023-08-09 16:39:23 +01:00
mike12345567 2622fecd93 Quick fix. 2023-08-09 16:33:37 +01:00
Andrew Kingston 7a40ad66c6 Strip hidden fields from viewV2 schema in client lib 2023-08-09 16:30:27 +01:00
Michael Drury b1e25939f5 Merge branch 'develop' into BUDI-7189/handle_tableschema_changes_on_views 2023-08-09 16:28:50 +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
Andrew Kingston 08b348c1d4 Allow selecting viewV2s for grid blocks and form blocks 2023-08-09 16:22:12 +01:00
Adria Navarro 9e6bfaa958 Merge branch 'develop' into backmerge-20230809 2023-08-09 17:36:31 +03:00
Adria Navarro 9734776953 Add required nx dependencies 2023-08-09 17:20:36 +03:00
Andrew Kingston 06810d43d9 Add support for viewV2 datasources in client library 2023-08-09 15:09:53 +01:00
Adria Navarro b441cbe3ec Include all dist 2023-08-09 17:06:05 +03:00
Adria Navarro 4c7dfc978e Whitelist .npmignore from backend-core 2023-08-09 16:41:44 +03:00
Adria Navarro 90398ced3e Tweak types npm content 2023-08-09 16:37:31 +03:00
Adria Navarro bfdb785436 Tweak shared-core content to exclude src 2023-08-09 16:36:14 +03: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
mike12345567 f55aed2ee5 Adding NPM ignore files so that doesn't default to the .gitignore when publishing to NPM. 2023-08-09 13:31:30 +01:00
Adria Navarro dbbe9ff0ac Fix types 2023-08-09 14:08:54 +03:00
Adria Navarro 63bb989564 Merge branch 'develop' into BUDI-7189/handle_tableschema_changes_on_views 2023-08-09 13:47:44 +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
mike12345567 33257db010 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-08-09 11:39:46 +01: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
Adria Navarro fe9bc8021f Merge branch 'master' into chore/build_packages_via_esbuild 2023-08-09 12:39:12 +03:00
melohagan a5fb25e41e Allow null for firstName and lastName (#11482) 2023-08-09 10:38:04 +01:00
Adria Navarro 32e09cf131 Lint 2023-08-09 12:13:38 +03:00
Adria Navarro c21da4fbd3 Consume packages from builder 2023-08-09 11:40:54 +03:00
Mel O'Hagan 460789bef4 Parse specific step as int 2023-08-09 08:51:32 +01:00
Adria Navarro da87b28155 Clean nx deps 2023-08-08 19:39:32 +03:00
Adria Navarro 8e655dae66 Fix path 2023-08-08 19:36:36 +03:00
Adria Navarro b91677f0ce Fix declarations 2023-08-08 19:33:57 +03:00
Mel O'Hagan 22b456da5e Allow form step to be bindable 2023-08-08 17:13:40 +01:00
Adria Navarro 93654907c3 Bundle bb dependencies in backend-core 2023-08-08 19:08:57 +03:00
Adria Navarro 5ae100d4cc Remove unneeded nx deps 2023-08-08 18:58:50 +03:00
Adria Navarro bc5b4297a5 Backend-core via esbuild 2023-08-08 18:56:07 +03:00
Adria Navarro b882a64ad7 Shared-core via esbuild 2023-08-08 18:45:02 +03:00
Adria Navarro 0bc7a647df Types via esbuild 2023-08-08 18:42:39 +03:00
Mel O'Hagan 00e6a43e3e Form step and field group require form 2023-08-08 16:39:05 +01: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
Andrew Kingston 4db33b9d75 Enable pagination on views 2023-08-08 13:13:27 +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
Andrew Kingston a72c94426f Hydrate view filters and allow filter changes to be saved to views 2023-08-08 09:29:05 +01:00
Dean db6e4daaf8 Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-08 09:22:49 +01:00
Dean 211d8cdda6 Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-08 09:14:16 +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
Michael Drury f6c992964e Fixing issue with CLI build, removing some old cjs exports that shouldn't be there. 2023-08-07 21:31:55 +01:00
mike12345567 cb1cec2774 Fixing pkg built CLI after using esbuild. 2023-08-07 20:21:36 +01:00
mike12345567 4d0c7e56e1 Utilising esbuild for the CLI to bundle in backend-core and types as required. 2023-08-07 19:03:23 +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 b7dd40eb6a Update view search to be called as a post 2023-08-07 17:21:36 +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 206be7e8a1 Update pro ref 2023-08-07 15:36:56 +03: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 540f68c540 Merge branch 'develop' into BUDI-7189/change_query_format 2023-08-07 12:30:07 +01:00
Adria Navarro 9c621723a7 Merge branch 'develop' into BUDI-7189/type_search 2023-08-07 12:29:21 +01:00
mike12345567 d956738cd4 Reverting pro reference to develop. 2023-08-07 12:28:17 +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
Adria Navarro f0bcd3d679 Update pro ref 2023-08-07 12:59:03 +03:00
mike12345567 1dc5f039b9 Updating pro reference. 2023-08-07 10:17:01 +01:00
Martin McKeaveney 12d5f0109d Merge branch 'master' into develop 2023-08-07 09:24:10 +01:00
Adria Navarro 74287370df Move filter types to types 2023-08-07 11:18:36 +03: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
melohagan 3097c9162f Fix for app action fields and don't clone testData (#11441) 2023-08-04 16:25:14 +01: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 7aa5211d87 Fix grid block 2023-08-04 15:40:46 +01:00
Andrew Kingston 9652356ee0 Improve sanity checking of valid datasources to prevent erroneous API calls 2023-08-04 15:26:06 +01:00
Andrew Kingston dd4b304736 Fix creating views 2023-08-04 15:20:30 +01:00
Andrew Kingston ef4ff87d8a Remove filter button on views for now 2023-08-04 15:17:30 +01:00
Andrew Kingston 8a9db6d8de Remove log 2023-08-04 15:15:43 +01:00
Andrew Kingston ffe82e18e9 Remove log 2023-08-04 15:07:44 +01:00
Andrew Kingston 938a5a445f Add multi dev collab for viewV2 definitions 2023-08-04 15:04:58 +01:00
Andrew Kingston 0a87e3502e Fix other user selection state for viewV2s 2023-08-04 14:58:12 +01:00
Andrew Kingston cd2231630f Improve updating of viewV2 state and restore grid<>builder sync for datasource definitions 2023-08-04 14:54:45 +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
Andrew Kingston fcbeaedf55 Merge branch 'develop' into BUDI-7189/type_search 2023-08-04 11:48:06 +01:00
Andrew Kingston 46f16764db Fix initial sorting state for tables and memoize sorting store to avoid loops 2023-08-04 11:47:06 +01:00
Dean 79c9535659 Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-04 11:31:50 +01:00
Andrew Kingston c4bd025011 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-04 11:16:46 +01:00
Adria Navarro d3470dfcb0 Fix imports 2023-08-04 12:00:25 +03:00
Andrew Kingston 4c26abc83d Fix reactivity bug with normal user app list 2023-08-04 08:41:04 +01:00
Mel O'Hagan 20f71fadd3 Refactor 2023-08-03 18:52:55 +01:00
Mel O'Hagan 057761fdd9 Update filters types with schemaFields 2023-08-03 18:13:51 +01:00
Mel O'Hagan 8c61359b9d Allow user specified type casting in MySQL queries 2023-08-03 17:23:15 +01:00
Andrew Kingston 19ca7e4a0a Fix issue with viewV2 renaming 2023-08-03 13:40:36 +01:00
Andrew Kingston f5e5a883cf Enable renaming views and lint 2023-08-03 13:31:44 +01:00
Andrew Kingston 3eeb945934 Split out logic for getting rows from datasources 2023-08-03 13:22:49 +01:00
Andrew Kingston d443bf3616 Split out more datasource specific logic 2023-08-03 13:18:58 +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
Andrew Kingston b00f3d2418 Remove log 2023-08-03 11:28:02 +01:00
Andrew Kingston 3e97e299bf Fix sorting for tables 2023-08-03 11:27:33 +01:00
Andrew Kingston e3cf0667be Refactor grid to split up stores and provide better separation of datasource-specific logic 2023-08-03 11:18:19 +01:00
Dean cb2a19620b Initial commit 2023-08-03 09:29:12 +01: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
jvcalderon 989bfe76fb Merge branch 'develop' into account-portal-auth-api-testing-2 2023-08-02 17:44:01 +02:00
Andrew Kingston a853e32ede Merge branch 'develop' into budi-7352-query-parameter-fields-dont-save-in-external-data-connector 2023-08-02 16:38:23 +01:00
Andrew Kingston ab47e49dd9 Update create view modal to only depend on grid context 2023-08-02 15:27:34 +01:00
Andrew Kingston 858a0796bd Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-02 14:50:40 +01:00
Andrew Kingston a00b02ee27 Merge branch 'develop' into plugin-improvements 2023-08-02 14:49:28 +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
Andrew Thompson b644f3efbc Merge branch 'develop' into budi-7352-query-parameter-fields-dont-save-in-external-data-connector 2023-08-02 13:40:54 +01:00
Adria Navarro 14e0396857 Merge branch 'develop' into chore/fix_build_issues 2023-08-02 13:35:03 +01:00
Andrew Kingston 44da0b4bab Merge branch 'develop' into plugin-improvements 2023-08-02 13:14:31 +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 3d2954e1d5 Add primary display 2023-08-02 13:09:37 +02:00
Andrew Thompson f3c821e8db Merge branch 'develop' into budi-7352-query-parameter-fields-dont-save-in-external-data-connector 2023-08-02 11:43:59 +01: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 7944f72820 Fix integration tests 2023-08-02 10:59:15 +02:00
Adria Navarro a2d7b0f777 Fix client order 2023-08-02 10:41:46 +02:00
andz-bb c372bb9a18 remove redundant cloneDeep 2023-08-02 09:35:42 +01:00
Adria Navarro b4eccc4163 Fix dev nx order 2023-08-02 10:30:54 +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 24d4ac2b5f Fix cli order 2023-08-02 10:12:41 +02:00
Adria Navarro 52940b87fb Fix build order 2023-08-02 10:07:03 +02:00
Adria Navarro bb861e45a8 Remove unnecessary nx dependencies for build 2023-08-02 10:02:39 +02:00
Adria Navarro 77a22470cb Use path for shared-core in backend-core 2023-08-02 09:59:14 +02:00
Adria Navarro 839f4f9545 Fix more ordering 2023-08-02 02:20:07 +02:00
Adria Navarro 6c60ea79dd Fix 2023-08-02 02:17:51 +02:00
Adria Navarro ec79f612bc Fix execution order 2023-08-02 02:16:27 +02:00
Adria Navarro 803c79fa55 Fix build 2023-08-02 01:57:13 +02:00
Adria Navarro 1df57261cd Update ref 2023-08-02 01:03:26 +02:00
Adria Navarro d5e614222d Undo changes 2023-08-02 01:02:22 +02:00
Adria Navarro 194e413026 Undo changes 2023-08-02 00:56:43 +02:00
Adria Navarro 4f723720fe Fix tsBuildInfoFile 2023-08-02 00:40:09 +02:00
Adria Navarro 3952cbc80c Undo adding plugin 2023-08-02 00:38:30 +02:00
Adria Navarro 89c89e648d Fix build 2023-08-02 00:25:24 +02:00
Adria Navarro 4281d2ca53 Build types and shared-core 2023-08-02 00:21:59 +02:00
Adria Navarro d104cc3a31 Update pro ref 2023-08-01 19:24:25 +02:00
Adria Navarro 064b15d823 Set plugin-commonjs in builder 2023-08-01 19:24:10 +02:00
Adria Navarro 4794cfce99 Unify rollup 2023-08-01 19:24:09 +02:00
Adria Navarro 367f5c2963 Update usage 2023-08-01 19:24:01 +02:00
Adria Navarro 9ab78809eb Clean package 2023-08-01 19:24:01 +02:00
Adria Navarro ddec3e9a9f Update plugins 2023-08-01 19:24:01 +02:00
Adria Navarro d310751fd3 Update rollup/plugin-commonjs 2023-08-01 19:23:55 +02:00
Adria Navarro c715e7aa3f Unify rollup/plugin-commonjs 2023-08-01 19:23:55 +02:00
Adria Navarro c59bfdb920 Remove unnecessary out folder 2023-08-01 19:23:48 +02:00
Adria Navarro 4b5751003f Revert "Remove composite"
This reverts commit f9115f1554bbadadc3a0ef91d00d170fa05e45b6.
2023-08-01 19:23:48 +02:00
Adria Navarro 012ab80176 Remove base 2023-08-01 19:23:31 +02:00
Adria Navarro da6f7938e5 Remove 2023-08-01 19:23:31 +02:00
Adria Navarro 5347504c12 Fix nodemon watch 2023-08-01 19:23:31 +02:00
Adria Navarro 50ca4de0f7 Remove cjs refs 2023-08-01 19:23:31 +02:00
Adria Navarro 8ec251aefb Remove unnecessary references 2023-08-01 19:23:31 +02:00
Adria Navarro 250a4e890f Remove composite 2023-08-01 19:23:23 +02:00
Adria Navarro 7e30047b3f Fix dev:builder 2023-08-01 19:22:59 +02:00
Adria Navarro f5131f673c Fix dev build 2023-08-01 19:22:59 +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
Andrew Thompson 5f084699d2 didn't mean to remove a line 2023-08-01 17:09:52 +01:00
Adria Navarro e011ccd0c4 Merge branch 'develop' into chore/typecheck_tests 2023-08-01 16:49:06 +01:00
Mitch-Budibase 0380068473 Merge branch 'develop' into account-portal-auth-api-testing-2 2023-08-01 16:46:27 +01:00
andz-bb 527426ddbb fix for saving external data connector query param values 2023-08-01 16:29:04 +01:00
mike12345567 ad42cfc6fb Linting. 2023-08-01 16:25:47 +01:00
Andrew Kingston 3482ec3d9e Add feature flags to view V2 fetch 2023-08-01 15:34:02 +01:00
Adria Navarro 7e8b3cdc30 Update pro ref 2023-08-01 16:28:40 +02: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 56f49150f7 Add nx dependency 2023-08-01 15:34:55 +02:00
Adria Navarro 130ab97368 Merge branch 'develop' into chore/typecheck_tests 2023-08-01 14:27:40 +01:00
Andrew Kingston d825c32fdf Hide access button for now 2023-08-01 14:25:16 +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
mike12345567 49e65c693e Update pro again. 2023-08-01 13:46:36 +01:00
Adria Navarro 67baa56cbf Skip flaky test 2023-08-01 14:40:47 +02:00
Adria Navarro e7c6724620 Ad nx dependency 2023-08-01 14:39:17 +02:00
Adria Navarro dc36829f7a Cache check:types 2023-08-01 14:25:52 +02:00
mike12345567 6ed80386b0 Update pro. 2023-08-01 13:20:48 +01:00
Adria Navarro 0687109224 Update refs 2023-08-01 14:20:39 +02:00
Adria Navarro 953aead95c Revert paths on tsconfig.build 2023-08-01 14:18:54 +02:00
Adria Navarro 0f9ae3fa66 Revert paths on tsconfig.build 2023-08-01 14:17:44 +02:00
Adria Navarro bf2f0b5c3a Sync posthog-node package 2023-08-01 14:16:37 +02:00
Adria Navarro 0449ba7a71 Change refs 2023-08-01 14:12:28 +02:00
mike12345567 b32ed151a1 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-08-01 13:11:45 +01:00
mike12345567 a71d2804c0 Update pro to develop. 2023-08-01 13:07:37 +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 672666d96b Check types 2023-08-01 13:26:04 +02:00
Adria Navarro 5bea5bf974 Check types 2023-08-01 13:24:55 +02:00
Adria Navarro 27517fc6c8 Update pro 2023-08-01 13:22:58 +02:00
Adria Navarro 9b9081d437 Check types on cli 2023-08-01 13:11:04 +02:00
Adria Navarro 8b693a6fa3 Check types on backend-core 2023-08-01 13:08:09 +02:00
Andrew Kingston 345f4308be Merge branch 'develop' into plugin-improvements 2023-08-01 11:58:18 +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 96c598688f Run tests checks for worker 2023-08-01 12:52:12 +02:00
Adria Navarro 202963c864 Fix type tests 2023-08-01 12:52:12 +02:00
mike12345567 a8ff2da768 Removing isAdmin and isBuilder flags from the auth store, using SDK only. 2023-08-01 11:30:04 +01:00
Adria Navarro 44e028b574 Fix test 2023-08-01 12:26:37 +02:00
Andrew Kingston 1d21b4260a Enable deleting rows through views 2023-08-01 11:21:22 +01:00
Andrew Kingston 9d2b31af54 Enable creating and updating rows through views 2023-08-01 11:16:10 +01: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 a8c2cf8c08 Disable collab for views 2023-08-01 10:54:01 +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
Andrew Kingston 60faa593a2 Merge branch 'develop' into BUDI-7189/crud_row_from_views 2023-08-01 10:38:52 +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
mike12345567 032d5b4f62 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-08-01 10:08:21 +01: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
Andrew Kingston 76eba52999 Animate popovers for header cells and adding columns 2023-08-01 09:25:06 +01:00
Andrew Kingston 0d65d34456 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-01 09:10:31 +01:00
Andrew Kingston b74fc5292c Merge branch 'develop' into plugin-improvements 2023-08-01 08:57:00 +01:00
Adria Navarro bf274d8132 Merge branch 'develop' into BUDI-6785-update-to-node-18 2023-07-31 22:20:55 +01:00
mike12345567 8bd8a1c174 Update pro. 2023-07-31 19:28:12 +01:00
mike12345567 fc01ac4f71 Quick fix for application.spec.ts - didn't specify user properly. 2023-07-31 19:04:17 +01:00
mike12345567 7a74ce98f1 Moving user functions in UserDB to fully static as none of the class properties ever change - simplifying currying. 2023-07-31 18:46:21 +01:00
Mitch-Budibase c18324c879 Merge branch 'develop' into account-portal-auth-api-testing-2 2023-07-31 18:02:15 +01:00
mike12345567 d93c0044a9 Update pro. 2023-07-31 17:33:39 +01:00
mike12345567 31f9693185 Quick update to SCIM now that user functionality is available from backend-core. 2023-07-31 17:10:27 +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 878e09cfb0 Change record 2023-07-31 17:04:32 +02:00
Adria Navarro 76e836ca55 Test deleting multiple rows 2023-07-31 16:37:24 +02:00
Peter Clement 2ee7cb008b Reworked Column Configuration in the data section (#11379)
* base work for using popover to create and edit columns

* more work to enable editing column in popover

* update styling of column type configs

* add new option picker component

* some updates to how the popover is opened and the new picker

* more updates to support the popover handling correctly

* update the popover to support a custom z index

* some styling around the colour picker

* update naming

* fix lint errors

* fix lint

* update filename

* incremental column numbers based on existing schema

* move func declaration

* add option color object to schema not constraints

* ux / pr comment updates

* undefined var

* fix issue with deleting option

* change background color

* update popove z-index
2023-07-31 14:28:11 +00:00
Adria Navarro 3335c86a84 Delete row from view 2023-07-31 16:14:14 +02:00
jvcalderon 17980d4bcc Merge account-portal-auth-api-testing 2023-07-31 16:09:45 +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
mike12345567 7ee4802af2 Linting. 2023-07-31 13:45:06 +01:00
mike12345567 52d05c2910 Making sure booleans returned from user role functions in shared core. 2023-07-31 13:37:01 +01:00
mike12345567 f18b9d7a70 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-31 13:24:23 +01: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 c0c5a57a99 Supress notification from form block delete row action if configured 2023-07-31 11:50:42 +01:00
Martin McKeaveney fafae64f4d Merge branch 'master' into app-validation-imports 2023-07-31 11:40:56 +01: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
Dean 889e771dc1 Merge remote-tracking branch 'origin/develop' into feature/frequency-histogram 2023-07-31 10:41:36 +01: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 bbe6741ffd Support plugins in block components 2023-07-30 13:07:14 +01:00
Andrew Kingston 0b2c6e531c Export Block and BlockComponent via SDK 2023-07-30 13:07:01 +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 5dc3623866 Remove workerIdleMemoryLimit from worker 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 e2ac7e3463 Fix minio usage 2023-07-28 18:03:03 +02:00
Adria Navarro d8c2499c15 Fix automation issues 2023-07-28 18:03:03 +02:00
mike12345567 3a211b8865 Some builder test cases, check the service type switch works as expected. 2023-07-28 16:50:44 +01:00
Adria Navarro 4e81deb8e6 Update pro ref 2023-07-28 17:11:48 +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 d332c30b58 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 5bbc919965 Remove ts-jest on backend-core 2023-07-28 17:11:48 +02:00
Adria Navarro 95f66ebd9d Fix types 2023-07-28 17:11:48 +02:00
Adria Navarro beaeff90cc Improve lodash imports 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 f061426b60 Fixing build issue. 2023-07-28 16:08:33 +01:00
Andrew Kingston 1aea6fce09 Fix grid import and export for tables 2023-07-28 16:02:31 +01:00
Andrew Kingston c7c9bd6563 Fix row deletion and fetching for tables 2023-07-28 16:01:18 +01:00
Andrew Kingston d83820b583 Fix adding rows 2023-07-28 15:57:35 +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
Adria Navarro e260a64388 Add heading 2023-07-28 15:35:51 +02:00
mike12345567 77f1bf1acf Reverting change from testing. 2023-07-28 14:02:02 +01:00
mike12345567 1403bf26c6 Quick fixes based on raising PR, types and tests. 2023-07-28 13:58:20 +01:00
mike12345567 454f832b75 Updates after running through tests, adding mocking of app builders feature for test cases to work. 2023-07-28 12:58:05 +01:00
Andrew Kingston 5c5015bbc3 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-07-28 12:56:32 +01:00
Dean d1bc7abeaa Merge remote-tracking branch 'origin/develop' into feature/frequency-histogram 2023-07-28 10:39:50 +01:00
Martin McKeaveney 1531ff710f fix gsheets onboarding 2023-07-27 23:35:13 +01:00
mike12345567 2080126da2 Final cleanup when running services. 2023-07-27 18:58:09 +01:00
mike12345567 c8712eda00 Fixing some missing functions. 2023-07-27 18:53:58 +01:00
mike12345567 7d978e0dec Making sure that if the app builders are updated through the API, they are ignored. 2023-07-27 18:50:45 +01:00
mike12345567 812f1af5ca Moving app builder API into pro, along with the changes involved with achieving this. 2023-07-27 18:46:55 +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
Andrew Kingston 9665ec34dd Adjust grid props and config 2023-07-27 15:53:50 +01:00
Andrew Kingston 24182b3f1b Fix refreshing table definition 2023-07-27 14:22:13 +01:00
Andrew Kingston deb4092cd3 Refactor grid stores and how config is handled 2023-07-27 14:17:26 +01:00
Dean 08ba1c8ccd Added a simple histogram to the supported chart types 2023-07-27 13:04:09 +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 cf375ee3da Fixing small frontend error. 2023-07-26 18:17:15 +01:00
mike12345567 eefac0fe08 Quick updates based on latest lerna version, as well as some fixes after running through flows (post refactoring). 2023-07-26 18:13:18 +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
Andrew Kingston c4e4b5c979 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-07-26 16:28:21 +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
Adria Navarro 292bb2ad62 _viewId instead of viewId 2023-07-26 15:31:44 +02:00
Andrew Kingston 2d3da0dfcf Fix null issues in view fetch, fix edit view popover, improve handling of nullish view params 2023-07-26 14:26:34 +01:00
mike12345567 8253ad0a2e Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-26 14:24:29 +01:00
Andrew Kingston 352b7ebe1c Add dedicated route for routes v1, improve view creation modal, fix selection state 2023-07-26 14:07:07 +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
Andrew Kingston 150961fcf2 WIP: split views into separate stores, fix datasource list, use unique data table for views V2 2023-07-26 13:23:31 +01: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 9bb1cfcc7a Add view id to row 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
mike12345567 43bfb943a3 Some fixes post testing. 2023-07-25 18:52:59 +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
mike12345567 66fbdfe4e8 Breaking out pro components back into the worker user SDK, and attempting to separate the pro components as much as possible from the user SDK itself, so that it can be easily re-created in other services. 2023-07-25 18:39:40 +01:00
Adria Navarro 783e8a5b08 Change url to include the id 2023-07-25 19:34:52 +02:00
mike12345567 90371b9d69 Refactoring users core to move into backend, allowing app builder endpoints to move into pro. 2023-07-25 17:48:57 +01:00
Dean 0c0190c7ca Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-25 17:17:49 +01:00
Rory Powell 4acbd55404 Merge develop 2023-07-25 16:54:00 +01: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 7b0b714bb5 Merge pull request #11338 from Budibase/fix/data-query-builder-binding
Stop data query binding drawer value from being cleared.
2023-07-25 16:13:49 +01:00
Andrew Kingston e022d9a22b Merge pull request #11337 from Budibase/fix/binding-panel
Fix builder crash when editing formula bindings
2023-07-25 16:13:16 +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
Andrew Kingston a188bf381c Merge pull request #11345 from Budibase/fix/nullish-popover-styles
Fix nullish check bug causing options fields to break on mobile sometimes
2023-07-25 16:12:47 +01:00
Andrew Kingston 8f859ccee4 Merge pull request #11346 from Budibase/fix/remove-unsupported-relationship-ux
Hide the 'Define Relationships' button when an integration does not support relationships
2023-07-25 16:12:33 +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
Rory Powell f028ba07f5 Update pro ref 2023-07-25 15:36:25 +01:00
Rory Powell 8590f865b5 Merge branch 'master' into merge-master 2023-07-25 15:32:16 +01:00
Adria Navarro 25d993cb95 Fix 2023-07-25 15:54:10 +02:00
Adria Navarro 54c3791b25 Use table endpoint for view schema 2023-07-25 15:54:10 +02:00
Adria Navarro 4c3bfdd8b2 Map datasource 2023-07-25 15:54:10 +02:00
Adria Navarro e0b91d5941 Use defaults 2023-07-25 15:54:10 +02:00
Adria Navarro b5dfc3ef68 Lint 2023-07-25 15:54:10 +02:00
Adria Navarro 426f63271b Fix redirect on delete 2023-07-25 15:54:10 +02:00
Adria Navarro 3a58aa624f Use new schema endpoint 2023-07-25 15:54:10 +02:00
Adria Navarro df40420470 On view created 2023-07-25 15:54:10 +02:00
Adria Navarro 0b17d6026a Fix delete 2023-07-25 15:54:10 +02:00
Adria Navarro 48e966d5d6 Fix fetch 2023-07-25 15:54:10 +02:00
Adria Navarro 2c1aae9705 Use full id 2023-07-25 15:54:10 +02:00
Adria Navarro a602dcc5ec Refactor after merge 2023-07-25 15:54:10 +02:00
Adria Navarro 1e9ce06504 Allow deleting views 2 2023-07-25 15:54:10 +02:00
Adria Navarro 16764e6634 Fetch 2023-07-25 15:54:10 +02:00
Adria Navarro a9cb838847 Fetch viewV2 2023-07-25 15:54:10 +02:00
Adria Navarro 37aed2d171 Navigate by id 2023-07-25 15:54:10 +02:00
Adria Navarro 701772ebd5 Setup api 2023-07-25 15:54:10 +02:00
Adria Navarro 82ea9a7cc1 Setup datasource type 2023-07-25 15:54:10 +02:00
Adria Navarro 9ccc54773d ViewV2 page 2023-07-25 15:54:10 +02:00
Adria Navarro 95faeea286 datasourceType setup 2023-07-25 15:54:10 +02: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
Dean f813a26ff0 packages/builder/src/components/backend/DataTable/DataTable.svelte 2023-07-25 14:32:21 +01:00
Rory Powell a477feaada Lint 2023-07-25 14:14:24 +01:00
Rory Powell 143e6597db Fix issues with tests when running with pro from npm 2023-07-25 13:18:56 +01:00
Adria Navarro ad181422ef Merge pull request #11323 from Budibase/BUDI-7189-views-v2
Views v2 backend
2023-07-25 12:27:56 +01:00
Andrew Kingston 58820cacdb Fix nullish check in position dropdown logic 2023-07-25 11:53:03 +01:00
Dean e8dd3f9d90 Remove the define relationship button in the datatable when relationships are unsupported 2023-07-25 11:46:22 +01:00
mike12345567 01815cd61f Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-25 11:42:40 +01: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
Rory Powell 0c095fdbef Update pro ref 2023-07-25 11:22:00 +01:00
Rory Powell bfb7586b49 Lint 2023-07-25 11:19:08 +01:00
mike12345567 d9c8e26f65 Re-writing APIs based on most recent discussion about RBAC and per app builders. 2023-07-24 18:29:46 +01:00
Dean d97c44725f Stopped query binding value from being cleared. Shifted the bound value updated to an onChange handler 2023-07-24 17:45:41 +01:00
Andrew Kingston 48d15f5e08 Add optional chaining as binding context may not exist 2023-07-24 16:19:08 +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
Andrew Kingston 69ab3dfe74 Merge pull request #11260 from Budibase/relationship-picker-filtering
Relationship picker filtering
2023-07-24 14:50:30 +01: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 de9b74fd81 Fix bbui build flakiness 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 9bf22213b2 Clean code 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
Adria Navarro 82e2385099 Test different sort 2023-07-24 15:15:43 +02:00
Adria Navarro b778921028 Test sorting 2023-07-24 15:15:43 +02:00
Adria Navarro fde008f4d1 Persist sort 2023-07-24 15:15:43 +02:00
Adria Navarro 16d39c6fd2 Honor query on view search 2023-07-24 15:15:43 +02:00
Adria Navarro ebd93eb109 Persist queries on crud views 2023-07-24 15:15:43 +02:00
Adria Navarro 6809bb4510 Use api for view search tests 2023-07-24 15:15:43 +02:00
Adria Navarro 2feb22ef64 Use api for viewv2 tests 2023-07-24 15:15:43 +02:00
Adria Navarro 8478816eef Clean 2023-07-24 15:15:43 +02:00
Adria Navarro fcd0db8f57 Clean code 2023-07-24 15:15:43 +02:00
Adria Navarro b29e54e84c Lint 2023-07-24 15:15:43 +02:00
Adria Navarro 63f181649a Change url version path 2023-07-24 15:15:43 +02:00
Adria Navarro d981ad039d Typings 2023-07-24 15:15:43 +02:00
Adria Navarro 891ba4148b Clean 2023-07-24 15:15:43 +02:00
Adria Navarro a42f6753de Clean 2023-07-24 15:15:43 +02:00
Adria Navarro 9f36bdc6c1 Reuse config 2023-07-24 15:15:43 +02:00
Adria Navarro 97a538f5db Basic search 2023-07-24 15:15:43 +02:00
Adria Navarro e71d883dfd Change status codes 2023-07-24 15:15:43 +02:00
Adria Navarro 1e6a65d4e9 Extract viewapi to its own file 2023-07-24 15:15:43 +02:00
Adria Navarro 7140df6ed3 Better typing responses 2023-07-24 15:15:43 +02:00
Adria Navarro 160d949423 Catch 404s 2023-07-24 15:15:43 +02:00
Adria Navarro 5731b26079 Namespacing 2023-07-24 15:15:43 +02:00
Adria Navarro f7452aa7fa Extract test utils 2023-07-24 15:15:43 +02:00
Adria Navarro 7f3de5d40e Move view code to test config 2023-07-24 15:15:43 +02:00
Adria Navarro 8282fbb99b Type responses 2023-07-24 15:15:43 +02:00
Adria Navarro 03f84170b8 Use v2 as prefix 2023-07-24 15:15:43 +02:00
Adria Navarro e3c4930819 Undo renaming as lagacyViews 2023-07-24 15:15:43 +02:00
Adria Navarro 02bc1d2cdc Simplifying endpoints 2023-07-24 15:15:43 +02:00
Adria Navarro 4ca25ee065 Implement deletes 2023-07-24 15:15:43 +02:00
Adria Navarro 4bbb1b0289 Refactor paths 2023-07-24 15:15:43 +02:00
Adria Navarro 7155d75906 Implement get view 2023-07-24 15:15:43 +02:00
Adria Navarro 1187bd8fb2 Clean 2023-07-24 15:15:43 +02:00
Adria Navarro e2c1a549de Find by table 2023-07-24 15:15:43 +02:00
Adria Navarro f395b79cac Fix fetch 2023-07-24 15:15:43 +02:00
Adria Navarro 4a5a3e2c33 Implement and test fetch 2023-07-24 15:15:43 +02:00
Adria Navarro 899c8a14fb Implement and test create 2023-07-24 15:15:43 +02:00
Adria Navarro 81e847daeb Rename tests 2023-07-24 15:15:43 +02:00
Adria Navarro 6ff5c23cd6 Add controller scaffolding for views v2 2023-07-24 15:15:43 +02:00
Adria Navarro 7dbf71d477 Namespace 2023-07-24 15:15:43 +02:00
mike12345567 c375f860ba Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-24 13:46:49 +01:00
Andrew Kingston cf178808bf Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-07-24 12:03:28 +01:00
Andrew Kingston 869cb0777b Validate query names to avoid parentheses 2023-07-24 12:02:24 +01:00
Rory Powell c70ab2ac52 Update pro ref 2023-07-24 11:23:05 +01:00
Rory Powell dd47e7e1d9 Lint 2023-07-24 11:14:19 +01:00
Dean 4091dff6d3 PR Feedback 2023-07-24 10:30:29 +01:00
Rory Powell 5c4d29e349 Merge branch 'develop' into feature/offline-license 2023-07-24 10:06:04 +01:00
Rory Powell 725bade8c5 Styling fix for license key input 2023-07-24 10:03:37 +01:00
Dean f0c498cedb Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-24 09:52:59 +01:00
Dean 5691be3c4a Added missing types 2023-07-24 09:15:13 +01:00
Dean 3b36970c58 Review updates 2023-07-24 09:08:10 +01:00
Martin McKeaveney cf2776e7cb fix lint 2023-07-23 10:53:50 +01:00
Martin McKeaveney 7a327dc40d Merge branch 'develop' of github.com:Budibase/budibase into fix/bb-alerts 2023-07-23 09:45:52 +01:00
Martin McKeaveney ad1b96a50e update pro ref 2023-07-21 18:05:50 +01:00
mike12345567 87d80e08f5 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-21 17:34:27 +01:00