Commit Graph

9482 Commits

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