Part-DB-server/src
web-devinition.de 771857e014
Added feature for part IPN suggest with category prefixes (#1054)
* Erweiterungstätigkeiten zur IPN-Vorschlagsliste anhand von Präfixen aus den Kategorien

* Umstellung Migrationen bzgl. Multi-Plattform-Support.
Zunächst MySQL, SQLite Statements integrieren.

* Postgre Statements integrieren

* SQL-Formatierung in Migration verbessern

* Erweitere IPN-Suggest um Bauteilbeschreibung.

Die Implementierung berücksichtigt nun zusätzlich die Bauteilbeschreibung zu maximal 150 Zeichen Länge für die Generierung von IPN-Vorschlägen und Inkrementen.

* Anpassungen aus Analyse vornehmen

* IPN-Validierung für Parts überarbeiten

* IPN-Vorschlagslogik um Konfiguration erweitert

* Anpassungen aus phpstan Analyse

* IPN-Vorschlagslogik erweitert und Bauteil-IPN vereindeutigt

Die IPN-Logik wurde um eine Konfiguration zur automatischen Suffix-Anfügung und die Berücksichtigung von doppelten Beschreibungen bei Bedarf ergänzt. Zudem wurde das Datenmodell angepasst, um eine eindeutige Speicherung der IPN zu gewährleisten.

* Regex-Konfigurationsmöglichkeit für IPN-Vorschläge einführen

Die Einstellungen für die IPN-Vorschlagslogik wurden um eine Regex-Validierung und eine Hilfetext-Konfiguration erweitert. Tests und Änderungen an den Formularoptionen wurden implementiert.

* Match range assert and form limits in suggestPartDigits

* Keep existing behavior with autoAppend suffix by default

* Show the regex hint in the browser validation notice.

* Improved translations

* Removed unnecessary service definition

* Removed german comments

---------

Co-authored-by: Marcel Diegelmann <marcel.diegelmann@gmail.com>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2025-11-03 00:31:47 +01:00
..
ApiPlatform Updated to API Platform 4 2025-08-04 23:32:42 +02:00
ApiResource Revert "Use the modular api-platform packages instead of the monolitic api-platform/core package" 2025-02-22 21:12:54 +01:00
Command Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
Configuration Added system to restrict permissions based on API token level 2023-08-28 21:20:59 +02:00
Controller Added feature for part IPN suggest with category prefixes (#1054) 2025-11-03 00:31:47 +01:00
DataFixtures Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
DataTables Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
Doctrine Escape like pattern % and _ so that search containing these chars work like expected 2025-10-19 00:00:03 +02:00
Entity Added feature for part IPN suggest with category prefixes (#1054) 2025-11-03 00:31:47 +01:00
EntityListeners Do not remove associated Project BOM entries if part is deleted 2025-10-17 21:30:40 +02:00
EventListener Fixed phpstan issues 2025-09-21 23:27:56 +02:00
Events Write to event log, when a user gets impersonated 2023-07-08 23:07:06 +02:00
EventSubscriber Added feature for part IPN suggest with category prefixes (#1054) 2025-11-03 00:31:47 +01:00
Exceptions Fixed phpstan issue 2025-10-19 16:20:08 +02:00
Form Added feature for part IPN suggest with category prefixes (#1054) 2025-11-03 00:31:47 +01:00
Helpers Correctly handle IP addresses containing RFC 4007 scoping 2024-12-01 19:19:04 +01:00
Migration Fixed problems with container injection into migrations 2025-07-12 23:39:26 +02:00
Repository Added feature for part IPN suggest with category prefixes (#1054) 2025-11-03 00:31:47 +01:00
Security Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
Serializer Updated to API Platform 4 2025-08-04 23:32:42 +02:00
Services Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
Settings Added feature for part IPN suggest with category prefixes (#1054) 2025-11-03 00:31:47 +01:00
State Moved default language, default timezone and base currency settings to new settings system 2024-08-03 23:14:29 +02:00
Translation/Fixes Keeep the segment annotations in the translation files, when editing them from inside the application 2024-10-13 20:30:56 +02:00
Twig Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
Validator Added feature for part IPN suggest with category prefixes (#1054) 2025-11-03 00:31:47 +01:00
.preload.php Added copyright/license info to files 2022-11-29 21:21:26 +01:00
Kernel.php Added declare strict types to all files 2023-06-11 18:59:07 +02:00