Commit Graph

9281 Commits

Author SHA1 Message Date
Rory Powell 81e8ceff1a Merge branch 'develop' into feature/app-urls 2022-01-21 17:35:23 +00:00
Rory Powell e0dcc7648c Remove server -> worker request to retrieve apps, remove hosting endpoints and store 2022-01-21 17:31:18 +00:00
mike12345567 deb4a34c18 Adding the ability to filter using the filter drawer for formula fields, getting them based on the enriched contents of a row - adding functionality to denote to each table which other tables depend on them for formula. 2022-01-21 16:24:24 +00:00
Andrew Kingston a9d4e6a64e Fix rare issue which could occur when enriching component props twice before an initial render has taken place 2022-01-21 13:32:56 +00:00
mike12345567 87d5e0d39e Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-21 12:52:58 +00:00
Budibase Staging Release Bot 58dc644ad8 v1.0.46-alpha.3 2022-01-21 11:27:13 +00:00
Rory Powell 04386bd1d8 Merge pull request #4000 from Budibase/fix/sync-apps-reset-rows-quotas
App and Row Quota Fixes
2022-01-21 11:20:14 +00:00
mike12345567 e2006a299d Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-21 10:21:14 +00:00
Rory Powell 2b6f9e20f4 Add deprecation notice 2022-01-20 21:40:10 +00:00
Rory Powell b49be566b7 Remove cloud checks 2022-01-20 21:34:28 +00:00
Rory Powell 31ecb71070 Revert yarn.lock changes 2022-01-20 21:14:11 +00:00
Budibase Release Bot caebb066c3 v1.0.46 2022-01-20 19:58:40 +00:00
Andrew Kingston 358aed6d4f Update {{ now }} HBS helper to floor to the second instead of millisecond 2022-01-20 19:37:01 +00:00
Andrew Kingston 2394f7faee Fix data fetch for nested providers, JSON arrays or array fields not working 2022-01-20 19:25:21 +00:00
Andrew Kingston 858d7b4b5a Revert changes to MultiFieldSelect 2022-01-20 19:24:57 +00:00
Andrew Kingston c578dedd51 Fix issue with array field validation 2022-01-20 19:24:48 +00:00
Andrew Kingston 56ef16665e Transform the output of JS expressions to be actual types rather than strings 2022-01-20 19:24:39 +00:00
Andrew Kingston 3c50a83de7 Derive safe array-like value as the default value for multi-select fields 2022-01-20 19:24:28 +00:00
mike12345567 14ec6ac205 Fixing an issue where old apps did not send up the values of the default parameters, the server should be able to handle this, enrich them in if they aren't there. 2022-01-20 19:06:08 +00:00
Budibase Staging Release Bot 36611280f2 v1.0.46-alpha.2 2022-01-20 18:57:06 +00:00
Michael Drury 321003a74c 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 9dbadcd671 v1.0.46-alpha.1 2022-01-20 18:46:28 +00:00
Andrew Kingston b0d24d7c07 Merge pull request #4086 from Budibase/ak-fixes
Fixes for multi-selects and data fetching
2022-01-20 18:39:40 +00:00
mike12345567 963cf5b4ed Merge branch 'fix/data-filtering' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-20 18:07:51 +00:00
mike12345567 23a9fc709f 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
mike12345567 50eff577f9 Getting the static formulas being processed on input, not re-processing on output. 2022-01-20 18:04:44 +00:00
Rory Powell 52a81ff75c Remove self hosted check 2022-01-20 17:36:54 +00:00
Rory Powell 4a5d4527e8 Remove self hosted check 2022-01-20 17:29:15 +00:00
Rory Powell 58bcba71f7 Send url to api and honour url on viewing published app 2022-01-20 17:27:56 +00:00
Budibase Staging Release Bot f927117582 v1.0.46-alpha.0 2022-01-20 17:10:09 +00:00
mike12345567 d565819494 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-20 17:05:51 +00:00
mike12345567 8d95d9b603 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-20 17:03:21 +00:00
Budibase Release Bot 6c22ccb149 v1.0.45 2022-01-20 16:33:40 +00:00
Rory Powell 6e5957a01a validator tweak 2022-01-20 16:25:09 +00:00
Rory Powell 4fb9a4aa59 validator tweak 2022-01-20 16:20:58 +00:00
Rory Powell fe374c0439 Merge fix and linting 2022-01-20 16:17:09 +00:00
mike12345567 c66b9fb0b4 Renaming bindableOptions to bindings and replacing the query bindings variable with queryBindings. 2022-01-20 16:12:32 +00:00
Rory Powell 998afad950 Merge branch 'develop' into feature/app-urls 2022-01-20 16:09:14 +00:00
Rory Powell bc67974996 Share validation between app modals, add yup based validation framework, add url to app modals 2022-01-20 16:01:09 +00:00
mike12345567 06a6001f95 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
mike12345567 c04379eaea Fixing issue with dynamic/static formula types not being stored. 2022-01-20 15:16:27 +00:00
mike12345567 3075c7dbe7 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-20 14:37:22 +00:00
Maurits Lourens 186f1c9a7d Merge branch 'develop' into worker_typescript 2022-01-20 15:26:42 +01:00
Budibase Staging Release Bot 96d8e6d68e v1.0.44-alpha.9 2022-01-20 14:01:03 +00:00
Peter Clement 41b4045f7b Merge pull request #4112 from Budibase/fix/template-row-limit
Home Screen UI fixes
2022-01-20 13:53:52 +00:00
Budibase Staging Release Bot 62873fbb8d v1.0.44-alpha.8 2022-01-20 12:33:48 +00:00
Peter Clement 1b147bfad8 Merge remote-tracking branch 'origin/develop' into fix/template-row-limit 2022-01-20 12:30:41 +00:00
mike12345567 5638e92ab5 Fixing cypress tests, removing change which was added to try and fix reverted test cases. 2022-01-20 12:26:59 +00:00
Peter Clement bc521af082 fix cypress createApp command 2022-01-20 11:51:41 +00:00
Peter Clement 09611d3aad Merge remote-tracking branch 'origin/develop' into fix/template-row-limit 2022-01-20 09:53:39 +00:00
Peter Clement 0802522106 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 27a8fefaa4 fix cypress 2022-01-20 09:44:40 +00:00
Maurits Lourens 2577a6631a run prettier + lint over typescript files as well 2022-01-20 09:17:08 +01:00
Maurits Lourens 8fa522cff0 add typescript support to worker 2022-01-20 09:15:46 +01:00
Rory Powell 539bce8aed Add creatingApp && loaded checks 2022-01-20 07:23:13 +00:00
Maurits Lourens 000d2c5ad4 add typescript support 2022-01-19 23:44:17 +01:00
Peter Clement 094df5922d fix export button size 2022-01-19 19:45:19 +00:00
Peter Clement d4463fc0f3 add splash screen for apps page 2022-01-19 19:40:28 +00:00
mike12345567 249b10a605 Adding in static/dynamic select, as well as the ability to set a tooltip on a select. 2022-01-19 18:33:58 +00:00
Peter Clement b0b8e568ce remove uneeded app creation modal 2022-01-19 18:29:09 +00:00
Budibase Staging Release Bot e8915adc61 v1.0.44-alpha.7 2022-01-19 15:25:19 +00:00
Peter Clement a9d7a19cb5 fix issue with templates showing over more than two rows 2022-01-19 15:22:55 +00:00
Martin McKeaveney 5bacd7f62a Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-01-19 16:19:42 +01:00
Martin McKeaveney 9c54872fa9 revert new cypress tests 2022-01-19 16:19:02 +01:00
Budibase Staging Release Bot d8c44be3c3 v1.0.44-alpha.6 2022-01-19 15:17:21 +00:00
Martin McKeaveney 8267d31626 Revert "Small changes associated with the smoke build" 2022-01-19 16:10:22 +01:00
Budibase Staging Release Bot ba3de70639 v1.0.44-alpha.5 2022-01-19 15:08:47 +00:00
Michael Drury 84f7405f02 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 a870c5b327 v1.0.44-alpha.4 2022-01-19 14:59:39 +00:00
Andrew Kingston 937518228d 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 b3670e6fff v1.0.44-alpha.3 2022-01-19 14:52:46 +00:00
Maurits Lourens f5732abe55 #3397 - select radio buttons alignment setting 2022-01-19 15:23:41 +01:00
mike12345567 a46de08d18 Making the worker tell the UI it is in production when running in Cypress. 2022-01-19 13:05:31 +00:00
Andrew Kingston 8be7018543 Rename return URL to redirect URL in log out action 2022-01-19 12:50:07 +00:00
Andrew Kingston ce3715ccad Update log out action text 2022-01-19 12:45:15 +00:00
Budibase Staging Release Bot dddeb80cee v1.0.44-alpha.2 2022-01-19 11:49:24 +00:00
Martin McKeaveney c25c88ae58 fix lint 2022-01-19 12:42:11 +01:00
Andrew Kingston baee67d2e8 Lint 2022-01-19 11:32:56 +00:00
Andrew Kingston fa2a958e73 Fix server crash when trying to log out and already logged out 2022-01-19 11:22:44 +00:00
Andrew Kingston f6396649b5 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 8be175843a Add return URL setting to log out button action 2022-01-19 11:22:04 +00:00
mike12345567 ec95d20b21 Merge branch 'develop' of github.com:Budibase/budibase into fix/3721 2022-01-19 10:48:23 +00:00
mike12345567 7d4bea8f22 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 fafe6f5d40 v1.0.44 2022-01-19 10:13:22 +00:00
Martin McKeaveney 3d5a3e7902 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 875a577561 don't strip secrets from DB and only hide from client 2022-01-19 10:30:22 +01:00
Andrew Kingston 8bf91e6f21 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 5b58bd9be6 set defaultValue in Field component 2022-01-19 09:19:49 +01:00
Michael Drury 9d5d8284cb 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 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