Commit graph

26 commits

Author SHA1 Message Date
Jan Böhmer
ae75e6844f Fixed coding style. 2020-04-10 13:05:08 +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
9e8771a4ee Changed license to AGPL3+ 2020-02-22 18:14:36 +01:00
Jan Böhmer
15957203af Fixed an exception when moving an attachment to private folder. 2020-02-10 22:46:05 +01:00
Jan Böhmer
da72f5b3ec Fixed PHPstan issues for level 5. 2020-02-01 19:42:28 +01:00
Jan Böhmer
074f0286dc Fixed strict types exception in attachments list. 2020-01-07 19:38:11 +01:00
Jan Böhmer
388e847b17 Applied symplify rules to codebase. 2020-01-05 22:49:00 +01:00
Jan Böhmer
67a0dc8131 Fixed exceptions occuring cause of strict_types. 2020-01-05 21:09:19 +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
fdfb099cb5 Allow to restrict the file extensions for a attachment type. 2019-10-31 22:37:54 +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
f5f581293a Moved attachment related services into their own namespaces. 2019-10-19 23:29:30 +02:00
Jan Böhmer
63dc22f524 Allow to move a attachment to secure location (and back). 2019-10-19 19:30:16 +02:00
Jan Böhmer
9385d28e40 Uploading now works everywhere. Show an flash message if the download fails. 2019-10-19 18:50:17 +02:00
Jan Böhmer
27a001b1d2 Added an option to download a attachment via URL. Implemented secure attachments, which can not be accessed by URL and requires authentication. 2019-10-19 18:42:06 +02:00
Jan Böhmer
d382021fee Moved attachment form submit logic to a seperate service. 2019-10-19 17:13:13 +02:00
Jan Böhmer
d2a8055384 Fixed exception on edit page for parts. 2019-10-13 13:27:04 +02:00
Jan Böhmer
4c7767feed Show higher resolution thumbnail when hover over a table picture.
Also use thumbnails for attachment edit preview.
2019-10-06 15:44:19 +02: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
2d4def2836 Show preview pictures as carousel on part info page. 2019-10-03 18:03:56 +02:00
Jan Böhmer
2872e334ac Show part preview image in part tables. 2019-10-03 14:53:50 +02:00
Jan Böhmer
da46257757 Moved attachment path conversion functions to own service. 2019-09-28 16:06:37 +02:00