1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-12-14 10:02:57 +02:00
Commit Graph

1072 Commits

Author SHA1 Message Date
DarthSim
a5a46d6fc6 typo 2018-05-25 16:41:49 +06:00
DarthSim
8556be3426 Fixed autorotation when image is not resized 2018-05-25 16:25:48 +06:00
DarthSim
0ee53db54c Add changelog 2018-04-27 15:49:38 +06:00
DarthSim
47b621542b Add Content-Length header 2018-04-26 18:17:17 +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
DarthSim
eb341c3bee Increase default max clients 2018-03-19 15:06:08 +06:00
DarthSim
f6fa71810e Remove wait timeout 2018-03-19 14:58:52 +06:00
DarthSim
9ba634fc35 Add request ID 2018-03-19 14:57:31 +06:00
DarthSim
f569067588 Add info to timers 2018-03-15 21:21:43 +06:00
DarthSim
ec627e3345 Check authorization before semaphore 2018-03-15 21:12:06 +06:00
DarthSim
1deb2b9c54 Ass wait timeout 2018-03-15 20:53:46 +06:00
DarthSim
66cea81602 Refactor ETag support 2018-02-26 15:41:37 +06:00
Ilja Hämäläinen
178cd5de55 Add support of ETag caching (#47)
* Add ETag caching support

* Update the readme file

* Typo

* Calculate ETag before image processing, rename Env Var

* Make PO struct field public

* Generate random value on server startup to be used in ETag calculation

* Minor refactoring

* Adjust boolean value parsing as discussed in GitHub PR page

* Move random value generation to the config

* Update README

* Revert changes

* Use footprint to calculate the hash of an image
2018-02-26 11:45:52 +03:00
Dima Medvedev
5062e7494d cgo compilation workaround for go 1.9.4 (#52)
This https://github.com/golang/go/issues/23672 security fix breaks
CGO compilation in go version 1.9.4 by disallowing LDFLAGS in
process.go:5
2018-02-22 12:48:16 +03:00
DarthSim
74b0a672c6 Fix travis build on 1.9.4 2018-02-22 12:31:18 +03:00
Sergey Alexandrovich
d7cc247439
Deploy to Heroku with Docker (#50)
* Try out deploying Docker image to Heroku

* Add heroku.yml
2018-02-02 19:18:14 +06:00
DarthSim
68d7ac331e Restore proxy support 2018-02-02 18:46:30 +06:00
Sergey Alexandrovich
28d5784c03
Merge pull request #43 from Vasfed/master
Fix cmyk profile path
2018-01-11 16:29:06 +06:00
Vasily Fedoseyev
9413236e17 Fix cmyk profile path 2018-01-11 12:32:44 +03:00
Sergey Alexandrovich
98cf805169
Update README.md 2018-01-10 16:21:39 +06:00
DarthSim
070346d155 Fix processing of CMYK without embedded profile 2018-01-10 16:10:20 +06:00
Sergey Alexandrovich
5307b46ed2
Remove redundant code 2018-01-10 13:00:10 +06:00
Sergey Alexandrovich
9f76ec5a4c
Update README.md 2018-01-10 12:59:02 +06:00
Sergey Alexandrovich
530ade477b
Merge pull request #41 from Vasfed/feature/local_filesystem
Add option for reading images from local filesystem
2018-01-10 12:28:41 +06:00
Vasily Fedoseyev
850498f817 Add option for reading images from local filesystem 2017-12-29 22:59:20 +03:00
DarthSim
f9fbfefad6 Fix dowloading timeout configuration 2017-11-14 02:28:18 +06:00
Sergey Alexandrovich
089744250c
Merge pull request #34 from princemaple/patch-1
Add Elixir example
2017-11-13 16:58:38 +06:00
Po Chen
cc4d98add7
Add Elixir example 2017-11-13 21:48:31 +11:00
Sergey Alexandrovich
c4295c4451
Merge pull request #32 from Mikulas/pr/swift-example
Add swift signing example
2017-10-30 21:06:57 +06:00
Sergey Alexandrovich
ecbbd5e3f5
Merge pull request #33 from bnprss/cacheControl
correct Cache-contol header missusage.
2017-10-30 20:14:07 +06:00
ben
2f4d70bcd0 correct Cache-contol header missusage. 2017-10-30 10:53:51 +01:00
Mikuláš Dítě
bc0f79869c Add swift signing example
HMAC is slightly complex as it was not yet ported to pure Swift

Can be complied and run as

  echo '#import <CommonCrypto/CommonCrypto.h>' > bridge.h
  swiftc examples/signature.swift -import-objc-header bridge.h
  ./signature
2017-10-27 18:30:19 +02:00
Sergey Alexandrovich
6637657342 Merge pull request #30 from Mikulas/pr/readme-ttl
Add IMGPROXY_TTL env to readme
2017-10-25 21:42:49 +06:00
Sergey Alexandrovich
0b63b74387 Merge pull request #31 from Mikulas/pr/health
Add /health endpoint
2017-10-25 21:40:47 +06:00
Mikuláš Dítě
8b7cfa2e25 add /health endpoint
Returns 200 OK after server starts.

This greatly simplifies container deployment. For example,
Kubernetes can be configured to not route traffic to imgproxy Pods
that did not pass Readiness check against /health.
2017-10-25 11:57:19 +02:00
Mikuláš Dítě
237453d52b Add IMGPROXY_TTL env to readme 2017-10-25 11:06:56 +02:00
Sergey Alexandrovich
a9e3413766 Add link to the martians chronicles 2017-10-20 16:33:52 +06:00
DarthSim
4ffdda7ab2 Fix wrong variable name 2017-10-19 22:55:19 +06:00
DarthSim
c052b1f2ae Fix build with vips < 8.5.0 2017-10-19 22:38:09 +06:00
DarthSim
fcf964f74e Premultiply alpha channel on resize 2017-10-19 21:51:44 +06:00
DarthSim
f3d0b3bd2d Missed semicolon 2017-10-18 04:35:13 +06:00
DarthSim
796addcfe8 Return all logic to go code 2017-10-18 04:23:41 +06:00
DarthSim
8c4755d9e0 Shrink on load for jpg and webp 2017-10-18 03:12:58 +06:00
DarthSim
168efd16bb Copy image before smart crop 2017-10-17 20:03:30 +06:00
DarthSim
b8d655e1ba Graceful shut down server and vips 2017-10-17 18:23:48 +06:00
DarthSim
5b24ff905e Conver colourspace before rotate 2017-10-16 23:57:32 +06:00
DarthSim
50e68556d0 Rotate after resize; Use most vips functions directly 2017-10-16 17:45:10 +06:00
Sergey Alexandrovich
78b9fd50a2 Update README.md 2017-10-07 16:45:49 +06:00
DarthSim
2940478ec9 Max src resolution config; Larger default max src dimension 2017-10-07 05:00:31 +06:00