DarthSim
3d2831508c
Merge branch 'master' into version/3
2021-05-17 18:27:33 +06:00
DarthSim
9d061c6f3e
Fix airbrake
2021-05-17 18:27:04 +06: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
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
Svyatoslav Kryukov
88975f3810
Datadog tracing
2021-03-23 17:08:02 +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
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
DarthSim
e0a4ec1f1f
Azure Blob Storage support
2020-11-19 20:47:18 +06:00
DarthSim
08dc814e98
Ability to skip processing of some formats
2020-08-13 19:52:35 +06:00
Alexey Remizov
b783e8bebf
Add IMGPROXY_PROMETHEUS_NAMESPACE config ( #405 )
...
* Add IMGPROXY_PROMETHEUS_NAMESPACE config
* Add documentations about IMGPROXY_PROMETHEUS_NAMESPACE
Co-authored-by: Alexey Remizov <alexey.remizov@sport24.ru>
2020-06-10 19:11:14 +06:00
Ewan Higgs
21b990d895
Implement fallback images in a similar fashion to watermarks. ( #374 )
...
* 220. Implement fallback images in a similar fashion to watermarks.
* 220. Fix error formatting.
* 220. Fixes based on @darthsim's feedback.
2020-04-08 20:32:45 +06:00
DarthSim
70e26cdd97
Add IMGPROXY_PATH_PREFIX config
2020-04-07 17:54:00 +06:00
DarthSim
8e3cf54d85
Get rid of os.Exit
2020-02-27 21:44:59 +06:00
DarthSim
af8366139f
Better SVG detection
2020-02-11 19:28:13 +06:00
DarthSim
372faba5c1
IMGPROXY_CACHE_CONTROL_PASSTHROUGH config
2020-02-04 15:23:41 +06:00
DarthSim
45306adc23
IMGPROXY_NETWORK config
2020-02-03 18:03:18 +06:00
sauerbraten
89f8a4e11c
Add option to keep metadata/tags in output image ( #329 )
...
* add env var to disable stripping metadata
by default, all metadata will be stripped (as before)
* always strip orientation tags when rotating the image
in case IMGPROXY_STRIP_METADATA is false
* document IMGPROXY_STRIP_METADATA env var
* remove ICC profile after importing it
needed, in case metadata aren't stripped from the output image
2020-01-30 21:43:08 +06:00
DarthSim
451ad958b9
Fix IMGPROXY_ALLOWED_SOURCES config
2020-01-13 20:01:49 +06:00
DarthSim
66673e384b
Change IMGPROXY_ALLOWED_SOURCES behavior to allow more complex limitations
2019-12-25 17:30:23 +06:00
DarthSim
56f69c193c
Remove debug warnings; Update docs
2019-12-25 14:49:20 +06:00
rhyst
70b3252373
Add IMGPROXY_ALLOWED_SOURCES config ( #169 )
...
* Add config option to exclusively allow local file system images
* Add allowed sources list, and move source check processing_options.
* Implement custom source parser and remove redundant code.
2019-12-25 14:34:15 +06:00
DarthSim
1383bf2788
Check presets after vips init
2019-11-11 17:55:02 +06:00
DarthSim
0de6fc0aa6
IMGPROXY_REPORT_DOWNLOADING_ERRORS config
2019-10-01 15:18:37 +06:00
DarthSim
ed41919be2
Try to use Application Default Credentials when GCS is enabled but GCS key is not provided
2019-09-30 19:10:55 +06:00
DarthSim
aa2e8bd90e
Better linter settings + linting errors fix
2019-09-11 14:42:36 +06:00
DarthSim
cc5ee1923a
Deprecate GZip
2019-08-19 14:55:41 +06:00
DarthSim
bf64a48783
Fix build on 32-bit systems
2019-08-13 17:25:54 +06:00
DarthSim
c76696caf7
SO_REUSEPORT support
2019-06-27 14:00:39 +06:00
DarthSim
8517402e7e
Add IMGPROXY_KEEP_ALIVE_TIMEOUT config
2019-06-21 16:32:37 +06:00
DarthSim
5553cee501
MaxGifFrames => MaxAnimationFrames
2019-06-13 14:06:12 +06:00
DarthSim
3ae859162f
Get rid of init() in config.go
2019-06-06 19:26:00 +06:00
DarthSim
ab36da55f8
Don't set default false in boolEnvConfig
2019-05-28 17:38:05 +06:00
DarthSim
9e0a563d81
Remove falsey params from config init since they are false by default; Move presets initialization to config init
2019-05-16 17:44:38 +06:00
Carlos Brando
e071396fd6
Adds an option to allows only presets in the URL. ( #156 )
...
* Adds an option to allows only presets in the URL. If it's enabled, only presets can be used, and all other URL formats are disabled. You can allow it to with an env var.
If it's enabled, only presets can be used, and all other URL formats are disabled. You can allow it to with an env var.
* Add parsePathPresets function
Following DarthSim suggestion, I added a parsePathPresets function and remove the code inside parseURLOptions.
2019-05-16 16:24:41 +06:00
DarthSim
bd95447ca5
Add development errors mode
2019-05-08 20:51:39 +06:00
DarthSim
3d13e6afb2
Back to net/http
...
Month of testing and profiling show that fasthttp doesn't gives us significatnt profit in memory and performance while being incompatible with many third-side packages and http/2
2019-05-08 17:42:48 +06:00
DarthSim
4ba970bdf6
PNG quantization
2019-04-05 16:30:16 +06:00
DarthSim
e99241aea0
Disable processing in linear colorspace by default
2019-04-04 21:57:44 +06:00
DarthSim
c864f801d0
Add IMGPROXY_DISABLE_SHRINK_ON_LOAD config
2019-04-01 21:30:53 +06:00
DarthSim
3243074067
conf.GZipBufferSize is not used anymore
2019-03-28 17:26:56 +06:00
DarthSim
dd28028710
Fix typos and linter warnings
2019-02-01 17:53:46 +06:00
DarthSim
ae7996e92f
Configurable bufPool calibration threshold
2019-02-01 17:13:00 +06:00
DarthSim
e566aedcc3
Add prometheus metrics for buffers
2019-01-28 22:18:54 +06:00