Commit Graph

9081 Commits

Author SHA1 Message Date
Rory Powell b12f7fa6f4 Merge branch 'develop' into fix/return-url 2022-01-13 14:15:57 +00:00
Rory Powell f055d392b5 Merge branch 'develop' into fix/return-url 2022-01-13 14:11:20 +00:00
Martin McKeaveney 40111491c4 remove old query file 2022-01-13 15:10:55 +01:00
Rory Powell b5250ac244 Fix return url using cookies 2022-01-13 14:07:49 +00:00
Martin McKeaveney 4b6e88075d merge with master 2022-01-13 14:58:17 +01:00
mike12345567 65998d87ce Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationship-filtering 2022-01-13 11:38:47 +00:00
Andrew Kingston 9a7cc4113d Merge branch 'develop' of github.com:Budibase/budibase into rest-pagination 2022-01-13 09:44:09 +00:00
mike12345567 f1b9490f22 Adding method for client/builder to detect that a table supports SQL filtering. 2022-01-12 17:55:28 +00:00
Budibase Staging Release Bot f2a2a072c6 v1.0.27-alpha.13 2022-01-12 13:20:06 +00:00
mike12345567 97c6f3298a Removing use of direct package access. 2022-01-12 12:54:25 +00:00
mike12345567 398e87e72a Fixing test mocking. 2022-01-12 11:50:14 +00:00
mike12345567 5ee6aa24b2 Refactoring core library usage in monorepo, make it a bit cleaner/easier to search/more standardised. 2022-01-12 11:32:14 +00:00
Michael Drury b2c5e4f825 Merge pull request #3998 from Budibase/fix/3722
Fixing issue with multiple automation steps of the same type showing same response
2022-01-11 17:39:16 +00:00
Budibase Staging Release Bot 05a17d4475 v1.0.27-alpha.12 2022-01-11 17:25:33 +00:00
mike12345567 44f9ae0682 Fixing issue where any two automations steps of the same type executed in the same automation would have the same response output in the frontend, this was a visual bug. Also fixing an issue introduced by REST update that broke the query controller. 2022-01-11 17:14:04 +00:00
mike12345567 b15f003c8c Updating to use automation setup to use action button instead of custom chevron div and using the action button in the automation code editor so that bindings can be hidden/shown if they are taking up too much of screen. 2022-01-11 16:54:43 +00:00
mike12345567 37d0617ace Renaming some variables to core, fixing test cases that referenced auth directly. 2022-01-11 16:18:30 +00:00
mike12345567 b33523a73d Merge branch 'develop' of github.com:Budibase/budibase into feature/auth-core 2022-01-11 15:16:07 +00:00
mike12345567 3543c02f6d Updating backend-core description. 2022-01-11 15:07:02 +00:00
Budibase Staging Release Bot 337eb07422 v1.0.27-alpha.11 2022-01-11 14:31:25 +00:00
Rory Powell 0898b66ad5 Merge pull request #3989 from Budibase/fix/invalidate-variables-on-deletion
Invalidate dynamic variables when they are removed from datasource
2022-01-11 14:25:34 +00:00
Rory Powell 857e063dca Merge pull request #3991 from Budibase/fix/load-apps-in-default-multi-tenant
Fix: Load apps when using the default multi tenant
2022-01-11 14:25:21 +00:00
Budibase Staging Release Bot 07bb680470 v1.0.27-alpha.10 2022-01-11 13:49:47 +00:00
Michael Drury 5663e7d440 Merge pull request #3963 from Budibase/dependabot/npm_and_yarn/packages/bbui/postcss-8.2.13
Bump postcss from 8.2.10 to 8.2.13 in /packages/bbui
2022-01-11 13:44:08 +00:00
Budibase Staging Release Bot fe54c98c1a v1.0.27-alpha.9 2022-01-11 13:17:43 +00:00
Michael Drury a508850e7e Merge pull request #3990 from Budibase/fix/3228
Allow access to query parameters in transformer
2022-01-11 13:11:44 +00:00
Rory Powell 72219af169 Fix: Load apps when using the default multi tenant 2022-01-11 12:31:40 +00:00
mike12345567 bdb9a3456d Fixing #3228 - allowing access to parameters in the transformer. 2022-01-11 11:17:35 +00:00
Rory Powell cc338f03df Invalidate dynamic variables when they are removed from datasource 2022-01-11 10:35:53 +00:00
Budibase Staging Release Bot 6c7aaf9a68 v1.0.27-alpha.8 2022-01-11 09:42:12 +00:00
Michael Drury 904906e364 Merge pull request #3970 from Budibase/fix/jan-various-fixes
Various fixes
2022-01-11 09:36:12 +00:00
mike12345567 1327394784 Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
mike12345567 12ae9993ca Changing directory. 2022-01-10 19:30:35 +00:00
Andrew Kingston ad6b0714d3 Fix crash when fetching queries set up before pagination existed 2022-01-10 12:45:30 +00:00
Budibase Staging Release Bot a14fc26b8f v1.0.27-alpha.7 2022-01-10 12:14:33 +00:00
Rory Powell 8bf0c86c92 Merge pull request #3932 from Budibase/feature/query-variables
Fixes for new rest datasource
2022-01-10 12:08:47 +00:00
Rory Powell 36f42d0426 Bump z-index to always be on top 2022-01-10 11:50:08 +00:00
mike12345567 e93d347ad6 Fixing issue #3740 - using text rather than string for mysql/postgres table column creation. 2022-01-07 14:10:26 +00:00
dependabot[bot] e8956b65cd Bump postcss from 8.2.10 to 8.2.13 in /packages/bbui
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.10...8.2.13)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-07 12:05:26 +00:00
Budibase Staging Release Bot 48d18d4242 v1.0.27-alpha.6 2022-01-07 12:04:19 +00:00
Michael Drury 342a4b1f95 Merge pull request #3931 from Budibase/fix/3915
Fixing some issues with short hand URL for prod apps - using it by default in self host
2022-01-07 11:58:30 +00:00
Andrew Kingston 53b601ec9b Ensure paginate option is respected in DataFetch models 2022-01-07 11:30:47 +00:00
Andrew Kingston e187e8f2b1 Update client query fetch to better determine whether pagination is supported or not 2022-01-07 11:03:55 +00:00
Andrew Kingston 54ad2237ea Improve naming of REST pagination parameters 2022-01-07 11:03:31 +00:00
Andrew Kingston bf22c5130f Add tests for REST pagination 2022-01-07 10:49:31 +00:00
mike12345567 c75cc47ad3 Updating to handle prod vs dev apps and deletion of attachments, as well as handling it on update. 2022-01-06 18:45:40 +00:00
mike12345567 f1981220af Removing attachments when row is deleted (always, need to restrict if app is deployed). 2022-01-06 17:59:29 +00:00
mike12345567 657f55f0da Adding a skip button for fetching plus datasource tables incase working with very large data sets and still want to perform queries. 2022-01-06 15:28:38 +00:00
Andrew Kingston 422c0a3033 Comment builder implementation of lucene searching to highlight that it will be replaced 2022-01-06 14:05:32 +00:00
Andrew Kingston 74fcf63fbb Merge branch 'develop' of github.com:Budibase/budibase into rest-pagination 2022-01-06 14:03:42 +00:00
Budibase Staging Release Bot 5ff0505f11 v1.0.27-alpha.5 2022-01-06 13:31:15 +00:00
Budibase Release Bot 157877a604 v1.0.35 2022-01-06 08:28:55 +00:00
Rory Powell d0c2d74eb5 Fix rest import tests for url and invert dynamic variable invalidation / deletion 2022-01-05 14:49:01 -05:00
Rory Powell 6d5d301adb Support variables in URL 2022-01-05 14:33:14 -05:00
Rory Powell 22407446ee Navigation fixes for duplicate and delete query 2022-01-05 13:27:15 -05:00
mike12345567 efc691f238 Fixing issue #3915 so that when using the short hand URL for apps you will be redirected correctly if not logged in, allows all users to make use of it and updating the builder to send the user to the short form factor URL if not in cloud. 2022-01-05 18:26:39 +00:00
Andrew Kingston 4ab06c200d Add support for cursor and page based pagination inside REST query request body 2022-01-05 18:10:22 +00:00
Andrew Kingston f5649b48d1 Add support for cursor based pagination in query params 2022-01-05 17:28:57 +00:00
Rory Powell 8210ed7ee4 Delete and invalidate linked dynamic variables when a query is deleted 2022-01-05 11:54:59 -05:00
mike12345567 07fb8cbb13 Updating CLI to build required versions and including it as part of the release workflow. 2022-01-05 16:41:09 +00:00
Rory Powell e115a561c2 Fix Add Authentication button icon 2022-01-05 10:31:44 -05:00
Rory Powell d74d1d66b8 Add full URL to path for imported queries 2022-01-05 10:31:06 -05:00
Rory Powell b1ef2e3988 Fix auth dropdown z-index 2022-01-05 10:29:40 -05:00
Budibase Staging Release Bot 7732d8de3e v1.0.27-alpha.4 2022-01-05 15:28:59 +00:00
Michael Drury fe40e3e85d Merge pull request #3830 from Budibase/feature/query-variables
Datasource static and dynamic variables
2022-01-05 15:22:30 +00:00
mike12345567 8d9db5c846 Adding test case to check that query dynamic variables are cached correctly and error scenario is handled. 2022-01-05 15:01:28 +00:00
Andrew Kingston 69a1b503c2 Fix paginationValues being attached to every object inside a query due to recursion 2022-01-05 14:26:13 +00:00
Andrew Kingston 8aa4d49f31 Fix crash in KeyValueBuilder when object doesn't exist 2022-01-05 10:57:05 +00:00
Andrew Kingston abc02d812a Merge branch 'feature/query-variables' of github.com:Budibase/budibase into rest-pagination 2022-01-05 09:21:25 +00:00
Andrew Kingston e2478e478e Add support for query param based pagination in REST queries 2022-01-05 09:16:10 +00:00
mike12345567 44a8d36c91 Adding basic test cases for static and dynamic variables (backend). 2022-01-04 18:23:45 +00:00
Budibase Staging Release Bot ba5586e601 v1.0.27-alpha.3 2022-01-04 18:07:13 +00:00
mike12345567 b5a52cb790 Fixing issue discovered where parameters weren't selected correctly. 2022-01-04 15:50:18 +00:00
Andrew Kingston 81cbb6d403 Remove line from testing 2022-01-04 15:03:19 +00:00
Andrew Kingston 6e3f217fbb Add support for nested provider, field and jsonarray datasource types in new data fetch model 2022-01-04 15:02:43 +00:00
mike12345567 532fefaeff Hiding all tables from data sources when there is no data for them (no placeholder table). 2022-01-04 14:46:10 +00:00
mike12345567 e32869b100 Fixing issue discovered by cypress test case and updating dynamic variable view to hide table when there are none. 2022-01-04 14:41:11 +00:00
Andrew Kingston db55074b0a Merge branch 'develop' of github.com:Budibase/budibase into rest-pagination 2022-01-04 14:34:09 +00:00
mike12345567 18ff7a9cfb Merge branch 'develop' of github.com:Budibase/budibase into feature/query-variables 2022-01-04 12:58:42 +00:00
Budibase Release Bot 20550543f7 v1.0.34 2022-01-04 12:48:58 +00:00
Martin McKeaveney 2479e95a0c Merge pull request #3886 from Budibase/feature/dynamo-describe
adding dynamoDB describe call to dynamo integration
2022-01-04 12:42:49 +00:00
Budibase Staging Release Bot f65ae6a9e3 v1.0.27-alpha.2 2022-01-04 11:52:12 +00:00
Peter Clement c5f80af0ed Merge pull request #3913 from Budibase/bug/pc-fixes
Bug fixes for #3399 and #3489
2022-01-04 11:44:57 +00:00
Andrew Kingston 4cd8886e1a Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2022-01-04 09:48:44 +00:00
Martin McKeaveney e87a348fb8 enabling minio support for S3 connector 2021-12-31 16:19:46 +00:00
Budibase Release Bot a1f9475889 v1.0.33 2021-12-31 15:33:19 +00:00
Martin McKeaveney bc6c50482c Merge branch 'master' of github.com:Budibase/budibase into feature/dynamo-describe 2021-12-31 15:28:34 +00:00
Budibase Staging Release Bot e463ae652a v1.0.27-alpha.1 2021-12-31 14:12:45 +00:00
Budibase Release Bot 178b1201e6 v1.0.32 2021-12-31 13:35:29 +00:00
Martin McKeaveney 4d77353692 adding minio URL to objectStoreUrl check 2021-12-31 13:28:52 +00:00
Budibase Release Bot 150fc3b11d v1.0.31 2021-12-31 08:29:48 +00:00
Budibase Release Bot 2a3eb5eed9 v1.0.30 2021-12-30 19:05:38 +00:00
Budibase Release Bot 2848e48f52 v1.0.29 2021-12-30 18:07:14 +00:00
Martin McKeaveney 18ad8ac1e5 configurable query timeout, s3 options for minIO, safety on cloud deploy job 2021-12-30 17:44:27 +00:00
Budibase Release Bot 94e7252464 v1.0.28 2021-12-30 10:06:29 +00:00
Martin McKeaveney b57b0f1c7b adding dynamoDB describe call to dynamo integration 2021-12-29 15:46:33 +00:00
Mitch-Budibase 4279772444 Merge branch 'develop' into cypress-testing 2021-12-24 10:55:57 +00:00
Mitch-Budibase 40ab428e22 Adding new lines to bottom of files and other minor changes 2021-12-24 10:49:47 +00:00
Mitch-Budibase d5bea7e0f3 Adding new lines to bottom of files 2021-12-24 10:40:57 +00:00
Mitch-Budibase df43b270dc New Tests and Changes based on updated test environment
-Changes made to reflect the new layouts of the test env
--e.g. Changes to the app grid, changes to UI screens
-Updated commands
--New commands added & some updated
-New tests
--Revert App
--AutoScreensUI
--Change app icon and colour
--Data source testing

In particular to data source testing
-I have a file for mySQL, PostgreSQL, Oracle, and REST.
--enabled better regression testing for each

Other changes made for:
-QueryLevelTransformers tests
-Table tests
-Renaming applications
-Automations
-Multi-option datastype

New env file added too
2021-12-24 10:38:03 +00:00
Rory Powell 5890f5d4dc Add bold and code cell renderers 2021-12-21 14:08:09 -05:00
Rory Powell 6904e6a1df Prevent escaping in query parameter bindings 2021-12-21 13:48:54 -05:00
Budibase Release Bot c5b066472b v1.0.27 2021-12-21 17:51:01 +00:00
Rory Powell e96467a7cd Further fix for dynamic variable deletion across different queries 2021-12-21 11:26:45 -05:00
Rory Powell ded3c2247b Update curl import to support encoded characters in request body 2021-12-21 09:39:34 -05:00
mike12345567 ff69aad969 Fixing conflict. 2021-12-21 12:33:12 +00:00
mike12345567 0841e2b50d Allowing switching between body types without losing state in REST UI. 2021-12-21 12:25:37 +00:00
Rory Powell 4b2ce2a280 Default rest body type to json when there is an existing body 2021-12-20 11:46:01 -05:00
Rory Powell 5dc6917fb2 Fix dynamic variable deletion and move utils 2021-12-20 10:50:58 -05:00
Budibase Staging Release Bot 961d9ea4aa v1.0.27-alpha.0 2021-12-20 09:21:52 +00:00
Martin McKeaveney f32176590a adding swagger parser dep 2021-12-20 09:12:27 +00:00
Martin McKeaveney b1769f47dc Merge branch 'master' of github.com:Budibase/budibase into develop 2021-12-20 08:53:18 +00:00
Andrew Kingston 1e85ca1d33 Remove pagination from top level query structure validation 2021-12-17 19:01:07 +00:00
Andrew Kingston 8cee08ca03 Return top level pagination info from query execution 2021-12-17 19:00:23 +00:00
Andrew Kingston 0cfd28fe27 Add pagination info to rest query fields definition 2021-12-17 18:59:24 +00:00
Andrew Kingston c1feb935cd Merge branch 'feature/query-variables' of github.com:Budibase/budibase into rest-pagination 2021-12-17 18:56:16 +00:00
Andrew Kingston 6539f90b51 Update query fetch to support new pagination structure 2021-12-17 18:53:57 +00:00
Andrew Kingston 2043fd3402 Fix issue with determining view schema 2021-12-17 18:48:44 +00:00
Andrew Kingston 441cc2fccf Update client lib data fetch models to support generic pagination 2021-12-17 18:39:48 +00:00
Andrew Kingston 882067056c Update query pagination to be stored in fields 2021-12-17 18:39:22 +00:00
mike12345567 ab77c081bd Some minor UI tweaks. 2021-12-17 18:21:36 +00:00
mike12345567 0afc34af69 Removing faked error. 2021-12-17 17:57:40 +00:00
mike12345567 52eef17da0 Adding query invalidation, when a query fails that has dynamic variables it will invalidate the cache value for all dynamic variable values. 2021-12-17 17:56:28 +00:00
mike12345567 85aa2c27b5 Fixing issues with query dynamic variables being able to overwrite/appearing in other queries. 2021-12-17 17:16:06 +00:00
Budibase Release Bot 50ae72b1f0 v1.0.26 2021-12-17 14:52:40 +00:00
mike12345567 d61cb6c037 Some fixes after testing dynamic variables in rest a bit more. 2021-12-17 14:08:48 +00:00
Andrew Kingston af00ed88ae Merge branch 'feature/query-variables' of github.com:Budibase/budibase into rest-pagination 2021-12-17 13:12:28 +00:00
Andrew Kingston f7759f6791 Allow saving pagination data in queries 2021-12-17 11:38:02 +00:00
Andrew Kingston 51d5885ec0 Add pagination tab to query UI 2021-12-17 11:37:50 +00:00
Andrew Kingston d6120de81b Update data fetch models to use constructor to determine feature flags 2021-12-17 10:49:12 +00:00
Andrew Kingston 78a3f807a3 Lint 2021-12-17 10:43:27 +00:00
Andrew Kingston 4e5df0efa4 Merge branch 'develop' of github.com:Budibase/budibase into rest-pagination 2021-12-17 10:37:43 +00:00
Andrew Kingston f90c6ec44d Remove old reference implementation of data provider component 2021-12-17 10:37:26 +00:00
Andrew Kingston 5c26f07d26 Add back in query extension capability to new data provider 2021-12-17 10:37:06 +00:00
Andrew Kingston c6792f9903 Update client side lucene searching to treat string startsWith matches as case-insensitive 2021-12-17 10:00:46 +00:00
Andrew Kingston 66d9dc9b1e Add client-side searching, sorting and limiting for incompatible datasources to new DataFetch model 2021-12-17 09:52:12 +00:00
Andrew Kingston 3a8e217bb7 Delay rendering blocks until the schema has been attempted to be loaded 2021-12-17 09:18:43 +00:00
Andrew Kingston 58e0daeb8c Remove initial render of components with undefined props by passing in initial props without triggering svelte invalidation 2021-12-17 09:18:07 +00:00
Andrew Kingston 86065084c1 Update core component handling to use svelte function to manually control props in order to avoid triggering additional reactive statements and improve performance 2021-12-17 08:22:40 +00:00
Andrew Kingston 63ec10d73f Add new core implementations for fetching data and schema from datasources 2021-12-17 08:22:04 +00:00
Michael Drury c2a7c53b87 Adding in dynamic variable processing - finding which variables need to be used and then calling them from within the query thread. 2021-12-16 22:43:14 +00:00
Michael Drury f03f3c8864 Fixing some issues discovered with saving queries and dynamic variables, also displaying dynamic variables in a reactive way. 2021-12-16 19:33:47 +00:00
Budibase Release Bot ef4410229e v1.0.25 2021-12-16 18:32:05 +00:00
mike12345567 4960ad760e Adding start to redis caching. 2021-12-16 16:58:15 +00:00
mike12345567 02855fa37b Merge branch 'develop' of github.com:Budibase/budibase into feature/query-variables 2021-12-16 14:57:21 +00:00
Andrew Kingston af8d55ef32 Use fixed width for REST query verbs 2021-12-16 11:56:14 +00:00
mike12345567 fab94f5a3a Fixing lint issues. 2021-12-16 11:44:17 +00:00
mike12345567 a9437302b7 Fixing issue with switching between datasources and making sure old client apps can still use the deprecated API. 2021-12-16 11:41:28 +00:00
Budibase Release Bot e7ab6f72f7 v1.0.24 2021-12-16 11:04:27 +00:00
Martin McKeaveney ca456949c7 merge 2021-12-16 11:59:59 +01:00