Part-DB-server/translations
Marc be35c36c58
Added info provider for Buerklin (#1151)
* Fixed Typos and mistranslations in GDPR mode (DSGVO Modus)
Fixed Typo enviroment

* Create BuerklinProvider based on LCSCProvider

* Update GET URLs for Buerklin

* Add getToken function analog to Octopart

* Remove line break in docs

* Remove trailing / in ENDPOINT_URL
Use Autowire to use values of environment variables
Remove unwanted Code from LCSC-Provider
Map json response to DTO variables

* Fix variable reference errors ($term → $keyword)
Ensure array keys exist before accessing them
Optimize API calls to prevent unnecessary requests
Improve error handling for better debugging
Enhance readability and maintainability of functions

* Bumped version v1.16.2

* Update BuerklinProvider.php

Change Order of Capabilities

* Change order of capabilities in LCSCProvider.php

* Change order of capabilities in PollinProvider.php

* Try to fix getToken BuerklinProvider.php

* Add ip_buerklin_oauth to knpu_oauth2_client.yaml

* Update buerklin authorize URL in knpu_oauth2_client.yaml

* Update knpu_oauth2_client.yaml

* Adapt Buerklin InfoProvider to new Settings mechanism

* According to Buerklin API spec it's really 'token' as urlAuthorize endpoint

* Rückgabewert ist schon ein Array deshalb kein toArray

* Fix API-Access, add image, price and parameter retrieval (Datasheets not yet implemented because it is not available in the API response)

* Add Caching of requests, use default query params (language and currency) using a function, Fix Footprint assignment, translate German code comments

* Remove DATASHEET from ProviderCapabilities because the Bürklin API doesn't include Datasheet URLs at the moment, more reverse engineering needed

* Update BuerklinSettings with existing translatable strings

* Improve Buerklin Settings Page

* Added Translation strings for Buerklin Info Provider

* Improve Buerklin Provider help message

* Adapt Buerklin-provider to new settings system

* Adapt Buerklin-provider to new settings system: add missing instance of BuerklinSettings

* Improve Compliance Parameters parsing

* Remove language-dependent RoHs Date code and use shortened ISO format, Add Customs Code without parseValueField

* Fix no results for keyword search

* Implement BatchInfoProviderInterface for Buerklin Provider

* Rename searchBatch to searchByKeywordsBatch to correctly implement BatchInfoProviderInterface

* Fix Bulk Info Provider Import for Buerklin

* Tranlate comments to English to prepare for Pull-Request

* Add phpUnit unit tests for BuerklinProvider

* Try fixing PHPStan issues

* Remove OAuthTokenManager from BuerklinProviderTest

Removed OAuthTokenManager mock from BuerklinProviderTest setup.

* Fix Settings must not be instantiated directly

* Fix UnitTest for value_typ

* edd5fb3319 (r2622249199)
Revert "Change order of capabilities in LCSCProvider.php"

This reverts commit dfd6f33e52.

* edd5fb3319 (r2622249861)
Revert "Change order of capabilities in PollinProvider.php"

This reverts commit fc2e7265be.

* Use language setting for ProductShortURL

* Update default language for Buerklin provider to English in documentation

* Add suggested improvements from SonarQube

* Removed unused use directives

* Revert SonarQube proposed change. Having more than one return is acceptable nowadays

* Improve getProviderInfo: disable oauth_app_name, add settings_class, improve disabled_help

* Implement retrieveROPCToken as proposed in https://github.com/Part-DB/Part-DB-server/pull/1151#discussion_r2622976206

* Add missing ) to retrieveROPCToken

* add use OAuthTokenManager and create instance in constructor

* Revert the following commits that tried to implement getToken using OAuthTokenManager

Revert "add use OAuthTokenManager and create instance in constructor"This reverts commit 2a1e7c9b0974ebd7e082d5a2fa62753d6254a767.Revert "Add missing ) to retrieveROPCToken"This reverts commit 8df5cfc49e.
Revert "Implement retrieveROPCToken as proposed in https://github.com/Part-DB/Part-DB-server/pull/1151#discussion_r2622976206"
This reverts commit 66cc732082.

* Remove OAuthTokenManager leftovers

* Disable buerklin provider if settings fields are empty

* Improved docs

* Added TODO comment

---------

Co-authored-by: root <root@part-db.fritz.box>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2026-01-04 21:05:47 +01:00
..
.gitignore Initial commit 2019-02-23 16:49:38 +01:00
messages.cs.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.da.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.de.xlf Added info provider for Buerklin (#1151) 2026-01-04 21:05:47 +01:00
messages.el.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.en.xlf Added info provider for Buerklin (#1151) 2026-01-04 21:05:47 +01:00
messages.es.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.fr.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.hu.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.it.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.ja.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.nl.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.pl.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.ru.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.zh.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
SchebTwoFactorBundle+intl-icu.de.xlf Added a basic possibility to create/edit/delete specifications for parts. 2020-03-08 22:46:29 +01:00
SchebTwoFactorBundle+intl-icu.en.xlf Use form for search submit. 2020-01-04 22:38:05 +01:00
SchebTwoFactorBundle.de.xlf Added translations. 2020-03-07 21:31:38 +01:00
SchebTwoFactorBundle.en.xlf Added translations. 2020-03-07 21:31:38 +01:00
security.cs.xlf New translations security.en.xlf (Czech) 2025-08-31 15:12:32 +02:00
security.da.xlf New Crowdin updates (#491) 2024-01-24 11:53:55 +01:00
security.de.xlf New translations security.en.xlf (German) 2025-12-05 00:40:26 +01:00
security.el.xlf New translations security.en.xlf (Greek) 2023-01-31 10:20:10 +01:00
security.en.xlf New translations security.en.xlf (English) (#786) 2024-12-02 00:22:45 +01:00
security.es.xlf New translations security.en.xlf (Spanish) 2025-03-11 14:02:10 +01:00
security.fr.xlf New Crowdin updates (#1105) 2025-11-12 21:34:05 +01:00
security.hr.xlf New translations security.en.xlf (Croatian) 2024-06-14 23:40:19 +02:00
security.hu.xlf New translations security.en.xlf (Hungarian) 2025-10-17 22:40:52 +02:00
security.it.xlf New Crowdin updates (#804) 2025-01-06 00:29:40 +01:00
security.ja.xlf New translations security.en.xlf (Japanese) 2023-01-31 10:20:11 +01:00
security.nl.xlf New translations security.en.xlf (Dutch) 2025-02-10 17:11:09 +01:00
security.pl.xlf New translations security.en.xlf (Polish) 2025-09-25 11:53:55 +02:00
security.ru.xlf New Crowdin updates (#837) 2025-02-01 20:58:35 +01:00
security.vi.xlf New translations security.en.xlf (Vietnamese) 2024-07-10 03:32:31 +02:00
security.zh.xlf New translations security.en.xlf (Chinese Simplified) (#870) 2025-02-26 12:27:11 +01:00
validators.cs.xlf New translations validators.en.xlf (Czech) 2025-08-31 15:12:31 +02:00
validators.da.xlf New Crowdin updates (#474) 2024-01-12 10:01:44 +01:00
validators.de.xlf New Crowdin updates (#1036) 2025-09-19 09:12:47 +02:00
validators.el.xlf New translations validators.en.xlf (Greek) 2023-01-31 10:20:08 +01:00
validators.en.xlf New translations validators.en.xlf (English) 2025-12-05 00:40:29 +01:00
validators.fr.xlf New Crowdin updates (#1105) 2025-11-12 21:34:05 +01:00
validators.hr.xlf New translations validators.en.xlf (Croatian) 2024-11-10 14:30:20 +01:00
validators.hu.xlf New translations validators.en.xlf (Hungarian) 2025-10-17 22:49:41 +02:00
validators.it.xlf New translations validators.en.xlf (Italian) 2024-10-16 13:50:37 +02:00
validators.ja.xlf New translations validators.en.xlf (Japanese) 2023-10-15 15:40:30 +02:00
validators.nl.xlf New Crowdin updates (#1036) 2025-09-19 09:12:47 +02:00
validators.pl.xlf New Crowdin updates (#738) 2024-10-19 19:24:55 +02:00
validators.ru.xlf New Crowdin updates (#837) 2025-02-01 20:58:35 +01:00
validators.zh.xlf New translations validators.en.xlf (Chinese Simplified) 2024-04-27 20:30:18 +02:00