Marc Kreidler
9ad894e826
Try fixing PHPStan issues
2025-12-11 22:23:06 +01:00
Marc Kreidler
b7f6274a68
Tranlate comments to English to prepare for Pull-Request
2025-12-11 20:57:24 +01:00
Marc Kreidler
1cd16407d5
Fix Bulk Info Provider Import for Buerklin
2025-12-11 20:13:20 +01:00
Marc Kreidler
2dee8021c2
Rename searchBatch to searchByKeywordsBatch to correctly implement BatchInfoProviderInterface
2025-12-11 19:21:44 +01:00
Marc Kreidler
1d8bc899ca
Implement BatchInfoProviderInterface for Buerklin Provider
2025-12-11 19:14:22 +01:00
Marc Kreidler
0a838da02c
Fix no results for keyword search
2025-12-11 17:48:27 +01:00
Marc Kreidler
5e40408aac
Remove language-dependent RoHs Date code and use shortened ISO format, Add Customs Code without parseValueField
2025-12-11 16:42:37 +01:00
Marc Kreidler
1b12de424e
Improve Compliance Parameters parsing
2025-12-11 16:14:11 +01:00
Marc Kreidler
aed7632d25
Adapt Buerklin-provider to new settings system: add missing instance of BuerklinSettings
2025-12-11 14:50:53 +01:00
root
ac0c83a311
Adapt Buerklin-provider to new settings system
2025-12-11 14:36:19 +01:00
Marc
bd2d5355c6
Merge branch 'Part-DB:master' into Buerklin-provider
2025-12-08 08:41:24 +01:00
Jan Böhmer
9565a9d548
Fixed error with mass creation, when elements on different level had the same name
...
Fixes issue #1104
2025-12-07 21:40:57 +01:00
Jan Böhmer
39ff4f81c0
Use image attachments as preview images for partkeepr imports
...
Fixes issue #1115
2025-12-07 20:25:39 +01:00
Marc Kreidler
b8638b6390
Merge remote-tracking branch 'upstream/master' into Buerklin-provider
2025-12-07 20:23:12 +01:00
Marc Kreidler
17448b324d
Remove DATASHEET from ProviderCapabilities because the Bürklin API doesn't include Datasheet URLs at the moment, more reverse engineering needed
2025-12-07 20:21:52 +01:00
Jan Böhmer
c60b406157
Fixed partkeepr import with databases that do not feature custom states
2025-12-07 20:21:19 +01:00
Marc Kreidler
cc3fbce962
Add Caching of requests, use default query params (language and currency) using a function, Fix Footprint assignment, translate German code comments
2025-12-07 20:09:32 +01:00
Marc Kreidler
73ecbb53cf
Fix API-Access, add image, price and parameter retrieval (Datasheets not yet implemented because it is not available in the API response)
2025-12-06 23:53:14 +01:00
Marc Kreidler
351078fb43
Rückgabewert ist schon ein Array deshalb kein toArray
2025-12-06 17:14:14 +01:00
Marc Kreidler
7de735eb1e
Merge tag 'v2.2.1' into Buerklin-provider
2025-12-06 15:10:53 +01:00
Jan Böhmer
fd7106af28
Allow that the DEFAULT_URI does not end with a slash
...
We normalize the url with an env var processor before passing it to the saml lib, to avoid an error. Fixes issue #1118
2025-12-04 23:31:42 +01:00
Jan Böhmer
36e1fcfbed
Fixed bulk provider imports, issue described in #869
...
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / docker (push) Waiting to run
Docker Image Build (FrankenPHP) / docker (push) Waiting to run
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
This makes PR #1110 obsolete
2025-12-03 22:22:21 +01:00
Jan Böhmer
3b4a099285
Use AutowireIterator instead of deprecated TaggedIterator
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / docker (push) Waiting to run
Docker Image Build (FrankenPHP) / docker (push) Waiting to run
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
2025-11-30 15:43:25 +01:00
Jan Böhmer
171508fcad
Fixed deprecated csv reader usage
2025-11-30 14:34:45 +01:00
web-devinition.de
54f318ecac
Implemented the ability to set user-defined synonyms/labels for internal element types
...
* Implementiere bevorzugte Sprachauswahl und Datenquellen-Synonyme
Die Spracheinstellungen/System-Settings wurden um die Möglichkeit ergänzt, bevorzugte Sprachen für die Dropdown-Menüs festzulegen. Zudem wurde ein Datenquellen-Synonymsystem implementiert, um benutzerfreundlichere Bezeichnungen anzuzeigen und zu personalisieren.
* Anpassung aus Analyse
* Entferne alten JSON-basierten Datenquellen-Synonym-Handler
Die Verwaltung der Datenquellen-Synonyme wurde überarbeitet, um ein flexibleres und strukturiertes Konzept zu ermöglichen. Der bestehende JSON-basierte Ansatz wurde durch eine neue Service-basierte Architektur ersetzt, die eine bessere Handhabung und Erweiterbarkeit erlaubt.
* Ermögliche Rückgabe aller möglichen Sprachoptionen in Verbindung mit den vom Nutzer freigeschalteten.
* Removed unnecessary service definition
The tag is applied via autoconfiguration
* Use default translations for the NotBlank constraint
* Started refactoring ElementTypeNameGenerator
* Made ElementTypeNameGenerator class readonly
* Modified form to work properly with new datastructure
* Made the form more beautiful and space saving
* Made synonym form even more space saving
* Allow to define overrides for any element label there is
* Use defined synonyms in ElementTypeNameGenerator
* Use ElementTypeNameGenerator where possible
* Register synonyms for element types as global translation parameters
* Revert changes done to permission layout
* Use new synonym system for admin page titles
* Removed now unnecessary services
* Reworked settings name and translation
* Renamed all files to Synonyms
* Removed unnecessary translations
* Removed unnecessary translations
* Fixed duplicate check
* Renamed synoynms translations
* Use our synonyms for permission translations
* Fixed phpstan issue
* Added tests
---------
Co-authored-by: Marcel Diegelmann <marcel.diegelmann@gmail.com>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2025-11-12 21:35:02 +01:00
web-devinition.de
14a4f1f437
Added custom part status ( #1053 )
...
Build assets artifact / Build assets artifact (push) Has been cancelled
Docker Image Build / docker (push) Has been cancelled
Docker Image Build (FrankenPHP) / docker (push) Has been cancelled
Static analysis / Static analysis (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Has been cancelled
* Benutzerdefinierten Bauteilstatus einführen
* PartCustomStateController hinzufügen
* Umstellung Migrationen bzgl. Multi-Plattform-Support.
Zunächst MySQL, SQLite Statements integrieren.
* Postgre Statements integrieren
* Semikolon in Migration entfernen
* Migration für PartCustomState aktualisieren
* Benutzerdefinierten Bauteilstatus in TableSettings aufnehmen
* PartCustomStateControllerTest: Attribute für PHPUnit-Gruppen umgestellt
* PartCustomState: Mapping für Parameter korrigieren
* PartCustomState: Darstellung und Zuordnung von Anhängen ergänzt
Die Sidebar wurde um die Anzeige des benutzerdefinierten Bauteilstatus erweitert, inklusive Vorschaubild, sofern vorhanden.
* Migrationen zusammenführen
* PartCustomState: Anpassungen bzgl. Tests
* PartCustomStateEndpoint hinzufügen
* Made custom part states plural for consistency with other entity captions
* Fixed phpunit error
* Fixed phpstan issues
---------
Co-authored-by: Marcel Diegelmann <marcel.diegelmann@gmail.com>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2025-10-27 21:58:16 +01:00
Jan Böhmer
70354c8599
Try to show an more detailed error message, if digikey needs oauth reconnection
2025-10-19 15:45:48 +02:00
Jan Böhmer
56f82a7587
Fixed phpstan issues
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / docker (push) Waiting to run
Docker Image Build (FrankenPHP) / docker (push) Waiting to run
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
2025-10-19 00:39:40 +02:00
Jan Böhmer
377feaf566
Use yellow alert box for notifying of empty bom on build, show infinite correclty and added translations
...
Fixes issue #1038
2025-10-18 23:32:20 +02:00
Marc
05839a549c
Fix Wrong default number of project builds if BOM is empty #1038
2025-10-18 20:58:19 +02:00
Jan Böhmer
1f2a7b86e5
Fixed warning on PHP8.5
2025-10-17 22:39:58 +02:00
Jan Böhmer
919bf49ec1
Fix the wrong currency code mouser returns for chinese yuan
...
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / docker (push) Waiting to run
Docker Image Build (FrankenPHP) / docker (push) Waiting to run
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
This fixes issue #1045
2025-09-22 00:20:52 +02:00
Jan Böhmer
34d284b1c4
Do not test against real LCSC provider...
2025-09-22 00:05:49 +02:00
Jan Böhmer
da30a6657e
Use the new LCSC endpoint for batch searches
2025-09-21 23:51:11 +02:00
Jan Böhmer
1bfea3c48a
Fixed phpstan issues
2025-09-21 23:27:56 +02:00
Jan Böhmer
ed1e51f694
Merge branch 'feature/batch-info-provider-import'
2025-09-21 23:14:09 +02:00
Jan Böhmer
5b71d68179
Added tests for new DTO objects
2025-09-21 23:07:45 +02:00
Jan Böhmer
0d49632b92
Refactored constraints, to reuse existing mechanisms
2025-09-21 20:45:18 +02:00
Jan Böhmer
1d38c50abc
Fixed step2 template
2025-09-21 19:30:49 +02:00
Jan Böhmer
92cd645945
Renamed dto to make their relation to batch searches more clear
2025-09-21 17:49:00 +02:00
Jan Böhmer
16126c4000
Encapsulate the fieldmapping data in the importjob further
2025-09-21 17:41:56 +02:00
Jan Böhmer
eda6deff47
Made classes readonly where possible
2025-09-21 14:25:57 +02:00
Jan Böhmer
27a18bdc1e
Doing refactoring to remove remains of arrays
2025-09-21 14:24:34 +02:00
barisgit
2c195d9767
Refactor bulk info provider: replace complex arrays with DTOs
...
- Add BulkSearchResponseDTO, FieldMappingDTO for type safety
- Use composition instead of inheritance in BulkSearchResultDTO
- Remove unnecessary BulkSearchRequestDTO
- Fix N+1 queries and API error handling
- Fix Add Mapping button functionality
2025-09-19 16:28:40 +02:00
Jan Böhmer
8998b006e0
Added some type hints for arrays
2025-09-14 23:17:43 +02:00
Jan Böhmer
b4b758c356
Fixed tests
2025-09-14 23:14:00 +02:00
Jan Böhmer
41a7238ab7
Pass parts object directly to BulkSearchRequestDTO and added some syntax hints
2025-09-14 22:56:12 +02:00
Marc Kreidler
5b2fc7ef4b
Merge tag 'v2.1.2' into Buerklin-provider
...
# Conflicts:
# .docker/symfony.conf
# VERSION
2025-09-11 11:33:37 +02:00
barisgit
d6ac16ede0
Refactor bulk import functionality to make controller smaller (use services) add DTOs and use stimulus controllers on frontend
2025-09-09 20:30:27 +02:00
Jan Böhmer
ced16620ec
Fixed pollin info provider
...
This fixes issue #1015
2025-09-06 23:42:09 +02:00