1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-02-02 11:34:20 +02:00

112 Commits

Author SHA1 Message Date
DarthSim
9ec78fa41a Make pro badge in docs clickable 2022-06-29 20:03:19 +06:00
DarthSim
84dc50f2af Add New relic labels supoprt 2022-06-24 17:03:13 +06:00
DarthSim
e1e2277a32 Sanitize SVG 2022-06-10 18:23:55 +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
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
e1a69c5d95 IMGPROXY_ENFORCE_THUMBNAIL config & enforce_thumbnail option 2022-04-14 22:33:09 +06:00
DarthSim
3d93bc6836 Add IMGPROXY_GCS_ENDPOINT config 2022-04-07 23:31:50 +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
1a2fa2861e Update changelog & docs 2022-04-04 16:07:28 +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
df818706c2 IMGPROXY_HEALTH_CHECK_PATH config 2022-02-21 18:06:20 +06:00
DarthSim
fb5de53d38 Remove v3 badges from docs 2022-02-21 14:39:09 +06:00
DarthSim
b01de24f4c Update pro docs 2022-02-21 14:31:26 +06:00
Sergey Alexandrovich
ec02fc53a5
IMGPROXY_MAX_REDIRECTS config (#797)
* IMGPROXY_MAX_REDIRECTS config

* Apply suggestions from code review

Co-authored-by: Travis-Turner <32389151+Travis-Turner@users.noreply.github.com>

Co-authored-by: Travis-Turner <32389151+Travis-Turner@users.noreply.github.com>
2022-02-16 15:42:09 +06:00
DarthSim
acad9a08b9 Remove GIF advanced options from docs 2022-02-07 18:11:30 +06:00
Travis-Turner
c51521961f
Docs/edits overhaul (#785)
* Update landing page / README.md

* Update GETTING_STARTED.md

* Update installation.md

* Update getting_the_image_info.md

* update signing_the_url.md

* Update watermark.md

* Update presets.md

* Update object_detection.md

* Update autoquality.md

* Update serving_local_files.md

* Update docs/serving_files_from_s3.md

* Update configuration.md

* Update generating_the_url.md

* Update chained_pipelines.md but chained pipelines section is not finished

* Update serving_files_from_google_cloud_storage.md

* Update new_relic.md

* Update prometheus.md

* Update datadog.md

* Update image_formats_support.md

* Update about_processing_pipeline.md

* Update healthcheck.md

* Update memory_usage_tweaks.md

* Remove GIF/ICO/BMP/HEIF/AVIF support sections from docs/image_formats_support.md

* Minor fixes of the docs

* Update serving_files_from_azure_blob_storage.md

* Fix issue with x and y offset for 're' watermark property

* Fix params description in docs/watermark.md

* Fix Alexander Madyankin GH name

* Special thanks to Travis

* Fix README

Co-authored-by: DarthSim <darthsim@gmail.com>
2022-02-01 15:43:36 +06:00
DarthSim
16c0d91d47 Add ETag buster 2021-12-07 15:34:35 +06:00
DarthSim
270ebbbd90 Fix default Sentry release 2021-11-23 15:11:39 +06:00
Walter Doerwald
abbfb61ce6 Add option to pass through incoming cookies in the image request. 2021-11-09 12:14:05 +01:00
DarthSim
ac8c34a49a Respond with 500 for "temporary" downloading errors 2021-11-01 18:13:33 +06:00
DarthSim
67b209b0e6 Update docs 2021-10-12 17:12:00 +06:00
DarthSim
893d6e1c90 Update docs and changelog 2021-10-01 16:26:12 +06:00
DarthSim
e645fa6b5b Update pro docs 2021-09-28 22:57:46 +06:00
DarthSim
d016e26e2e Merge branch 'master' into version/3 2021-09-07 19:04:33 +06:00
DarthSim
e0f9fab772 Do not add base URL if the image URL already contains it 2021-09-07 17:39:24 +06:00
Christopher Hlubek
dbd19649a6
Support wildcards with * in AllowedSources (excluding slashes) (#677)
* Support wildcards with * in AllowedSources (excluding slashes)

* Compile allowed sources patterns when parsing config

* Fix linter errors

Co-authored-by: Christopher Hlubek <christopher.hlubek@networkteam.com>
2021-08-09 18:42:43 +03:00
DarthSim
5ed71c6b60 Merge branch 'master' into version/3 2021-05-17 18:25:04 +06:00
Joshua Banton
10eae5c9c4
Adds airbrake for error reporting. (#603)
* Adds airbrake for error reporting.

* Fixes go fmt issues.

* PR review changes.

* Didn't mean to downgrade the aws-sdk.
2021-05-17 16:05:22 +06:00
DarthSim
8fcc839925 Cleanup avif speed code 2021-04-26 18:32:10 +06:00
Per Osbäck
a7d451b8f2
Add ENV setting for AVIF speed parameter (#605)
* Add ENV setting for AVIF speed parameter

* Add AVIF to image format docs

* Only use Speed on supported VIPS version

* Probably need the method signature in go to have speed
2021-04-26 18:27:16 +06:00
DarthSim
6cf263cbb1 Add fallback image URL docs 2021-04-16 22:42:08 +06:00
Svyatoslav Kryukov
c07222b501
Skip processing option (#590)
* Skip processing option

* Simplify SkipProcessingFormats iteration
2021-03-22 20:16:03 +06:00
Svyatoslav Kryukov
b93aa2f144
Fallback image http code config (#589) 2021-03-19 15:28:23 +06:00
DarthSim
baf00f64f2 Drop deprecated stuff (MaxSrcDimension, GZipCompression, IMGPROXY_MAX_GIF_FRAMES, resizeCrop) 2021-03-15 16:47:35 +06:00
snowcall
56d3f6d897
Optionally return rel="canonical" header (#542)
* set rel="canonical" header

* check scheme before setting canonical headers, add documentation
2021-03-09 17:08:22 +06:00
DarthSim
be26e10ce5 Don't switch to autodetected format if source one supports animation but autodetected one doesn't 2021-01-18 22:53:49 +06:00
DarthSim
bac349558c AVIF support detection & AVIF enforcement 2021-01-18 21:56:36 +06:00
DarthSim
6da8885605 IMGPROXY_AUTO_ROTATE config and auto_rotate processing option 2021-01-13 19:57:29 +06:00
DarthSim
c84e7ed34d Per-format default quality config 2021-01-13 17:58:36 +06:00
DarthSim
40563f9573 Ability to keep ICC profile 2021-01-12 20:43:09 +06:00
Huy Le Viet
a62b22af69
Add IMGPROXY_ENABLE_DEBUG_HEADERS config for debugging infomation (#509) 2020-11-20 10:52:16 +06:00
Emil Johnsson
4573035eed
Fix typos in configuration.md (#474)
Simple typos fixed.
2020-11-20 10:41:57 +06:00
DarthSim
e0a4ec1f1f Azure Blob Storage support 2020-11-19 20:47:18 +06:00
DarthSim
c299da9a47 Better pro badge usage in docs 2020-09-01 20:15:24 +06:00
DarthSim
dbe1ffd14b Add docs for new video thumbnails configs & update changelog 2020-08-17 22:30:00 +06:00
DarthSim
08dc814e98 Ability to skip processing of some formats 2020-08-13 19:52:35 +06:00
DarthSim
4ac58a0624 Forgotten pro badges 2020-07-10 20:15:55 +06:00
DarthSim
47e7711bc5 Update docs and changelog with some pro features 2020-07-10 20:05:45 +06:00