1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-07-02 22:46:50 +02:00
Commit Graph

24 Commits

Author SHA1 Message Date
098f6b9fc9 Expires option (#586)
* Expires option

* Do not save expires
2021-03-18 16:50:28 +06:00
ceb9a61976 Remove basic URL format 2021-03-15 18:06:01 +06:00
3cc674caf6 Use r.RequestURI in path parsing and logging 2020-07-08 19:08:53 +06:00
616ec996b3 Implements #421 processing option to control meta stripping (#422)
* Implements processing option to control meta stripping

* Update based on code review comments

Change name of option to "stripmeta" and change how we handle config vs request setting logic

* Fix indentation style typo

* Fix indentation style typo

* Use full metadata naming for config and variables

Co-authored-by: John Koehl <johnk@zillowgroup.com>
Co-authored-by: John Koehl <jkoehl>
2020-07-01 19:45:33 +06:00
66673e384b Change IMGPROXY_ALLOWED_SOURCES behavior to allow more complex limitations 2019-12-25 17:30:23 +06:00
05cd1286a4 Add gravity to extend option 2019-12-25 17:04:16 +06:00
0d5d2f5ec2 po.Resize => po.ResizingType 2019-10-11 17:05:20 +06:00
26bd9e4ac3 Remove invalid URL specs 2019-09-20 16:34:21 +06:00
1cbc4eb973 More verbose path parsing errors 2019-08-28 20:36:11 +06:00
ee54296249 Fix options rewrite 2019-07-22 17:35:52 +06:00
34526fdd06 Fix tests 2019-06-25 16:26:23 +06:00
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
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
9aa5e20b3f Fix tests 2019-05-07 17:21:27 +06:00
d5b7e2aa13 Lint with golangci-lint; Fix linter issues; Add Go 1.12 to CircleCI 2019-04-11 20:07:15 +06:00
67bbf14ba4 Back to fasthttp 2019-03-22 21:07:31 +06:00
2209063ce3 Token => signature 2018-11-20 19:05:16 +06:00
adf6055e6b Fix tests 2018-11-20 19:03:24 +06:00
9114f28c75 Multiple key/salt pairs support 2018-11-15 18:35:06 +06:00
a537e05b57 Fix tests 2018-11-15 17:26:36 +06:00
8b5f620ac3 adds dpr transformation (#104)
* adds dpr transformation.

* adds dpr transformation.

* fix conflict.
2018-11-14 19:46:59 +06:00
da1a802632 Use source image format as resulting one dy default 2018-11-14 00:50:38 +06:00
6b7551213f Tests 2018-11-06 17:19:34 +06:00
e6a7c480b1 Plain source URLs support 2018-11-02 21:35:21 +06:00