Commit Graph

9358 Commits

Author SHA1 Message Date
Andrew Kingston 45547f1efc Improve handling of 403 logouts and return URL cookie 2022-01-25 15:28:31 +00:00
Andrew Kingston 7b32543537 Use core CookieUtils in client library 2022-01-25 15:28:14 +00:00
Michael Drury 37c29086b2 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 69831e7662 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 36b529f696 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
Andrew Kingston 604788a244 Fix issue with multiple enrichments before components mount without affecting other components 2022-01-25 11:22:26 +00:00
Andrew Kingston 57aa63a2d6 Don't render the active client app screen until the router is loaded to avoid a wasted render 2022-01-25 11:21:42 +00:00
Andrew Kingston d5ef915f39 Fix filtering no datetime fields in blocks 2022-01-25 08:42:07 +00:00
Andrew Kingston aec1f90412 Fix filter modal crashing when encountering an undefined option for a select field 2022-01-25 08:30:19 +00:00
Andrew Kingston 673deddc8c Fix JSON content missing from handled API errors 2022-01-25 08:25:16 +00:00
Andrew Kingston b0c03d8508 Improve style of data import modal 2022-01-25 08:22:53 +00:00
Andrew Kingston 9823534f80 Fix integration list not loading correctly 2022-01-25 08:13:28 +00:00
Andrew Kingston 25df85b91f Fix custom API response parsing not working 2022-01-25 08:10:49 +00:00
Andrew Kingston a8f9138001 Fix email template update endpoint 2022-01-25 08:04:56 +00:00
Andrew Kingston 5fa51005cf Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-25 07:51:47 +00:00
Andrew Kingston 7656887c1a Fix rare issue which could occur when enriching component props twice before an initial render has taken place 2022-01-24 19:25:19 +00:00
Andrew Kingston 611dc0ab48 Use correct casing for login error 2022-01-24 19:15:43 +00:00
Andrew Kingston 95488fd48d Don't show an error notification when failing API requests on the initial page load of the login page 2022-01-24 19:15:28 +00:00
Andrew Kingston b75401edfb Remove log 2022-01-24 19:15:06 +00:00
Andrew Kingston 591dafc336 Don't show a notification when failing an API request due to analytics failures 2022-01-24 19:14:57 +00:00
Andrew Kingston 4d9e7cac31 Fix crash when an app with a null name exists 2022-01-24 19:06:41 +00:00
Andrew Kingston bed1f0e092 Fix issue with create app endpoint sending json content type header 2022-01-24 19:06:18 +00:00
Andrew Kingston e1a1d47238 Don't show an error if analytics fails to activate 2022-01-24 18:58:22 +00:00
Andrew Kingston 81558588dc Clean up frontend store 2022-01-24 18:53:41 +00:00
Andrew Kingston 891bdefcb7 Remove all obscure error handling from stores and move it to the display level 2022-01-24 18:40:06 +00:00
mike12345567 da04db39c3 Fixing a couple of issues after testing, moving from deleting column to clearing. 2022-01-24 18:34:55 +00:00
mike12345567 ab5c7766b4 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 6a6fdbb8ff Refactoring bulk table formula work a bit. 2022-01-24 17:06:45 +00:00
Andrew Kingston ba669dbcf4 Include missing layout endpoints 2022-01-24 16:50:33 +00:00
Andrew Kingston b33a2aa662 Improve API error logging to differentiate between builder and client sources 2022-01-24 16:40:55 +00:00
Andrew Kingston c08fadc7b0 Move API client in builder to top level under src and fix some endpoints not being imported 2022-01-24 16:38:36 +00:00
mike12345567 da26761773 Make sure attachments are deleted when table is deleted, or column is removed. 2022-01-24 16:32:41 +00:00
mike12345567 3bc51864b4 Handling deletion of related rows in formula updates. 2022-01-24 16:31:18 +00:00
Budibase Release Bot e96b2b4d42 v1.0.47 2022-01-24 15:48:12 +00:00
Budibase Staging Release Bot 0b2564ff44 v1.0.46-alpha.4 2022-01-24 15:47:45 +00:00
Andrew Kingston 30fa72665a Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-24 15:46:54 +00:00
dependabot[bot] cde2174464 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] c2d734db34 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] ed90fd27e5 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 b0defa8176 Merge pull request #4030 from Budibase/s3-upload
S3 file upload component
2022-01-24 15:41:46 +00:00
Andrew Kingston 8284e1d76c 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 f3d1035e23 Add info text to the S3 upload component 2022-01-24 15:18:54 +00:00
Andrew Kingston 3dccf1b299 Prevent generating presigned URLs for any S3 datasources that use custom endpoints 2022-01-24 15:18:42 +00:00
Andrew Kingston eeb18ac087 Fix issue with table and ignore node_modules in frontend-core 2022-01-24 14:39:32 +00:00
Andrew Kingston db3b4c0b8c Update remaining builder stores to use new core API and handle errors properly 2022-01-24 14:32:27 +00:00
Andrew Kingston 453386696f Refactor all backend stores and their usages to use new core API and handle errors 2022-01-24 12:37:22 +00:00
Rory Powell 36456189f4 Test fix 2022-01-24 10:53:30 +00:00
Rory Powell 3fdce44d56 Migrations 2.0 2022-01-24 10:48:59 +00:00
Andrew Kingston 816ced96df Update all API usages in builder components directory 2022-01-24 10:44:37 +00:00
mike12345567 10a2915bcb 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 0eecab7eed Always lowercase the app url on search 2022-01-21 17:36:53 +00:00
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 59349f2451 Add lots more work on refactoring builder to use core API 2022-01-21 15:09:27 +00:00
Andrew Kingston 9c38624d3a Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-21 13:38:06 +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
Andrew Kingston f100ae42fd Add more work on API refactor in builder 2022-01-21 09:10:59 +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 e6cddcca3e Add more builder API refactor updates 2022-01-20 19:53:55 +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 6319760b8c More work on builder API refactor 2022-01-20 19:27:15 +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 e2fb5f51f5 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-20 18:44:04 +00:00
Andrew Kingston 6a7aed1c0d Update parts of builder with core API refactor 2022-01-20 18:42:30 +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
Andrew Kingston b74815d41b Add URL to error objects 2022-01-20 14:27:43 +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
Andrew Kingston 21443b0e53 Tidy core API client 2022-01-20 13:55:07 +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
Andrew Kingston 9f180ca292 Fix issue with search fields in builder when not using a table 2022-01-20 13:37:33 +00:00
Andrew Kingston d3a4e34b3f Don't show a notification if there is no error message 2022-01-20 13:37:20 +00:00
Andrew Kingston 978c3984e9 Extract error mesages better when throwing errors in core api client 2022-01-20 13:37:06 +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
Andrew Kingston 86e0e8acc2 Fix DND throwing errors due to browser API updates 2022-01-20 11:52:29 +00:00
Peter Clement bc521af082 fix cypress createApp command 2022-01-20 11:51:41 +00:00
Andrew Kingston d494e53786 Remove static functions from data fetch models 2022-01-20 11:50:18 +00:00
Andrew Kingston a3d6af7b9f Update usage of fetch client app route endpoint 2022-01-20 11:30:51 +00:00
Andrew Kingston c7e98623bc Update usage of DataFetching in client apps 2022-01-20 11:29:30 +00:00
Andrew Kingston 6a07e727cd Fix recursion issue with applying API method patches 2022-01-20 11:26:43 +00:00
Andrew Kingston 1ec3a91cae Update usages of utils and helpers in the builder 2022-01-20 11:19:37 +00:00
Andrew Kingston aab7adce03 Update remaining dependency issues in client 2022-01-20 10:16:13 +00:00
Andrew Kingston e3258a0caf Add helpers into BBUI rather than frontend core and fix A11y issue 2022-01-20 10:14:39 +00:00
Andrew Kingston 5fad127f94 Update remaining usage of API in client library 2022-01-20 09:57:57 +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
Andrew Kingston 6e58820b45 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-20 09:43:23 +00:00
Andrew Kingston ff97e5af43 Update builder to reference assets in frontend core 2022-01-20 09:41:05 +00:00
Andrew Kingston 6694bdc651 Add core API implementation and update most of client library to use it 2022-01-20 09:40:53 +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
Andrew Kingston 9d4f18f1ce Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-19 13:54:39 +00: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