Treeed
29f92d9bd3
Split attachment paths ( #848 )
...
* fixed attachment statistics for sqlite
* Split attachment path into internal and external path, so the external source URL can be retained after a file is downloaded
* Make internal and external path for attachments nullable, to make clear that they have no internal or external path
* Added migrations for nullable columns for postgres and mysql
* Added migration for nullable internal and external pathes for sqlite
* Added translations
* Fixed upload error
* Restrict length of filename badge in attachment edit view
* Improved margins with badges in attachment edit
* Added a link to view external version from attachment edit
* Let media_url stay in API attachments responses for backward compatibility
---------
Co-authored-by: jona <a@b.c>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2025-02-22 17:29:14 +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
f775203608
Use new syntax for getReference() in data fixtures
2024-12-29 13:46:22 +01:00
Jan Böhmer
9a2a5f30a3
Updated doctrine fixtures bundle
2024-12-29 13:20:12 +01:00
Jan Böhmer
88ef1788ac
Add small time differences to the datafixtures log entries, to get a defined order
2024-06-23 18:03:54 +02:00
Jan Böhmer
c68a647e75
Added missing tests for LogEntryRepository
2024-06-23 16:07:42 +02:00
Jan Böhmer
204178740c
Started adding basic tests for LogEntryRepository
2024-06-23 15:41:57 +02:00
Jan Böhmer
235d572f8c
Use DatetimeImmutable instead of DateTime wherever possible
2024-06-22 17:36:54 +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
d49bb1f4b5
Removed unused import statements
2024-03-03 20:34:36 +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
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
c7a02ae870
Added tests for token API authentication
2023-10-02 23:36:14 +02:00
Jan Böhmer
0af5a58dbe
Renamed Storelocation entity to StorageLocation
2023-09-04 22:57:40 +02:00
Jan Böhmer
b3153dac68
Fixed static analysis issue and added test for UserRepository
2023-08-01 16:20:31 +02:00
Jan Böhmer
afcbbe0f43
Fixed phpunit tests
2023-07-17 00:34:00 +02:00
Jan Böhmer
cce3e1cfb8
Specify order in which the data fixtures should be loaded
2023-06-18 22:06:42 +02:00
Jan Böhmer
fc75621f1a
Fixed DataFixtures
2023-06-13 18:54:18 +02:00
Jan Böhmer
71cd4057a7
Use enums for LabelOptions
2023-06-12 23:39:30 +02:00
Jan Böhmer
7ee01d9a05
Applied rector with PHP8.1 migration rules
2023-06-11 14:17:19 +02:00
Jan Böhmer
7b6a906d98
Renamed "devices" permission to "projects"
2023-01-08 20:10:58 +01:00
Jan Böhmer
0c7ec9f0c7
Added some basic DB fields for the new project system
2022-12-18 20:34:25 +01:00
Jan Böhmer
68462185ba
Removed old GPLv2 copyright header
2022-11-29 22:28:53 +01:00
Jan Böhmer
498cc07583
Added copyright/license info to files
2022-11-29 21:21:26 +01:00
Jan Böhmer
d69418bb9d
Add labelprofile and devices read permission to readonly preset
2022-11-27 20:37:05 +01:00
Jan Böhmer
51d3934e9f
Improved failure message of AvailabilityFunctionalityTest
2022-11-27 16:16:22 +01:00
Jan Böhmer
960dbdf6f6
Fixed permissions fixtures loading.
2022-11-27 16:11:20 +01:00
Jan Böhmer
51e05a8669
Use typed properties
2022-09-18 22:59:31 +02:00
Jan Böhmer
639829f5c5
Fixed some inspection issues.
2022-08-14 19:32:53 +02:00
Jan Böhmer
193ecd252b
Fixed some deprecations.
2021-10-02 20:41:14 +02:00
Jan Böhmer
63065a8b58
Reset autoincrement in a custom purger not in DataFixtures.
...
This makes things a lot prettier in the DataFixtures.
2021-10-02 20:14:48 +02:00
Jan Böhmer
d0b1024d80
Fixed code style.
2020-08-21 21:36:22 +02:00
Jan Böhmer
36dfae52f2
[ReelCalculator] Added permission and added it to tools menu.
2020-06-03 22:19:59 +02:00
Jan Böhmer
403dacbb25
Fixed DataFixture.
2020-05-21 13:46:17 +02:00
Jan Böhmer
f5d685dfd4
Fixed coding style.
2020-05-10 21:39:31 +02:00
Jan Böhmer
7e656be246
Added some tests to check if LabelSystem and scanner pages are available.
2020-05-10 13:28:01 +02:00
Jan Böhmer
ae75e6844f
Fixed coding style.
2020-04-10 13:05:08 +02:00
Jan Böhmer
dae29cadd0
Test part cloning and creation page availability.
2020-04-09 14:23:26 +02:00
Jan Böhmer
cb0aa7bc7a
Fixed some psalm issues.
2020-03-29 23:13:25 +02:00
Jan Böhmer
3671c94844
Fixed code style.
2020-03-29 22:16:06 +02:00
Jan Böhmer
09683dd8e7
Fixed wrong type in Test Fixtures.
2020-03-29 15:25:19 +02:00
Jan Böhmer
fd61c8d9e2
Fixed coding style.
2020-03-15 13:56:31 +01:00
Jan Böhmer
9e8771a4ee
Changed license to AGPL3+
2020-02-22 18:14:36 +01:00
Jan Böhmer
ab777bc264
Add some fixtures for parts to test part pages.
2020-02-09 22:10:29 +01:00
Jan Böhmer
594c694ee0
Renamed the base DBElement classes to AbstractDBElement to comply with symfony recommendations.
2020-02-01 19:48:07 +01:00
Jan Böhmer
388e847b17
Applied symplify rules to codebase.
2020-01-05 22:49:00 +01:00
Jan Böhmer
f861de791f
Applied code style rules to src/
2020-01-05 15:46:58 +01:00
Jan Böhmer
e557bdedd5
Added an PHP CS fixer config file and applied it to files.
...
We now use the same the same style as the symfony project, and it allows us to simply fix the style by executing php_cs_fixer fix in the project root.
2019-11-09 00:47:20 +01:00
Jan Böhmer
787e498586
Updated copyright headers.
2019-11-01 13:40:30 +01:00