Commit Graph

17849 Commits

Author SHA1 Message Date
Rory Powell 8304ee0fc7 Merge branch 'develop' into feature/migrations-2.0 2022-01-27 10:49:52 +00:00
Rory Powell e8e6fc549d Add app db support + app url migration 2022-01-27 10:40:31 +00:00
mike12345567 9d3486eb8a Fixing #4205 - making sure builder loads the correct role for the query. 2022-01-26 18:59:41 +00:00
mike12345567 3567e7ddb6 Fixing #4192 - allowing switching between JSON and multi-select types, as well as not switching multi-select to JSON when fetching SQL tables. 2022-01-26 18:50:13 +00:00
mike12345567 35aef89661 Fixing dynamic filter modal in client library to include static formula. 2022-01-26 17:49:02 +00:00
Budibase Staging Release Bot a3e5c5af7f v1.0.46-alpha.6 2022-01-26 17:11:44 +00:00
Martin McKeaveney 203c892f33 code review and merge with develop 2022-01-26 17:45:28 +01:00
Martin McKeaveney 5d59db8fd2 code review 2022-01-26 17:14:47 +01:00
Budibase Staging Release Bot cbfb0f8a13 v1.0.46-alpha.5 2022-01-26 15:03:16 +00:00
Rory Powell 420684a862 Merge branch 'develop' into feature/migrations-2.0 2022-01-26 15:00:52 +00:00
Rory Powell e1ca44442b
Merge pull request #4137 from Budibase/feature/app-urls
Custom App URLs
2022-01-26 14:55:36 +00:00
Rory Powell 2465753af1 Handle undefined url 2022-01-26 13:39:40 +00:00
Rory Powell 0b6a8469de Don't apply csrf to existing sessions. Handle only supported content types 2022-01-26 12:52:53 +00:00
Rory Powell 716e254bdd Revert "Fix dev app preview return url"
This reverts commit e76ea10fc2.
2022-01-26 09:33:14 +00:00
Rory Powell 4b903ffd47 Handle unexpected errors during validation 2022-01-25 23:27:28 +00:00
Rory Powell 3a4b8f4557 Fix cypress and update nodemon config to use backend-core 2022-01-25 23:26:39 +00:00
Rory Powell 5cb6e19274 Add CSRF Token 2022-01-25 22:54:50 +00:00
Michael Drury 347664a46d Adding a possible fix for #4179. 2022-01-25 21:35:11 +00:00
mike12345567 5bbe667ea9 Getting client side block search fields working with searching formulas. 2022-01-25 18:28:55 +00:00
mike12345567 1fade3404f Adding the formula bulk recalculation when adding/changing a formula field. 2022-01-25 16:01:04 +00:00
Michael Drury 138a16de23
Merge pull request #4173 from Budibase/dependabot/npm_and_yarn/node-fetch-2.6.7
Bump node-fetch from 2.6.6 to 2.6.7
2022-01-25 14:12:41 +00:00
Michael Drury 120e8ef84e
Merge pull request #4174 from Budibase/dependabot/npm_and_yarn/packages/builder/node-fetch-2.6.7
Bump node-fetch from 2.6.6 to 2.6.7 in /packages/builder
2022-01-25 14:12:28 +00:00
Michael Drury 89278823f4
Merge pull request #4171 from Budibase/dependabot/npm_and_yarn/packages/backend-core/node-fetch-2.6.7
Bump node-fetch from 2.6.6 to 2.6.7 in /packages/backend-core
2022-01-25 14:12:19 +00:00
mike12345567 c7c0842d7a Fixing a couple of issues after testing, moving from deleting column to clearing. 2022-01-24 18:34:55 +00:00
mike12345567 135aff4a31 Bit of refactoring, adding in functionality to remove invalid static formula when the elements that the formula depends on are removed. 2022-01-24 18:22:59 +00:00
mike12345567 a2a24b8a96 Refactoring bulk table formula work a bit. 2022-01-24 17:06:45 +00:00
mike12345567 6bd2c9ac53 Make sure attachments are deleted when table is deleted, or column is removed. 2022-01-24 16:32:41 +00:00
mike12345567 597faa6081 Handling deletion of related rows in formula updates. 2022-01-24 16:31:18 +00:00
Budibase Release Bot c8d3c531db v1.0.47 2022-01-24 15:48:12 +00:00
Budibase Staging Release Bot 965525d1b1 v1.0.46-alpha.4 2022-01-24 15:47:45 +00:00
dependabot[bot] bf1909fa53
Bump node-fetch from 2.6.6 to 2.6.7 in /packages/builder
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 15:43:10 +00:00
dependabot[bot] 33cce189ca
Bump node-fetch from 2.6.6 to 2.6.7
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 15:43:06 +00:00
dependabot[bot] f6a03a9576
Bump node-fetch from 2.6.6 to 2.6.7 in /packages/backend-core
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 15:42:42 +00:00
Andrew Kingston 30a92ee981
Merge pull request #4030 from Budibase/s3-upload
S3 file upload component
2022-01-24 15:41:46 +00:00
Andrew Kingston 5c6a9cf654 Filter out an S3 datasources which contain custom endpoints when selecting the datsource to use with the S3 upload component 2022-01-24 15:19:21 +00:00
Andrew Kingston d348b7dfbb Add info text to the S3 upload component 2022-01-24 15:18:54 +00:00
Andrew Kingston b3bd38c6fc Prevent generating presigned URLs for any S3 datasources that use custom endpoints 2022-01-24 15:18:42 +00:00
Rory Powell bba60c5280 Test fix 2022-01-24 10:53:30 +00:00
Rory Powell a66f14a289 Migrations 2.0 2022-01-24 10:48:59 +00:00
mike12345567 faa82d8e0f Getting relationship re-enrichment working, so that static formulas will update when the value of the relationship changes. 2022-01-21 17:45:24 +00:00
Rory Powell 439c5fc7d6 Always lowercase the app url on search 2022-01-21 17:36:53 +00:00
Rory Powell 7e0c435b7b Merge branch 'develop' into feature/app-urls 2022-01-21 17:35:23 +00:00
Rory Powell 08bd447b51 Remove server -> worker request to retrieve apps, remove hosting endpoints and store 2022-01-21 17:31:18 +00:00
mike12345567 04934a544a 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 b22f1f54a0 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 196c322c4b Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-21 12:52:58 +00:00
Budibase Staging Release Bot b10f29e52b v1.0.46-alpha.3 2022-01-21 11:27:13 +00:00
Rory Powell 5246296a39
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 fc80b6a30b Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-21 10:21:14 +00:00
Rory Powell 7b19251b8d Add deprecation notice 2022-01-20 21:40:10 +00:00
Rory Powell 202fef1961 Remove cloud checks 2022-01-20 21:34:28 +00:00
Rory Powell 588cc7204d Revert yarn.lock changes 2022-01-20 21:14:11 +00:00
Budibase Release Bot 927310c812 v1.0.46 2022-01-20 19:58:40 +00:00
Andrew Kingston 45142ba916 Update {{ now }} HBS helper to floor to the second instead of millisecond 2022-01-20 19:37:01 +00:00
Andrew Kingston 6758896f57 Fix data fetch for nested providers, JSON arrays or array fields not working 2022-01-20 19:25:21 +00:00
Andrew Kingston db56a64805 Revert changes to MultiFieldSelect 2022-01-20 19:24:57 +00:00
Andrew Kingston 124d668041 Fix issue with array field validation 2022-01-20 19:24:48 +00:00
Andrew Kingston 22c1eae1a9 Transform the output of JS expressions to be actual types rather than strings 2022-01-20 19:24:39 +00:00
Andrew Kingston 81479b18f3 Derive safe array-like value as the default value for multi-select fields 2022-01-20 19:24:28 +00:00
mike12345567 ea6b286609 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 74c2b62543 v1.0.46-alpha.2 2022-01-20 18:57:06 +00:00
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 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 74a92d888e Merge branch 'fix/data-filtering' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-20 18:07:51 +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
mike12345567 8115f6eef2 Getting the static formulas being processed on input, not re-processing on output. 2022-01-20 18:04:44 +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 d66b57a44c Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-20 17:05:51 +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
mike12345567 f1a504e57f Fixing issue with dynamic/static formula types not being stored. 2022-01-20 15:16:27 +00:00
mike12345567 b362911b2c Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-20 14:37:22 +00:00
Maurits Lourens b072df09e2 Merge branch 'develop' into worker_typescript 2022-01-20 15:26:42 +01:00
Budibase Staging Release Bot d7e059e1cc v1.0.44-alpha.9 2022-01-20 14:01:03 +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
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
Peter Clement c5ea321f25 fix cypress createApp command 2022-01-20 11:51:41 +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
Maurits Lourens 71f5b68d57 run prettier + lint over typescript files as well 2022-01-20 09:17:08 +01:00
Maurits Lourens f96c5ffc9f add typescript support to worker 2022-01-20 09:15:46 +01:00
Rory Powell 765b5c67cf Add creatingApp && loaded checks 2022-01-20 07:23:13 +00:00
Maurits Lourens 580727c923 add typescript support 2022-01-19 23:44:17 +01: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
mike12345567 10f55cf572 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 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
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