Gani Georgiev
844f18cac3
merge v0.23.0-rc changes
2024-09-29 21:09:46 +03:00
Gani Georgiev
5be32e8651
added empty dir delete test for trailing slash prefixes
2024-07-23 22:09:25 +03:00
Gani Georgiev
2b82c36bdd
updated test cases
2024-04-24 23:23:24 +03:00
Gani Georgiev
3df868f72a
added extra extension length normalization
2024-04-24 23:20:47 +03:00
Gani Georgiev
ece62ebdf5
[ #4824 ] updated the uploaded filename normalization to take double extensions in consideration
2024-04-24 22:00:18 +03:00
Gani Georgiev
37dd9c8645
vendored and trimmed the s3blob driver and updated dependencies
2024-03-29 21:19:26 +02:00
Gani Georgiev
5105612a45
renamed gcp middleware file and updated go deps
2024-02-05 17:59:31 +02:00
Gani Georgiev
b9029010d9
upgraded to aws-sdk-go-v2 and added a special middleware for GCP
2024-02-05 17:26:39 +02:00
Gani Georgiev
aabe820e35
fixed typos and some linter suggestions
2024-01-23 20:56:14 +02:00
Gani Georgiev
16da7d9e1a
removed unused options struct
2023-12-06 20:44:47 +02:00
Gani Georgiev
f7df737c45
added filesystem.NewFileFromUrl(ctx, url)
2023-12-06 20:42:30 +02:00
Gani Georgiev
cdfc1f7b70
removed unnecessary Close call and formatted map hints
2023-12-04 16:22:49 +02:00
Gani Georgiev
f57d38f529
use linear thumb resample filter
2023-12-03 20:56:28 +02:00
Gani Georgiev
995733000f
added filesystem.Copy(src, dest)
2023-11-28 21:09:53 +02:00
Gani Georgiev
e1fb5d26a5
[ #3382 ] replaced filepath with path when extracting the filekey parent prefix
2023-09-25 22:47:48 +03:00
Gani Georgiev
0dc263a40c
updated go deps and use the new fileblob NoTempDir option
2023-08-26 10:37:12 +03:00
Gani Georgiev
d1336da339
make use of skipTotal
2023-07-22 18:50:40 +03:00
Gani Georgiev
50d7df45eb
added ?download file serve query param support to force file download
2023-07-20 15:04:26 +03:00
Gani Georgiev
e8b4a7eb26
added backup apis and tests
2023-05-13 22:12:42 +03:00
Gani Georgiev
d3314e1e23
(untested!) added temp backup api scaffoldings before introducing autobackups and rotations
2023-05-08 21:52:40 +03:00
Gani Georgiev
1420d717e3
[ #2231 ] revert the aws-sdk-go-v2 change
2023-04-06 20:17:22 +03:00
Gani Georgiev
48d6803d17
check only the existence of the thumb and add ContentType metadata when creating the thumb
2023-03-31 23:06:22 +03:00
Gani Georgiev
29a264e132
[ #1346 ] upgraded to aws-sdk-v2
...
Co-authored-by: Yuxiang Gao <yuxiang-gao@outlook.com>
2023-03-30 16:10:13 +03:00
Gani Georgiev
250642a8f9
allowed overwriting the default file serve headers if an explicit response header is set
2023-01-30 12:54:51 +02:00
Gani Georgiev
ecfae2e5c9
added predefined mime types list and other minor ui improvements
2023-01-24 20:58:24 +02:00
Gani Georgiev
ba7c8e2108
synced with master
2023-01-12 21:18:43 +02:00
Gani Georgiev
f792a9e08d
fixed ListBucket iterator to always break on seek/forward error
2023-01-12 15:19:27 +02:00
Gani Georgiev
5fb1e85372
fixed formatting
2023-01-12 13:44:37 +02:00
Andrei Varabyeu
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
Gani Georgiev
8f6cb5ad2d
updated changelog and godoc
2022-12-29 18:58:07 +02:00
David Schissler
775417ac2b
[ #1420 ] added filesystem.NewFileFromBytes
2022-12-29 18:51:27 +02:00
Gani Georgiev
7fc1d979dd
added fs.UploadFile unit test and updated changelog
2022-12-22 16:06:44 +02:00
Yuxiang Gao
ede7804a80
[ #1343 ] fixed s3 file upload error caused by underscore in metadata
2022-12-22 15:39:45 +02:00
Gani Georgiev
687a79b450
updated linter
2022-12-16 17:06:03 +02:00
Gani Georgiev
37bac5cc50
abstract rest.UploadedFile to allow loading local files
2022-12-10 16:47:45 +02:00
Gani Georgiev
355f7053fd
[ #1187 ] move file upload and delete out of the record save transaction
2022-12-06 12:26:29 +02:00
Gani Georgiev
f1d546c845
truncate the original filename metadata
2022-12-06 07:17:59 +02:00
Gani Georgiev
599c542c5a
store the original uploaded file name as metadata
2022-12-05 14:28:28 +02:00
Gani Georgiev
2deca759fa
added multipart range test
2022-11-29 18:12:40 +02:00
Gani Georgiev
bd65125744
[ #1125 ] added support for partial/range file requests
2022-11-29 15:52:37 +02:00
Gani Georgiev
d8963c6fc3
added plugins subpackage and added basic support for js migrations
2022-11-26 09:06:09 +02:00
Gani Georgiev
90dba45d7c
initial v0.8 pre-release
2022-10-30 10:28:14 +02:00
Gani Georgiev
d84e57174b
updated code comments formatting
2022-10-02 13:38:59 +03:00
Gani Georgiev
a6cafd1ed7
[ #677 ] unset the X-Frame-Options when serving static files to allow files embedding
2022-10-02 13:28:33 +03:00
Gani Georgiev
b0db2399b8
updated filesystem tests
2022-10-02 12:38:14 +03:00
Gani Georgiev
81d0af6e80
[ #693 ] added media-src to the default files CSP
2022-10-02 12:33:31 +03:00
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