barisgit
cc9d50a8fe
Add makefile to help with development setup, change part_ids in bulk import jobs to junction table and implement filtering based on bulk import jobs status and its associated parts' statuses.
2025-08-31 22:17:05 +02: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
946032a101
Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0
2024-12-28 23:08:08 +01:00
Jan Böhmer
6225d2c9b3
Implemented an easy to use APIFilter for tags
...
This makes the process of filters more easily and intuitive. This fixes issue #750
2024-11-05 00:07:25 +01:00
Jan Böhmer
0c47aa226c
Fixed imports of parameters on parts
...
It was missing the required serialization group. This fixes issue #718
2024-10-13 21:35:31 +02:00
Jan Böhmer
06c8e584a4
Allow to import attachments and parameters via entity import
...
This fixes issue #363
2024-06-23 00:41:25 +02:00
Jan Böhmer
235d572f8c
Use DatetimeImmutable instead of DateTime wherever possible
2024-06-22 17:36:54 +02:00
Jan Böhmer
002d29a53e
Fixed PHPstan issues
2024-06-22 16:53:59 +02:00
Jan Böhmer
20f32c7f12
Applied rector suggestions
2024-06-22 00:31:43 +02:00
Jan Böhmer
7ad2fab53d
Fixed exception related that Datetimeimmutables were used were doctrine expected mutable ones
...
this prevented the saving of parts from info providers
2024-06-13 23:41:35 +02:00
Jan Böhmer
b70d74ae4b
Perform the duplicate check of parameter names already on initial creation
...
This fixes issue #568
2024-04-28 19:38:39 +02:00
Jan Böhmer
206bcebdb7
Forbid users to select dates after 2038 on 32-bit systems to prevent errors caused by Year2038 bug
...
See discussion #548 and #549
2024-03-09 00:11:00 +01:00
Jan Böhmer
dc7c13479c
Add proper length constraint validations to all string mapped ORM fields, so they show a nice validation error, instead of a 500 error
...
Fixes issue #544
2024-03-06 19:46:11 +01:00
Jan Böhmer
3d67ad870a
Added tests for all API endpoints of Structural elements
2024-03-03 21:52:26 +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
42e604245c
Fixed some inspection issues
2024-03-03 19:57:31 +01:00
Jan Böhmer
7ae0fad356
Allow to create attachments and parameters via PATCH operations on their owning elemens as direct POST operations are not possible yet
...
This partly fixes issue #502
2024-01-28 19:50:59 +01:00
Jan Böhmer
7430ecd7a6
Invalidate part related cache tags properly, if a part is created, changed or removed
...
This fixes the issue with KiCAD integration described in issue #483
2024-01-16 22:49:01 +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
f4b4f14a67
Added ability to modify the EDA data via the Part-DB API
2023-12-03 00:57:11 +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
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
aab1dcf8e6
Fixed APIPlatform test issues which were introduced with the upgrade to api platform core v3.2.6
2023-11-25 01:17:35 +01:00
Jan Böhmer
90a1ffa2ac
Fixed issues with wrong Groups attribute definition
2023-11-17 23:30:36 +01:00
Jan Böhmer
96a771e7ac
Allow to edit the vendor_barcode field of a PartLot
2023-11-17 23:05:47 +01:00
Jan Böhmer
3e6b80d1cf
Added possibility to access PartAssociations via API
2023-11-17 22:12:19 +01:00
Jan Böhmer
4d7d196a3c
Added some documentation and tests to PartAssociations
2023-11-17 18:36:49 +01:00
Jan Böhmer
7f612bc371
Added ability to view part relations on a part info page
2023-11-15 00:44:45 +01:00
Jan Böhmer
cc2332a83a
Added some constraints to ensure validity of the PartAssociation entities
2023-11-14 23:50:09 +01:00
Jan Böhmer
c7892cb9e2
Added a seperate field for specifying the other relation
2023-11-14 23:35:18 +01:00
Jan Böhmer
81f8b365e9
Improved the association edit panel
2023-11-13 23:01:59 +01:00
Jan Böhmer
8ab9cf1417
Added very basic possibility to add an association
2023-11-13 00:11:58 +01:00
Jan Böhmer
b7cfdebad5
Added data field for vendor PartLot barcodes
2023-11-12 22:06:05 +01:00
Jan Böhmer
0447a7e6b3
Added basic data structures for part associations
2023-11-12 21:53:45 +01:00
Jan Böhmer
717a9fb0a3
Fixed API Platform deprecations
2023-10-25 20:40:41 +02:00
Jan Böhmer
64c38042a0
Added missing lastModified and creationDate fields to API response
2023-10-04 00:08:10 +02:00
Jan Böhmer
852624ae7e
Added filter to filter parts by storage location
2023-10-03 21:59:33 +02:00
Jan Böhmer
00708608cd
Added entity filter to filter part response by categories, etc.
2023-10-03 21:37:58 +02:00
Jan Böhmer
3df47ed748
Added filters to various endpoints to allow searching for parts
2023-10-03 16:29:04 +02:00
Jan Böhmer
7bd44484be
Added documentation for virtual fields of Attachment and Part entity
2023-10-02 00:22:15 +02:00
Jan Böhmer
f285061a76
Allow to view and edit parameters of elements
2023-09-19 11:44:22 +02:00
Jan Böhmer
78a6262665
Fixed PHPstan issues
2023-09-19 00:00:25 +02:00
Jan Böhmer
87e881f8e0
Show attachments and preview image in API response
2023-09-18 23:38:06 +02:00
Jan Böhmer
59f62d4a4c
Show lots, order and pricedetails in part response
2023-09-18 21:31:55 +02:00
Jan Böhmer
f01ec9dbe4
Improved documentation of entity fields
2023-09-17 12:50:32 +02:00
Jan Böhmer
4e57750214
Added endpoint for storage locations
2023-09-04 23:05:30 +02:00
Jan Böhmer
0af5a58dbe
Renamed Storelocation entity to StorageLocation
2023-09-04 22:57:40 +02:00