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
b1ba26e0b9
Allow usernames to contain @-signs as long as it is not at the begininng
...
This allows to use email addresses as usernames and fixes issue #772
2024-12-01 23:05:27 +01:00
Jan Böhmer
baf8977578
Correctly handle IP addresses containing RFC 4007 scoping
2024-12-01 19:19:04 +01:00
Marc
76ebd22eab
Fixed Typos and mistranslations in GDPR mode (DSGVO Modus) ( #757 )
...
Fixed Typo enviroment
Co-authored-by: Marc Kreidler <kreidler@nedo.com>
2024-11-08 23:22:18 +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
49acf3e0cf
Fixed problem preventing non-admins to add TOTP 2FA to their account
...
This was caused by the no-lockout constraint, which was accidentially triggered here
2024-10-13 20:13:03 +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
5074e2beac
Fixed phpunit tests
2024-06-22 00:44:59 +02:00
Jan Böhmer
20f32c7f12
Applied rector suggestions
2024-06-22 00:31:43 +02:00
Jan Böhmer
8bb8118d9f
Use natural sorting for trees and others repository functions
2024-06-17 22:33:40 +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
777f6ba738
Fixed error caused by immutable datetime passed to mutable datetime doctrine type
2024-06-10 20:47:06 +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
db72dac243
Save the date when a webauthn key was used last time for 2 factor authentication and show it in user settings
2024-04-28 17:50:19 +02:00
Jan Böhmer
b886c0aeae
Removed a now unecessary workaround in the WebatuthnKey entity
2024-04-28 00:43:36 +02:00
Jan Böhmer
91b7f2752f
Added the database fields required by the new webauthn bundle versions
2024-04-28 00:31:38 +02:00
Henning Kleen
835b954140
fix import of parts containing shopping information ( #594 )
2024-04-15 21:32:04 +02:00
Jan Böhmer
da75cca97c
Fixed missing/wrong group attributes on Parameters
...
This fixes issue #584
2024-04-02 22:41:30 +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
838997b959
Updated the list of allowed object methods in twig label mode
2024-03-06 21:39:49 +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
0cd631774b
Fixed compatibility error with webauthn library which prevented 2FA via webauthn
2024-03-04 21:20:57 +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
7b5ae70de3
Added tests for the Attachments API endpoint
2024-03-03 21:02:15 +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
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
f3bea68011
Automatically detect the discriminator type of attachments and parameters based on the chosen element IRI
...
Related to issue #502
2024-03-02 23:15:00 +01:00
Jan Böhmer
e843286ea7
Allow to create parameters via the API
2024-03-02 21:49:16 +01:00
Jan Böhmer
e3d2012809
Use a own discriminator map for the Attachment API Platform discriminator
2024-03-02 21:45:16 +01:00
Jan Böhmer
ce768764cc
Allow to create Attachments for all entity types using the API
...
This fixes issue #502
2024-03-02 21:39:30 +01:00
Jan Böhmer
16b3d58242
Implemented basic discriminator map for Attachment API access. Now we can properly create part attachments using a POST operation
2024-03-02 21:21:16 +01:00
Jan Böhmer
3cc1fb40f0
Fixed problem that no datastructures with an parent element could be created/edited via API
...
This fixes issue #512 .
The error was introduced when trying to allow the modification of attachments/parameters throught the parent element. We need a seperate write scope to the element, or we end up with an infinite loop.
2024-02-06 22:42:25 +01:00
Jan Böhmer
47ddcca065
Fixed exception on label profile admin, if the label profile had an preview attachment
2024-02-06 21:59:53 +01:00
Jan Böhmer
aad62f2599
Disable POST operations for Attachment and AbstractParameter groups for now, as they can not work properly
...
As they work on abstract classes, they can not be initialized directly currently and you need to create them via a PATCH operation on their owning elements.
2024-01-28 19:53:33 +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
7d69d6ba30
Changed logic of invisible to a (forced) visibility field
2023-12-03 15:29:17 +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