DarthSim
71e720c625
Ignore .tmp
2019-06-04 19:30:46 +06:00
DarthSim
69594894a0
Fix lint issues
2019-06-04 17:03:03 +06:00
DarthSim
a9244a7063
Extract processing handler and imageType functions from server.go
2019-06-03 23:02:46 +06:00
DarthSim
86c883f04b
HEIC images support
2019-06-03 22:07:03 +06:00
DarthSim
fee210fb1b
Remove unneeded code
2019-06-03 21:27:46 +06:00
DarthSim
ab9363e989
Simple http router for better looking server code
2019-06-03 21:16:54 +06:00
DarthSim
2a7715540b
Allow query params for health endpoint; Log health response
2019-06-03 17:06:13 +06:00
DarthSim
f515623f3a
Animated WebP support
2019-06-03 16:53:47 +06:00
DarthSim
3fb3a327a3
Better scale-on-load for WebP with libvips 8.8
2019-05-30 18:58:55 +06:00
DarthSim
eb60f0567c
Better work with ICC profiles; Usage of vips 8.8 bbuilt-in cmyk profile
2019-05-30 18:33:33 +06:00
DarthSim
e93daf979a
Fix some processing options checking
2019-05-28 17:39:20 +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
DarthSim
a16a1e3141
Update presets-only mode docs
2019-05-16 17:15:57 +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
c6145a8e69
Check source content length before getting download buffer
2019-05-08 21:00:54 +06:00
DarthSim
a03d74288f
Fix height option check
2019-05-08 20:51:52 +06:00
DarthSim
bd95447ca5
Add development errors mode
2019-05-08 20:51:39 +06:00
DarthSim
023dcadc34
Better stacktrace of processing errorf
2019-05-08 20:37:26 +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
c5263b1752
Add benchmark results
2019-05-08 16:45:47 +06:00
DarthSim
710032e522
Bump version; Update changelog
2019-05-07 17:55:15 +06:00
DarthSim
0687ee24a4
Fix C99 warning
2019-05-07 17:23:38 +06:00
DarthSim
9aa5e20b3f
Fix tests
2019-05-07 17:21:27 +06:00
DarthSim
c0c471ac99
Don't fail on recursive preset usage, just ignore used preset and log warning
2019-05-07 15:19:23 +06:00
DarthSim
0cfeab65db
Add CGO_LDFLAGS_ALLOW to the installation guide
2019-05-07 15:03:06 +06:00
DarthSim
0346b6b45e
Typo
2019-05-06 16:57:44 +06:00
DarthSim
afe1557057
Send and receive X-Reqiest-ID header
2019-05-06 14:42:30 +06:00
DarthSim
95877bbaa8
Optimized ICC profile check; Always import ICC when linear colorspace is used
2019-05-06 13:09:12 +06:00
DarthSim
75e0f1d917
Don't import common sRGB IEC61966-2.1 ICC profile
2019-04-30 02:37:07 +06:00
DarthSim
dbbdf5a997
Better shrink-on-load
2019-04-24 19:55:23 +06:00
DarthSim
349199e887
Bump version; Update changelog
2019-04-11 21:22:09 +06:00
DarthSim
253eae70ab
Don't fail if ICC profile import failed
2019-04-11 21:12:15 +06:00
DarthSim
f3c7f77b97
Test build only with the latest 3 versions of Go and vips
2019-04-11 20:31:15 +06:00
DarthSim
45ff0f38d0
Fix CircleCI build
2019-04-11 20:17:59 +06:00
DarthSim
f5f1134b1c
Fix lint in CircleCI; Fix jobs names in CircleCI
2019-04-11 20:13:13 +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
2e6296c4d9
Go go mod
2019-04-09 21:55:15 +06:00
DarthSim
e9da8a241a
Bump version; Update changelog
2019-04-08 19:07:09 +06:00
DarthSim
ac4f0e5dae
Import ICC after resize if linear colorspace was not used
2019-04-08 18:49:14 +06:00
DarthSim
351121d040
Bump version; Update changelog
2019-04-05 16:39:09 +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
cdc3cac064
Bump version; Update changelog
2019-04-02 02:42:55 +06:00
DarthSim
081a400872
Fix processing images with embedded profiles
2019-04-02 02:32:44 +06:00
DarthSim
7f66f9ce12
Bump version; Update changelog
2019-04-01 21:33:48 +06:00
DarthSim
c864f801d0
Add IMGPROXY_DISABLE_SHRINK_ON_LOAD config
2019-04-01 21:30:53 +06:00
DarthSim
550b9edb20
Resize images in linear colorspace
2019-04-01 21:30:24 +06:00
DarthSim
db98dfdec1
Remove orc from Dockerfile (causes segfaults in some cases)
2019-04-01 21:24:40 +06:00
DarthSim
27256e5779
gitignore .vscode
2019-04-01 21:23:58 +06:00