Part-DB-server/migrations
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
..
.gitignore Updated to doctrine migrations 3.0. 2020-07-04 23:38:18 +02:00
Version1.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20190902140506.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20190913141126.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20190924113252.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20191214153125.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20200126191823.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20200311204104.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20200409130946.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20200502161750.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20220925162725.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20221003212851.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20221114193325.php Replaced the obsolete containerawareinterface with own implementation 2025-07-12 23:10:59 +02:00
Version20221204004815.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20221216224745.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230108165410.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230219225340.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230220221024.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230402170923.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230408170059.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230408213957.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230417211732.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230528000149.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230716184033.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230730131708.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20230816213201.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20231114223101.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20231130180903.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20240427222442.php Added postgres to the AbstractMultiPlatformMigration class 2024-06-06 23:11:11 +02:00
Version20240606203053.php Fixed problems with container injection into migrations 2025-07-12 23:39:26 +02:00
Version20240728145604.php Fixed the NatSortKey function where regex characters were improperly escaped in the old migration 2024-07-28 17:08:55 +02:00
Version20250220215048.php Specify that we mean a column in drop statement. This is more correct 2025-03-29 20:57:58 +01:00
Version20250222165240.php Fixed migration 2025-02-22 19:23:28 +01:00
Version20250321075747.php Added custom part status (#1053) 2025-10-27 21:58:16 +01:00
Version20250325073036.php Added feature for part IPN suggest with category prefixes (#1054) 2025-11-03 00:31:47 +01:00
Version20250706201121.php Use a doctrine entity for storing the settings 2025-07-06 22:15:48 +02:00
Version20250802205143.php Add makefile to help with development setup, change part_ids in bulk import jobs to junction table and implement filtering based on bulk import jobs status and its associated parts' statuses. 2025-08-31 22:17:05 +02:00
Version20250813214628.php Fixed postgresql migrations 2025-08-14 22:37:40 +02:00