Part-DB-server/assets/controllers/elements
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
..
datatables Made part table action bar sticky floating 2025-09-07 21:52:04 +02:00
attachment_autocomplete_controller.js Do not change the dropdownParent of tomselect if it is inside a modal 2025-10-19 00:34:31 +02:00
attachmenttype_change_controller.js Added copyright/license info to files 2022-11-29 21:21:26 +01:00
ckeditor_controller.js Added feature for part IPN suggest with category prefixes (#1054) 2025-11-03 00:31:47 +01:00
collection_type_controller.js Added button to create attachments by uploading multiple files 2024-03-02 18:26:50 +01:00
delete_btn_controller.js Added an form for merging two parts together 2023-11-22 20:11:38 +01:00
hoverpic_controller.js Added copyright/license info to files 2022-11-29 21:21:26 +01:00
ipn_suggestion_controller.js Added feature for part IPN suggest with category prefixes (#1054) 2025-11-03 00:31:47 +01:00
json_formatter_controller.js Visualize generic object/JSON data of element history data as pretty tree structure on log detail page 2023-05-15 23:55:36 +02:00
link_confirm_controller.js Added button to user admin to impersonate a certain user 2023-07-08 22:43:41 +02:00
localStorage_checkbox_controller.js Save search setting checkboxes state to localStorage to persist it 2023-11-19 21:49:16 +01:00
part_search_controller.js Fixed problem, that search field and search options did not close when clicking outside 2024-10-13 23:19:03 +02:00
part_select_controller.js Do not change the dropdownParent of tomselect if it is inside a modal 2025-10-19 00:34:31 +02:00
password_strength_estimate_controller.js Use symfony/ux-translator to translate password_strength_estimator badges 2023-06-28 16:00:11 +02:00
preset_input_controller.js Added copyright/license info to files 2022-11-29 21:21:26 +01:00
select_controller.js Do not change the dropdownParent of tomselect if it is inside a modal 2025-10-19 00:34:31 +02:00
select_multiple_controller.js Do not change the dropdownParent of tomselect if it is inside a modal 2025-10-19 00:34:31 +02:00
sidebar_tree_controller.js Added copyright/license info to files 2022-11-29 21:21:26 +01:00
static_file_autocomplete_controller.js Do not change the dropdownParent of tomselect if it is inside a modal 2025-10-19 00:34:31 +02:00
structural_entity_select_controller.js Do not change the dropdownParent of tomselect if it is inside a modal 2025-10-19 00:34:31 +02:00
tagsinput_controller.js Do not change the dropdownParent of tomselect if it is inside a modal 2025-10-19 00:34:31 +02:00
tree_controller.js Register the unselect handler on turbo:load instead of visit, to avoid problems that the newly clicked treeview node gets unselected too. 2024-01-28 21:57:42 +01:00