Jimmy Zelinskie
aa5b97dc5a
Merge pull request #494 from chihaya/dependabot/go_modules/gopkg.in/yaml.v2-2.3.0
...
build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0
2020-06-01 14:42:48 -04:00
dependabot-preview[bot]
689ee75178
build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0
...
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml ) from 2.2.8 to 2.3.0.
- [Release notes](https://github.com/go-yaml/yaml/releases )
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.8...v2.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 18:39:04 +00:00
Jimmy Zelinskie
3d803be039
Merge pull request #495 from chihaya/dependabot/go_modules/github.com/stretchr/testify-1.6.0
...
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0
2020-06-01 14:35:20 -04:00
dependabot-preview[bot]
e9dac2a874
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 10:07:17 +00:00
Jimmy Zelinskie
3db6859db6
Merge pull request #492 from jzelinskie/log-err-type
...
pkg/log: add type field for errors
2020-05-08 14:04:34 -04:00
Jimmy Zelinskie
e266d218db
pkg/log: add type field for errors
2020-05-07 13:15:43 -04:00
Jimmy Zelinskie
3c23a854c8
Merge pull request #490 from chihaya/dependabot/go_modules/github.com/sirupsen/logrus-1.6.0
...
build(deps): bump github.com/sirupsen/logrus from 1.5.0 to 1.6.0
2020-05-04 11:14:19 -04:00
dependabot-preview[bot]
932d0e50c1
build(deps): bump github.com/sirupsen/logrus from 1.5.0 to 1.6.0
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.5.0...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 08:44:57 +00:00
Jimmy Zelinskie
0704b62b31
Merge pull request #489 from chihaya/dep-refresh
...
go: bump dependencies, require Go 1.14
2020-05-01 12:12:46 -04:00
Jimmy Zelinskie
5b771c47a1
go: bump dependencies, require Go 1.14
2020-04-30 19:39:17 -04:00
Jimmy Zelinskie
bdc4f7b4d6
Merge pull request #487 from chihaya/dependabot/go_modules/github.com/spf13/cobra-0.0.7
...
build(deps): bump github.com/spf13/cobra from 0.0.3 to 0.0.7
2020-04-30 19:22:10 -04:00
Jimmy Zelinskie
54f761efe7
Merge pull request #488 from chihaya/dependabot/go_modules/github.com/alicebob/miniredis-2.5.0incompatible
...
build(deps): bump github.com/alicebob/miniredis from 2.4.6+incompatible to 2.5.0+incompatible
2020-04-30 19:21:45 -04:00
Jimmy Zelinskie
03ac7353e0
Merge pull request #483 from jzelinskie/dependabot-ci
...
.github/workflows: only run dependabot CI on PR
2020-04-30 19:20:57 -04:00
dependabot-preview[bot]
a13acda170
build(deps): bump github.com/alicebob/miniredis
...
Bumps [github.com/alicebob/miniredis](https://github.com/alicebob/miniredis ) from 2.4.6+incompatible to 2.5.0+incompatible.
- [Release notes](https://github.com/alicebob/miniredis/releases )
- [Changelog](https://github.com/alicebob/miniredis/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alicebob/miniredis/compare/v2.4.6...v2.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-30 08:24:52 +00:00
dependabot-preview[bot]
7e16002dc0
build(deps): bump github.com/spf13/cobra from 0.0.3 to 0.0.7
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.3 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v0.0.3...0.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-30 08:24:35 +00:00
Jimmy Zelinskie
b072bb4166
.github/workflows: only run dependabot CI on PR
2020-04-29 13:13:40 -04:00
Jimmy Zelinskie
61e9d47a77
Merge pull request #477 from moistari/fix-dockerfile
...
Fixes Dockerfile
2020-04-07 11:34:08 -04:00
mohammad istari
64d471d13a
Fixes Dockerfile
...
With Go Modules, the current Dockerfile ignores the code that was COPY'd
from the Docker context (and thus always building/installing what was on
GitHub).
2020-04-06 11:17:41 +07:00
Jimmy Zelinskie
b1852c7c8e
Merge pull request #469 from jzelinskie/fix-badge
...
readme: fix broken build status badge
2020-03-11 10:17:33 -04:00
Jimmy Zelinskie
b61fe233df
Merge pull request #470 from chihaya/sponsor
...
github: init funding
2020-03-11 10:17:19 -04:00
Jimmy Zelinskie
0a725f7d44
github: init funding
...
This adds a sponsor GitHub link
2020-03-10 21:26:44 -04:00
Jimmy Zelinskie
5e0ee0bd00
workflows: execute on pull request
2020-03-10 21:25:46 -04:00
Jimmy Zelinskie
130e186006
readme: fix broken build status badge
...
The link and image source were reversed by accident.
2020-02-20 13:13:38 -05:00
Jimmy Zelinskie
2a3bb5bea0
Merge pull request #468 from jzelinskie/workflows
...
Replace TravisCI with GitHub Workflows
2020-02-20 13:09:42 -05:00
Jimmy Zelinskie
7ba4b68138
dist: remove all traces of travisci
2020-02-18 11:21:43 -05:00
Jimmy Zelinskie
0e17b1352b
.github: init workflow
2020-02-18 11:21:42 -05:00
mrd0ll4r
e6e72698b9
Merge pull request #466 from elotreum/routeparam-enhancement
...
add helper method to retrieve RouteParam by name
2020-01-22 22:28:52 +01:00
elotreum
d70d300422
add godoc explaining catch-all parameter matching for ByName
2020-01-20 11:31:45 -07:00
elotreum
e0b50f3ffa
add helper method to retrieve RouteParam by name
2020-01-19 20:35:21 -07:00
mrd0ll4r
85d646d1ad
Merge pull request #465 from elotreum/custom-routes
...
http: allow for customized routes
2020-01-18 11:40:37 +01:00
elotreum
452eb1acef
update routes in travis config files
2020-01-16 20:12:21 -07:00
elotreum
9e7323fa44
correct godoc comments to include period
2020-01-16 19:43:50 -07:00
elotreum
77a52f9f30
http: allow for customized routes
...
Update to allow arrays of routes to be passed to the http frontend.
This also supports named parameters as permitted by the
router.
To avoid external dependencies in the middleware, a RouteParam and
RouteParams type was added to the bittorrent package.
Note: this eliminates the need for "enable_legacy_php_urls", as
the the additional route could be added to the route array. However,
this may be considered a breaking change.
2020-01-14 16:35:28 -07:00
Jimmy Zelinskie
89cdaa8c6d
Merge pull request #464 from elotreum/header-fixes
...
http: explicitly set Content-Type header
2020-01-14 15:52:46 -05:00
elotreum
5082146ae9
http: explicitly set Content-Type header
...
Since Content-Type is not explicitly set, golang sniffs the responses
and attempts a guess. With announce responses, this usually means it
guesses application/octet-stream.
According to the godoc at
https://golang.org/pkg/net/http/#ResponseWriter
// If WriteHeader has not yet been called, Write calls
// WriteHeader(http.StatusOK) before writing the data. If the Header
// does not contain a Content-Type line, Write adds a Content-Type set
// to the result of passing the initial 512 bytes of written data to
// DetectContentType. Additionally, if the total size of all written
// data is under a few KB and there are no Flush calls, the
// Content-Length header is added automatically.
2020-01-14 13:31:25 -07:00
mrd0ll4r
053ce531d9
Merge pull request #461 from mrd0ll4r/travis-e2e
...
travis: add e2e tests with redis storage
2019-10-24 10:14:48 +09:00
Leo Balduf
c8c0de539c
travis: get stuff to work
2019-10-18 10:42:57 +09:00
Leo Balduf
9acf809ffb
docker: update Dockerfile for Go 1.13+
2019-10-17 15:00:16 +09:00
Leo Balduf
a9a2d37f11
docs: update redis storage docs
2019-10-17 14:59:59 +09:00
Leo Balduf
728ec0c623
readme: update readme, move example config
2019-10-17 14:59:44 +09:00
Leo Balduf
ae431e1361
travis: refactor into scripts&configs, move to dist/travis
2019-10-17 14:58:24 +09:00
Leo Balduf
ddeb44b527
travis: add e2e tests with redis storage
2019-10-17 13:02:24 +09:00
mrd0ll4r
0a420fe053
Merge pull request #458 from mrd0ll4r/update-travis
...
travis: update to go 1.13
2019-10-17 13:01:49 +09:00
Leo Balduf
797d0cb6e2
travis: try to go get the latest dependencies
2019-10-17 12:51:53 +09:00
Leo Balduf
0936bd3f9a
cmd/chihaya: fix imports for updated goimports
2019-10-17 12:51:53 +09:00
Leo Balduf
f4d34b54e5
travis: update to go 1.13
2019-10-17 12:51:53 +09:00
mrd0ll4r
4d58b4bce6
Merge pull request #459 from mrd0ll4r/frontend-defaults
...
Frontend defaults
2019-10-17 12:45:42 +09:00
Leo Balduf
87c72bc516
config: update example config
2019-10-17 12:38:08 +09:00
Leo Balduf
cb88a11d6a
frontend: add defaults for parser options
2019-10-12 12:52:16 +09:00
mrd0ll4r
eed141dbe4
Merge pull request #454 from onestraw/rmdoc
...
docs: remove memorybysubnet
Fixes #452
2019-02-19 10:28:43 +03:00