Jan Böhmer
ed4728fdb1
Correcty handle already existing elements in mass creation
...
This fixes issue #543
2024-03-10 00:51:37 +01:00
Jan Böhmer
59c4248efe
Strip HTML tags from more LCSC fields
...
This should hopefully fix issue #553
2024-03-09 23:09:49 +01:00
Jan Böhmer
a5b101a0ea
Fixed error, when retrieving prices in USD from LCSC
...
This fixes issue #552 . It seems that LCSC changed their currency symbol for US-Dollar
2024-03-09 22:54:12 +01:00
Jan Böhmer
c989be2719
Retrieve the part mass from mouser API if available
2024-03-09 21:34:05 +01:00
Jan Böhmer
838997b959
Updated the list of allowed object methods in twig label mode
2024-03-06 21:39:49 +01:00
Jan Böhmer
38b5a84c4f
Added some more useful variables to the twig label generator
2024-03-06 21:11:31 +01:00
Jan Böhmer
dff1ef04bf
Added placeholders filter to utilize the placeholders in twig mode
...
Fixes #546
2024-03-06 21:00:49 +01:00
Jan Böhmer
757201cafa
Allow access of twig sandbox to a few more extensions and functions
2024-03-06 20:21:07 +01:00
Jan Böhmer
1da3225e1d
Renamed SandboxedTwigProvider to SandboxedTwig Factory
2024-03-06 20:08:35 +01:00
Jan Böhmer
a2cd5652d2
Updated the list of tags, filters and functions which are allowed inside the sandboxed twig
2024-03-06 20:03:12 +01:00
Jan Böhmer
113e5b3bcd
Escape not only the pathes of FileDTO objects returned by info providers but the preview image url too.
...
This fixes the second issue in #521
2024-03-05 22:52:27 +01:00
Jan Böhmer
925f5c0ce0
Fixed phpstan bug
2024-03-04 22:42:24 +01:00
Jan Böhmer
2bcbe1d0be
Made mouser price info parsing more flexible
...
Austrian mouser returned some other formatted string, which caused problems on the old method. This fixes issue #540
2024-03-04 22:38:15 +01:00
Jan Böhmer
0e68f0783f
Assume that a mouser part is active, if mouser has parts instock even if it is marked as "new part"
...
Related to #540
2024-03-04 22:18:35 +01:00
Jan Böhmer
d49bb1f4b5
Removed unused import statements
2024-03-03 20:34:36 +01:00
Jan Böhmer
87533b6031
Fixed further inspection issues
2024-03-03 20:33:24 +01:00
Jan Böhmer
33e36f3d2b
Fixed issue with EntityImported that was caused by the changes to PartNormalizer
...
We now have a possibility to skip API Platforms serializer subsystem
2024-03-03 20:24:24 +01:00
Jan Böhmer
42e604245c
Fixed some inspection issues
2024-03-03 19:57:31 +01:00
Jan Böhmer
3585b8a56a
Adapter attachment upload forms to the new system
2024-03-03 18:52:06 +01:00
Jan Böhmer
0c33059c4e
Allow to upload files to attachments by passing a base64 encoded file
2024-03-03 18:40:35 +01:00
Jan Böhmer
2b65926865
Cache the sidebar trees to save some database calls
2024-02-25 00:48:15 +01:00
Jan Böhmer
a5d184baef
Use rawurlencode instead of urlencode to sanatize URL-unsafe characters returned by the info providers.
2024-02-24 23:58:27 +01:00
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
fb493cc837
Fixed export of entities, if their name contained slash or other reserved charcters
2024-01-29 21:25:30 +01:00
Jan Böhmer
3a2f3ce1cc
Fix problem with cache key generation if the username contained an @ sign or any other special character
...
This fixes issue #504
2024-01-29 21:08:25 +01:00
Jan Böhmer
d9f58b935a
Fixed some issues when importing parameters from partkeepr
...
Before values were not properly imported, if there was not a normalized version yet and units were not correctly imported
2024-01-11 00:02:32 +01:00
Jan Böhmer
301ecf6c95
Do not import prices with zero price as pricedetails during partkeepr import
...
These are useless placeholders by partkeepr
2024-01-10 23:40:06 +01:00
Jan Böhmer
e2146332dc
Fixed problems with invalid dates during PartKeepr import with MySQL
...
See issue #473
2024-01-10 23:18:02 +01:00
Jan Böhmer
19819454fa
Dont split up links when extracting parameters from notes and description
...
This partly fixes issue #469
2024-01-06 15:14:07 +01:00
Jan Böhmer
bcaf96ed59
Use a svg file as default user avatar instead of SVG. Also changed path generation logic
...
This should also fix the path issue described in issue #446
2023-12-10 21:25:40 +01:00
Jan Böhmer
999fe48a31
Removed SnakeCasePropertyAccessor as this fix is now part of the symfony property-info component
2023-12-06 00:05:37 +01:00
Jan Böhmer
8b8079a6f1
Fixed deprecations
2023-12-05 21:55:20 +01:00
Jan Böhmer
74d1904df1
Only show parts and their categories in KiCad if they have useful info defined on them
2023-12-03 20:22:47 +01:00
Jan Böhmer
7d69d6ba30
Changed logic of invisible to a (forced) visibility field
2023-12-03 15:29:17 +01:00
Jan Böhmer
bc37d11f13
Fixed static analysis issue
2023-12-03 15:11:06 +01:00
Jan Böhmer
6926f6b233
Allow to show all parts of all categories in a single KiCad category by setting EDA_KICAD_CATEGORY_DEPTH to -1
2023-12-03 15:03:00 +01:00
Jan Böhmer
459ae163da
Restrict the depth of the category tree shown inside KiCAD to improve performance
...
The depth can be controlled via the EDA_KICAD_CATEGORY_DEPTH env
2023-12-03 14:42:33 +01:00
Jan Böhmer
d976865e7a
Fixed static analysis issues
2023-12-03 00:05:41 +01:00
Jan Böhmer
b5c7a789a2
Made EDA form for parts prettier
2023-12-01 22:36:14 +01:00
Jan Böhmer
bf5ed030fe
Use the EDAInfo data to send info to KiCAD
2023-11-30 19:34:50 +01:00
Jan Böhmer
2ec1a10623
Add various info from the Part-DB database to the KICAD parts
2023-11-29 21:28:06 +01:00
Jan Böhmer
ee69f9e576
Cache the results for the parts of a category for KiCAD
2023-11-29 20:57:11 +01:00