Connor Peet
9213c93c94
Add ability to restrict http referrer
2015-08-15 10:36:07 -07:00
Will Norris
8c13d93bde
update links to URL Signing wiki page
2015-08-14 09:56:47 -07:00
Vincent Reydet
28498fe9b1
Update README.md
...
Add link to the signature wiki page.
2015-08-14 15:57:25 +02:00
Rune Skjoldborg Madsen
c13dfcfa62
Update README.md
2015-08-13 12:47:33 -04:00
Rune Madsen
b0580ee6c3
updating readme
2015-08-12 14:45:19 -04:00
Rune Madsen
4e60c683b0
scaleup flag
2015-08-12 14:39:38 -04:00
Rune Madsen
f6e6a2cc86
allowing cache size of 0
2015-08-12 11:44:24 -04:00
Will Norris
dbf505d137
move gifresize into its own repo
2015-05-29 08:02:30 -07:00
Will Norris
db51a19ddb
capture and return image encoding errors
2015-05-29 07:31:10 -07:00
Sevki
0fd85dc016
added docker information to readme
2015-05-29 12:49:24 +03:00
Sevki
9774a4a0a8
add: Dockerfile
2015-05-21 23:53:41 +03:00
Will Norris
540ef1a640
bump version to 0.4.0
2015-05-21 09:17:51 -07:00
Will Norris
bf72ebfe78
README: rewrite first section and add animated gif
2015-05-21 09:07:38 -07:00
Will Norris
071d3dad2a
add baseURL and whitelist to upstart script
2015-05-20 17:08:57 -07:00
Will Norris
dd529ce4d4
README: older versions of go may have trouble
...
fixes #24
2015-05-20 10:02:13 -07:00
Will Norris
5e9ceeaaf6
retain original color palette for resized gifs
2015-05-18 15:37:28 -07:00
Will Norris
66fcba95a0
don't drop error from gif.EncodeAll
2015-05-18 15:15:54 -07:00
Will Norris
b2ae3a5840
rewrite first section of README
2015-05-17 21:43:55 -07:00
Will Norris
396afb8a87
proxy non-200 responses with original status code
...
Some sites return a 404 image, and most browsers render them properly.
We should pass them along as well.
see also: atmos/camo#75 and atmos/camo#77
2015-05-15 22:33:03 -07:00
Will Norris
bdf995c94f
use new gifresize package on all gif images
...
Fixes #23
2015-05-15 16:07:00 -07:00
Will Norris
58bb2e4ce9
refactor gifresize to be a resuable package
...
- move out of main package
- export Process func
- Process now accepts an io.Reader and io.Writer as input rather than
working directly on files
- Process accepts a transform function as input rather than always
resizing to a fixed size
2015-05-15 15:58:03 -07:00
Will Norris
ef63a74da1
initial import of gifresize package
...
imported from github.com/dpup/go-scratch/gif-resize under Apache 2.0
license. License header added to gifresize.go rather than include the
full LICENSE file, since imageproxy is under the Apache 2.0 also and we
already have a copy of the license in the root of this repo.
2015-05-15 15:56:06 -07:00
Will Norris
cb130777b9
load signature key from /etc/imageproxy.key
2015-05-14 16:38:49 -07:00
Will Norris
7122b43e0d
bump version to 0.3.0
2015-05-14 15:33:36 -07:00
Will Norris
7a0f78f4be
add signature key flag to imageproxy command
2015-05-14 15:30:36 -07:00
Will Norris
a9efefc8e7
add request signature support to Proxy
2015-05-14 15:30:07 -07:00
Will Norris
9d6f8fdf7d
refactor whitelist check in preparation for signature check
2015-05-14 15:30:06 -07:00
Vincent Reydet
6553dd0603
add debian init files
2015-05-12 19:08:25 -07:00
Will Norris
5d8b630ff2
omit empty quality from option string
2015-05-11 19:29:25 -07:00
Will Norris
b1de3a9dd6
add String method to Request
2015-05-11 17:12:03 -07:00
Will Norris
fc093b71eb
switch to port 4593
2015-05-10 22:55:33 -07:00
Will Norris
ac6dd6d1d1
move badges inline with header; add license badge
2015-05-05 09:56:37 -07:00
Will Norris
436e081e7d
add badges to README
2015-05-05 07:53:46 -07:00
Will Norris
d3a07a8f56
add travis configuration
2015-05-05 07:53:05 -07:00
Will Norris
85e5dcdddc
rsc.io/grind cleanup
2015-05-04 10:26:22 -07:00
Will Norris
ad54d71881
first pass at supporting a default base URL
...
this allows remote images to be specified as relative URLs, relative to
the `DefaultBaseURL` field. Fixes #15 .
2015-04-28 08:25:10 -07:00
Will Norris
dbac2f8063
log transform errors
2015-03-17 23:47:43 -07:00
Will Norris
2b84ef01ed
log requests and whether response is from cache
...
also make sure request body is always closed
fixes #17
2015-02-24 09:34:49 -08:00
Will Norris
1bf0515cef
be a little more precise in copying headers
...
it doesn't matter too much right now, given the headers that are being
copied, but this now makes sure that all header values get copied over
if multiple are present.
2015-02-20 23:52:52 -08:00
Will Norris
bf8d7a0cd8
copy original content-type from remote response
2015-02-20 13:05:31 -08:00
Will Norris
15eb6b6da6
bump to 0.2.3
2015-02-20 00:00:13 -08:00
Will Norris
5fcf0855ff
update debian package information
2015-02-19 23:59:33 -08:00
Will Norris
c9e7abaae0
move docs for quality option after flip
2015-02-14 23:31:30 -08:00
Will Norris
089ff8925d
update readme to just run imageproxy rather than go run
2015-02-14 23:28:45 -08:00
Parker Moore
bf06767283
readme: install command for quick usage
...
Installing the server should be as simple as `go get`, and running it should be as simple as executing the compiled binary. The previous option was a bit round-about.
2015-02-14 22:39:14 -08:00
Will Norris
d74dd6e985
rename jpegQuality to defaultQuality
...
Also fix a few go vet errors
2015-02-12 14:21:26 -08:00
Pete Smith
e7b0a5b88c
Add quality option
...
- Added 'q' option to specify quality (used for JPEGs)
- Updated tests
- Update documentation
2015-02-12 17:49:43 +00:00
Will Norris
0980ea64a0
define constants for option strings
...
this prevents extra allocations in ParseOptions and cleans up the code a
bit, but doesn't actually improve performance in any meaningful way.
2015-01-25 00:30:15 -08:00
Will Norris
c79633735f
bump to 0.2.2
2014-12-08 16:48:20 -08:00
Will Norris
76faab6363
add lots more tests
2014-12-04 17:32:40 -08:00