Part-DB.Part-DB-server/src/Repository
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
..
Parts Use natural sorting for trees and others repository functions 2024-06-17 22:33:40 +02:00
UserSystem Removed unused import statements 2024-03-03 20:34:36 +01:00
.gitignore Initial commit 2019-02-23 16:49:38 +01:00
AbstractPartsContainingRepository.php Use natural sorting for trees and others repository functions 2024-06-17 22:33:40 +02:00
AttachmentContainingDBElementRepository.php Applied rector suggestions 2024-06-22 00:31:43 +02:00
AttachmentRepository.php Split attachment paths (#848) 2025-02-22 17:29:14 +01:00
CurrencyRepository.php Removed unused import statements 2024-03-03 20:34:36 +01:00
DBElementRepository.php Applied rector suggestions 2024-06-22 00:31:43 +02:00
LabelProfileRepository.php Removed unused import statements 2024-03-03 20:34:36 +01:00
LogEntryRepository.php Fixed "implicitly marking parameter as nullable" deprecations in PHP 8.4 fixed 2025-02-08 00:19:20 +01:00
NamedDBElementRepository.php Applied rector suggestions 2024-06-22 00:31:43 +02:00
ParameterRepository.php Added a custom function to make PostgresSQL searches case insensitive 2024-12-02 00:17:54 +01:00
PartRepository.php Added a custom function to make PostgresSQL searches case insensitive 2024-12-02 00:17:54 +01:00
StructuralDBElementRepository.php Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0 2024-12-28 23:08:08 +01:00
UserRepository.php Applied rector suggestions 2024-06-22 00:31:43 +02:00