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
b99777cde1
Return a 404 message, instead of creating an 500 Runtime exception, when a file associated with an attachment is not existing.
...
This fails more gracefully, and do not pollute log files.
2024-08-24 15:49:45 +02:00
Jan Böhmer
18c80f6b64
Use the route attribute from the correct namespace
2024-03-03 20:37:33 +01:00
Jan Böhmer
d49bb1f4b5
Removed unused import statements
2024-03-03 20:34:36 +01:00
Jan Böhmer
a43af180a7
Applied rector rules up to symfony 6.2
2023-05-28 01:21:05 +02:00
Jan Böhmer
63df16a369
Removed unused imports
2023-04-15 22:27:19 +02:00
Jan Böhmer
de96aae9a5
Fixed inspection issues
2023-04-15 21:49:19 +02:00
Jan Böhmer
68462185ba
Removed old GPLv2 copyright header
2022-11-29 22:28:53 +01:00
Jan Böhmer
78d1dff40f
Improved permission checking for certain controllers.
2022-11-05 23:49:53 +01:00
Jan Böhmer
017b0f717e
Added filter possibility to attachment list
2022-09-11 02:00:22 +02:00
Jan Böhmer
d0b1024d80
Fixed code style.
2020-08-21 21:36:22 +02:00
Jan Böhmer
e83d72ec10
Added a permission to control which users can access private attachments.
2020-03-30 16:56:58 +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
96d7e4c9f4
Fixed inspection issues.
2020-02-02 14:05:36 +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
6ddc937ec5
Fixed some inspection issues.
2019-11-10 14:00:56 +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
c955a3a221
Moved attachment related services into their own namespaces
2019-10-19 23:29:51 +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
1629f31fed
Fixed some inspection issues.
2019-08-20 18:39:57 +02:00
Jan Böhmer
7826e3d2ad
Added entities and properties for some future features.
2019-08-12 15:47:57 +02:00
Jan Böhmer
05fd753189
Allow to download and view attachments via part info page.
2019-08-10 18:06:28 +02:00