1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-07-03 12:59:59 +02:00
Commit Graph

19 Commits

Author SHA1 Message Date
90dba45d7c initial v0.8 pre-release 2022-10-30 10:28:14 +02:00
d84e57174b updated code comments formatting 2022-10-02 13:38:59 +03:00
a6cafd1ed7 [] unset the X-Frame-Options when serving static files to allow files embedding 2022-10-02 13:28:33 +03:00
81d0af6e80 [] added media-src to the default files CSP 2022-10-02 12:33:31 +03:00
3cbab96f51 [] 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
9a8c9dd115 [] fixed multiple nested relation expansions with shared base path 2022-09-21 13:34:34 +03:00
a1ad5004f8 [] 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
2fa5233fa6 [] try to use the original image format when creating thumbs 2022-09-14 17:12:47 +03:00
b717896232 [] serve the mimetype detected during upload 2022-09-05 15:46:40 +03:00
efda3d5a0b [] added additional thumb resizers 2022-08-17 22:29:47 +03:00
d60dd13581 [] added additional inline serving mime types 2022-08-11 20:09:26 +03:00
ff935a39a1 removed spacing 2022-08-11 08:13:07 +03:00
4c2cd5a534 simplify the svg extension check 2022-07-21 12:58:06 +03:00
5d8fc939e2 [] serve common media files inline and fix svg content-type 2022-07-21 12:56:17 +03:00
73fb12c2bc [] added forcePathStyle to the s3 config 2022-07-19 10:45:38 +03:00
9a231ba7b3 applied some of the changes from 2022-07-18 01:03:09 +03:00
7b2d88fa30 [] don't set Last-Modified header if time.location data cannot be loaded 2022-07-10 20:53:24 +03:00
d64fbf9011 [] added lint and used the lint suggestions 2022-07-09 17:17:41 +03:00
3d07f0211d initial public commit 2022-07-07 00:19:05 +03:00