Karthic Rao
9c832893af
Merge branch 'master' of https://github.com/mholt/caddy
2015-06-17 12:46:34 +05:30
Karthic Rao
4e15901df1
solving merge conflicts
2015-06-17 12:46:12 +05:30
Karthic Rao
9a32d08e9f
test for function exParse under config/setup/ext.go
2015-06-17 11:59:24 +05:30
Matthew Holt
c811d416a7
log: Customizable default error function
2015-06-15 10:17:09 -06:00
Matt Holt
92391bfdf9
Merge pull request #135 from simonjefford/ensure_correct_log_status
...
log: ensure the correct status is always logged
2015-06-15 09:25:29 -06:00
Simon Jefford
6c1f2af53a
log: ensure the correct status is always logged
...
in the case of error (>=400) then no response may have been sent
2015-06-14 21:00:27 +01:00
Matt Holt
7875f98b71
Merge pull request #138 from Karthic-Hackintosh/master
...
Preliminary test case for setup/config/ext.go
2015-06-13 09:01:47 -06:00
karthic rao
076fc4d72c
Update
...
Update with missing assertion for the Next middleware being properly set , this makes sure that Ext middleware carries the requests to the further middlewares .
2015-06-13 20:25:23 +05:30
karthic rao
d7db1b9576
Added Assertions
...
Added assertions to check for the extensions in the order specified
2015-06-13 15:56:29 +05:30
karthic rao
2a166f088d
Update ext_test.go
2015-06-13 10:05:42 +05:30
Karthic Rao
2175c68319
Preliminary test case for setup/config/ext.go
2015-06-13 09:54:54 +05:30
Matthew Holt
3418770fe1
Latest change list
2015-06-12 08:30:53 -06:00
Matt Holt
d7051e986f
Merge pull request #134 from tw4452852/hijack
...
middleware: let middleware.responseRecorder be a http.Hijacker
2015-06-12 08:26:49 -06:00
Matthew Holt
f36d9bfa2a
Add dist/release build script and licenses
2015-06-11 23:17:11 -06:00
Tw
e79a88856a
let middleware.responseRecorder be a http.Hijacker
...
Signed-off-by: Tw <tw19881113@gmail.com>
2015-06-12 11:42:28 +08:00
Slawomir Jasinski
db2368cd0b
Removed parentheses #127
2015-06-12 11:33:55 +10:00
Matt Holt
0f9d26829c
Merge pull request #130 from abiosoft/master
...
Gzip: Accept MIME types.
2015-06-11 19:27:02 -06:00
slav123
29404e34d9
code cleanup
2015-06-11 13:17:56 +10:00
Slawomir Jasinski
14b64fef43
fix #127
...
fixes issue with Status header coming from php-fpm 5.5 different then regular "HTTP/1.1 200 OK".
If server returns Status code - "200" will be handled properly instead "throwing runtime error: index out of range"
2015-06-11 09:59:30 +10:00
Abiola Ibrahim
e0f10c2b03
Gzip: Accept MIME types.
2015-06-10 22:02:08 +01:00
Matt Holt
01aca02edc
Merge pull request #129 from tw4452852/rename_internal
...
internal: rename middleware's package name from `internal` to `inner`
2015-06-10 08:04:27 -06:00
Matt Holt
5cdfa0aaaf
Merge pull request #128 from coolaj86/meta-redirects
...
redirect: add ability to do meta redirects
2015-06-10 08:03:59 -06:00
Tw
90921a9deb
rename middleware's name from internal
to inner
...
The internal package has the special meaning in go
(see https://golang.org/s/go14internal ).
So rename it to `inner`.
Signed-off-by: Tw <tw19881113@gmail.com>
2015-06-10 15:48:41 +08:00
AJ ONeal
d6a7dfc1a5
add ability to do meta redirects
...
Proper Location redirects are disadvantageous in some situations.
For example, you may want a developer to know that a resource is available
via https, but you don't want an insecure call to the API to succeed.
2015-06-10 05:48:40 +00:00
Matthew Holt
00093a2052
core: Fix to allow empty (wildcard) host
2015-06-09 23:07:32 -06:00
Matt Holt
3a795de828
Merge pull request #117 from zmb3/errorfmt
...
Update error strings (start with lowercase letters)
2015-06-09 08:24:08 -06:00
Matt Holt
cde60ed6b2
Merge pull request #121 from tw4452852/test_errors
...
errors: Add unit test for errors middleware
2015-06-09 08:06:09 -06:00
Tw
b717e6f2d8
Add unit test for errors middleware
...
Signed-off-by: Tw <tw19881113@gmail.com>
2015-06-09 15:24:53 +08:00
Zac Bergquist
3aff1677cc
Fix failing test that's looking for a specific error message.
2015-06-08 20:29:48 -04:00
Zac Bergquist
9e97d79c81
Ensure that proper names are capitalized in error strings.
2015-06-08 17:35:16 -04:00
Matt Holt
47415937dd
Merge pull request #118 from mholt/jumanjiman-docker
...
Add link to Docker container jumanjiman/caddy
2015-06-08 08:24:20 -06:00
Matthew Holt
aed649475e
Add link to Docker container jumanjiman/caddy
2015-06-07 20:22:16 -06:00
Zac Bergquist
41e1f1ffa5
Update error strings (start with lowercase letters)
2015-06-07 20:49:17 -04:00
Matt Holt
20b6e971c0
Merge pull request #116 from abiosoft/master
...
Git: fix for data races.
2015-06-07 14:32:20 -06:00
Abiola Ibrahim
c42e60a3d2
Git: fix for data races.
2015-06-07 20:39:24 +01:00
Matt Holt
995a2ea618
Merge pull request #112 from abiosoft/master
...
Gzip: Added compression level, extension and path filters.
2015-06-06 18:37:59 -06:00
Abiola Ibrahim
13db60d382
rename gzip test function to TestGzipHandler
2015-06-07 01:27:36 +01:00
Abiola Ibrahim
c9233d7446
Gzip: Added compression level, extension and path filters.
2015-06-07 01:21:54 +01:00
Matt Holt
6080c4fab1
Merge pull request #105 from abiosoft/master
...
FastCGI: allow "unix:" prefix for unix sockets.
2015-06-04 16:09:08 -06:00
Abiola Ibrahim
820b2af43a
FastCGI: allow "unix:" prefix for unix sockets.
2015-06-04 23:03:58 +01:00
Matt Holt
1cb0053720
Merge pull request #102 from brk0v/proxy-without
...
proxy: Add "without" option
2015-06-04 08:24:48 -06:00
Viacheslav Biriukov
822a615c6c
rollback tests
2015-06-04 14:02:52 +00:00
Viacheslav Biriukov
593557659c
fix tests and change naming
2015-06-04 13:57:39 +00:00
Matt Holt
c6e2b9ccc0
Merge pull request #99 from xenolf/github-deploy
...
git: Webhook middleware for GitHub events
2015-06-03 19:30:20 -06:00
xenolf
b4780a41d3
Added webhook functionality to the git middleware.
...
The webhook providers reside behind a small interface which determines if
a provider should run. If a provider should run it delegates
responsibility of the request to the provider.
ghdeploy initial commit
Added webhook functionality to the git middleware.
The webhook providers reside behind a small interface which determines if a provider should run. If a provider should run it delegates responsibility of the request to the provider.
Add tests
Remove old implementation
Fix inconsistency with git interval pulling.
Remove '\n' from logging statements and put the initial pull into a startup function
2015-06-04 03:24:16 +02:00
Viacheslav Biriukov
4790dacbf7
add without to proxy middleware
2015-06-03 18:06:24 +00:00
Matthew Holt
4852f0580b
Bump to 0.7.1
2015-06-02 12:19:08 -06:00
Matt Holt
9d7639a9d3
Merge pull request #98 from mholt/clientauth
...
tls: Client authentication
2015-06-02 12:05:05 -06:00
Matt Holt
6c52368124
tls: Fix format string
2015-06-02 07:42:38 -06:00
Matthew Holt
c78eb50eb8
tls: Client authentication
2015-06-01 23:22:11 -06:00