2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-14 08:19:54 +00:00

Update version checks: (#10954)

* Update version checks:

- Add error code for old python version
- Fix min python version in docs
- Various spelling fixes in docs

* Fix docs link

* Revert change to docs version string

* Bug fix
This commit is contained in:
Oliver
2025-12-05 12:50:32 +11:00
committed by GitHub
parent fa0d892a62
commit 744af5ba42
8 changed files with 36 additions and 24 deletions

View File

@@ -76,7 +76,7 @@ Barcode scanning is a key feature of the [companion mobile app](../app/barcode.m
## Barcode History
If enabled, InvenTree can retain logs of the most recent barcode scans. This can be very useful for debugging or auditing purpopes.
If enabled, InvenTree can retain logs of the most recent barcode scans. This can be very useful for debugging or auditing purposes.
Refer to the [barcode settings](../settings/global.md#barcodes) to enable barcode history logging.

View File

@@ -16,4 +16,4 @@ To make MFA mandatory for all users:
### Security Consideration
A user can lock themself out if they lose access to both the device with their TOTP app and their backup tokens. An admin can delete their tokens from the admin pages (they exist under the 'TOTP devices' / 'static devices' models) . This should be a last resort and only done by people knowledgeable about the [admin pages](../settings/admin.md) as changes there might circumvent InvneTrees business and security logic.
A user can lock themselves out if they lose access to both the device with their TOTP app and their backup tokens. An admin can delete their tokens from the admin pages (they exist under the 'TOTP devices' / 'static devices' models) . This should be a last resort and only done by people knowledgeable about the [admin pages](../settings/admin.md) as changes there might circumvent InvenTree's business and security logic.

View File

@@ -9,7 +9,7 @@ InvenTree can be configured to send emails to users, for various purposes.
To enable this, email configuration settings must be supplied to the InvenTree [configuration options](../start/config.md#email-settings).
!!! info "Functionality might be degraded"
Multiple functions of InvenTree require functioning email delivery, including *Password Reset*, *Notififications*, *Update Infos*
Multiple functions of InvenTree require functioning email delivery, including *Password Reset*, *Notifications*, *Update Infos*
### Outgoing

View File

@@ -95,6 +95,12 @@ An error occurred while reading the InvenTree configuration file. This might be
Django is not installed in the current Python environment. This means that the InvenTree backend is not running within the correct [python virtual environment](../start/index.md#virtual-environment) or that the required Python packages were not installed correctly.
#### INVE-E15
**Python version not supported**
This error occurs attempting to run InvenTree on a version of Python which is older than the minimum required version. We [require Python {{ config.extra.min_python_version }} or newer](../start/index.md#python-requirements)
### INVE-W (InvenTree Warning)
Warnings - These are non-critical errors which should be addressed when possible.

View File

@@ -143,7 +143,7 @@ pip install django-storages[google]
You will need to change the storage backend, which is set via the `INVENTREE_BACKUP_STORAGE` environment variable, or via `backup_storage` in the configuration file:
```yaml
backup_stoage: storages.backends.gcloud.GoogleCloudStorage
backup_storage: storages.backends.gcloud.GoogleCloudStorage
```
### Configure Backend Options

View File

@@ -488,7 +488,7 @@ The INVENTREE_CUSTOMIZE environment variable must contain a json object with the
the wanted values. Example:
```
INVENTREE_CUSTOMIZE={"login_message":"Hallo Michi"}
INVENTREE_CUSTOMIZE={"login_message":"Hello World"}
```
This example sets a login message. Take care of the double quotes.

View File

@@ -359,7 +359,7 @@ extra:
# provider: google
# property: UA-143467500-1
min_python_version: 3.10
min_python_version: 3.11
min_invoke_version: 2.0.0
django_version: 5.2
docker_postgres_version: 17