Commit graph

4607 commits

Author SHA1 Message Date
Jan Böhmer
b08cd16d7a Disable buerklin provider if settings fields are empty 2026-01-04 20:27:57 +01:00
Marc
1fb2c050db
Merge branch 'master' into Buerklin-provider 2026-01-04 19:41:45 +01:00
Jan Böhmer
c1d4ce77db Fixed exception when digikey has no media available for a part
Some checks are pending
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
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"
Some checks are pending
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 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
Some checks are pending
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
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
Marc Kreidler
c28c9b1d19 Remove OAuthTokenManager leftovers 2025-12-18 18:17:38 +01:00
Marc Kreidler
60dc240d68 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.
2025-12-18 17:43:20 +01:00
Marc Kreidler
2a1e7c9b09 add use OAuthTokenManager and create instance in constructor 2025-12-18 17:01:13 +01:00
Marc Kreidler
8df5cfc49e Add missing ) to retrieveROPCToken 2025-12-18 16:50:04 +01:00
Marc Kreidler
66cc732082 Implement retrieveROPCToken as proposed in https://github.com/Part-DB/Part-DB-server/pull/1151#discussion_r2622976206 2025-12-18 16:41:32 +01:00
Marc Kreidler
0b162e2a31 Improve getProviderInfo: disable oauth_app_name, add settings_class, improve disabled_help 2025-12-18 15:47:13 +01:00
Marc Kreidler
e49e2d7976 Revert SonarQube proposed change. Having more than one return is acceptable nowadays 2025-12-18 15:23:21 +01:00
Marc Kreidler
5852ef9674 Removed unused use directives 2025-12-17 21:42:38 +01:00
Marc Kreidler
87c7402414 Add suggested improvements from SonarQube 2025-12-17 18:01:11 +01:00
Marc
bbd551e625
Update default language for Buerklin provider to English in documentation 2025-12-17 08:33:38 +01:00
Marc Kreidler
1e32e61bf2 Use language setting for ProductShortURL 2025-12-16 22:28:31 +01:00
Marc Kreidler
db8fb4067d edd5fb3319 (r2622249861)
Revert "Change order of capabilities in PollinProvider.php"

This reverts commit fc2e7265be.
2025-12-16 21:02:27 +01:00
Marc Kreidler
088ff9eb45 edd5fb3319 (r2622249199)
Revert "Change order of capabilities in LCSCProvider.php"

This reverts commit dfd6f33e52.
2025-12-16 20:57:14 +01:00
Marc Kreidler
edd5fb3319 Fix UnitTest for value_typ 2025-12-12 17:53:15 +01:00
Marc Kreidler
e11533db25 Fix Settings must not be instantiated directly 2025-12-12 15:06:22 +01:00
Marc
69ce279d91
Remove OAuthTokenManager from BuerklinProviderTest
Removed OAuthTokenManager mock from BuerklinProviderTest setup.
2025-12-12 13:00:35 +01:00
Marc Kreidler
9ad894e826 Try fixing PHPStan issues 2025-12-11 22:23:06 +01:00
Marc Kreidler
c60fafb66a Add phpUnit unit tests for BuerklinProvider 2025-12-11 21:54:23 +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
root
9438bd32fc Improve Buerklin Provider help message 2025-12-11 12:43:01 +01:00
root
25a9c36129 Merge branch 'Buerklin-provider' of github.com:mkne/Part-DB-server into Buerklin-provider 2025-12-11 12:23:08 +01:00
root
e1d3c9efc4 Added Translation strings for Buerklin Info Provider 2025-12-11 12:20:49 +01:00
Marc
65084afc33
Improve Buerklin Settings Page 2025-12-11 12:20:31 +01:00
Marc
2aebad7e07
Update BuerklinSettings with existing translatable strings 2025-12-11 11:12:58 +01:00