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
Jan Böhmer
bf2a776403
Do the EIGP114 detection after userdefined barcode detection, so that users can override it on their partLots
2025-01-04 18:41:27 +01:00
Jan Böhmer
052190c69b
Do not trim user_barcode for partLots
2025-01-04 18:40:18 +01:00
Treeed
9e85b70c17
Added capability to scan Digikey barcodes and open the local part part page based on the result ( #811 )
...
* added capability to scan digikey barcodes and open the local part page based on the digikey part number or manufacturer part number
* had replaced one too many doublequotes
* Generalized interpretation of format06 barcodes, added ids for mouser
* Renamed vendor_barcode to user_barcode in entities
* Added a own class to parse EIGP114 barcodes
* Added tests to EIGP114Barcode parser
* Refactored code
* Changed BarcodeRedirector to support the new Barcode EIGP114BarcodeScanResult class
* Added possibility to just show all information contained in a barcode
* Dont require trailer for EIGP114 barcodes, as digikey does not seem to put them onto their barcodes
* Fixed inspection issues
---------
Co-authored-by: jona <a@b.c>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2025-01-04 01:20:51 +01:00
Jan Böhmer
9c99217dee
Fixed test errors
2025-01-03 20:21:17 +01:00
Jan Böhmer
63893ffabe
Allow to automatically map categories from info providers to local categories using the "alternative names" system
...
This partially addresses issues discussed in discussion #808
2024-12-31 18:31:20 +01:00
Jan Böhmer
c9e519d0b5
Show a warning flash, when creating a part from an info provider that has no category autoprovided
...
This partially fixes the problems described in discussion #808
2024-12-31 18:25:28 +01:00
Jan Böhmer
273bde90f2
Use the providerID as keyword when searching infos for a part with already existing providerreference and preselect the info provider if possible
2024-12-31 18:13:15 +01:00
Treeed
92e4976396
Show when parts from info provider already exist ( #810 )
...
* added button to show existing part with same manufacturer and mpn in provider list
* added button to edit existing part in provider list
* added docstring and comments
* replaced unnecessary double quotes
* Introduced a new twig variable localPart to split up the result
* Highlight a row, if the part is already existing
* Made buttons translatable
* Improved styling of the buttons and added a badge to show a hint
* Extracted database queries for part matching into its own service and optimized the query reducing the required queries by factor 2
* Allow to find existing parts via the stored providerReference
This should allow the database to more quickly find entries
* Allow to use part name and manufacturer alternative names for mapping
* Added a button to update a local part from the info provider and moved some buttons into dropdown menu
---------
Co-authored-by: jona <a@b.c>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2024-12-31 18:03:36 +01:00
Jan Böhmer
b3d8076ddf
Fixed fixture loading process
2024-12-29 19:06:58 +01:00
Jan Böhmer
f775203608
Use new syntax for getReference() in data fixtures
2024-12-29 13:46:22 +01:00
Jan Böhmer
9a2a5f30a3
Updated doctrine fixtures bundle
2024-12-29 13:20:12 +01:00
Jan Böhmer
a9f444cbb4
Added return types to ExponentialNumberTypes for futureproofing the implementation
2024-12-29 13:14:26 +01:00
Jan Böhmer
164efb0551
Fixed phpstan error with NodesListBuilder
2024-12-29 13:14:00 +01:00
Jan Böhmer
a37b8cbb15
Fixed introduced bug in node flattening
2024-12-28 23:19:55 +01:00