Part-DB-server/tests
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
..
API Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
assets Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
Controller Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
DataTables/Filters Fixed tests 2025-09-21 21:35:13 +02:00
Doctrine Fixed tests for new PHPunit 11.5 2025-07-14 21:57:27 +02:00
Entity Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
EventSubscriber Only check every 10 minutes if the user needs to setup a 2FA method enforced by its group 2023-07-19 00:56:28 +02:00
Exceptions Run rector 2025-07-14 00:26:40 +02:00
Form/InfoProviderSystem Add tests and fix static errors 2025-08-31 22:16:27 +02:00
Helpers Fixed tests for new PHPunit 11.5 2025-07-14 21:57:27 +02:00
Repository Added feature for part IPN suggest with category prefixes (#1054) 2025-11-03 00:31:47 +01:00
Security Added declare strict types to all files 2023-06-11 18:59:07 +02:00
Serializer Migrated phpunit annotations to attributes 2025-07-14 00:32:06 +02:00
Services Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
Twig Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
Validator Fixed PHPunit tests 2025-07-13 20:06:38 +02:00
.gitignore Initial commit 2019-02-23 16:49:38 +01:00
ApplicationAvailabilityFunctionalTest.php Fixed tests for new PHPunit 11.5 2025-07-14 21:57:27 +02:00
bootstrap.php Updated phpunit recipe 2025-07-13 16:53:41 +02:00
DatatablesAvailabilityTest.php Fixed tests for new PHPunit 11.5 2025-07-14 21:57:27 +02:00
object-manager.php Fixed PHPstan issues 2023-08-28 22:39:29 +02:00
SettingsTestHelper.php Run rector 2025-07-14 00:26:40 +02:00
symfony-container.php Added declare strict types to all files 2023-06-11 18:59:07 +02:00