IPN-Vorschlagslogik um Konfiguration erweitert

This commit is contained in:
Marcel Diegelmann 2025-09-25 10:26:34 +02:00
parent 3100c83246
commit a2f53290f4
14 changed files with 163 additions and 51 deletions

5
.env
View file

@ -50,8 +50,6 @@ EMAIL_SENDER_EMAIL=noreply@partdb.changeme
EMAIL_SENDER_NAME="Part-DB Mailer"
# Set this to 1 to allow reset of a password per email
ALLOW_EMAIL_PW_RESET=0
# Set this to 0 to allow to enter already available IPN. In this case a unique increment is appended to the user input.
ENFORCE_UNIQUE_IPN=1
###################################################################################
# Error pages settings
@ -118,9 +116,6 @@ REDIRECT_TO_HTTPS=0
# Set this to zero, if you want to disable the year 2038 bug check on 32-bit systems (it will cause errors with current 32-bit PHP versions)
DISABLE_YEAR2038_BUG_CHECK=0
# Define the number of digits used for the incremental numbering of parts in the IPN (Internal Part Number) autocomplete system.
AUTOCOMPLETE_PART_DIGITS=4
# Set the trusted IPs here, when using an reverse proxy
#TRUSTED_PROXIES=127.0.0.0/8,::1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
#TRUSTED_HOSTS='^(localhost|example\.com)$'