Commit Graph

9348 Commits

Author SHA1 Message Date
Budibase Staging Release Bot dbaede79f6 v1.0.46-alpha.7 2022-01-28 15:12:31 +00:00
Maurits Lourens 24b2fc65a0 Adds a url to the templates 2022-01-28 16:06:46 +01:00
Rory Powell a70894e065 Merge branch 'fix/app-update' into feature/migrations-2.0 2022-01-28 13:32:26 +00:00
Rory Powell c96573069e Fix app update endpoint 2022-01-28 13:27:19 +00:00
Rory Powell e001376e6d Fix loop early exit 2022-01-28 11:32:28 +00:00
Michael Drury d3a90acc55 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567 d2fe119d90 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
Hwansoo 35671cb120 Fix not showing pagination of query on production 2022-01-28 01:31:10 +09:00
Andrew Kingston f8378e551d Redirect if opening a locked app 2022-01-27 13:44:09 +00:00
Andrew Kingston 62860c3e9b Disable jest tests in builder for now 2022-01-27 13:26:39 +00:00
Rory Powell 758a8a023f Merge branch 'develop' into feature/migrations-2.0 2022-01-27 10:49:52 +00:00
Rory Powell 767354ad60 Add app db support + app url migration 2022-01-27 10:40:31 +00:00
mike12345567 412b7e5f06 Fixing #4205 - making sure builder loads the correct role for the query. 2022-01-26 18:59:41 +00:00
mike12345567 9b55ba8b13 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
Andrew Kingston 6af3e1ef7c Remove builder rollup alias from client as it is now fully decoupled 2022-01-26 17:55:45 +00:00
Andrew Kingston bfe209e3e6 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 17:49:27 +00:00
mike12345567 223b5a0e16 Fixing dynamic filter modal in client library to include static formula. 2022-01-26 17:49:02 +00:00
Andrew Kingston 0b5d26b28b Enable caching in client library 2022-01-26 17:45:35 +00:00
Andrew Kingston a3f13508d8 Disable API caching by default and deep clone data fetch config to avoid direct mutation side effects 2022-01-26 17:44:14 +00:00
Andrew Kingston 05e9f6088b Use frontend-core implementation of data fetching in backend UI 2022-01-26 17:43:48 +00:00
Budibase Staging Release Bot d8ab715267 v1.0.46-alpha.6 2022-01-26 17:11:44 +00:00
Martin McKeaveney 19d27c97a4 code review and merge with develop 2022-01-26 17:45:28 +01:00
Martin McKeaveney efde072e70 code review 2022-01-26 17:14:47 +01:00
Andrew Kingston c7cd6b923d Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 16:02:27 +00:00
Budibase Staging Release Bot 03b35d1e8d v1.0.46-alpha.5 2022-01-26 15:03:16 +00:00
Rory Powell e5d04d2830 Merge branch 'develop' into feature/migrations-2.0 2022-01-26 15:00:52 +00:00
Rory Powell 716a693552 Merge pull request #4137 from Budibase/feature/app-urls
Custom App URLs
2022-01-26 14:55:36 +00:00
Rory Powell 3d533d9f13 Handle undefined url 2022-01-26 13:39:40 +00:00
Rory Powell 20ec58b775 Don't apply csrf to existing sessions. Handle only supported content types 2022-01-26 12:52:53 +00:00
Rory Powell 0b9bb42817 Revert "Fix dev app preview return url"
This reverts commit 13d0bfb190.
2022-01-26 09:33:14 +00:00
Rory Powell f66a8b888f Handle unexpected errors during validation 2022-01-25 23:27:28 +00:00
Rory Powell 9db180b166 Fix cypress and update nodemon config to use backend-core 2022-01-25 23:26:39 +00:00
Rory Powell ffcf5354eb Add CSRF Token 2022-01-25 22:54:50 +00:00
Michael Drury 95e0c1aa1f Adding a possible fix for #4179. 2022-01-25 21:35:11 +00:00
Andrew Kingston 29f47198c6 Remove built-in patch functionality from core API client and instead manually patch client library API endpoints 2022-01-25 19:22:43 +00:00
mike12345567 ff6c81f265 Getting client side block search fields working with searching formulas. 2022-01-25 18:28:55 +00:00
Andrew Kingston bd04d627d2 Add missing API client documentation and fix S3 upload endpoints to make them consistent 2022-01-25 16:54:55 +00:00
mike12345567 b4eef68d71 Adding the formula bulk recalculation when adding/changing a formula field. 2022-01-25 16:01:04 +00:00
Andrew Kingston 9a813dbb29 Lint 2022-01-25 15:49:35 +00:00
Andrew Kingston 9d52841219 Refactor automation store to properly handle errors 2022-01-25 15:44:08 +00:00
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