Marc
b53989bb9d
Update LCSCProvider.php: fix error in query string ( #873 )
...
Fix typo in query string 'prodctCode' -> 'productCode' introduced in Commit 80527e3
2025-02-25 13:32:36 +01:00
Jan Böhmer
1935258978
Fixed phpstan issue
2025-02-23 22:55:59 +01:00
Jan Böhmer
5d3f861728
Use newer version of farnell/element14 api to get the correct links to product pages. Also we can now retrieve a more detailed description, which will be put into the notes field
2025-02-22 23:29:57 +01:00
Jan Böhmer
319b69f6c7
Added an workaround for issue #862
2025-02-22 22:59:55 +01:00
Jan Böhmer
c4ba28e3a0
Heavily refactored the property metadata attribute logic
...
The new method is much more universal and fixes issue #862
2025-02-22 22:19:38 +01:00
Jan Böhmer
b38ef8ecea
Revert "Fixed type error introduced with api-platform upgrade"
...
This reverts commit a54c2db9b9
.
2025-02-22 21:12:58 +01:00
Jan Böhmer
cb0817666d
Revert "Use the modular api-platform packages instead of the monolitic api-platform/core package"
...
This reverts commit 17caf476bf
.
2025-02-22 21:12:54 +01:00
Jan Böhmer
a54c2db9b9
Fixed type error introduced with api-platform upgrade
2025-02-22 19:59:12 +01:00
Jan Böhmer
17caf476bf
Use the modular api-platform packages instead of the monolitic api-platform/core package
2025-02-22 19:48:36 +01:00
Jan Böhmer
42cb590c75
Fixed deprecations with api platform
2025-02-22 19:35:49 +01:00
Jan Böhmer
019e67a676
Migrate legacy attachment discriminator class values to modern format, so that we can make the discriminator map unique and fix a deprecation with doctrine
2025-02-22 17:58:20 +01:00
Jan Böhmer
f146d88aa5
Added additional filters to attachment datatable
2025-02-22 17:48:26 +01:00
Jan Böhmer
48be9a8098
Made attachment datatable sortable by internal filename and external url
2025-02-22 17:41:41 +01:00
Treeed
29f92d9bd3
Split attachment paths ( #848 )
...
* fixed attachment statistics for sqlite
* Split attachment path into internal and external path, so the external source URL can be retained after a file is downloaded
* Make internal and external path for attachments nullable, to make clear that they have no internal or external path
* Added migrations for nullable columns for postgres and mysql
* Added migration for nullable internal and external pathes for sqlite
* Added translations
* Fixed upload error
* Restrict length of filename badge in attachment edit view
* Improved margins with badges in attachment edit
* Added a link to view external version from attachment edit
* Let media_url stay in API attachments responses for backward compatibility
---------
Co-authored-by: jona <a@b.c>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2025-02-22 17:29:14 +01:00
Jan Böhmer
94bcd3d2d3
Fixed static analysis issue
2025-02-20 20:35:00 +01:00
Jan Böhmer
a9bd4c5606
Use better parameter value parsing for pollin and reichelt parameters
2025-02-20 19:45:05 +01:00
Jan Böhmer
8d9dde0032
Show the desired part, when searching for the pollin part number
2025-02-20 19:39:35 +01:00
Jan Böhmer
085adf8d71
Throw an exception message, when trying to use an info provider which is not active
2025-02-20 19:35:16 +01:00
Jan Böhmer
9b35b60d61
Use correct price for one unit if there are multiple prices availble
...
We can still not parse the bulk prices correctly completly
2025-02-20 19:32:31 +01:00
Jan Böhmer
742e57cc5c
Added basic provider for pollin
2025-02-20 19:20:14 +01:00
Jan Böhmer
a5961668fe
Disable info provider result caching when in debug mode
2025-02-20 16:59:16 +01:00
Jan Böhmer
e7394c165a
Undo change to cache expiration
2025-02-20 16:57:16 +01:00
Jan Böhmer
7be966122f
Added missing info hint how to enable reichelt provider
2025-02-20 16:56:21 +01:00
Jan Böhmer
1e80be1376
Added documentation for reichelt info provider
2025-02-20 16:46:47 +01:00
Jan Böhmer
c51e0eb68f
Allow to get prices in non-EUR currencies from reichelt
2025-02-20 16:37:13 +01:00
Jan Böhmer
d05c0579a2
Fixed problem that first batch price was not included
2025-02-20 16:33:37 +01:00
Jan Böhmer
5e40519bc5
Allow to select if VAT should be included or not
2025-02-20 16:29:37 +01:00
Jan Böhmer
d13752114c
Allow to configure the reichelt info provider via env vars
2025-02-20 16:06:10 +01:00
Jan Böhmer
90e1b809fe
Allow to change language and country
2025-02-20 15:59:35 +01:00
Jan Böhmer
32b4e6812d
Undo change to cache expiration
2025-02-20 15:40:26 +01:00
Jan Böhmer
a798aa9c24
Allow to extract MPN from reichelt provider
2025-02-20 15:39:35 +01:00
Jan Böhmer
f1c28b9f46
Allow to parse batch prices
2025-02-20 15:14:59 +01:00
Jan Böhmer
39bc400376
Added basic price info retrieval from reichelt
2025-02-20 00:32:03 +01:00
Jan Böhmer
e287918121
Extract category from reichelt provider
2025-02-20 00:24:46 +01:00
Jan Böhmer
e0bf8e5fbc
Allow reichelt provider to parse parameters
2025-02-20 00:18:05 +01:00
Jan Böhmer
376c7e7a6f
Allow to parse ranges for ParameterDTO which just contain two dots
2025-02-20 00:17:53 +01:00
Jan Böhmer
5612a790fb
Added basic way to retrieve simple part infos and datasheet
2025-02-19 23:55:58 +01:00
Jan Böhmer
80527e35c3
Added basic reichelt search capabilities
2025-02-19 00:44:49 +01:00
Jan Böhmer
b724b05de6
Fixed "implicitly marking parameter as nullable" deprecations in PHP 8.4 fixed
2025-02-08 00:19:20 +01:00
Treeed
edf50a71d1
fixed attachment statistics for sqlite ( #847 )
...
Co-authored-by: jona <a@b.c>
2025-02-02 21:05:47 +01:00
Jan Böhmer
3247a97217
Removed "All" page length option for log tables, as this easily causes an out of memory situation on the server
...
You can easily have thousands of log entries, making it impossible to view them all at once.
This fixes #835
2025-02-01 23:44:07 +01:00
Jan Böhmer
42ecb83155
Rename duplicate parameters and attachments when importing from an info provider
...
This fixes issue #840
2025-02-01 23:14:42 +01:00
Jan Böhmer
aa06e1df04
Fixed exception when trying to export an empty entity list
...
Fixes issue #836
2025-02-01 20:57:27 +01:00
Jan Böhmer
fd7a0156bc
Disable GET_GROSS_PRICES option for TME info provider when using private key. Otherwise we receive an error.
...
This fixes issue #838
2025-02-01 20:20:33 +01:00
Jan Böhmer
04310aa2f8
Removed WebpackAutoPathSubscriber, as it seems it not necessary anymore with encore 5
2025-01-07 16:39:51 +01:00
Jan Böhmer
c9aefdd862
Start with an empty selection of category when a new part is created, so that the user has to manually select it
2025-01-06 00:29:26 +01:00
Jan Böhmer
3ad088663f
Fixed phpstan issue
2025-01-06 00:21:04 +01:00
Jan Böhmer
6bdf3d891a
Include the JSON encoded response, when throwing an unknown response format in mouser provider
...
Should help to debug issue #820
2025-01-05 22:15:12 +01:00
Jan Böhmer
f75704f77c
Allow users to save a new label profiles directly from the label generator dialog
...
This fixes issue #806
2025-01-05 22:00:07 +01:00
Jan Böhmer
a6116398a8
Only run PartDenormalizer when importing files, otherwise it causes problems with API platform
...
This fixes issue #800
2025-01-05 17:37:02 +01:00