1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-08 10:45:04 +02:00
Commit Graph

260 Commits

Author SHA1 Message Date
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
sxppro
75634cf49b
fix: typos in docs (#840)
Fixed some typos in 'Generating the URL' page
2022-04-12 13:08:16 +06:00
DarthSim
3d93bc6836 Add IMGPROXY_GCS_ENDPOINT config 2022-04-07 23:31:50 +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
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
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
f77f0495ea Hide gif_options processing option docs 2022-02-21 14:39:41 +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
DarthSim
60dca8be55 Fix docs titles 2022-02-21 14:06:52 +06:00
DarthSim
6af01afb44 Add suffix to docs titles 2022-02-21 14:04:18 +06:00
Sergey Alexandrovich
081f82c62f
Merge pull request #798 from imgproxy/chore/docs-style-and-seo
Docs style and seo
2022-02-16 20:56:44 +06:00
DarthSim
b75b6cb5a2 Add robots.txt and sitemap.txt 2022-02-16 20:54:37 +06:00
DarthSim
74b977fb60 Better colors for docs 2022-02-16 19:39:18 +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
DarthSim
79903af6b8 Typo 2022-02-01 15:45:17 +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
Collin Allen
88c1252ea7
Fix autoquality typo in docs 2022-01-27 10:35:11 -08:00
DarthSim
ad2511cd13 Update docs 2022-01-18 16:16:24 +06:00
DarthSim
fff164f45a Add zoom option 2022-01-18 16:16:14 +06:00
DarthSim
3e87bd683c Offsets for replicated watermarks 2021-12-07 19:07:56 +06:00
DarthSim
4c5ae587ed Update changelog and docs 2021-12-07 19:07:51 +06:00
DarthSim
16c0d91d47 Add ETag buster 2021-12-07 15:34:35 +06:00
Alexander Bayandin
00f8e805a7
Use advanced url format for local serving example (#742) 2021-11-26 19:19:20 +06:00
DarthSim
270ebbbd90 Fix default Sentry release 2021-11-23 15:11:39 +06:00
DarthSim
475e67640b Merge branch 'feature/cookie-passthrough' of github.com:LivingLogic/imgproxy into feature/cookie-passthrough 2021-11-11 14:48:11 +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
a24bc637ff Update docs 2021-11-09 14:44:26 +06: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
Matteias Collet
e49ba64e2f
fix signature (#712)
Note sure where the other one was coming from.

-> https://gchq.github.io/CyberChef/#recipe=HMAC(%7B'option':'UTF8','string':'secret'%7D,'SHA256')From_Hex('None')To_Base64('A-Za-z0-9-_')&input=aGVsbG8vcnM6ZmlsbDozMDA6NDAwOjAvZzpzbS9hSFIwY0RvdkwyVjRZVzF3L2JHVXVZMjl0TDJsdFlXZGwvY3k5amRYSnBiM05wZEhrdS9hbkJuLnBuZw
2021-10-08 14:02:33 +06:00
DarthSim
0887b89acb Fix autoquality docs 2021-10-01 23:18:26 +06:00
DarthSim
dd65a8d438 Fix Getting Started guide 2021-10-01 23:03:47 +06:00
DarthSim
893d6e1c90 Update docs and changelog 2021-10-01 16:26:12 +06:00
DarthSim
70840467d0 format_quality processing option 2021-09-29 19:49:18 +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
ece4310d70 Merge branch 'master' into version/3 2021-06-28 15:54:02 +06:00