Commit Graph

133 Commits

Author SHA1 Message Date
DarthSim
1ededbb11f Add IMGPROXY_MAX_ANIMATION_FRAME_RESOLUTION config 2022-11-29 18:25:38 +06:00
DarthSim
3f9a0641f1 Remove WebP, AVIF, and ICO from preferred formats 2022-11-27 20:01:07 +06:00
DarthSim
27bf8505e1 Change the default AVIF quality and speed 2022-11-27 20:01:01 +06:00
DarthSim
f08cc76806 Fixed TraceIdRatioBased sampler; IMGPROXY_OPEN_TELEMETRY_TRACE_ID_GENERATOR config 2022-11-15 21:37:55 +06:00
DarthSim
b17d6c400c Update docs and changelog 2022-11-08 20:31:26 +06:00
DarthSim
caef5eeff1 Add IMGPROXY_OPEN_TELEMETRY_GRPC_INSECURE config 2022-11-07 21:08:01 +06:00
Christopher Brookes
cfa4b596d1 feat(logger): implement structured log formatter gcp compliant (#1028)
* feat(logger): implement structured log formatter gcp compliant

* docs: add new gcp logging format
2022-11-05 18:20:57 +06:00
DarthSim
4e669c8717 Add IMGPROXY_CLIENT_KEEP_ALIVE_TIMEOUT config 2022-10-21 16:40:24 +06:00
DarthSim
4ab415fd9b Fix feDropShadow SVG filter when IMGPROXY_SVG_FIX_UNSUPPORTED is true 2022-10-15 20:22:54 +06:00
Sergey Alexandrovich
36f67a6f96 OpenTelemetry support (#995) 2022-10-06 15:08:23 +06:00
DarthSim
3902155170 Update docs 2022-09-26 17:51:50 +06:00
Tuomas Valtonen
c3d3aac559 Add default value to IMGPROXY_MAX_REDIRECTS documentation and clarify usage of value 0 (#969)
* Add default value to IMGPROXY_MAX_REDIRECTS

Taken from ff3d3cedc4/config/config.go (L206)

* Clarify usage of 0 as value of IMGPROXY_MAX_REDIRECTS

* Use suggested phrasing

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

Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com>
2022-09-09 15:21:58 +06:00
Roelof Kallenkoot
61464a7686 fix(docs): typo source url encryption (#971)
Could not find it in the sourcecode, since this is part of the pro version. I'm assuming the typo is just in the docs and not in source code. Someone with access to Pro should verify this
2022-09-09 15:07:24 +06:00
Tuomas Valtonen
88984c02c3 Fix a typo (#961)
uisng -> using
2022-09-05 15:53:55 +06:00
Sergey Alexandrovich
4bd9c37884 Encrypted source URLs docs (#962)
* Encrypted source URLs docs

* 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-09-02 14:17:43 +06:00
DarthSim
c4801761db Additional metrics for Datadog 2022-07-26 14:22:17 +06:00
DarthSim
c4165c460a Update docs 2022-07-26 14:15:52 +06:00
DarthSim
9081fd5766 IMGPROXY_REQUESTS_QUEUE_SIZE config 2022-07-20 19:46:21 +06:00
DarthSim
1524a0e973 Increase IMGPROXY_TTL to 1 year 2022-07-19 18:14:10 +06:00
DarthSim
bb3a9c77f7 Set default IMGPROXY_MAX_CLIENTS value to 2048; Allow unlimited connections 2022-07-19 18:04:22 +06:00
DarthSim
f368ed13e9 IMGPROXY_PREFERRED_FORMATS config 2022-07-18 17:58:59 +06:00
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