Rohan Verma
3cbab96f51
[ #661 ] serve css files with text/css content-type
...
Currently, css files are served as text/plain by the server. It is not
trivial to detect css file types similar to the issue with svg files.
When the css files are served as text/plain instead of
text/css they become unusable as stylesheets in the browser when served
via the api.
In this commit we generalize the svg detection to also detect css files
and serve specific extensions with their respective mimetypes.
2022-09-28 21:25:50 +03:00
Gani Georgiev
9a8c9dd115
[ #586 ] fixed multiple nested relation expansions with shared base path
2022-09-21 13:34:34 +03:00
Aaron Schmied
a1ad5004f8
[ #585 ] respect the EXIF orientation tag when generating thumbs
...
@see: https://github.com/disintegration/imaging#incorrect-image-orientation-after-processing-eg-an-image-appears-rotated-after-resizing
2022-09-21 13:13:26 +03:00
Gani Georgiev
2fa5233fa6
[ #440 ] try to use the original image format when creating thumbs
2022-09-14 17:12:47 +03:00
Gani Georgiev
b717896232
[ #390 ] serve the mimetype detected during upload
2022-09-05 15:46:40 +03:00
Gani Georgiev
efda3d5a0b
[ #87 ] added additional thumb resizers
2022-08-17 22:29:47 +03:00
Gani Georgiev
d60dd13581
[ #294 ] added additional inline serving mime types
2022-08-11 20:09:26 +03:00
Gani Georgiev
ff935a39a1
removed spacing
2022-08-11 08:13:07 +03:00
Gani Georgiev
7926501649
updated comments and added CSP header check in the tests
2022-07-21 17:22:31 +03:00
Gani Georgiev
4c2cd5a534
simplify the svg extension check
2022-07-21 12:58:06 +03:00
Gani Georgiev
5d8fc939e2
[ #164 ] serve common media files inline and fix svg content-type
2022-07-21 12:56:17 +03:00
Gani Georgiev
73fb12c2bc
[ #156 ] added forcePathStyle to the s3 config
2022-07-19 10:45:38 +03:00
Gani Georgiev
9a231ba7b3
applied some of the changes from #149
2022-07-18 01:03:09 +03:00
Gani Georgiev
7b2d88fa30
[ #45 ] don't set Last-Modified header if time.location data cannot be loaded
2022-07-10 20:53:24 +03:00
Valley
d64fbf9011
[ #38 ] added lint and used the lint suggestions
2022-07-09 17:17:41 +03:00
Gani Georgiev
3d07f0211d
initial public commit
2022-07-07 00:19:05 +03:00