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
Jan Böhmer
20f32c7f12
Applied rector suggestions
2024-06-22 00:31:43 +02:00
Jan Böhmer
d49bb1f4b5
Removed unused import statements
2024-03-03 20:34:36 +01:00
Jan Böhmer
0af5a58dbe
Renamed Storelocation entity to StorageLocation
2023-09-04 22:57:40 +02:00
Jan Böhmer
b5c0f37f88
Fixed exception on visiting certain group edit pages.
...
This fixes issue #340
2023-08-01 15:06:57 +02:00
Jan Böhmer
b7c8ca2a48
Improved typing and phpdoc type annotations
2023-06-18 15:37:42 +02:00
Jan Böhmer
e8771ea118
Fixed some more phpstan issues
2023-06-18 00:00:58 +02:00
Jan Böhmer
7ee01d9a05
Applied rector with PHP8.1 migration rules
2023-06-11 14:17:19 +02:00
Jan Böhmer
ea8b179df1
Added timetravel URL for PartAttachment elements
2023-06-06 23:16:51 +02:00
Jan Böhmer
efc152e3c8
Do not throw an exception during rendering of log detail page, if element has no time travel URL
2023-06-06 23:15:14 +02:00
Jan Böhmer
ed514a01bb
Fixed exception when attachment file is not openable
2023-03-15 22:15:30 +01:00
Jan Böhmer
7b536fc4ad
Renamed device_* routes to project_* routes
2023-01-08 23:07:25 +01:00
Jan Böhmer
d5b1c6be0a
Added simple info page for projects
2022-12-18 21:58:21 +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
8ae4e9fe05
Fixed some inspection issues
2022-12-18 19:45:04 +01:00
Jan Böhmer
68462185ba
Removed old GPLv2 copyright header
2022-11-29 22:28:53 +01:00
Jan Böhmer
51e05a8669
Use typed properties
2022-09-18 22:59:31 +02:00
Jan Böhmer
b078389381
Refactored TwigExtensions Part 1
2022-09-18 16:45:12 +02:00
Jan Böhmer
639829f5c5
Fixed some inspection issues.
2022-08-14 19:32:53 +02:00
Jan Böhmer
d0b1024d80
Fixed code style.
2020-08-21 21:36:22 +02:00
Jan Böhmer
f5d685dfd4
Fixed coding style.
2020-05-10 21:39:31 +02:00
Jan Böhmer
a8a92b9c5d
Added basic admin page for Label profiles.
2020-04-11 17:34:01 +02:00
Jan Böhmer
ae75e6844f
Fixed coding style.
2020-04-10 13:05:08 +02:00
Jan Böhmer
e654c46e11
Added a duplicate button in data structures (categories, footprints, etc.) Admin pages.
2020-04-06 13:14:47 +02:00
Jan Böhmer
a28e81065f
Fixed some more psalm issues.
2020-03-29 23:36:53 +02:00
Jan Böhmer
cb0aa7bc7a
Fixed some psalm issues.
2020-03-29 23:13:25 +02:00
Jan Böhmer
0fe83c7b3a
Removed unused variables.
2020-03-29 22:37:27 +02:00
Jan Böhmer
fd61c8d9e2
Fixed coding style.
2020-03-15 13:56:31 +01:00
Jan Böhmer
31290c070a
Allow timetraveling on data structures admin pages.
2020-03-04 21:54:03 +01:00
Jan Böhmer
15d25cf2b2
Fixed PHPStan errors.
2020-02-29 22:57:25 +01:00
Jan Böhmer
c14d6d91ff
Show element history on part info page in history tab.
2020-02-22 20:04:43 +01:00
Jan Böhmer
9e8771a4ee
Changed license to AGPL3+
2020-02-22 18:14:36 +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
dd1f806c4e
Fixed some issues detected by PHPstan.
2020-02-01 17:00:03 +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
9a7223a301
Fixed code style.
2020-01-04 20:24:09 +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
Jan Böhmer
4fe10b6169
Uploaded (non secure) attachments live now in public/
...
That way the attachment files can now be loaded much quicker (without invoking a controller). Also added thumbnailing for pictures in tables.
2019-10-05 20:30:27 +02:00
Jan Böhmer
f53cc08f52
Added an table to show all defined attachments.
2019-10-04 18:06:37 +02:00
Jan Böhmer
856e20586f
Added an admin page for the user groups.
2019-09-11 17:30:25 +02:00
Jan Böhmer
31e89e2e36
Allow to show parts in a storelocation or an supplier.
2019-09-08 17:30:58 +02:00
Jan Böhmer
429a4ebd17
Added links to part_lists on part info page.
2019-09-08 16:20:53 +02:00
Jan Böhmer
c8bc5d5214
Refactored EntityURL generator.
2019-09-08 14:23:49 +02:00
Jan Böhmer
c3fd325645
Allow to show parts for manufacturers and footprints.
2019-09-08 13:59:35 +02:00
Jan Böhmer
94ed78f66d
Allow to delete parts.
2019-09-02 17:42:13 +02:00
Jan Böhmer
fd4b474dbd
Added admin page for measurement unit.
2019-08-14 18:31:46 +02:00
Jan Böhmer
2468409212
Added an admin page for currencies.
2019-08-12 23:45:21 +02:00
Jan Böhmer
408d98c6e1
Added database migration for new entities.
2019-08-12 18:04:53 +02:00