Commit Graph

17997 Commits

Author SHA1 Message Date
Andrew Kingston 5109975433 Update rich text field height to be set dynamically 2022-02-03 10:46:41 +00:00
Andrew Kingston 1ec51d2562 Add custom styles for HRs, tables and link colors in rich text editor and preview 2022-02-03 09:46:30 +00:00
Andrew Kingston 953fa94e2b Add custom styles for code blocks and block quotes in rich text editor and preview 2022-02-03 09:32:01 +00:00
Andrew Kingston 27b3d19771 Properly trim markdown viewer component 2022-02-03 09:06:52 +00:00
Andrew Kingston bd6ae0686d Add markdown viewer component to builder 2022-02-02 21:23:39 +00:00
Andrew Kingston 7f064598a6 Update client app long form text component to be rich text and add new markdown viewer component 2022-02-02 21:23:28 +00:00
Andrew Kingston 283b59d5fe Update markdown viewer and editor BBUI components 2022-02-02 21:22:49 +00:00
mike12345567 e3679e1b6f Quick fix for #4256 - allow SQL related rows to perform dynamic formulas before becoming links, meaning that formulas can be used as primary display fields as with budibase DB. 2022-02-02 18:21:38 +00:00
mike12345567 b5993f4aa9 Fixing TS issue caused by linting. 2022-02-02 18:18:53 +00:00
mike12345567 fa94ea7b3a Updating the SQL core to allow it to handle multiple relationships between the same two tables. 2022-02-02 18:15:17 +00:00
Andrew Kingston 7a3683a462 Use new rich text field in build backend UI 2022-02-02 15:18:46 +00:00
Andrew Kingston d3b12b6ab8 Add new rich text component to BBUI 2022-02-02 15:17:59 +00:00
Budibase Staging Release Bot 86af297d87 v1.0.49-alpha.8 2022-02-02 10:59:16 +00:00
Michael Drury da810d6c15 Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-02-02 10:51:59 +00:00
Michael Drury b6e3483481 Fixing issue with sql API after refactor. 2022-02-01 20:59:26 +00:00
Budibase Staging Release Bot c7d23bbf7e v1.0.49-alpha.7 2022-02-01 20:38:50 +00:00
Michael Drury e1a4136f9c Fixing a typescript issue in server. 2022-02-01 20:29:12 +00:00
Andrew Kingston c3e358fead Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:52:26 +00:00
Andrew Kingston d132292102 Update lock files 2022-02-01 16:46:38 +00:00
Andrew Kingston 312571314d Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:46:00 +00:00
Budibase Staging Release Bot 7f6bc74ccc v1.0.49-alpha.6 2022-02-01 16:32:31 +00:00
mike12345567 b3b982fa8f Making sure worker runs through ts-node in cypress, locally, then built in CI. 2022-02-01 16:02:44 +00:00
mike12345567 53aabb4d05 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-02-01 14:33:02 +00:00
Martin McKeaveney 394eb44b5f merge 2022-02-01 11:22:14 +01:00
Budibase Staging Release Bot beefc0158c v1.0.49-alpha.5 2022-02-01 10:11:29 +00:00
Martin McKeaveney 5cee2aff84 remove more references to envoy 2022-02-01 11:02:37 +01:00
Rory Powell 0716f18f76 Revert "build app before running e2e tests"
This reverts commit 75ef92d645.
2022-02-01 06:40:07 +00:00
Maurits Lourens 75ef92d645 build app before running e2e tests 2022-01-31 23:13:42 +01:00
Rory Powell d1bcf4f3ba Reorder jest mock and import statements for email mocking 2022-01-31 21:05:14 +00:00
Rory Powell 31f0400df5 Merge branch 'develop' into worker_typescript 2022-01-31 20:29:20 +00:00
Budibase Staging Release Bot c991f284e3 v1.0.49-alpha.4 2022-01-31 19:12:15 +00:00
Andrew Kingston 50bb4a8ebf
Merge pull request #4228 from pueding/fix/query-pagination-on-production
Fix not showing pagination of query on production
2022-01-31 19:06:00 +00:00
Budibase Staging Release Bot 9a271e74c1 v1.0.49-alpha.3 2022-01-31 17:55:54 +00:00
mike12345567 9fa10ff02f Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area. 2022-01-31 17:53:19 +00:00
mike12345567 03b4b29b01 Review comments, renaming deployed -> prod in terms of app IDs. 2022-01-31 17:42:51 +00:00
Rory Powell d613d9094e Tolerate missing app metadata in app url migration 2022-01-31 17:28:45 +00:00
mike12345567 225674d0a4 Adding comments to areas that need to keep using old db creation method. 2022-01-31 17:27:47 +00:00
mike12345567 09cfa9508e Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:16:59 +00:00
mike12345567 da87b3d73e Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:00:22 +00:00
Budibase Staging Release Bot cb6189e76b v1.0.49-alpha.2 2022-01-31 16:54:48 +00:00
Rory Powell 934b1bdabf
Merge pull request #4220 from Budibase/feature/migrations-2.0
Migrations 2.0
2022-01-31 16:47:38 +00:00
Rory Powell fc05cd240e
Merge pull request #4261 from Budibase/fix/csrf-post-login
Fix CSRF token not present using local auth
2022-01-31 16:41:43 +00:00
Martin McKeaveney 42660969c7
Merge pull request #4242 from mslourens/add_url_to_templates
Adds a url to the templates
2022-01-31 16:37:46 +00:00
Martin McKeaveney e0c9a4577c merge 2022-01-31 17:02:27 +01:00
Budibase Staging Release Bot 3f8d81837d v1.0.49-alpha.1 2022-01-31 16:01:59 +00:00
Martin McKeaveney 362b777c9e fixing cypress setup 2022-01-31 16:35:23 +01:00
mike12345567 c9d2de8344 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 15:33:36 +00:00
mike12345567 8fbd101448 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-31 15:21:15 +00:00
Hwansoo 0e94950857 fix: check if fields exists 2022-02-01 00:03:25 +09:00
Budibase Staging Release Bot 27d295ae31 v1.0.49-alpha.0 2022-01-31 14:39:05 +00:00
mike12345567 712382af07 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-31 14:29:02 +00:00
mike12345567 b84b34d5ae Review comments. 2022-01-31 14:16:03 +00:00
mike12345567 76e24018be Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 14:09:07 +00:00
Budibase Release Bot a5f51d83ba v1.0.48 2022-01-31 13:43:13 +00:00
mike12345567 bfc40cc804 Cypress setup, allowing option for using typescript locally. 2022-01-31 11:51:52 +00:00
Rory Powell 74b6844ebf Fix CSRF token not present using local auth 2022-01-31 11:07:54 +00:00
Andrew Kingston f32cfdd3b9 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-31 09:40:33 +00:00
Rory Powell a153e920c9 Merge branch 'develop' into feature/migrations-2.0 2022-01-30 22:37:11 +00:00
Budibase Staging Release Bot d69c417cf4 v1.0.46-alpha.8 2022-01-30 21:43:10 +00:00
Rory Powell 45fe8a191d Merge branch 'develop' into feature/migrations-2.0 2022-01-30 21:38:15 +00:00
Rory Powell 3ce4f32250 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
Martin McKeaveney 430fb29e17 point to MinIO instance instead of through proxy 2022-01-30 21:25:56 +01:00
Martin McKeaveney d749c4bd34 nginx prod config, security headers and content-security policies 2022-01-30 21:11:59 +01:00
mike12345567 4b1331450c Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 2022-01-28 18:52:34 +00:00
mike12345567 417bf98ec9 Tests updating, all now passing, fixed some issues discovered by them. 2022-01-28 15:43:51 +00:00
Andrew Kingston bfb2d637fc Fix issue with backend UI not refreshing when adding a row 2022-01-28 15:17:21 +00:00
Budibase Staging Release Bot 5718d4925a v1.0.46-alpha.7 2022-01-28 15:12:31 +00:00
Maurits Lourens fe51686458 Adds a url to the templates 2022-01-28 16:06:46 +01:00
Rory Powell 805cc5b515 Merge branch 'fix/app-update' into feature/migrations-2.0 2022-01-28 13:32:26 +00:00
Rory Powell d5e5e5fd93 Fix app update endpoint 2022-01-28 13:27:19 +00:00
Rory Powell 89fb5feeeb Fix loop early exit 2022-01-28 11:32:28 +00:00
Michael Drury 91c2a40c89 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567 40c6eb2007 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
Hwansoo 5b567300ec Fix not showing pagination of query on production 2022-01-28 01:31:10 +09:00
Andrew Kingston d0930e29ed Redirect if opening a locked app 2022-01-27 13:44:09 +00:00
Andrew Kingston a2c46cd752 Disable jest tests in builder for now 2022-01-27 13:26:39 +00:00
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
Andrew Kingston 847b3b5dbc Remove builder rollup alias from client as it is now fully decoupled 2022-01-26 17:55:45 +00:00
Andrew Kingston 617ddf7092 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 17:49:27 +00:00
mike12345567 35aef89661 Fixing dynamic filter modal in client library to include static formula. 2022-01-26 17:49:02 +00:00
Andrew Kingston fa5bec03ff Enable caching in client library 2022-01-26 17:45:35 +00:00
Andrew Kingston 7c669459b4 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 6b03db235b Use frontend-core implementation of data fetching in backend UI 2022-01-26 17:43:48 +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
Andrew Kingston 515d4f91c0 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 16:02:27 +00: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
Martin McKeaveney c316306078 remove need for index from dynamo connector 2022-01-26 15:25:11 +01: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
Andrew Kingston 5b2b3e9add 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 5bbe667ea9 Getting client side block search fields working with searching formulas. 2022-01-25 18:28:55 +00:00
Andrew Kingston cfa02f88f6 Add missing API client documentation and fix S3 upload endpoints to make them consistent 2022-01-25 16:54:55 +00:00
mike12345567 1fade3404f Adding the formula bulk recalculation when adding/changing a formula field. 2022-01-25 16:01:04 +00:00
Andrew Kingston 48c3c7852a Lint 2022-01-25 15:49:35 +00:00
Andrew Kingston 9ea5be7851 Refactor automation store to properly handle errors 2022-01-25 15:44:08 +00:00
Andrew Kingston c06947cf46 Improve handling of 403 logouts and return URL cookie 2022-01-25 15:28:31 +00:00
Andrew Kingston 66bf6c6059 Use core CookieUtils in client library 2022-01-25 15:28:14 +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
Andrew Kingston 542dc6db2f Fix issue with multiple enrichments before components mount without affecting other components 2022-01-25 11:22:26 +00:00
Andrew Kingston bca6f34959 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 502a3bd8eb Fix filtering no datetime fields in blocks 2022-01-25 08:42:07 +00:00
Andrew Kingston 23b698b396 Fix filter modal crashing when encountering an undefined option for a select field 2022-01-25 08:30:19 +00:00
Andrew Kingston fee24a83ad Fix JSON content missing from handled API errors 2022-01-25 08:25:16 +00:00
Andrew Kingston c1595f7884 Improve style of data import modal 2022-01-25 08:22:53 +00:00
Andrew Kingston 275520698f Fix integration list not loading correctly 2022-01-25 08:13:28 +00:00
Andrew Kingston 58c5493ed3 Fix custom API response parsing not working 2022-01-25 08:10:49 +00:00
Andrew Kingston 0eb6ab388e Fix email template update endpoint 2022-01-25 08:04:56 +00:00
Andrew Kingston 77de6a10cc Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-25 07:51:47 +00:00
Andrew Kingston 2290652b27 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 2ea242e396 Use correct casing for login error 2022-01-24 19:15:43 +00:00
Andrew Kingston cb49659b47 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 41514260be Remove log 2022-01-24 19:15:06 +00:00
Andrew Kingston b95f481720 Don't show a notification when failing an API request due to analytics failures 2022-01-24 19:14:57 +00:00
Andrew Kingston 2c3cc7c8ba Fix crash when an app with a null name exists 2022-01-24 19:06:41 +00:00
Andrew Kingston 43e4fcfd01 Fix issue with create app endpoint sending json content type header 2022-01-24 19:06:18 +00:00
Andrew Kingston 18d5d66a71 Don't show an error if analytics fails to activate 2022-01-24 18:58:22 +00:00
Andrew Kingston da4d462f8c Clean up frontend store 2022-01-24 18:53:41 +00:00
Andrew Kingston 7e90c3de43 Remove all obscure error handling from stores and move it to the display level 2022-01-24 18:40:06 +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
Andrew Kingston 492ea41536 Include missing layout endpoints 2022-01-24 16:50:33 +00:00
Andrew Kingston ac80b8e447 Improve API error logging to differentiate between builder and client sources 2022-01-24 16:40:55 +00:00
Andrew Kingston c7877055a5 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 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
Andrew Kingston bbc3c18fcd Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-24 15:46:54 +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