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
df23ba07ba
Fixed excpetion that no IRI could be generated if a new Part was created via POST operation via API
...
This was because the objectSerializer in PartNormalizer messed up the JSONLD IRI generation of the paramaters property. It tried to generate this IRI via the Part ressource class, which is not possible
2024-01-05 23:38:49 +01:00
Jan Böhmer
d20b668e87
Decorate error handler of API platform to show a better error message, if a user tries to cascade persist a new entity through an API operation
2024-01-05 23:10:46 +01:00
Jan Böhmer
17e79207f0
Suppress static analysis issue
2023-12-12 22:42:34 +01:00
Jan Böhmer
a3e012d754
Added an event listener for console commands which shows a warning if the console is called as root or as wrong user
...
The idea is to prevent permission issues, by accidential calling the console wrong.
2023-12-12 22:23:19 +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
3798217abc
Use PDO constant instead of magic number in SetSQLModeMiddleware
2023-12-10 00:37:58 +01:00
Jan Böhmer
57423436ce
Added options to use MySQL connection via SSL
2023-12-10 00:36:29 +01:00
Jan Böhmer
ea9cc6723f
Show a meaningful flash warning if trying to add/withdraw an amount of 0 instead of throwing an exception
...
Fixes issue #448
2023-12-07 00:36:16 +01:00
Jan Böhmer
b5721dcfd0
Revert "Migrated deprecated doctrine event subsrcibers"
...
For some very very weird reasoning this cause issues with the ObjectNormalizer, which does not get an an serializer injected anymore.
When the EventLoggerSubscriber is a doctrine subscriber it seems that the serializer service is initialized (as its requested in constructor but not used) and later injected into the object normalizer.
When its an listener, this does not work anymore.
2023-12-07 00:17:27 +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
963079afbf
Fixed static analysis issue
2023-12-06 00:00:32 +01:00
Jan Böhmer
fdf52a59fe
Fixed error in sqlite regex implementation in certain edge cases
2023-12-05 23:51:54 +01:00
Jan Böhmer
dd0f8ec97c
Implement the SQLite extension for doctrine via a middleware instead of an deprecated event listener
2023-12-05 23:50:07 +01:00
Jan Böhmer
641b47b189
Updated omines/datatables-bundle
2023-12-05 23:36:26 +01:00
Jan Böhmer
f9d47e0865
Migrated deprecated doctrine event subscribers to doctrine event listeners
2023-12-05 22:08:07 +01:00
Jan Böhmer
8b8079a6f1
Fixed deprecations
2023-12-05 21:55:20 +01:00
Jan Böhmer
5faeb5dd56
Fixed problem with loading Fixtures on MySQL in combination with savepoints
...
We must now load the fixtures using custom command partdb:fixtures:load
2023-12-05 21:33:29 +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
f4b4f14a67
Added ability to modify the EDA data via the Part-DB API
2023-12-03 00:57:11 +01:00
Jan Böhmer
9994dbd9db
Added tests to test the KICad API endpoints
2023-12-03 00:43:34 +01:00
Jan Böhmer
d976865e7a
Fixed static analysis issues
2023-12-03 00:05:41 +01:00
Jan Böhmer
f28e369c01
Added an autocomplete feature for Kicad symbols and footprints
2023-12-02 19:40:26 +01:00
Jan Böhmer
30b2c8b841
Added forms to change EDA infos of footprints and categories
2023-12-01 22:47:05 +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
b76b2740a7
Use Embeddables for EDACategoryInfo instead of a json column
2023-11-30 19:13:32 +01:00
Jan Böhmer
d5f002ac20
Added basic ability to store EDA Data in a Part
...
But that might change, as it is currently not ideal
2023-11-30 12:54:30 +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
Jan Böhmer
b7af08503c
Refactored cache tags and invalidation
2023-11-29 20:49:16 +01:00
Jan Böhmer
08a1ce5f64
Moved some logic from KICAD controller into its own service
2023-11-29 20:17:17 +01:00
Jan Böhmer
22f8448c65
Added an very basic API implementation for KICAD
2023-11-28 14:24:22 +01:00
Jan Böhmer
6b0f0d31b9
Allow to authenticate using Authorization: Token header, which the KiCAD API uses
2023-11-28 14:24:22 +01:00
Jan Böhmer
03712fcf96
Show an error flash, if the info providers cannnot communicate with the servers instead of throwing an exception
2023-11-27 23:17:20 +01:00
Jan Böhmer
dbff543fa8
Remove an attachment as preview image of an element, if it is not an image anymore through a change
2023-11-27 22:59:02 +01:00
Jan Böhmer
08bd4d54e3
Fix exception if uploading a new file for an already existing attachment
2023-11-27 22:48:18 +01:00
Jan Böhmer
eb30fb6e83
Fixed thumbnail for SVG files where the original name had no svg extension
2023-11-27 18:27:36 +01:00
Jan Böhmer
05e9b63f89
Fixed exception, when downloading an attachment file, which does not have a usable extension
2023-11-27 18:13:55 +01:00
Jan Böhmer
da0845c11c
Added Timestampable interface to entities that missed it, to fix timetravel in certain cases
2023-11-27 17:53:35 +01:00
Jan Böhmer
752cfb3698
Try to automatically determine an attachment name from a given URL similar to the name of an uploaded file
2023-11-27 17:39:24 +01:00
Jan Böhmer
18db20e511
Added the option env option to configure that all new attachment files should be downloaded by default
2023-11-26 23:44:02 +01:00
Jan Böhmer
0f0adfcf36
Filter out duplicate file DTO returned by the info providers
2023-11-26 22:24:22 +01:00