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
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