- 15 Oct, 2015 2 commits
-
-
Austin Cherry authored
Simplify websocket ticker shutdown code
-
Marcelo E. Magallon authored
"A receive from a closed channel returns the zero value immediately" Close the tickerChan in the calling function, this causes "case <-c" to unblock immediately, ending the goroutine and stopping the ticker.
-
- 14 Oct, 2015 9 commits
-
-
Matthew Holt authored
-
Matt Holt authored
Add tests for command splitting and fix root tests on Windows
-
Matt Holt authored
Fix test failures on Windows.
-
makpoc authored
-
Matt Holt authored
websocket: Refactored to use gorilla instead of golang/x
-
Austin authored
-
Zac Bergquist authored
I had commented out this check just to make sure the rest of the test cases were succeeding and forgot to add it back in.
-
Zac Bergquist authored
NewTestController now sets the site root to '.' to accomodate Windows. This introduced a failure on Linux because we join "." and an absolute path in /tmp/ and end up looking for the temp file in the wrong place. This change puts the temp file under the current working directory, which should resolve the issue.
-
Zac Bergquist authored
-
- 13 Oct, 2015 7 commits
-
-
Zac Bergquist authored
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)
-
Makpoc authored
Fix failing test (windows) - simulate an error by executing stat on a filename with zero-byte in it. Fix cleanup of created files after the tests.
-
Matt Holt authored
Distinguish between windows and linux builds
-
Matt Holt authored
Distinguish between windows and linux builds
-
makpoc authored
-
Austin authored
-
Matthew Holt authored
-
- 11 Oct, 2015 4 commits
-
-
Matt Holt authored
Ran gofmt -s, fixed some golint warnings, refactored some large functions Minor quality improvements (closes #253)
-
Zac Bergquist authored
-
Matt Holt authored
Add tests for root.go
-
Matthew Holt authored
... I think. Submitting as PR to double-check. This change changes file mod times on the testdata to ensure they are not all the same so that the sort is predictable!
-
- 10 Oct, 2015 1 commit
-
-
Makpoc authored
-
- 09 Oct, 2015 3 commits
-
-
Matt Holt authored
browse: Better test coverage and fix #264
-
makpoc authored
-
Karthic Rao authored
Exhaustive test coverage to test the usage of sort,order and limit parameter for the browse middleware
-
- 08 Oct, 2015 1 commit
-
-
Matthew Holt authored
-
- 07 Oct, 2015 2 commits
- 01 Oct, 2015 3 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matt Holt authored
New core middleware, MIME.
-
- 30 Sep, 2015 2 commits
-
-
Abiola Ibrahim authored
-
Matthew Holt authored
And added tests for status code and scheme
-
- 29 Sep, 2015 1 commit
-
-
Matthew Holt authored
Turns out the stuff in the test file needs to be exported so external add-ons can use them
-
- 28 Sep, 2015 5 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matt Holt authored
fastcgi: Stripping PATH_INFO from SCRIPT_NAME
-
Mathias Beke authored
Conflicts: middleware/fastcgi/fastcgi.go
-
Matthew Holt authored
-