caddy/config/setup
Zac Bergquist e158cda057 Fix test failures on Windows.
Most of the Windows test failures are due to the path separator not being "/".  The general approach I took here was to keep paths in "URL form" (ie using "/" separators) as much as possible, and only convert to native paths when we attempt to open a file.  This will allow the most consistency between different host OS.  For example, data structures that store paths still store them with "/" delimiters.  Functions that accepted paths as input and return them as outputs still use "/".

There are still a few test failures that need to be sorted out.

- config/setup/TestRoot (I hear this has already been fixed by someone else)
- middleware/basicauth/TestBrowseTemplate and middleware/templates/Test (a line endings issue that I'm still working through)
2015-10-13 19:49:53 -04:00
..
testdata Added test on markdown static files generation 2015-07-29 16:21:35 +02:00
basicauth_test.go Fix format verbs for funcs 2015-09-10 19:59:19 -07:00
basicauth.go basicauth: htpasswd path now relative to site root 2015-09-05 16:04:30 -06:00
bindhost.go Rename bindaddr to just bind 2015-05-04 22:58:08 -07:00
browse.go allow consecutive spaces for browse 2015-10-07 19:16:49 +03:00
controller.go Fix test failures on Windows. 2015-10-13 19:49:53 -04:00
errors_test.go errors: New 'visible' mode to write stack trace to response 2015-09-24 16:21:28 -06:00
errors.go Fix test failures on Windows. 2015-10-13 19:49:53 -04:00
ext_test.go setup: export functions and variables for external packages. 2015-06-20 14:59:33 +01:00
ext.go Major refactoring of middleware and parser in progress 2015-05-04 11:04:37 -06:00
fastcgi_test.go removed redundant comment lines 2015-08-30 18:57:20 +05:30
fastcgi.go core: Disable TLS for http sites (again) 2015-08-05 11:33:51 -06:00
gzip_test.go Gzip: Fix wildcard extension bug. 2015-07-06 06:36:48 +01:00
gzip.go Fix vet warnings about unkeyed fields 2015-09-10 19:57:23 -07:00
headers_test.go setup: export functions and variables for external packages. 2015-06-20 14:59:33 +01:00
headers.go headers: Replaced usage of Url to Path in setup 2015-05-09 21:57:55 +02:00
internal_test.go setup: export functions and variables for external packages. 2015-06-20 14:59:33 +01:00
internal.go rename middleware's name from internal to inner 2015-06-10 15:48:41 +08:00
log_test.go Use localtime for the log roller timestamp 2015-09-04 19:18:01 +02:00
log.go Added LogRoller parser and entity. 2015-09-02 15:13:31 +02:00
markdown_test.go Fix test failures on Windows. 2015-10-13 19:49:53 -04:00
markdown.go Fix test failures on Windows. 2015-10-13 19:49:53 -04:00
mime_test.go New core middleware, MIME. 2015-09-30 18:37:10 +01:00
mime.go New core middleware, MIME. 2015-09-30 18:37:10 +01:00
proxy.go Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
redir.go redir: Include scheme in redirect rules 2015-09-30 08:38:31 -06:00
rewrite_test.go Fix vet warnings about unkeyed fields 2015-09-10 19:57:23 -07:00
rewrite.go Rewrite: Support for Regular Expressions. 2015-05-16 13:03:48 +01:00
roller.go Use localtime for the log roller timestamp 2015-09-04 19:18:01 +02:00
root_test.go Fail the test if the configuration fails. 2015-10-10 04:15:25 +03:00
root.go Major refactoring of middleware and parser in progress 2015-05-04 11:04:37 -06:00
startupshutdown.go Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
templates_test.go Complete test coverage for config/setup/templates.go 2015-06-28 07:03:42 +05:30
templates.go export of variables undone 2015-06-27 03:49:44 +05:30
tls_test.go setup: export functions and variables for external packages. 2015-06-20 14:59:33 +01:00
tls.go core: Disable TLS for http sites (again) 2015-08-05 11:33:51 -06:00
websocket_test.go test for webSocketParse function in config/setup 2015-06-24 07:05:53 +05:30
websocket.go test for webSocketParse function in config/setup 2015-06-24 07:05:53 +05:30