Part-DB-server/src/Services/LabelSystem
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
..
Barcodes Added capability to scan Digikey barcodes and open the local part part page based on the result (#811) 2025-01-04 01:20:51 +01:00
BarcodeScanner Do the EIGP114 detection after userdefined barcode detection, so that users can override it on their partLots 2025-01-04 18:41:27 +01:00
PlaceholderProviders Use DatetimeImmutable instead of DateTime wherever possible 2024-06-22 17:36:54 +02:00
DompdfFactory.php Applied rector suggestions 2024-06-22 00:31:43 +02:00
LabelBarcodeGenerator.php Applied rector suggestions 2024-06-22 00:31:43 +02:00
LabelExampleElementsGenerator.php Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0 2024-12-28 23:08:08 +01:00
LabelGenerator.php Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0 2024-12-28 23:08:08 +01:00
LabelHTMLGenerator.php Added some more useful variables to the twig label generator 2024-03-06 21:11:31 +01:00
LabelProfileDropdownHelper.php Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0 2024-12-28 23:08:08 +01:00
LabelTextReplacer.php Added placeholders filter to utilize the placeholders in twig mode 2024-03-06 21:00:49 +01:00
SandboxedTwigFactory.php Split attachment paths (#848) 2025-02-22 17:29:14 +01:00