Commit Graph

9472 Commits

Author SHA1 Message Date
Andrew Kingston b84ec36271 Update setting label of markdown viewer component 2022-02-03 11:54:07 +00:00
Andrew Kingston 160849d0f5 Support a customisable offset for fullscreen mode for rich text editors 2022-02-03 11:53:51 +00:00
Andrew Kingston aacd8b01c6 Update rich text field height to be set dynamically 2022-02-03 10:46:41 +00:00
Andrew Kingston 392aaa30d0 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 f347bafe62 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 e8f8d6ead9 Properly trim markdown viewer component 2022-02-03 09:06:52 +00:00
Andrew Kingston 9310ef08f5 Add markdown viewer component to builder 2022-02-02 21:23:39 +00:00
Andrew Kingston 815b6213cf 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 0b7dbebe5c Update markdown viewer and editor BBUI components 2022-02-02 21:22:49 +00:00
mike12345567 0b68db7516 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 aa204a9292 Fixing TS issue caused by linting. 2022-02-02 18:18:53 +00:00
mike12345567 168a126e2a 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 66e104f02b Use new rich text field in build backend UI 2022-02-02 15:18:46 +00:00
Andrew Kingston 0892a1db59 Add new rich text component to BBUI 2022-02-02 15:17:59 +00:00
Budibase Staging Release Bot cf3e0f0fdc v1.0.49-alpha.8 2022-02-02 10:59:16 +00:00
Michael Drury 6037cb19b8 Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-02-02 10:51:59 +00:00
Michael Drury 6063ab03b0 Fixing issue with sql API after refactor. 2022-02-01 20:59:26 +00:00
Budibase Staging Release Bot 61e3877e08 v1.0.49-alpha.7 2022-02-01 20:38:50 +00:00
Michael Drury 4b23a78bc9 Fixing a typescript issue in server. 2022-02-01 20:29:12 +00:00
Andrew Kingston 378ddc5753 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:52:26 +00:00
Andrew Kingston e0ed191f49 Update lock files 2022-02-01 16:46:38 +00:00
Andrew Kingston de12e0dc79 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:46:00 +00:00
Budibase Staging Release Bot 7852960a03 v1.0.49-alpha.6 2022-02-01 16:32:31 +00:00
mike12345567 b847b578c7 Making sure worker runs through ts-node in cypress, locally, then built in CI. 2022-02-01 16:02:44 +00:00
mike12345567 e642268364 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-02-01 14:33:02 +00:00
Martin McKeaveney c11e26cb2e merge 2022-02-01 11:22:14 +01:00
Budibase Staging Release Bot bc781128d6 v1.0.49-alpha.5 2022-02-01 10:11:29 +00:00
Martin McKeaveney 7fb9b33f6c remove more references to envoy 2022-02-01 11:02:37 +01:00
Rory Powell ec3c196c03 Revert "build app before running e2e tests"
This reverts commit 6eca23541f.
2022-02-01 06:40:07 +00:00
Maurits Lourens 6eca23541f build app before running e2e tests 2022-01-31 23:13:42 +01:00
Rory Powell 33e19c49a0 Reorder jest mock and import statements for email mocking 2022-01-31 21:05:14 +00:00
Rory Powell 995c36e8c7 Merge branch 'develop' into worker_typescript 2022-01-31 20:29:20 +00:00
Budibase Staging Release Bot 9abefd5b63 v1.0.49-alpha.4 2022-01-31 19:12:15 +00:00
Andrew Kingston 249520bdb2 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 7aab9d3e40 v1.0.49-alpha.3 2022-01-31 17:55:54 +00:00
mike12345567 72534c6ed2 Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area. 2022-01-31 17:53:19 +00:00
mike12345567 dbc048b365 Review comments, renaming deployed -> prod in terms of app IDs. 2022-01-31 17:42:51 +00:00
Rory Powell b63aa71366 Tolerate missing app metadata in app url migration 2022-01-31 17:28:45 +00:00
mike12345567 1095ad17c6 Adding comments to areas that need to keep using old db creation method. 2022-01-31 17:27:47 +00:00
mike12345567 476f34fb93 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:16:59 +00:00
mike12345567 9198439f7f 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 a063274133 v1.0.49-alpha.2 2022-01-31 16:54:48 +00:00
Rory Powell 9295317d6c Merge pull request #4220 from Budibase/feature/migrations-2.0
Migrations 2.0
2022-01-31 16:47:38 +00:00
Rory Powell 662727ccc6 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 fdf5795444 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 7b644dd8f3 merge 2022-01-31 17:02:27 +01:00
Budibase Staging Release Bot 4596464b5a v1.0.49-alpha.1 2022-01-31 16:01:59 +00:00
Martin McKeaveney b521721642 fixing cypress setup 2022-01-31 16:35:23 +01:00
mike12345567 d0bd9d2d62 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 15:33:36 +00:00
mike12345567 f9c7877e02 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-31 15:21:15 +00:00
Hwansoo 241d04ed38 fix: check if fields exists 2022-02-01 00:03:25 +09:00
Budibase Staging Release Bot 4b9acb21ae v1.0.49-alpha.0 2022-01-31 14:39:05 +00:00
mike12345567 d55005d327 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-31 14:29:02 +00:00
mike12345567 8d02fabb35 Review comments. 2022-01-31 14:16:03 +00:00
mike12345567 e718b18127 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 86ffa65d93 v1.0.48 2022-01-31 13:43:13 +00:00
mike12345567 9b4f684f05 Cypress setup, allowing option for using typescript locally. 2022-01-31 11:51:52 +00:00
Rory Powell bdc37b6ff7 Fix CSRF token not present using local auth 2022-01-31 11:07:54 +00:00
Andrew Kingston 9b1754ad70 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-31 09:40:33 +00:00
Rory Powell 54a32b41ef Merge branch 'develop' into feature/migrations-2.0 2022-01-30 22:37:11 +00:00
Budibase Staging Release Bot 6246ae61f9 v1.0.46-alpha.8 2022-01-30 21:43:10 +00:00
Rory Powell 5e8a1b2c29 Merge branch 'develop' into feature/migrations-2.0 2022-01-30 21:38:15 +00:00
Rory Powell 0089fb06d9 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
Martin McKeaveney cca6d18af4 point to MinIO instance instead of through proxy 2022-01-30 21:25:56 +01:00
Martin McKeaveney 7c4d7e0e8f nginx prod config, security headers and content-security policies 2022-01-30 21:11:59 +01:00
mike12345567 91a90e62b2 Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 2022-01-28 18:52:34 +00:00
mike12345567 d5f8cc1023 Tests updating, all now passing, fixed some issues discovered by them. 2022-01-28 15:43:51 +00:00
Andrew Kingston fab27eea77 Fix issue with backend UI not refreshing when adding a row 2022-01-28 15:17:21 +00:00
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
Martin McKeaveney 1e179fec76 remove need for index from dynamo connector 2022-01-26 15:25:11 +01: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