Merge remote-tracking branch 'origin/feature/automatic-ipn-generation' into feature/all-features

# Conflicts:
#	assets/controllers/elements/ipn_suggestion_controller.js
#	config/services.yaml
#	docs/configuration.md
#	migrations/Version20250325073036.php
#	src/Controller/PartController.php
#	src/Controller/TypeaheadController.php
#	src/EventSubscriber/UserSystem/PartUniqueIpnSubscriber.php
#	src/Form/Part/PartBaseType.php
#	src/Repository/PartRepository.php
#	src/Settings/MiscSettings/MiscSettings.php
#	src/Validator/Constraints/UniquePartIpnConstraint.php
#	src/Validator/Constraints/UniquePartIpnValidator.php
#	templates/parts/edit/_advanced.html.twig
#	translations/messages.cs.xlf
#	translations/messages.de.xlf
#	translations/messages.el.xlf
#	translations/messages.en.xlf
#	translations/messages.fr.xlf
#	translations/messages.ja.xlf
#	translations/messages.nl.xlf
This commit is contained in:
Marcel Diegelmann 2025-10-01 10:29:38 +02:00
commit 7a5885839e
16 changed files with 323 additions and 236 deletions

View file

@ -116,10 +116,14 @@ bundled with Part-DB. Set `DATABASE_MYSQL_SSL_VERIFY_CERT` if you want to accept
value should be handled as confidential data and not shared publicly.
* `SHOW_PART_IMAGE_OVERLAY`: Set to 0 to disable the part image overlay, which appears if you hover over an image in the
part image gallery
* `AUTOCOMPLETE_PART_DIGITS`: Defines the fixed number of digits used as the increment at the end of an IPN (Internal Part Number).
* `IPN_AUTO_APPEND_SUFFIX`: When enabled, an incremental suffix will be added to the user input when entering an existing
* IPN again upon saving.
* `IPN_SUGGEST_PART_DIGITS`: Defines the fixed number of digits used as the increment at the end of an IPN (Internal Part Number).
IPN prefixes, maintained within part categories and their hierarchy, form the foundation for suggesting complete IPNs.
These suggestions become accessible during IPN input of a part. The constant specifies the digits used to calculate and assign
unique increments for parts within a category hierarchy, ensuring consistency and uniqueness in IPN generation.
* `IPN_USE_DUPLICATE_DESCRIPTION`: When enabled, the parts description is used to find existing parts with the same
description and to determine the next available IPN by incrementing their numeric suffix for the suggestion list.
### E-Mail settings (all env only)