Matt Holt
b7827a342a
Merge pull request #387 from Moter8/patch-1
...
Latest Go 1.5 version
2015-12-05 09:38:15 -07:00
Carsten Hagemann
e17a18365d
Latest Go 1.5 version
2015-12-05 13:05:51 +01:00
Radim Marek
d1216f409d
Handle no matches
2015-12-04 23:22:03 +01:00
Radim Marek
12f594779c
Added support magic characters in import pattern
...
Import now allows to use the star wildcard, question mark and square
brackets as used by filepath.Glob
2015-12-04 23:04:12 +01:00
ReadmeCritic
b3f5e4d4ad
Update README URLs based on HTTP redirects
2015-12-04 07:20:56 -08:00
Matthew Holt
5b93799a62
Version 0.8.0
2015-12-03 19:52:15 -07:00
Matthew Holt
fd14f257df
markdown: Add (currently failing) test for empty body
2015-12-02 17:09:43 -07:00
Matt Holt
d044e497f6
Merge pull request #377 from abiosoft/master
...
markdown: Fix "metadata not closed" bug. More tests.
2015-12-02 17:04:16 -07:00
Abiola Ibrahim
6f4835f91a
Markdown: Fix "metadata not closed" bug. More tests.
2015-12-03 00:41:12 +01:00
Matthew Holt
9002db2ae0
letsencrypt: Remote duplicate hosts from certificate request
...
Domain names must be unique in cert bundle request or really bad things happen (like, um, a panic)
2015-12-02 12:40:57 -07:00
Matthew Holt
19c6bbf6a2
Update changelist (env vars)
2015-12-02 11:42:50 -07:00
Matt Holt
ef2ca1da3d
Merge pull request #357 from tw4452852/my_md
...
markdown: fix json front matter parse issue when body content is long
2015-11-27 00:07:19 -07:00
Tw
fbc18c5b85
markdown: fix json format parse issue
...
We can't use json meta parser's remaining buffered data as the markdown body
because it may not contain the entire original content.
Now we adopt the way like toml and yaml parser's way to extract the meta content
at first.
Also when spilting the meta data and content body, additional io.Copy is
unnecessary.
Fix issue #355
Signed-off-by: Tw <tw19881113@gmail.com>
2015-11-25 08:32:14 +08:00
Matt Holt
d93fe53e84
Merge pull request #362 from jungle-boogie/patch-3
...
wrap lines to 80 characters
2015-11-24 13:42:21 -07:00
Matt Holt
0a40970dea
Merge pull request #361 from jungle-boogie/patch-2
...
more copy edits
2015-11-24 13:34:39 -07:00
jungle-boogie
6478eee338
removed stray ) and spaces.
2015-11-24 11:16:05 -08:00
jungle-boogie
a60c739797
wrap lines to 80 characters
...
also linked to bug reporting article.
2015-11-24 11:09:35 -08:00
jungle-boogie
19ca7d812e
more copy edits
...
add links to inspired by projects and updated language with golang.
2015-11-24 11:04:15 -08:00
Matt Holt
bc37cf0d1c
Merge pull request #360 from jungle-boogie/patch-1
...
copy edit to wrap around 80 chars
2015-11-24 11:24:24 -07:00
jungle-boogie
78b95deb55
copy edit to wrap around 80 chars
...
not all lines wrap at 80 characters but now most do.
2015-11-24 10:17:34 -08:00
Matt Holt
b787569820
Merge pull request #359 from abiosoft/master
...
rewrite: Use middleware.Replacer for simple rule
2015-11-24 10:17:02 -07:00
Abiola Ibrahim
016344bae7
Rewrite: Use middleware.Replacer for simple rule.
2015-11-24 12:20:39 +01:00
Matt Holt
0b51369932
Merge pull request #356 from Luit/master
...
proxy: Two small websocket fixes
2015-11-21 13:37:59 -07:00
Luit van Drongelen
1fb66d534a
Close proxy's backend request earlier when re-connecting for websocket
2015-11-21 20:03:46 +01:00
Luit van Drongelen
f0b1edaf8c
Fix proxy for websocket with altered Host header
2015-11-21 20:00:44 +01:00
Matt Holt
4dbb4274d9
Merge pull request #354 from pyed/patch-3
...
browse: allow consecutive spaces in the header
2015-11-20 23:48:56 -07:00
pyed
9886e89e42
allow consecutive spaces in the header
2015-11-21 05:49:27 +03:00
Matt Holt
3e402e0692
Merge pull request #349 from carlisia/cc-lint-fixes
...
Add a few super minor lint fixes
2015-11-19 08:17:41 -07:00
Carlisia Campos
0a1721d5b2
Add a few super minor lint fixes
...
Other lint warnings left behind are ones due to external package and
due to maintainer's preferences.
2015-11-19 06:56:28 -08:00
Matthew Holt
4d907d57fa
Whoops, emergency bug fix
...
Made a faulty assumption that virualhosts could share acme proxy handlers; turns out they can't without fumbling up the middleware configuration (middleware chains overlap and cross over into other virtualhosts)!
2015-11-18 18:41:01 -07:00
Matthew Holt
24352e799a
Remove SimpleHTTP and bump version to 0.8 beta 4!
2015-11-18 17:40:35 -07:00
Matthew Holt
e17d43b58a
Default host now empty string; default port now depends on host
...
Hosts which are eligible for automatic HTTPS have default port "https" but other hosts (wildcards, loopback, etc.) have the default port 2015. The default host of empty string should be more IPv6-compatible.
2015-11-18 10:05:13 -07:00
Matthew Holt
580b50ea20
letsencrypt: Support for http-01, awkwardly straddling that and SimpleHTTP for now
2015-11-17 18:11:19 -07:00
Matthew Holt
659df6967e
letsencrypt: Don't assume default port of 443
2015-11-17 16:17:43 -07:00
Matthew Holt
b9244cdf2e
templates: Another context fix when host header is missing port
2015-11-17 14:35:18 -07:00
Matthew Holt
a2ba00bdc8
Update docs n things
2015-11-17 10:19:03 -07:00
Matthew Holt
1d47e590e5
proxy: Make headers when upstream is created; avoid potential nil ptr deref
2015-11-17 10:18:13 -07:00
Matt Holt
280ba9db85
Merge pull request #345 from tw4452852/my_proxy
...
proxy: make http header block scoped
2015-11-17 08:20:29 -07:00
Matt Holt
7f98a6cccf
Merge pull request #347 from tw4452852/my_health
...
proxy: make tests workable when offline
2015-11-17 08:14:50 -07:00
Tw
a5b117fcdf
proxy: make tests workable when offline
...
Instead of accessing the google website, we setup a local server
for test, then tests will work fine even we are offline.
Fix issue #346
Signed-off-by: Tw <tw19881113@gmail.com>
2015-11-17 15:18:02 +08:00
Tw
f56d2090b6
proxy: make http header block scoped
...
Each proxy block should could specify its own http header
instead of sharing a global one.
Fix issue #341
Signed-off-by: Tw <tw19881113@gmail.com>
2015-11-17 14:07:32 +08:00
Matt Holt
37e3cf684d
Merge pull request #343 from abiosoft/master
...
proxy: 'except' property to ignore subpaths
2015-11-16 18:06:58 -07:00
Abiola Ibrahim
7949388da8
Proxy: Allow ignored subpaths.
2015-11-16 17:22:06 +01:00
Matthew Holt
dd119e04b1
Fix go vet
2015-11-15 11:06:50 -07:00
Matthew Holt
f7cfe79905
websocket: Simple buildEnv test, and fix for addresses without port
2015-11-15 11:05:26 -07:00
Matthew Holt
3dc5e0e181
Added a few little tests
2015-11-15 10:55:15 -07:00
Matthew Holt
1ca34c4ecf
Couple fixes for env var replacements and tests
2015-11-15 08:01:24 -07:00
Matt Holt
837ee9f042
Merge pull request #319 from mbanzon/issue-304
...
parser: Allow use of environment variables in tokens
2015-11-15 07:17:42 -07:00
Michael Banzon
d448c919e8
Changed implementation of issue #304 fix
...
It no longer uses regular expressions.
It supports both the Unix `{$ENV_VAR}` _and_ the Windows `{%ENV_VAR%}`
syntax.
Added test for both Unix and Windows env. syntax.
2015-11-15 11:16:37 +01:00
Matthew Holt
7d5b6b96ea
Make signal trapping optional
...
Go programs using the caddy package may not want the it to capture all the signals...
2015-11-14 21:59:43 -07:00