Part-DB.Part-DB-server/src/DataFixtures
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
..
APITokenFixtures.php Use new syntax for getReference() in data fixtures 2024-12-29 13:46:22 +01:00
DataStructureFixtures.php Started adding basic tests for LogEntryRepository 2024-06-23 15:41:57 +02:00
EDADataFixtures.php Added tests to test the KICad API endpoints 2023-12-03 00:43:34 +01:00
GroupFixtures.php Applied rector with PHP8.1 migration rules 2023-06-11 14:17:19 +02:00
LabelProfileFixtures.php Specify order in which the data fixtures should be loaded 2023-06-18 22:06:42 +02:00
LogEntryFixtures.php Updated doctrine fixtures bundle 2024-12-29 13:20:12 +01:00
PartFixtures.php Split attachment paths (#848) 2025-02-22 17:29:14 +01:00
UserFixtures.php Use new syntax for getReference() in data fixtures 2024-12-29 13:46:22 +01:00