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 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
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
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
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
...
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
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
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
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
Copilot
a356eecd74
Replace type synonym placeholders with bracket notation for better DX ( #1133 )
...
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
* 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
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
a5275f7be7
Increase DB field length for URLs to 2048 chars
...
This fixes issue #1122
2025-12-04 23:04:44 +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
1925a71f30
Added translations for new IPN suggestion settings
2025-12-03 21:52:48 +01:00
Jan Böhmer
023d38d170
Allow to configure seperators, category fallback and a global prefix for IPN generation
...
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
Translations still missing
2025-12-01 23:56:36 +01:00
Jan Böhmer
9f2989444a
Fixed phpstan issues
2025-11-30 23:37:34 +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
161a9e930d
Made IPN format help placeholder translatable
2025-11-30 15:38:46 +01:00
Jan Böhmer
3649fffde1
Made password toggle buttons labels translatable
2025-11-30 15:36:54 +01:00
Jan Böhmer
d55d9b43f9
Removed more clutter in settings form translation
2025-11-30 15:33:52 +01:00