Commit Graph

9192 Commits

Author SHA1 Message Date
Andrew Kingston 603d38ad78 Merge pull request #4033 from Budibase/fix/dynamic-validators
Fix dynamic validators not correctly validating form components
2022-01-18 19:20:27 +00:00
Mitch-Budibase 3cd58a3250 Merge pull request #4091 from Budibase/cypress-testing
Small changes associated with the smoke build
2022-01-18 17:25:38 +00:00
Mitch-Budibase 9034f23fde Small changes associated with the smoke build
Removing a line from addMultiOptionDatatype

Also adding a wait when creating an app - smoke build looks to have a timing issue with some tests
-Just a 2 second wait for now
2022-01-18 17:25:09 +00:00
mike12345567 e0949b4ac3 Fix for #3721 - deleting invalid relationships if tables have been removed external to budibase - otherwise these could not be removed without deleting the datasource. 2022-01-18 17:21:29 +00:00
Michael Drury cdaab9e989 Merge pull request #4085 from Budibase/fix/4064
Allow deleting JSON fields in JSON schema
2022-01-18 17:14:20 +00:00
Martin McKeaveney 328aef00e1 tidy up 2022-01-18 17:41:38 +01:00
Mitch-Budibase 9e168d743c Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing 2022-01-18 16:21:19 +00:00
Mitch-Budibase 2960867cb0 lint changes 2022-01-18 16:20:54 +00:00
Maurits Lourens a4fea9ab3c add extensions prop to specify accepted file extensions 2022-01-18 17:17:31 +01:00
Martin McKeaveney 85d672c5d7 table management functions 2022-01-18 17:15:29 +01:00
Mitch-Budibase a431f88dfc Merge branch 'develop' into cypress-testing 2022-01-18 16:13:51 +00:00
Mitch-Budibase bd82ce9704 Table Test fix - Add row to table
Fixing the command associated with adding a row to a table
2022-01-18 16:12:53 +00:00
Mitch-Budibase e4da48eb8a Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing 2022-01-18 16:02:49 +00:00
Mitch-Budibase 9a7286568a Structural Changes + New Test
Structural changes surrounding data sources
-Cypress env file removed
-Text change for fetching tables
-Oracle tests organised
-PostgreSQL tests organised

New test is for skipping table fetch via button

There are a few other smaller changes
2022-01-18 16:02:42 +00:00
Rory Powell 604d316834 Add dryRun to automation row create and remove env conditional on delete 2022-01-18 15:53:55 +00:00
Bastiaan Terhorst 7ed18caa31 also set defaultValue 2022-01-18 16:48:08 +01:00
Rory Powell fc043e116d Support template and app import in quotas + logging 2022-01-18 15:37:16 +00:00
Budibase Staging Release Bot 3c4fee31e3 v1.0.44-alpha.1 2022-01-18 15:36:05 +00:00
Andrew Kingston 37a8d213e6 Fix data fetch for nested providers, JSON arrays or array fields not working 2022-01-18 15:34:10 +00:00
Michael Drury 8873cffb17 Merge pull request #4082 from mslourens/cancel_rename_column
reset field.name to originalName after cancel
2022-01-18 15:29:39 +00:00
Andrew Kingston 69d25e8a14 Merge branch 'develop' of github.com:Budibase/budibase into ak-fixes 2022-01-18 15:27:14 +00:00
Andrew Kingston 6870c3067a Revert changes to MultiFieldSelect 2022-01-18 15:25:43 +00:00
mike12345567 8092068aaa Fixing issue #4064 - making it possible to delete JSON fields. 2022-01-18 15:24:42 +00:00
Andrew Kingston 7b9d6c8849 Merge pull request #4083 from mslourens/save_non_required_multiselect
make empty array valid when not required
2022-01-18 15:24:12 +00:00
Rory Powell 439fa9a010 Refactor to allow for future quota migrations 2022-01-18 14:43:24 +00:00
Budibase Staging Release Bot 3a49483eca v1.0.44-alpha.0 2022-01-18 14:31:59 +00:00
mike12345567 d93617d3c7 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-18 14:25:30 +00:00
Bastiaan Terhorst d2ffc2e920 Update MultiFieldSelect to accept a defaultValue
This changes the multi select control to accept defaultValues. As these are passed in as strings (flattened arrays in the form of "1, 2, 3") they need to be split into an array to be accepted by the control.
2022-01-18 15:04:40 +01:00
Andrew Kingston c3450a3e1e Fix issue with array field validation 2022-01-18 13:20:28 +00:00
Andrew Kingston c8121ed0e3 Transform the output of JS expressions to be actual types rather than strings 2022-01-18 13:20:06 +00:00
Andrew Kingston c91439ac43 Derive safe array-like value as the default value for multi-select fields 2022-01-18 13:19:41 +00:00
Budibase Staging Release Bot 5004e81168 v1.0.27-alpha.24 2022-01-18 13:16:22 +00:00
Michael Drury 7cf78f8c8b Merge pull request #4073 from Budibase/feature/sql-relationship-filtering
SQL relationship filtering
2022-01-18 13:10:58 +00:00
Rory Powell 79c10fba7c Account for duplicate row ids caused by app import 2022-01-18 12:48:54 +00:00
Rory Powell 4d61e84c2b Handle table deletion and data import 2022-01-18 11:57:20 +00:00
mike12345567 63ffdc5d9b Updating variable naming in table fetch function to match more with what is actually being retrieved. 2022-01-18 10:43:21 +00:00
Maurits Lourens d9ecd3e3b3 make empty array valid when not required 2022-01-18 11:38:39 +01:00
Budibase Staging Release Bot 8798f5cf37 v1.0.27-alpha.23 2022-01-18 09:45:46 +00:00
Maurits Lourens 77d0a556bd reset field.name to originalName after cancel 2022-01-18 10:45:37 +01:00
Martin McKeaveney cd92edd736 Merge pull request #4079 from mslourens/delete_renamed_column
use deleteColName when deleting a column
2022-01-18 10:39:13 +01:00
Martin McKeaveney 4ff339cae2 removing comment 2022-01-18 10:30:54 +01:00
Martin McKeaveney 73262179ef refactored middleware to be more generic 2022-01-18 10:25:59 +01:00
Budibase Staging Release Bot 2c11661c61 v1.0.27-alpha.22 2022-01-18 08:59:52 +00:00
Maurits Lourens d2688124f4 use deleteColName when deleting a column 2022-01-18 09:53:15 +01:00
Maurits Lourens 68986fba3a fix schema constraint mapping to validation rule 2022-01-17 23:23:36 +01:00
mike12345567 332e5b2672 Adding SQL test case for SQL relationship filtering. 2022-01-17 18:20:37 +00:00
Rory Powell ff887f8f88 Sync row usage with app deletion 2022-01-17 18:07:26 +00:00
Budibase Staging Release Bot 7335a6ab5e v1.0.27-alpha.21 2022-01-17 18:01:17 +00:00
Michael Drury c0f4a0e475 Merge pull request #4045 from Budibase/dependabot/npm_and_yarn/packages/string-templates/marked-4.0.10
Bump marked from 2.1.3 to 4.0.10 in /packages/string-templates
2022-01-17 17:54:50 +00:00
mike12345567 cde801d99b Adding dynamic filter capabilities, also updating search field select in builder to make sure it removes banned search field types. 2022-01-17 16:48:49 +00:00
Budibase Release Bot e3d8302194 v1.0.43 2022-01-17 16:42:48 +00:00
Martin McKeaveney 1f78d6dc0d readding query thread timeout 2022-01-17 15:57:31 +01:00
Martin McKeaveney 9663806bfc more flexible datasource auth config 2022-01-17 15:52:10 +01:00
Andrew Kingston 54ce8d8386 Merge branch 'feature/sql-relationship-filtering' of github.com:Budibase/budibase into feature/sql-relationship-filtering 2022-01-17 14:04:19 +00:00
Andrew Kingston 0502e62e1c Add optional enrichment of relationship fields when determining datasource schema and update block filters to properly reference relationship fields 2022-01-17 14:03:47 +00:00
mike12345567 29fbfe7b95 Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationship-filtering 2022-01-17 13:34:16 +00:00
Rory Powell 8fc60af820 Calculate total rows in migration, centralise quota enabled logic and tidy to use env vars only 2022-01-17 12:44:53 +00:00
Budibase Staging Release Bot b77be977dd v1.0.27-alpha.20 2022-01-17 10:15:17 +00:00
Rory Powell 0f6e626005 Merge pull request #4022 from Budibase/fix/return-url
Fix return url
2022-01-17 10:09:38 +00:00
Rory Powell f3ac142870 Remove console.log statements 2022-01-17 09:53:53 +00:00
Budibase Release Bot 2a8cbb8805 v1.0.42 2022-01-17 08:48:49 +00:00
Martin McKeaveney c39bbf46fb Revert "sameSite and secure cookie settings" 2022-01-17 09:39:22 +01:00
Martin McKeaveney a70b96a21a gsheets E2E 2022-01-15 19:28:04 +01:00
dependabot[bot] 8740ed890e Bump marked from 2.1.3 to 4.0.10 in /packages/string-templates
Bumps [marked](https://github.com/markedjs/marked) from 2.1.3 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v2.1.3...v4.0.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15 03:29:34 +00:00
mike12345567 aae2dc86d3 Getting client partially working, having an issue with search fields not updating for a table block. 2022-01-14 17:42:14 +00:00
Andrew Kingston 283c4a5d9f Remove log 2022-01-14 16:47:50 +00:00
Budibase Staging Release Bot 3bcad013c7 v1.0.27-alpha.19 2022-01-14 14:33:55 +00:00
Budibase Staging Release Bot 472ec03fa9 v1.0.27-alpha.18 2022-01-14 14:25:57 +00:00
Andrew Kingston 4dfb74f512 Add public URL of uploaded file to button action outputs when uploading files to S3 2022-01-14 10:40:38 +00:00
Rory Powell a12a30c8ad Merge branch 'develop' into fix/sync-apps-reset-rows-quotas 2022-01-14 10:12:57 +00:00
Andrew Kingston 5b40ef2422 Fix issue where error was always reset when a component was re-registered 2022-01-14 09:58:23 +00:00
Budibase Release Bot 95c4edad08 v1.0.41 2022-01-14 09:39:56 +00:00
Andrew Kingston 0b0618aa84 Lint and fix size of S3 upload component overlay 2022-01-14 09:20:20 +00:00
Andrew Kingston 73f2c9bd35 Improve error handling when uploading files to S3 2022-01-14 08:39:24 +00:00
Andrew Kingston 375d03a2d6 Add tests for generating S3 signed upload URL 2022-01-14 08:25:41 +00:00
Martin McKeaveney 6a3882cb1f sameSite and secure cookie settings 2022-01-13 20:47:16 +01:00
Budibase Release Bot 5256a1cf9f v1.0.40 2022-01-13 18:35:02 +00:00
Rory Powell d2e13da831 Test fix 2022-01-13 17:46:57 +00:00
mike12345567 479220652e Adjusting SQL system to handle relationship filtering. 2022-01-13 17:40:11 +00:00
Rory Powell 4433ebc1f2 Handle 403 when loading templates 2022-01-13 17:24:52 +00:00
Andrew Kingston b3dba52d62 Update S3 upload with develop and fix preview URLs 2022-01-13 17:18:24 +00:00
Andrew Kingston 3f2b6db2b2 Merge branch 'develop' of github.com:Budibase/budibase into s3-upload 2022-01-13 17:17:30 +00:00
mike12345567 41b9c94237 Quick fix, only allow using SQL. 2022-01-13 16:48:19 +00:00
Rory Powell 13d0bfb190 Fix dev app preview return url 2022-01-13 16:29:55 +00:00
mike12345567 90859cfe18 Basic frontend work, getting it sending up search fields from tables with links. 2022-01-13 15:59:04 +00:00
Budibase Release Bot 03ff594973 v1.0.39 2022-01-13 15:17:06 +00:00
mike12345567 7e73d4bfd2 Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationship-filtering 2022-01-13 15:10:55 +00:00
Martin McKeaveney 0329fcb49e v1.0.38 2022-01-13 16:10:07 +01:00
Martin McKeaveney 13e9929ca3 v1.0.32 2022-01-13 16:09:07 +01:00
Budibase Staging Release Bot addcdf8bcc v1.0.27-alpha.17 2022-01-13 14:57:56 +00:00
Martin McKeaveney 8da0fa4124 Merge pull request #4019 from Budibase/fix/4010
Maintaining options and boolean types when fetching SQL schemas
2022-01-13 15:51:13 +01:00
Budibase Staging Release Bot 3bea3e71f3 v1.0.27-alpha.16 2022-01-13 14:38:12 +00:00
Rory Powell 3d7923cb16 Merge branch 'develop' into fix/return-url 2022-01-13 14:36:59 +00:00
mike12345567 3f8af725d1 Fixing issue #4010 - options and boolean types can be maintained. 2022-01-13 14:36:47 +00:00
Budibase Staging Release Bot e8815720a0 v1.0.27-alpha.15 2022-01-13 14:26:35 +00:00
Budibase Staging Release Bot 05c84628c1 v1.0.27-alpha.14 2022-01-13 14:18:24 +00:00
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 9f90bf3801 Update reset theme button to use white for light theme 2022-01-13 10:26:05 +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
Andrew Kingston aa5762d6d7 Revert nav bar background to default theme color when changing client app theme, and use a unique nav background color for light theme 2022-01-12 15:39:20 +00:00
Andrew Kingston d949e2dd23 Ensure bad route configs don't cause the client to crash 2022-01-12 15:38:56 +00:00
Andrew Kingston 159c951262 Add S3 presigned request generation and file upload capabilities 2022-01-12 14:59:33 +00:00
mike12345567 bca8212d1d Merge branch 'develop' of github.com:Budibase/budibase into fix/sync-apps-reset-rows-quotas 2022-01-12 13:20:22 +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
Rory Powell adcb692652 Replace auth with backend-core 2022-01-12 09:53:48 +00:00
Rory Powell e58bd14dcc Merge branch 'develop' into fix/sync-apps-reset-rows-quotas 2022-01-12 09:34:14 +00:00
Rory Powell da12a33cc1 Add local dev override for quotas 2022-01-11 18:47:42 +00:00
Rory Powell 979313f966 Enable migration 2022-01-11 18:38:18 +00:00
Rory Powell 726315afde Sync app quota to correct number, reset and disable rows quota 2022-01-11 17:49:42 +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
Andrew Kingston 4f7499cafe Remove unmaintained rollup plugins for node and replace with rollup-plugin-polyfill-node 2022-01-11 14:01:50 +00:00
Andrew Kingston dfd95f9b83 Add initial work on new S3 upload component and button action 2022-01-11 14:01: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