Jan Böhmer
376c7e7a6f
Allow to parse ranges for ParameterDTO which just contain two dots
2025-02-20 00:17:53 +01:00
Jan Böhmer
42ecb83155
Rename duplicate parameters and attachments when importing from an info provider
...
This fixes issue #840
2025-02-01 23:14:42 +01:00
Jan Böhmer
8502df08fa
Added test for autodetection of EIGP114 barcodes
2025-01-04 18:43:50 +01: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
ef412eef92
Fixed tests
2024-11-08 23:32:14 +01:00
Jan Böhmer
528d0c7a26
Added tests for TimeTravel service and fixed applyEntry function for embeddded fields
2024-06-23 17:43:10 +02:00
Jan Böhmer
b88e5e27d8
Fixed tests
2024-06-22 23:01:40 +02:00
Jan Böhmer
b7b941e3a1
Fixed error handling of structural data import
...
This was the reason for the exception in #632
2024-06-22 22:55:15 +02:00
Jan Böhmer
235d572f8c
Use DatetimeImmutable instead of DateTime wherever possible
2024-06-22 17:36:54 +02:00
Jan Böhmer
d898ca736c
Applied rector to remaining test files
2024-06-22 00:37:47 +02:00
Jan Böhmer
20f32c7f12
Applied rector suggestions
2024-06-22 00:31:43 +02:00
frank-f
7a6b045030
Improve parameter parsing ( #583 )
...
* DigiKey: Skip empty values
* Move improved range detection from LCSCProvider to ParameterDTO class
Improve numeric value detection by moving extra info to value_text
* ParameterDTO: Add micro unit prefix
* Bring $value_text2 to a defined state
* ParameterDTO: Don't overwrite $unit if it's not empty
* ParameterDTO: Don't overwrite $unit if it's not empty
* Correct some inaccuacies in comments
* Added tests and fixed certain edge cases in parsing parameters
* Added more tests for parameter parsing
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2024-04-15 22:33:27 +02:00
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
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
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
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
e1f1d10833
Added test for change on ParamterDTO done by PR #530
2024-02-24 22:51:02 +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
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
0f0adfcf36
Filter out duplicate file DTO returned by the info providers
2023-11-26 22:24:22 +01:00
Jan Böhmer
1da5e7ccd7
Properly merge the PartAssociations pointing towards the parts
2023-11-24 23:36:09 +01:00
Jan Böhmer
b9956e38b8
Dont concat if one of the strings is empty during part merge
2023-11-24 23:16:26 +01:00
Jan Böhmer
c86694ab8f
Merge the remaining fields of a Part
2023-11-21 19:41:18 +01:00
Jan Böhmer
478d5e2a3a
Merge tags and bool fields of parts
2023-11-21 00:18:10 +01:00
Jan Böhmer
01784a9d1f
Started implementing building blocks for the merge system
2023-11-19 23:17:48 +01:00
Jan Böhmer
5442aa5e07
Added test for vendor barcode scanner
2023-11-17 23:29:06 +01:00
Jan Böhmer
5cfccab671
Allow to scan IPN barcodes using the built in barcode scanner
...
This improves issue #373
2023-11-12 00:36:13 +01:00
Jan Böhmer
5e326bca12
Added label placeholders to add a barcode version of the IPN to a label
...
This fixes issue #373
2023-11-05 21:24:21 +01:00
Jan Böhmer
bdcd51d533
Refactored barcode scan functions
...
This is preparatory work for issue #373
2023-10-26 22:23:43 +02:00
Jan Böhmer
783a00ca2f
Added test for price related quantity in DTOToEntityConverter
2023-10-26 17:41:26 +02:00
Jan Böhmer
0af5a58dbe
Renamed Storelocation entity to StorageLocation
2023-09-04 22:57:40 +02:00
Jan Böhmer
fc6643bd6f
Added system to restrict permissions based on API token level
2023-08-28 21:20:59 +02:00
Jan Böhmer
0e5613b57b
Forbid access to homepage if a user has no allow permission
...
This allows to block access to everything (even the homepage) for anonymous access. This fixes issue #290
2023-08-20 12:33:08 +02:00
Jan Böhmer
1fb334b0ca
Show a notification on homepage and server info page if there is a new version available.
2023-08-04 23:49:26 +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
afcbbe0f43
Fixed phpunit tests
2023-07-17 00:34:00 +02:00
Jan Böhmer
d10d29e590
Do not enable the create part from provider permission automatically
...
This allows users to create new datastructures, which is maybe not wanted. Besides it has to be configured first.
2023-07-17 00:20:38 +02:00
Jan Böhmer
b3b205cd6e
Added permissions to control access to info providers and oauth tokens
2023-07-16 20:33:24 +02:00
Jan Böhmer
8ea92ef330
Added tests for DTOConverter
2023-07-15 18:18:35 +02:00
Jan Böhmer
94a26ae75a
Allow to extract ranges from paramaters
2023-07-15 01:41:29 +02:00
Jan Böhmer
bb510a9240
Fixed test failure, caused by validation on user element
2023-06-18 22:11:58 +02:00
Jan Böhmer
2da7463edf
Use a enum for level in LogEntries
2023-06-18 17:25:55 +02:00
Jan Böhmer
71cd4057a7
Use enums for LabelOptions
2023-06-12 23:39:30 +02:00
Jan Böhmer
6a2ff9d153
Added declare strict types to all files
2023-06-11 18:59:07 +02:00
Jan Böhmer
df8f54f5a4
Fixed tests for stricter typing
2023-06-11 15:32:29 +02:00
Jan Böhmer
fcbb1849ec
Applied rectors phpunit 9 migrations to tests
2023-06-11 15:15:55 +02:00
Jan Böhmer
5629215ce4
Use imports instead of FQNs
2023-06-11 15:00:28 +02:00