From ef2124eb3129ea41abb27194255fe51e2040c9b7 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 16 Jun 2021 23:05:01 +1000 Subject: [PATCH 1/2] Update config.yaml example file --- _includes/config.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/_includes/config.yaml b/_includes/config.yaml index de09e37..0e6232d 100644 --- a/_includes/config.yaml +++ b/_includes/config.yaml @@ -11,7 +11,7 @@ database: # or specify database options using environment variables # Refer to the django documentation for full list of options - + # --- Available options: --- # ENGINE: Database engine. Selection from: # - sqlite3 @@ -52,6 +52,9 @@ language: en-us # Use the environment variable INVENTREE_TIMEZONE timezone: UTC +# Base currency code +base_currency: USD + # List of currencies supported by default. # Add other currencies here to allow use in InvenTree currencies: @@ -114,7 +117,7 @@ allowed_hosts: cors: # CORS_ORIGIN_ALLOW_ALL - If True, the whitelist will not be used and all origins will be accepted. allow_all: True - + # CORS_ORIGIN_WHITELIST - A list of origins that are authorized to make cross-site HTTP requests. Defaults to [] # whitelist: # - https://example.com @@ -126,9 +129,9 @@ cors: media_root: '/home/inventree/data/media' # STATIC_ROOT is the local filesystem location for storing static files -# By default, it is stored under /home/inventree +# By default, it is stored under /home/inventree/data/static # Use environment variable INVENTREE_STATIC_ROOT -static_root: '/home/inventree/static' +static_root: '/home/inventree/data/static' # Optional URL schemes to allow in URL fields # By default, only the following schemes are allowed: ['http', 'https', 'ftp', 'ftps'] From f9535181512a02472acc69683e745346f8661d69 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 16 Jun 2021 23:09:30 +1000 Subject: [PATCH 2/2] Update releaes notes --- docs/releases/0.2.3.md | 6 +++++- docs/releases/0.2.4.md | 14 ++++++++++++++ docs/releases/new.md | 3 ++- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 docs/releases/0.2.4.md diff --git a/docs/releases/0.2.3.md b/docs/releases/0.2.3.md index aa4347e..6c6b2e5 100644 --- a/docs/releases/0.2.3.md +++ b/docs/releases/0.2.3.md @@ -4,7 +4,7 @@ title: Release 0.2.3 ## Release 0.2.3 -Release 0.2.3 provides a number of major new features and improvements, as well as some crucial bug fixes: +[Release 0.2.3](https://github.com/inventree/InvenTree/releases/tag/0.2.3) provides a number of major new features and improvements, as well as some crucial bug fixes: ## New Features @@ -16,6 +16,10 @@ Release 0.2.3 provides a number of major new features and improvements, as well [#1626](https://github.com/inventree/InvenTree/pull/1626) adds functionality which allows variants of parts to be optionally substituted in Bills of Material. This option is individually configurable per BOM line item. +### Docker Improvements + +[#1664](https://github.com/inventree/InvenTree/pull/1664) provides major improvements to the InvenTree docker images. In particular, running in "production" mode (`INVENTREE_DEBUG=false`) now correctly handles serving of static and media files using the nginx reverse proxy. + ## Major Bug Fixes | PR | Description | diff --git a/docs/releases/0.2.4.md b/docs/releases/0.2.4.md new file mode 100644 index 0000000..5fc586d --- /dev/null +++ b/docs/releases/0.2.4.md @@ -0,0 +1,14 @@ +--- +title: Release 0.2.4 +--- + +## Release 0.2.4 + +[Release 0.2.4](https://github.com/inventree/InvenTree/releases/tag/0.2.4) provides a number of major new features and improvements, as well as some crucial bug fixes: + +## New Features + +## Major Bug Fixes + +| PR | Description | +| --- | --- | \ No newline at end of file diff --git a/docs/releases/new.md b/docs/releases/new.md index 20691e8..4f5388c 100644 --- a/docs/releases/new.md +++ b/docs/releases/new.md @@ -8,7 +8,8 @@ For information on the latest and greatest InvenTree features, refer to the rele | Release | Date | | ------- | ---- | -| [0.2.3](./0.2.3.md) | *In Developement* | +| [0.2.4](./0.2.4.md) | *In development* | +| [0.2.3](./0.2.3.md) | June 2021 | | [0.2.2](./0.2.2.md) | May 2021 | | [0.2.1](./0.2.1.md) | April 2021 | | [0.2.0](./0.2.0.md) | April 2021 |