Commit Graph

17799 Commits

Author SHA1 Message Date
Michael Drury 1ac24545dc
Merge pull request #4131 from Budibase/fix/data-filtering
Quick fix for data section filtering
2022-01-20 18:51:31 +00:00
Budibase Staging Release Bot 9d8180de8b v1.0.46-alpha.1 2022-01-20 18:46:28 +00:00
Andrew Kingston d34743a6cd Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-20 18:44:04 +00:00
Andrew Kingston 2e73a693db Update parts of builder with core API refactor 2022-01-20 18:42:30 +00:00
Andrew Kingston e56fba688e
Merge pull request #4086 from Budibase/ak-fixes
Fixes for multi-selects and data fetching
2022-01-20 18:39:40 +00:00
mike12345567 5ba73b3c5c Minor fix, when testing the filtering the data section noticed some stuff didn't work, like filtering by just a number (which is actually text) we fixed this previously but had to version the API to fix it, builder needed to send up the API version it desires to use. 2022-01-20 18:06:14 +00:00
Rory Powell e68aea0307 Remove self hosted check 2022-01-20 17:36:54 +00:00
Rory Powell c4af78cd00 Remove self hosted check 2022-01-20 17:29:15 +00:00
Rory Powell b1ec406ae1 Send url to api and honour url on viewing published app 2022-01-20 17:27:56 +00:00
Budibase Staging Release Bot 364d02d883 v1.0.46-alpha.0 2022-01-20 17:10:09 +00:00
mike12345567 e3c924c168 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-20 17:03:21 +00:00
Budibase Release Bot 38122eec32 v1.0.45 2022-01-20 16:33:40 +00:00
Rory Powell 4b787fefc9 validator tweak 2022-01-20 16:25:09 +00:00
Rory Powell 31ed47a221 validator tweak 2022-01-20 16:20:58 +00:00
Rory Powell a61e1afdc3 Merge fix and linting 2022-01-20 16:17:09 +00:00
mike12345567 c6de0f3d30 Renaming bindableOptions to bindings and replacing the query bindings variable with queryBindings. 2022-01-20 16:12:32 +00:00
Rory Powell 2bc7e823d6 Merge branch 'develop' into feature/app-urls 2022-01-20 16:09:14 +00:00
Rory Powell 70788d42b7 Share validation between app modals, add yup based validation framework, add url to app modals 2022-01-20 16:01:09 +00:00
mike12345567 1975af430a Fix for #4126 - wrong bindings were being passed to the drawer, making sure correct ones are available. 2022-01-20 15:44:39 +00:00
Andrew Kingston 55f07340e9 Add URL to error objects 2022-01-20 14:27:43 +00:00
Budibase Staging Release Bot d7e059e1cc v1.0.44-alpha.9 2022-01-20 14:01:03 +00:00
Andrew Kingston 78a36ca988 Tidy core API client 2022-01-20 13:55:07 +00:00
Peter Clement e934439acf
Merge pull request #4112 from Budibase/fix/template-row-limit
Home Screen UI fixes
2022-01-20 13:53:52 +00:00
Andrew Kingston c2d7620a7a Fix issue with search fields in builder when not using a table 2022-01-20 13:37:33 +00:00
Andrew Kingston 617dd4c670 Don't show a notification if there is no error message 2022-01-20 13:37:20 +00:00
Andrew Kingston 4be465cf5a Extract error mesages better when throwing errors in core api client 2022-01-20 13:37:06 +00:00
Budibase Staging Release Bot 963a3f4da3 v1.0.44-alpha.8 2022-01-20 12:33:48 +00:00
Peter Clement b8fed9314e Merge remote-tracking branch 'origin/develop' into fix/template-row-limit 2022-01-20 12:30:41 +00:00
mike12345567 dcf99150d1 Fixing cypress tests, removing change which was added to try and fix reverted test cases. 2022-01-20 12:26:59 +00:00
Andrew Kingston 9957acaccb Fix DND throwing errors due to browser API updates 2022-01-20 11:52:29 +00:00
Peter Clement c5ea321f25 fix cypress createApp command 2022-01-20 11:51:41 +00:00
Andrew Kingston c0badb9c2a Remove static functions from data fetch models 2022-01-20 11:50:18 +00:00
Andrew Kingston 7baba13704 Update usage of fetch client app route endpoint 2022-01-20 11:30:51 +00:00
Andrew Kingston e151ddde07 Update usage of DataFetching in client apps 2022-01-20 11:29:30 +00:00
Andrew Kingston d0b645cf6e Fix recursion issue with applying API method patches 2022-01-20 11:26:43 +00:00
Andrew Kingston 3a3f4f0538 Update usages of utils and helpers in the builder 2022-01-20 11:19:37 +00:00
Andrew Kingston e3b8e44eeb Update remaining dependency issues in client 2022-01-20 10:16:13 +00:00
Andrew Kingston 1d217a23b7 Add helpers into BBUI rather than frontend core and fix A11y issue 2022-01-20 10:14:39 +00:00
Andrew Kingston 71cf06e6f4 Update remaining usage of API in client library 2022-01-20 09:57:57 +00:00
Peter Clement 220adba4c1 Merge remote-tracking branch 'origin/develop' into fix/template-row-limit 2022-01-20 09:53:39 +00:00
Peter Clement 1257c510d0 Merge branch 'fix/template-row-limit' of github.com:Budibase/budibase into fix/template-row-limit 2022-01-20 09:45:31 +00:00
Peter Clement a3519ac1aa fix cypress 2022-01-20 09:44:40 +00:00
Andrew Kingston b970c315f1 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-20 09:43:23 +00:00
Andrew Kingston 889c25711e Update builder to reference assets in frontend core 2022-01-20 09:41:05 +00:00
Andrew Kingston fd9c5d6c0b Add core API implementation and update most of client library to use it 2022-01-20 09:40:53 +00:00
Rory Powell 765b5c67cf Add creatingApp && loaded checks 2022-01-20 07:23:13 +00:00
Peter Clement 15e8b64e6e fix export button size 2022-01-19 19:45:19 +00:00
Peter Clement ee20f2a934 add splash screen for apps page 2022-01-19 19:40:28 +00:00
Peter Clement 7ab4d5f3d3 remove uneeded app creation modal 2022-01-19 18:29:09 +00:00
Budibase Staging Release Bot 133f3db658 v1.0.44-alpha.7 2022-01-19 15:25:19 +00:00
Peter Clement 3c1414dc18 fix issue with templates showing over more than two rows 2022-01-19 15:22:55 +00:00
Martin McKeaveney 39a5f297d2 Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-01-19 16:19:42 +01:00
Martin McKeaveney 701298d0de revert new cypress tests 2022-01-19 16:19:02 +01:00
Budibase Staging Release Bot 14535e5393 v1.0.44-alpha.6 2022-01-19 15:17:21 +00:00
Martin McKeaveney d953e12ec7
Revert "Small changes associated with the smoke build" 2022-01-19 16:10:22 +01:00
Budibase Staging Release Bot 5995badd3a v1.0.44-alpha.5 2022-01-19 15:08:47 +00:00
Michael Drury 5d8f78b377
Merge pull request #4090 from Budibase/fix/3721
Fixing issue with existing SQL relationships and deleting tables externally to Budibase
2022-01-19 15:02:15 +00:00
Budibase Staging Release Bot dff50e4e1b v1.0.44-alpha.4 2022-01-19 14:59:39 +00:00
Andrew Kingston 6fcf0de0e5
Merge pull request #4105 from Budibase/fix/log-out-action
Fix log out action
2022-01-19 14:54:20 +00:00
Budibase Staging Release Bot 90d2c0a5cf v1.0.44-alpha.3 2022-01-19 14:52:46 +00:00
Maurits Lourens 31d80fd99b #3397 - select radio buttons alignment setting 2022-01-19 15:23:41 +01:00
Andrew Kingston 597a1e5e68 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-19 13:54:39 +00:00
mike12345567 079ca74f8a Making the worker tell the UI it is in production when running in Cypress. 2022-01-19 13:05:31 +00:00
Andrew Kingston e0a3911851 Rename return URL to redirect URL in log out action 2022-01-19 12:50:07 +00:00
Andrew Kingston d6bbe73db0 Update log out action text 2022-01-19 12:45:15 +00:00
Budibase Staging Release Bot f456fbd68f v1.0.44-alpha.2 2022-01-19 11:49:24 +00:00
Martin McKeaveney da148952e7 fix lint 2022-01-19 12:42:11 +01:00
Andrew Kingston ca35a5b768 Lint 2022-01-19 11:32:56 +00:00
Andrew Kingston 4e7d5e7d65 Fix server crash when trying to log out and already logged out 2022-01-19 11:22:44 +00:00
Andrew Kingston 8b976bed52 Update log out handling to work better, and add support for navigating to a return URL 2022-01-19 11:22:27 +00:00
Andrew Kingston 5b3b1d82d4 Add return URL setting to log out button action 2022-01-19 11:22:04 +00:00
mike12345567 90c8f2a88f Merge branch 'develop' of github.com:Budibase/budibase into fix/3721 2022-01-19 10:48:23 +00:00
mike12345567 a417aa43c9 Adding comments to a few SQL table schema building functions to explain their function. 2022-01-19 10:24:15 +00:00
Budibase Release Bot 2eb6bef9f5 v1.0.44 2022-01-19 10:13:22 +00:00
Martin McKeaveney afa50b7e7a
Merge pull request #4088 from mslourens/attachment_field_extensions
add extensions prop to specify accepted file extensions
2022-01-19 10:33:10 +01:00
Martin McKeaveney a359068188 don't strip secrets from DB and only hide from client 2022-01-19 10:30:22 +01:00
Andrew Kingston 8a6a84c376
Merge pull request #4084 from bastiaanterhorst/multi-options-default-fix
Update MultiFieldSelect to accept a defaultValue
2022-01-19 08:54:39 +00:00
Bastiaan Terhorst 107aa44308 set defaultValue in Field component 2022-01-19 09:19:49 +01:00
Michael Drury 9b885d0207 Quick fix for #4093 - make sure the App ID/App URL returned for deployed apps is always lowercase, as URLs are not case sensitive and should not be compared as such. 2022-01-18 20:54:19 +00:00
Andrew Kingston e5f10e4fc3
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 245fa073cc
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 eaf9ecf2ee 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 93ecd44db1 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 f3246cb77c
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 7b39f46507 tidy up 2022-01-18 17:41:38 +01:00
Mitch-Budibase 692ed73121 Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing 2022-01-18 16:21:19 +00:00
Mitch-Budibase 18cb272f0e lint changes 2022-01-18 16:20:54 +00:00
Maurits Lourens 1757d8d329 add extensions prop to specify accepted file extensions 2022-01-18 17:17:31 +01:00
Martin McKeaveney 5538f5ff6f table management functions 2022-01-18 17:15:29 +01:00
Mitch-Budibase 4c07878583
Merge branch 'develop' into cypress-testing 2022-01-18 16:13:51 +00:00
Mitch-Budibase dbdb2750b4 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 4c216b12fa Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing 2022-01-18 16:02:49 +00:00
Mitch-Budibase 8f0123b286 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 c6877ff636 Add dryRun to automation row create and remove env conditional on delete 2022-01-18 15:53:55 +00:00
Bastiaan Terhorst 54a1c84179 also set defaultValue 2022-01-18 16:48:08 +01:00
Rory Powell 94cb39829c Support template and app import in quotas + logging 2022-01-18 15:37:16 +00:00
Budibase Staging Release Bot 89077f9860 v1.0.44-alpha.1 2022-01-18 15:36:05 +00:00
Andrew Kingston 302a1b3c5f Fix data fetch for nested providers, JSON arrays or array fields not working 2022-01-18 15:34:10 +00:00
Michael Drury 35b70ab41b
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 c377cb42a5 Merge branch 'develop' of github.com:Budibase/budibase into ak-fixes 2022-01-18 15:27:14 +00:00
Andrew Kingston 117cdcbd02 Revert changes to MultiFieldSelect 2022-01-18 15:25:43 +00:00
mike12345567 ae44eca764 Fixing issue #4064 - making it possible to delete JSON fields. 2022-01-18 15:24:42 +00:00
Andrew Kingston 6b23dcb004
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 747db3daa2 Refactor to allow for future quota migrations 2022-01-18 14:43:24 +00:00
Budibase Staging Release Bot ee365da5ed v1.0.44-alpha.0 2022-01-18 14:31:59 +00:00
mike12345567 1623a929cc Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-18 14:25:30 +00:00
Bastiaan Terhorst dd44c4e7e3 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 89bb1fcdaa Fix issue with array field validation 2022-01-18 13:20:28 +00:00
Andrew Kingston 99f9b4bf07 Transform the output of JS expressions to be actual types rather than strings 2022-01-18 13:20:06 +00:00
Andrew Kingston 4faa7c9338 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 a127b22a82 v1.0.27-alpha.24 2022-01-18 13:16:22 +00:00
Michael Drury d64f5ea513
Merge pull request #4073 from Budibase/feature/sql-relationship-filtering
SQL relationship filtering
2022-01-18 13:10:58 +00:00
Rory Powell a09bbfb492 Account for duplicate row ids caused by app import 2022-01-18 12:48:54 +00:00
Rory Powell cfe7842cde Handle table deletion and data import 2022-01-18 11:57:20 +00:00
mike12345567 5c46ef2ff4 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 128ea88dae make empty array valid when not required 2022-01-18 11:38:39 +01:00
Budibase Staging Release Bot 157b21b8dd v1.0.27-alpha.23 2022-01-18 09:45:46 +00:00
Maurits Lourens b03ce671db reset field.name to originalName after cancel 2022-01-18 10:45:37 +01:00
Andrew Kingston 919e31d216 Add initial work on frontend-core refactor 2022-01-18 09:39:19 +00:00
Martin McKeaveney b5d2396859
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 d977ec3b7b removing comment 2022-01-18 10:30:54 +01:00
Martin McKeaveney 67abff02fa refactored middleware to be more generic 2022-01-18 10:25:59 +01:00
Budibase Staging Release Bot c4ddafa7c6 v1.0.27-alpha.22 2022-01-18 08:59:52 +00:00
Maurits Lourens 959beb0c40 use deleteColName when deleting a column 2022-01-18 09:53:15 +01:00
Maurits Lourens f2f6fa31b1 fix schema constraint mapping to validation rule 2022-01-17 23:23:36 +01:00
mike12345567 662a0cdd39 Adding SQL test case for SQL relationship filtering. 2022-01-17 18:20:37 +00:00
Rory Powell 3520c3d42b Sync row usage with app deletion 2022-01-17 18:07:26 +00:00
Budibase Staging Release Bot 81218cbea2 v1.0.27-alpha.21 2022-01-17 18:01:17 +00:00
Michael Drury 8bc548e8ef
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 abfa80bb47 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 9ef9c63b0e v1.0.43 2022-01-17 16:42:48 +00:00
Martin McKeaveney 80e1da6a94 readding query thread timeout 2022-01-17 15:57:31 +01:00
Martin McKeaveney 20cb3d8f2c more flexible datasource auth config 2022-01-17 15:52:10 +01:00
Andrew Kingston 3ff48eec0a 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 ec93406578 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 949f56d564 Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationship-filtering 2022-01-17 13:34:16 +00:00
Rory Powell 66a84e8fe6 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 16a678a6f1 v1.0.27-alpha.20 2022-01-17 10:15:17 +00:00
Rory Powell a766db9703
Merge pull request #4022 from Budibase/fix/return-url
Fix return url
2022-01-17 10:09:38 +00:00
Rory Powell 5f65c70401 Remove console.log statements 2022-01-17 09:53:53 +00:00
Budibase Release Bot 45093aac13 v1.0.42 2022-01-17 08:48:49 +00:00
Martin McKeaveney 0159d52aa6
Revert "sameSite and secure cookie settings" 2022-01-17 09:39:22 +01:00
Martin McKeaveney 857d1f7c0b gsheets E2E 2022-01-15 19:28:04 +01:00
dependabot[bot] 4f9ac15d14
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 018e0bd73b 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 407a0ce6a9
Remove log 2022-01-14 16:47:50 +00:00
Budibase Staging Release Bot ef61a58531 v1.0.27-alpha.19 2022-01-14 14:33:55 +00:00
Budibase Staging Release Bot 9b47ceacb4 v1.0.27-alpha.18 2022-01-14 14:25:57 +00:00
Andrew Kingston 157b6a19f6 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 111aab2b72 Merge branch 'develop' into fix/sync-apps-reset-rows-quotas 2022-01-14 10:12:57 +00:00