409bcdaa96
[ #6597 ] forced text/javascript content-type when serving .js/.mjs collection uploaded files
2025-04-03 16:17:16 +03:00
501c49012e
[poc] replaced aws-sdk-go-v2 and gocloud.dev/blob
2025-03-05 16:31:21 +02:00
5aa380927a
dowgraded aws-sdk-go-v2
2025-02-11 20:13:43 +02:00
c0b7762abd
[ #6440 ] added a temporary exception for Backblaze S3 endpoints to exclude the new aws-sdk-go-v2 checksum headers
2025-02-10 23:37:23 +02:00
7da875be14
[ #6313 ] enforced when_required for the new aws sdk request and response cheksum validations
2025-01-19 22:12:27 +02:00
844f18cac3
merge v0.23.0-rc changes
2024-09-29 21:09:46 +03:00
5be32e8651
added empty dir delete test for trailing slash prefixes
2024-07-23 22:09:25 +03:00
37dd9c8645
vendored and trimmed the s3blob driver and updated dependencies
2024-03-29 21:19:26 +02:00
b9029010d9
upgraded to aws-sdk-go-v2 and added a special middleware for GCP
2024-02-05 17:26:39 +02:00
cdfc1f7b70
removed unnecessary Close call and formatted map hints
2023-12-04 16:22:49 +02:00
f57d38f529
use linear thumb resample filter
2023-12-03 20:56:28 +02:00
995733000f
added filesystem.Copy(src, dest)
2023-11-28 21:09:53 +02:00
e1fb5d26a5
[ #3382 ] replaced filepath with path when extracting the filekey parent prefix
2023-09-25 22:47:48 +03:00
0dc263a40c
updated go deps and use the new fileblob NoTempDir option
2023-08-26 10:37:12 +03:00
d1336da339
make use of skipTotal
2023-07-22 18:50:40 +03:00
50d7df45eb
added ?download file serve query param support to force file download
2023-07-20 15:04:26 +03:00
e8b4a7eb26
added backup apis and tests
2023-05-13 22:12:42 +03:00
d3314e1e23
(untested!) added temp backup api scaffoldings before introducing autobackups and rotations
2023-05-08 21:52:40 +03:00
1420d717e3
[ #2231 ] revert the aws-sdk-go-v2 change
2023-04-06 20:17:22 +03:00
48d6803d17
check only the existence of the thumb and add ContentType metadata when creating the thumb
2023-03-31 23:06:22 +03:00
29a264e132
[ #1346 ] upgraded to aws-sdk-v2
...
Co-authored-by: Yuxiang Gao <yuxiang-gao@outlook.com >
2023-03-30 16:10:13 +03:00
250642a8f9
allowed overwriting the default file serve headers if an explicit response header is set
2023-01-30 12:54:51 +02:00
ecfae2e5c9
added predefined mime types list and other minor ui improvements
2023-01-24 20:58:24 +02:00
ba7c8e2108
synced with master
2023-01-12 21:18:43 +02:00
f792a9e08d
fixed ListBucket iterator to always break on seek/forward error
2023-01-12 15:19:27 +02:00
5fb1e85372
fixed formatting
2023-01-12 13:44:37 +02:00
a5ceee33df
Allows files to be read through FileSystem interface.
...
The functionality is needed while Pocketbase is used in embedded mode
2023-01-12 13:40:40 +02:00
ede7804a80
[ #1343 ] fixed s3 file upload error caused by underscore in metadata
2022-12-22 15:39:45 +02:00
37bac5cc50
abstract rest.UploadedFile to allow loading local files
2022-12-10 16:47:45 +02:00
355f7053fd
[ #1187 ] move file upload and delete out of the record save transaction
2022-12-06 12:26:29 +02:00
f1d546c845
truncate the original filename metadata
2022-12-06 07:17:59 +02:00
599c542c5a
store the original uploaded file name as metadata
2022-12-05 14:28:28 +02:00
bd65125744
[ #1125 ] added support for partial/range file requests
2022-11-29 15:52:37 +02:00
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
[ #677 ] unset the X-Frame-Options when serving static files to allow files embedding
2022-10-02 13:28:33 +03:00
81d0af6e80
[ #693 ] added media-src to the default files CSP
2022-10-02 12:33:31 +03:00
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
9a8c9dd115
[ #586 ] fixed multiple nested relation expansions with shared base path
2022-09-21 13:34:34 +03:00
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
2fa5233fa6
[ #440 ] try to use the original image format when creating thumbs
2022-09-14 17:12:47 +03:00
b717896232
[ #390 ] serve the mimetype detected during upload
2022-09-05 15:46:40 +03:00
efda3d5a0b
[ #87 ] added additional thumb resizers
2022-08-17 22:29:47 +03:00
d60dd13581
[ #294 ] 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
[ #164 ] serve common media files inline and fix svg content-type
2022-07-21 12:56:17 +03:00
73fb12c2bc
[ #156 ] added forcePathStyle to the s3 config
2022-07-19 10:45:38 +03:00
9a231ba7b3
applied some of the changes from #149
2022-07-18 01:03:09 +03:00
7b2d88fa30
[ #45 ] don't set Last-Modified header if time.location data cannot be loaded
2022-07-10 20:53:24 +03:00