Part-DB-server/src
Treeed 92e4976396
Show when parts from info provider already exist (#810)
* added button to show existing part with same manufacturer and mpn in provider list

* added button to edit existing part in provider list

* added docstring and comments

* replaced unnecessary double quotes

* Introduced a new twig variable localPart to split up the result

* Highlight a row, if the part is already existing

* Made buttons translatable

* Improved styling of the buttons and added a badge to show a hint

* Extracted database queries for part matching into its own service and optimized the query reducing the required queries by factor 2

* Allow to find existing parts via the stored providerReference

This should allow the database to more quickly find entries

* Allow to use part name and manufacturer alternative names for mapping

* Added a button to update a local part from the info provider and moved some buttons into dropdown menu

---------

Co-authored-by: jona <a@b.c>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2024-12-31 18:03:36 +01:00
..
ApiPlatform Added a custom function to make PostgresSQL searches case insensitive 2024-12-02 00:17:54 +01:00
ApiResource Fixed API Platform deprecations 2023-10-25 20:40:41 +02:00
Command Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0 2024-12-28 23:08:08 +01:00
Configuration Added system to restrict permissions based on API token level 2023-08-28 21:20:59 +02:00
Controller Show when parts from info provider already exist (#810) 2024-12-31 18:03:36 +01:00
DataFixtures Use new syntax for getReference() in data fixtures 2024-12-29 13:46:22 +01:00
DataTables Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0 2024-12-28 23:08:08 +01:00
Doctrine Fixed fixture loading process 2024-12-29 19:06:58 +01:00
Entity Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0 2024-12-28 23:08:08 +01:00
EntityListeners Refactored cache tags and invalidation 2023-11-29 20:49:16 +01:00
EventListener Moved deprecated doctrine subscribers to doctrine event listeners 2024-06-21 23:41:22 +02:00
Events Write to event log, when a user gets impersonated 2023-07-08 23:07:06 +02:00
EventSubscriber Moved deprecated doctrine subscribers to doctrine event listeners 2024-06-21 23:41:22 +02:00
Exceptions Remove project path in twig label error messages to prevent information leakage 2024-08-23 22:28:29 +02:00
Form Added return types to ExponentialNumberTypes for futureproofing the implementation 2024-12-29 13:14:26 +01:00
Helpers Correctly handle IP addresses containing RFC 4007 scoping 2024-12-01 19:19:04 +01:00
Migration Applied rector suggestions 2024-06-22 00:31:43 +02:00
Repository Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0 2024-12-28 23:08:08 +01:00
Security Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0 2024-12-28 23:08:08 +01:00
Serializer Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0 2024-12-28 23:08:08 +01:00
Services Show when parts from info provider already exist (#810) 2024-12-31 18:03:36 +01:00
State Applied rector suggestions 2024-06-22 00:31:43 +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 Include the query part of the request, when generating the url for the datatables via a custom twig function. 2024-10-16 23:57:02 +02:00
Validator Applied rector suggestions 2024-06-22 00:31:43 +02: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