1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-24 08:12:38 +02:00
Commit Graph

1157 Commits

Author SHA1 Message Date
DarthSim
8a536d69a3 Better animation detection 2022-06-10 15:27:25 +06:00
DarthSim
1de96252ed Update changelog 2022-06-08 18:31:56 +06:00
DarthSim
7d396bf56f Respond with 404 if local file wasn't found 2022-06-08 18:28:24 +06:00
Valentine Kiselev
23d0807e46
Add attachment option for Content-Disposition header (#887)
* Add attachment option for Content-Disposition header

Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>

* Add documentation to attachment option

Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>

* Add default attachment option value

Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>

* fix: Add default value to docs

Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>

* fix: Rename option attachment to return_attachment, add ENV-configuration

Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>
2022-06-06 14:53:09 +06:00
DarthSim
e06dce6a49 Bump version 2022-05-20 23:13:46 +06:00
DarthSim
2cfdb47c34 Update changelog 2022-05-20 23:13:01 +06:00
DarthSim
75b68231f1 Update docker base image 2022-05-20 22:51:42 +06:00
DarthSim
bab2dbe4b9 Fix lint errors 2022-05-20 22:33:21 +06:00
DarthSim
13c14c25e9 Fallback from AVIF to JPEG/PNG if one of the result dimensions is smaller than 16px 2022-05-20 21:18:07 +06:00
DarthSim
cbc10defbf Update Docker base image 2022-05-16 12:48:43 +06:00
DarthSim
3ae0f3abc1 Clear vips error after fetching it 2022-04-26 14:07:10 +06:00
DarthSim
faed48fbea Bump version 2022-04-25 18:35:19 +06:00
DarthSim
50fb4a855f Update deps 2022-04-25 17:02:04 +06:00
DarthSim
4d4a1d724f IMGPROXY_KEEP_COPYRIGHT config & keep_copyright option 2022-04-25 16:53:08 +06:00
DarthSim
91a3671f9d Add X-Result-Width and X-Result-Height to debug headers 2022-04-18 16:45:34 +06:00
DarthSim
8dddd660d3 Typo 2022-04-18 15:03:03 +06:00
DarthSim
9a70bbe4e4 Fix docker/go.sh for Go versions without patch number 2022-04-14 22:51:38 +06:00
DarthSim
e1a69c5d95 IMGPROXY_ENFORCE_THUMBNAIL config & enforce_thumbnail option 2022-04-14 22:33:09 +06:00
DarthSim
9b146991c5 Use heic/avif embedded thumbnails 2022-04-14 22:33:09 +06:00
DarthSim
d1679b0046 Update base docker image 2022-04-14 22:33:09 +06:00
sxppro
75634cf49b
fix: typos in docs (#840)
Fixed some typos in 'Generating the URL' page
2022-04-12 13:08:16 +06:00
DarthSim
cbb6fd1ea9 Add support of RLE-encoded BMP 2022-04-11 15:59:27 +06:00
DarthSim
46ba726af0 Grab more stacktrace lines in panic handler 2022-04-11 15:42:11 +06:00
DarthSim
b243a08254 Bump version 2022-04-07 23:59:21 +06:00
DarthSim
3a79a48d6f Tests and minor fixes for transports 2022-04-07 23:32:51 +06:00
DarthSim
3d93bc6836 Add IMGPROXY_GCS_ENDPOINT config 2022-04-07 23:31:50 +06:00
DarthSim
902123d95e Patch GCS transport 2022-04-07 20:39:39 +06:00
DarthSim
b614b41723 Use require instead of assert in swift tests 2022-04-07 15:40:54 +06:00
DarthSim
9b5001c219 Disable logs in processhing_handler_test 2022-04-07 14:14:44 +06:00
DarthSim
a96edfb761 Fix pre-push git hook 2022-04-07 14:12:05 +06:00
DarthSim
8887008d5a Stabilize swift tests 2022-04-07 14:11:31 +06:00
DarthSim
dce9cb3614 Update deps 2022-04-06 17:44:49 +06:00
DarthSim
db2b853745 Better caching in GH actions 2022-04-06 17:40:35 +06:00
DarthSim
dead87c35c Update changelog 2022-04-06 17:36:25 +06:00
DarthSim
afe283790f Polish swift:// support 2022-04-06 17:35:51 +06:00
Joe Cai
7a2296aee8
Support OpenStack Swift Object Storage (#837)
* Add OpenStack Swift support

* Fix linting errors

* Update CHANGELOG

* Update swift documentation

* Fix linting error

* Swift transport: pass req.Context down, fix parseObjectURL() implementation

* Make swift transport test a test suite

* Use swift://{container}/{object_path} as the source image URL format

* Cleanup

* Swift transport: only close object when returning 304
2022-04-06 17:00:19 +06:00
DarthSim
078f896d21 Fix test workflow 2022-04-06 13:37:50 +06:00
DarthSim
ce73e0935c Update changelog & docs 2022-04-06 13:03:12 +06:00
ruslandoga
f50ed8dc4a
fix typo: valoe -> value (#833) 2022-04-05 18:16:20 +06:00
DarthSim
dad588f69b Update chengelog 2022-04-05 18:06:44 +06:00
DarthSim
889c14627e Fix CI Dockerfile 2022-04-04 19:28:36 +06:00
DarthSim
1a2fa2861e Update changelog & docs 2022-04-04 16:07:28 +06:00
DarthSim
629d2558bd Update badges in README 2022-04-04 16:03:05 +06:00
DarthSim
696e6afc57 Drop CircleCI config 2022-04-04 16:03:05 +06:00
DarthSim
4fa75122d0 Release with GH actions 2022-04-04 16:03:05 +06:00
DarthSim
49492c4da5 Test with GH Actions 2022-04-04 16:03:04 +06:00
DarthSim
40e332c4f0 Lint with GH actions 2022-04-04 16:03:04 +06:00
DarthSim
ffee57aef7 Fix notify-imgproxy-helm action 2022-04-04 16:03:04 +06:00
dcanob
f37d027f4f
add config fallback ttl to avoid default ttl when fallback response (#818)
* add config fallback ttl to avoid default ttl when fallback response

* Update docs/configuration.md

Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com>

* move FallbackTTL to loadFallbackImage

* rewrite ifelse

* Update imagedata/image_data.go

don't use config.FallbackTTL on header to get TTL on the response

Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com>

* Update processing_handler.go

don't use config.FallbackTTL on header to get TTL on the response

Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com>

* rename FallbackTTL to FallbackImageTTL

* Update processing_handler.go

* Fix linter errors

Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com>
2022-03-31 13:36:13 +06:00
DarthSim
29b52da173 Update changelog 2022-03-24 14:08:24 +06:00