Commit Graph

9476 Commits

Author SHA1 Message Date
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