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

73 Commits

Author SHA1 Message Date
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
DarthSim
0027db5f8a Src file size check 2019-01-21 16:36:57 +06:00
DarthSim
f4f746489c Optimized memory usage; Reducing memory fragmentation 2019-01-17 14:51:26 +06:00
DarthSim
ed795675be Refactored logging; Syslog support 2019-01-14 16:50:59 +06:00
Koen Punt
575960e50c Add Sentry error reporting (#128)
* support reporting errors to Sentry

* add documentation for sentry configuration
2019-01-14 16:42:10 +06:00
DarthSim
e8845f671b Limit GIF frames to being processed 2018-11-15 20:04:12 +06:00
DarthSim
917357616e Deprecate IMGPROXY_MAX_SRC_DIMENSION 2018-11-15 19:25:53 +06:00
DarthSim
9114f28c75 Multiple key/salt pairs support 2018-11-15 18:35:06 +06:00
DarthSim
b66b27bef9 Errors reporting 2018-11-14 19:41:16 +06:00
DarthSim
fc4a09f196 Support S3 region and enpoint options 2018-11-13 19:23:59 +06:00
DarthSim
6b7551213f Tests 2018-11-06 17:19:34 +06:00
Marius Cristea
a1a74450d1 adds Client Hints support using env variable. (#98)
* adds Client Hints support using env variable.

* Update processing_options.go

Co-Authored-By: selul <marius.cristea@vertistudio.com>

* improve client hints support based on the feedback

* fix build error and remove redundant line in docs.
2018-11-02 22:38:41 +06:00
printercu
7aae98e087 Option to use truncated signature (#88)
* CircleCI

* Fix docs resize_type -> resizing_type (#91)

As noted in my issue...

* Option to use truncated signature

* Don't use 0 as no-limit for SignatureSize
2018-11-02 17:10:20 +06:00
DarthSim
ea10cbe059 Sending User-Agent with source image request 2018-10-30 19:37:41 +06:00
DarthSim
61ae01b0a4 Google Cloud Storage support 2018-10-30 18:12:56 +06:00
DarthSim
dd85087e6a Prometheus metrics 2018-10-29 18:04:47 +06:00
DarthSim
0f92ff2532 New Relic support 2018-10-25 19:34:16 +06:00
DarthSim
3d98a943a4 Watermark 2018-10-19 15:47:11 +06:00
DarthSim
287b7e7560 Merge branch 'crohr/s3-protocol' into version/2.0 2018-10-05 00:46:04 +06:00
Cyril Rohr
7c7add8dc1 Enable s3 transport scheme 2018-10-04 21:03:59 +06:00
DarthSim
ee29fb848c proper warning for IMGPROXY_IGNORE_SSL_VERIFICATION 2018-10-02 18:19:30 +06:00
DarthSim
945ffb485b Disable signature checking if key or salt are not provided 2018-10-02 17:31:51 +06:00
DarthSim
017724d20d Check presets options on start; Exit on preset error 2018-10-02 17:31:51 +06:00
DarthSim
11acf1f96a Webp browser support detection 2018-10-02 17:31:51 +06:00
DarthSim
b0fb204381 Turn back token validation; Add AllowInsecure config 2018-10-02 17:31:51 +06:00
DarthSim
a157a818f6 Presets 🎉 2018-10-02 17:30:20 +06:00
DarthSim
b9cf4a054a IMGPROXY_IGNORE_SSL_VERIFICATION option 2018-09-26 19:00:37 +06:00
DarthSim
7f567216dd Get rid of ETag signature; Change ETag hash to SHA256; Add verison 2018-09-06 19:02:26 +06:00
DarthSim
c3d39b2b42 Progressive JPEG & interlaced PNG support 2018-07-16 21:14:24 +06:00
DarthSim
bcd9dfe809 Add IMGPROXY_BASE_URL param 2018-04-26 17:38:40 +06:00
DarthSim
04871c8b7f Add CORS headers 2018-04-26 17:22:31 +06:00