Maxime
f536bc94b2
Added the Context to the browse directive
...
Moved the Context type to middleware and exported it.
Users can use .Include and others in browse directive templating
Created test for the templates directive.
2015-07-17 20:07:24 +02:00
Matt Holt
fcf2622c26
Merge pull request #187 from evermax/master
...
redir: Preserve query string on catch-all redirect (fixes #180 )
2015-07-13 09:42:19 -06:00
Maxime
d9ebc5398a
Changes regarding review
...
Use path.Join and then check if the request had a slash at the end to
place it again.
2015-07-12 21:22:15 +02:00
Maxime
eea68c34ad
Changes regarding comment.
...
Used http status code instead of a hardcoded value.
Used url.Parse instead of url.ParseRequestURI, so that you can parse
both absolute and relative URL.
2015-07-12 16:43:35 +02:00
Maxime
8a2d0890a2
Changes regarding issue 180
...
The get parameters are now forwarded when redirected.
Added some tests to validate this behavior.
2015-07-12 16:01:32 +02:00
Matthew Holt
1a82943db2
core: Simplify Server initializer
2015-07-11 12:00:21 -06:00
Matt Holt
3c36edec1f
Merge pull request #185 from Karthic-Hackintosh/master
...
Complete test coverage for config/setup/markdown.go
2015-07-11 10:39:52 -06:00
Matt Holt
0f913e89db
Merge pull request #183 from peterhellberg/extensions_tests
...
ext: Initial tests for the extensions middleware
2015-07-11 10:38:42 -06:00
Karthic Rao
2b7ec1b023
Complete test coverage for config/setup/markdown.go
2015-07-11 00:44:31 +05:30
Peter Hellberg
33fa29fda0
extensions: Initial tests
2015-07-10 12:05:06 -06:00
Matthew Holt
d3c229375c
Fixed import command, added tests
2015-07-07 22:38:48 -06:00
Matthew Holt
c82d7c2dd2
templates: Better error handling for missing files
2015-07-06 23:37:27 -06:00
Matt Holt
553d76dab3
Merge pull request #179 from abiosoft/master
...
gzip: Const for wildcard extension (and added test)
2015-07-05 23:46:30 -06:00
Abiola Ibrahim
d4f0ac2303
Merge remote-tracking branch 'upstream/master'
2015-07-06 06:43:02 +01:00
Abiola Ibrahim
4588812d24
Gzip: Fix wildcard extension bug.
2015-07-06 06:36:48 +01:00
Matthew Holt
9467dbdd40
Fix errors tests
2015-07-05 23:23:35 -06:00
Matthew Holt
68c416e414
gzip: Fix to allow wildcard extension
2015-07-05 23:23:21 -06:00
Matthew Holt
71c4fdbc85
errors: Prepend timestamp to log entry
2015-07-05 23:20:37 -06:00
Matt Holt
7dbe42286d
Merge pull request #174 from mholt/gzipfix
...
gzip: Make it gzip again
Removes mimes filter in favor of extensions filter (might be temporary)
2015-07-05 23:19:51 -06:00
Matthew Holt
b5579ca910
gzip: Remove mimes
2015-07-03 18:13:30 -06:00
Matt Holt
cd2b255ae3
Merge pull request #177 from Karthic-Hackintosh/master
...
preliminary test case for config/setup/markdown.go
2015-07-03 13:29:53 -06:00
Karthic Rao
93f29a7598
preliminary test case for config/setup/markdown.go
2015-07-03 10:03:22 +05:30
Matthew Holt
32ef35b952
gzip: Fix tests
2015-07-01 19:05:31 -06:00
Matthew Holt
abf22909f1
gzip: Make it gzip again
2015-07-01 18:56:30 -06:00
Matthew Holt
a86e16ddde
That's a wrap; version 0.7.2
2015-07-01 12:09:31 -06:00
Matt Holt
263fa064cd
Merge pull request #169 from abiosoft/master
...
git: Remove from core (available as add-on)
2015-07-01 11:44:49 -06:00
Matthew Holt
915172e9ef
templates: Close files after done including them
2015-07-01 11:36:37 -06:00
Matthew Holt
4d066b7e30
ext: Only append extension if request is not for directory ( fixes #173 )
2015-07-01 11:35:52 -06:00
Abiola Ibrahim
a7f0705bcf
Merge remote-tracking branch 'upstream/master'
2015-07-01 14:01:45 +01:00
Matthew Holt
16f18bfeff
Update change list
2015-06-30 18:21:18 -06:00
Matthew Holt
7a42e60bcb
templates: Support for nested include files
...
i.e. included files are also parsed as templates
2015-06-30 18:21:18 -06:00
Abiola Ibrahim
aecdecbdf8
Merge remote-tracking branch 'upstream/master'
2015-06-30 17:31:40 +01:00
Matt Holt
a790db134d
Merge pull request #171 from bigtiger/patch-1
...
Massage some verbiage
2015-06-30 10:24:59 -06:00
Matt Holt
75b77d508d
Merge pull request #172 from abiosoft/fastcgi-fix
...
fastcgi: Fix for Issue 141: index not found, 502 Bad Gateway.
2015-06-30 10:23:49 -06:00
Abiola Ibrahim
4240817a3a
Fix for Issue 141: index not found, 502 Bad Gateway.
2015-06-30 11:54:50 +01:00
Jim Remsik
24307e85b7
Massage some verbiage
...
The grammar felt off on the sentence I changed. You can take or leave this PR, I won't be offended if you dislike my suggestion.
2015-06-29 16:52:40 -07:00
Abiola Ibrahim
b030d0cf79
Merge remote-tracking branch 'upstream/master'
2015-06-29 09:16:59 +01:00
Matt Holt
b0d3a8e1b5
Merge pull request #170 from Karthic-Hackintosh/master
...
Complete test coverage for config/setup/templates.go
2015-06-28 10:00:33 -06:00
Karthic Rao
62456c1bed
Complete test coverage for config/setup/templates.go
2015-06-28 07:03:42 +05:30
Abiola Ibrahim
3f1f6720ee
Decouple git middleware from caddy core. Now available as an add-on at https://github.com/abiosoft/caddy-git .
2015-06-28 00:31:52 +01:00
Matthew Holt
ab0cbf3e12
Updated change list
2015-06-26 16:32:49 -06:00
Matt Holt
c12257a1a7
Merge pull request #168 from Karthic-Hackintosh/master
...
Initial Test case for config/setup/templates.go
2015-06-26 16:23:39 -06:00
Karthic Rao
e039577d66
export of variables undone
2015-06-27 03:49:44 +05:30
Karthic Rao
9995466a18
Initial Test case for config/setup/templates.go
2015-06-27 02:27:02 +05:30
Matthew Holt
f424f450f2
Fix typo
2015-06-25 08:55:02 -06:00
Matt Holt
677f67db48
Merge pull request #166 from mholt/graceful-resolve
...
core: Handle address lookup and bind errors more gracefully (fixes #136 and #164 )
2015-06-25 08:18:41 -06:00
Matthew Holt
47d1f5eecf
Removed tests that are not cross-platform compatible
2015-06-23 22:13:29 -06:00
Matthew Holt
d8391d6fbd
core: Handle address lookup and bind errors more gracefully ( fixes #136 and #164 )
...
Addresses which fail to resolve are handled more gracefully in the two most common cases: the hostname doesn't resolve or the port is unknown (like "http" on a system that doesn't support that port name). If the hostname doesn't resolve, the host is served on the listener at host 0.0.0.0. If the port is unknown, we attempt to rewrite it as a number manually and try again.
2015-06-23 22:01:37 -06:00
Matt Holt
640cd059ce
Merge pull request #165 from Karthic-Hackintosh/master
...
Test for webSocketParse function in config/setup
2015-06-23 20:04:07 -06:00
Karthic Rao
a78cea7d8a
test for webSocketParse function in config/setup
2015-06-24 07:05:53 +05:30