Jan Böhmer
12e9497ccf
Sanatize remaining invalid URL characters somehow returned by InfoProviders
...
This fixes issue #521
2024-02-24 23:55:31 +01:00
Jan Böhmer
4b7d200aa2
Retrieve category info from LCSC
2024-02-24 23:32:50 +01:00
Jan Böhmer
e937432d1e
Fixed phpstan issue
2024-02-24 23:23:46 +01:00
frank-f
e8bc93f67a
Fix RegEx to handle negative values and Ohms without prefix ( #530 )
...
* Fix RegEx to include negative values
* Update RegEx to handle Ω without prefix
* Update RegEx to include %
* Handle plus/minus values as range
* Fix copy&paste error
* Change minimum value to negative
* Escape decimal point and add slash to valid unit characters to be able to pick up for example "ppm/°C"
* Skip empty values
2024-02-24 22:48:38 +01:00
Jan Böhmer
20be83c345
Allow to configure the currency to get prices in for the LCSCProvider
2024-02-22 23:57:57 +01:00
Jan Böhmer
95ef97fcc2
Added possibility to enable/disable the LCSC provider
2024-02-22 23:32:12 +01:00
Jan Böhmer
d600cb4b9a
Improved parsing of parameters. Values with unit and ranges get now properly parsed into the Part-DB structures
2024-02-22 23:22:52 +01:00
Jan Böhmer
0bbfaf9893
Improved typing and formatting of LCSC provider slightly
2024-02-22 22:41:09 +01:00
Nexrem
e3e562a154
Add LCSC Info Provider using their public API
2024-02-22 15:32:33 +01:00
Jan Böhmer
0f0adfcf36
Filter out duplicate file DTO returned by the info providers
2023-11-26 22:24:22 +01:00
buchmann
5144b75ed7
Fix image type alt name if newly generated
2023-10-25 15:56:40 +02:00
buchmann
aeed7c0802
fix line breaks
2023-10-25 14:29:18 +02:00
buchmann
2b470e6cdd
Merge commit ' f8ccd5bc22
' into d-buchmann-patch-1
2023-10-25 14:10:46 +02:00
d-buchmann
e6870c61ee
Update DTOtoEntityConverter.php
2023-10-25 14:01:46 +02:00
d-buchmann
f8ccd5bc22
Add price_related_quantity to PriceDTO.php
2023-10-25 13:58:59 +02:00
Jan Böhmer
7cd2662c77
Moved API key to query options of HTTPClient in MouserProvider
2023-10-08 00:18:25 +02:00
Jan Böhmer
4f0730b6f9
Properly formatted MouserProvider and fixed some type issues
2023-10-08 00:15:57 +02:00
Jan Böhmer
d7bc74fb2b
Slightly restructured mouserprovider to remove redundant code
2023-10-08 00:00:10 +02:00
Jan Böhmer
a0b31cfd7e
Made mouser provider key lowercase to be consistent with other providers
2023-10-07 23:49:04 +02:00
Jan Böhmer
33033bc5b1
Added the MouserProvider by @pdo59
2023-10-07 23:46:31 +02:00
Jan Böhmer
d847b74522
Reenable caching for part provider system.
2023-07-31 22:21:20 +02:00
Jan Böhmer
5750e7dbdf
Fixed exception if octopart did not returned an category for a part
2023-07-31 22:21:08 +02:00
Jan Böhmer
ffe76f9d2e
Use full path for categories returned by Octopart
2023-07-31 22:17:24 +02:00
Jan Böhmer
5b1ad541a8
Added an caching layer to octopart provider to reduce API queries.
2023-07-31 22:11:46 +02:00
Jan Böhmer
4824a82c3f
Fixed error, when octopart search got no results
2023-07-31 01:00:34 +02:00
Jan Böhmer
f7cea1100c
Allow to configure various options of the octopart provider
2023-07-31 00:57:33 +02:00
Jan Böhmer
827dd01e28
Get shopping informations from octopart
2023-07-31 00:13:59 +02:00
Jan Böhmer
d969f49ecc
Get specifications, mass, footprint and manufacturer status from Octopart
2023-07-31 00:01:19 +02:00
Jan Böhmer
43cc37d10f
Added very basic octopart info provider
2023-07-30 23:04:18 +02:00
Jan Böhmer
1c222ff293
Improved attachment name generation from DTO url
...
We dont include the query paramaters in the name anymore
2023-07-29 18:38:18 +02:00
Jan Böhmer
3a8c835880
Lazily sort info providers list, to prevent unneccesarry work on most container calls
2023-07-19 00:11:19 +02:00
Jan Böhmer
52c6884e28
Allow slashes in digikey product ids
2023-07-17 23:21:30 +02:00
Jan Böhmer
3a8c5a788f
Fixed phpstan issues
2023-07-17 00:43:35 +02:00
Jan Böhmer
7b61cb3163
Added more env variables to configure providers
2023-07-17 00:19:02 +02:00
Jan Böhmer
4c1c6701b3
Test availability of the info provider pages
2023-07-16 23:56:30 +02:00
Jan Böhmer
c810b6772c
Show the value returned by the provider on part creation page.
...
This makes it easier to check or assign a element manually
2023-07-16 23:19:02 +02:00
Jan Böhmer
b74ab18a6d
Added possibility to define alternative names on data structures
...
This can be used to find elements, based on the data returned by info providers
2023-07-16 22:59:46 +02:00
Jan Böhmer
6862d318f0
Cache the DTO objects returned by the info providers
...
This saves API requests
2023-07-16 19:05:26 +02:00
Jan Böhmer
412fa3f0bf
Get datasheets and category from digikey
2023-07-16 18:35:44 +02:00
Jan Böhmer
01d9109c45
Improved digikey provider
2023-07-16 17:10:48 +02:00
Jan Böhmer
f7648e3311
Added an button to connect the oauth providers from WebUI
2023-07-16 03:18:33 +02:00
Jan Böhmer
c203de082e
Added proper OAuth authentication for digikey and other providers
2023-07-16 03:07:53 +02:00
Jan Böhmer
a95ba1acc4
Add a reference to the used info provider to a part
2023-07-16 01:24:49 +02:00
Jan Böhmer
db97114fb4
Use preview image and other additional images provided by the info provider
2023-07-15 21:41:35 +02:00
Jan Böhmer
8ea92ef330
Added tests for DTOConverter
2023-07-15 18:18:35 +02:00
Jan Böhmer
de82249d8d
Provide footprint information on TMEProvider
2023-07-15 01:52:46 +02:00
Jan Böhmer
94a26ae75a
Allow to extract ranges from paramaters
2023-07-15 01:41:29 +02:00
Jan Böhmer
f9fdae9de9
Added an TME data provider
2023-07-15 01:01:20 +02:00
Jan Böhmer
0cb46039dd
Allow to retrieve price and shopping informations from info providers
2023-07-14 00:09:22 +02:00
Jan Böhmer
6cd9640b30
Allow to automatically find or create entities from database based on info providers
2023-07-12 23:43:16 +02:00