Jan Böhmer
2157916e9b
Bumped version to 2.4.0
v2.4.0
2026-01-04 21:53:44 +01:00
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
Jan Böhmer
7116c2ceb9
Removed unused service import
2026-01-04 20:03:14 +01:00
Jan Böhmer
c1d4ce77db
Fixed exception when digikey has no media available for a part
...
Makes PR #1154 obsolete
2026-01-04 17:50:24 +01:00
Jan Böhmer
bba3bd90a9
Merge remote-tracking branch 'origin/master'
2026-01-04 17:36:57 +01:00
Jan Böhmer
eaaf3ac75c
Bring provider capabilities into a fixed order for better comparison
...
Fixes #1166 and made PR #1167 obsolete
2026-01-04 17:36:53 +01:00
Marc
8957e55a9e
Increase default height of the PDF preview container from 250px to 280px and so Chromium-based browsers display the PDF toolbar by default. Fixes #1165 . ( #1171 )
2026-01-04 17:14:27 +01:00
dependabot[bot]
a232671302
Bump actions/upload-artifact from 5 to 6 ( #1162 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-04 17:05:03 +01:00
Jan Böhmer
5a53423594
Merge remote-tracking branch 'origin/master'
2026-01-04 17:04:50 +01:00
Jan Böhmer
390206f529
Merge remote-tracking branch 'origin/l10n_master'
2026-01-04 17:04:44 +01:00
dependabot[bot]
74862c7bb8
Bump actions/cache from 4 to 5 ( #1163 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-04 17:02:23 +01:00
fsbrc
0e61a84ea6
Allow to view part ID in project BOM
...
* added feature of part-id in project bom view
* Made part id column label translatable
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2026-01-04 17:01:06 +01:00
Jan Böhmer
3e380f82d2
Revert "Declare nativeType of parent property explicitly as workaround for bug in symfony TypeInfo"
...
This reverts commit 2f580c92d1 .
2026-01-03 22:18:10 +01:00
Jan Böhmer
a5d7a5f1d3
Downgrade symfony/type-info to 7.4.0 to prevent issue that fails proper type resolving of static
2026-01-03 22:17:52 +01:00
Jan Böhmer
876cfc0375
Updated dependencies
2026-01-03 22:04:11 +01:00
Jan Böhmer
641c8388c1
Use xxh3 for generating hash keys instead of md5 as it offers better performance
2026-01-03 00:55:49 +01:00
Jan Böhmer
2f580c92d1
Declare nativeType of parent property explicitly as workaround for bug in symfony TypeInfo
...
Symfony/type-info returns an invalid property type for the parent property based on the @phpstan-var static phpdoc in the parent. It returns some App\Entity\Base\AttachmentType which does not exists.
Symfony issue: https://github.com/symfony/symfony/issues/62922
2026-01-03 00:47:49 +01:00
Jan Böhmer
402edf096d
Upgraded yarn dependencies
2026-01-02 18:50:34 +01:00
Jan Böhmer
f467002619
Updated composer dependencies
2026-01-02 18:35:31 +01:00
Jan Böhmer
98b8c5b788
Bump to version 2.3.0
v2.3.0
2025-12-07 22:47:59 +01:00
Jan Böhmer
e0feda4e46
Fixed 2DA login
...
Fixes issue #1141
2025-12-07 22:47:27 +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
b457298152
Do not clear the mass import form if errors appeared
2025-12-07 21:33:41 +01:00
Jan Böhmer
319ac406a8
Update the mass creation form, so that you can see the newly created entities in dropdown
...
Fixes issue #1103
2025-12-07 20:50:09 +01:00
Jan Böhmer
065396d1e9
Correctly determine the number of mass created entities
...
Fixes issue #1102
2025-12-07 20:44:32 +01:00
Jan Böhmer
15243dbcc8
Allow to autodetermine categories and pathes from info provider import using a full path
...
This fixes issue #1113
2025-12-07 20:39:03 +01:00
Jan Böhmer
e1090d46e3
Fixed error that attachment path had to have exactly 2048 chars
2025-12-07 20:34:47 +01:00
Jan Böhmer
8d903c9586
Merge remote-tracking branch 'origin/master'
2025-12-07 20:25:45 +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
Jan Böhmer
c60b406157
Fixed partkeepr import with databases that do not feature custom states
2025-12-07 20:21:19 +01:00
Copilot
a66a1b1c33
Document KiCad's rejection of self-signed certificates ( #1140 )
...
* Initial plan
* Add documentation about KiCad self-signed certificate issues
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
2025-12-07 19:31:16 +01:00
Jan Böhmer
b1bf70c531
Removed now unnecessary workaround for fixtures
2025-12-07 19:15:47 +01:00
Jan Böhmer
5ab31a84e4
Workaround for bug introduced with symfony 7.4.1
...
Hopefully gets fixed in next version: https://github.com/symfony/symfony/pull/62682
2025-12-07 19:10:05 +01:00
Jan Böhmer
fb51548ecc
Upgraded yarn dependencies
2025-12-07 18:50:48 +01:00
Jan Böhmer
061bd9fd10
Updated composer dependencies
2025-12-07 18:47:27 +01:00
Copilot
0ac23cdf21
Add COMPOSER_EXTRA_PACKAGES env var for runtime package installation in Docker ( #1138 )
...
* Initial plan
* Add COMPOSER_EXTRA_PACKAGES environment variable support for Docker containers
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Add shellcheck disable comment for intentional word splitting
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Add documentation for installing mailer packages in email.md
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Add --no-dev flag to composer require to prevent dev packages installation
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Use --no-install with require and run separate install command
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
2025-12-07 18:38:59 +01:00
Jan Böhmer
6fcdc0b0c3
New translations messages.en.xlf (English)
2025-12-07 14:12:08 +01:00
Copilot
60ff727896
Replace hardcoded entity type names with synonym placeholders in English and German translations ( #1128 )
...
* Initial plan
* Initial plan for replacing entity type names with placeholders
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Replace entity type names with synonym placeholders in English translations
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Add more synonym placeholders for storage location, project, and part patterns
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Update tree navigation labels with synonym placeholders
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Fix remaining entity type placeholders identified in code review
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Fix placeholder syntax: use [Type]/[[Type]] instead of {type}/{{type}} and add German translations
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Fix German translation to avoid awkward word concatenation with placeholder
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Use capitalized placeholders in German translations (nouns are always capitalized in German)
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Fixed length menu for datatable views
* Capitalize placeholders at the beginning of sentences/titles in English translations
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Ensure that synonym placeholders get cached on a per locale level
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2025-12-07 14:09:22 +01:00
Jan Böhmer
225e347c24
New translations messages.en.xlf (English)
2025-12-06 23:32:23 +01:00
Copilot
a356eecd74
Replace type synonym placeholders with bracket notation for better DX ( #1133 )
...
* Initial plan
* Replace placeholder syntax for type synonyms to be more DX friendly
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Update translation files to use new placeholder syntax
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Use mb_strtoupper with mb_substr for Unicode consistency
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Make placeholder generation right
* Removed obsolete transltions
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2025-12-06 23:29:32 +01:00
Copilot
443cb57ce8
Add Copilot instructions for repository ( #1135 )
...
* Initial plan
* Add comprehensive Copilot instructions for Part-DB
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Fix Symfony version and fixtures command in Copilot instructions
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Remove PHP code style check instructions
Removed code style check instructions for PHP.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2025-12-06 22:57:48 +01:00
Copilot
9dc17ad9d0
Remove 25 unused/obsolete translation keys ( #1131 )
...
* Initial plan
* Remove 25 unused/obsolete translation keys from all message files
Removed keys:
- admin.comment
- api_tokens.added_date
- attachment.external_file
- attachment.table.filename
- datatable.datatable.lengthMenu
- delete.caption
- edit.caption_short
- part.add.caption
- part.add.comment
- part.description.placeholder
- part.edited_flash.invalid
- part.instock.placeholder
- part.mininstock.placeholder
- part.order.price_per
- part.withdraw.btn
- part.withdraw.caption
- part.withdraw.comment:
- project.caption
- r_u2f_two_factor.name
- search.deactivateBarcode
- selectpicker.empty
- supplier.caption
- tfa_u2f.key_added_successful
- tree.root_node.text
- validator.part_lot.location_full.no_increasment (typo of fixed key)
These keys have zero occurrences in the codebase and are safe to remove.
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
2025-12-06 22:55:02 +01:00
Copilot
02b1f7aa16
Improve documentation clarity and fix outdated information ( #1129 )
...
* Initial plan
* Improve documentation clarity, fix typos, and update outdated information
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Replace LCSC with Mouser in cloud providers list per d-buchmann's review
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
* Remove outdated Mouser API issue notice
Removed outdated information about the Mouser API's current issues with datasheets and part specifications.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2025-12-06 22:40:45 +01:00
Copilot
d244400f4f
Add missing plural label translations to 12 language files ( #1126 )
...
* Initial plan
* Add missing plural label translations to 12 language files
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
2025-12-06 22:24:14 +01:00
Jan Böhmer
fb805e2e0a
New translations validators.en.xlf (English)
2025-12-05 00:40:29 +01:00
Jan Böhmer
8548237522
New translations messages.en.xlf (English)
2025-12-05 00:40:28 +01:00
Jan Böhmer
77819af9a8
New translations security.en.xlf (German)
2025-12-05 00:40:26 +01:00
Copilot
0000cd7a02
Fix spelling and grammar mistakes in documentation ( #1127 )
...
* Initial plan
* Fix spelling and grammar mistakes in documentation
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
2025-12-05 00:05:31 +01:00
Copilot
9a1dbe06dc
Fix spelling and grammar mistakes in German and English translations ( #1125 )
...
* Initial plan
* Fix spelling and grammar mistakes in German and English translations
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com >
2025-12-04 23:44:03 +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