Commit graph

4577 commits

Author SHA1 Message Date
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
Marc
bd2d5355c6
Merge branch 'Part-DB:master' into Buerklin-provider 2025-12-08 08:41:24 +01:00
Jan Böhmer
98b8c5b788 Bump to version 2.3.0
Some checks failed
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
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
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
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
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
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