Jan Böhmer
24137b30a5
Added tests for RedirectController that simulates the situation of a reverse proxy and subdirectory
2025-01-07 15:52:28 +01:00
Jan Böhmer
a29e87e5ac
Fixed phpunit tests
2025-01-06 00:19:31 +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
b3499e4ea5
Fixed (wrongly) failing test on IPAnonymizer
2024-12-02 11:01:39 +01:00
Jan Böhmer
baf8977578
Correctly handle IP addresses containing RFC 4007 scoping
2024-12-01 19:19:04 +01:00
Jan Böhmer
ef412eef92
Fixed tests
2024-11-08 23:32:14 +01:00
Jan Böhmer
5231dbd6e7
Remove project path in twig label error messages to prevent information leakage
2024-08-23 22:28:29 +02: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
c68a647e75
Added missing tests for LogEntryRepository
2024-06-23 16:07:42 +02:00
Jan Böhmer
e0e4b74b6f
Fixed getElementExistedAtTimestamp function()
2024-06-23 15:46:10 +02:00
Jan Böhmer
204178740c
Started adding basic tests for LogEntryRepository
2024-06-23 15:41:57 +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
445229976f
Allow locales like de_DE in removeLocaleFromPath function
...
Related to issue #563
2024-06-22 19:48:11 +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
Jan Böhmer
6821e668e4
Do not inject ObjectNormalizer into StructuralElementDenormalizer directly
2024-06-21 23:41:52 +02:00
Jan Böhmer
d3dcefb645
Fixed total amount and less than desired filter on postgresql
2024-06-16 23:26:57 +02:00
Jan Böhmer
6e9b337b49
Fixed regex function for postgres
2024-06-13 23:18:25 +02:00
Jan Böhmer
c58ff5861d
Replaced the non standard IFNULL function which postgres does not know with the COALSCE function
2024-06-13 23:01:53 +02:00
Jan Böhmer
fe732ecf45
Fixed minor inspection issue
2024-06-10 21:16:46 +02:00
Jan Böhmer
75df0198fc
Fixed tests
2024-04-28 23:12:10 +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
af98842090
Added tests for the remaining API endpoints
2024-03-03 23:07:55 +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
7a90d3f281
Rewrote PartNormalizer so that it does not use ObjectNormalizer directly
2024-03-03 19:28:44 +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
26a4b57cfb
Fixed tests related to PartNormalizer
2024-01-06 15:01:50 +01:00
Jan Böhmer
a6d508205b
Fixed SQLite regex test
2023-12-06 00:00:20 +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
6b0f0d31b9
Allow to authenticate using Authorization: Token header, which the KiCAD API uses
2023-11-28 14:24:22 +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
36879dd7da
Test merge and update from info provider controller endpoints
2023-11-24 23:13:15 +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