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

18 Commits

Author SHA1 Message Date
DarthSim
0d5d2f5ec2 po.Resize => po.ResizingType 2019-10-11 17:05:20 +06:00
DarthSim
26bd9e4ac3 Remove invalid URL specs 2019-09-20 16:34:21 +06:00
DarthSim
1cbc4eb973 More verbose path parsing errors 2019-08-28 20:36:11 +06:00
DarthSim
ee54296249 Fix options rewrite 2019-07-22 17:35:52 +06:00
DarthSim
34526fdd06 Fix tests 2019-06-25 16:26:23 +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
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
9aa5e20b3f Fix tests 2019-05-07 17:21:27 +06:00
DarthSim
d5b7e2aa13 Lint with golangci-lint; Fix linter issues; Add Go 1.12 to CircleCI 2019-04-11 20:07:15 +06:00
DarthSim
67bbf14ba4 Back to fasthttp 2019-03-22 21:07:31 +06:00
DarthSim
2209063ce3 Token => signature 2018-11-20 19:05:16 +06:00
DarthSim
adf6055e6b Fix tests 2018-11-20 19:03:24 +06:00
DarthSim
9114f28c75 Multiple key/salt pairs support 2018-11-15 18:35:06 +06:00
DarthSim
a537e05b57 Fix tests 2018-11-15 17:26:36 +06:00
Marius Cristea
8b5f620ac3 adds dpr transformation (#104)
* adds dpr transformation.

* adds dpr transformation.

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