dependabot-preview[bot]
e6339590f0
build(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.7.1 to 1.9.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.7.1...v1.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-30 23:18:19 +00:00
dependabot-preview[bot]
99aeb7cebe
Merge pull request #504 from chihaya/dependabot/go_modules/github.com/spf13/cobra-1.1.1
2020-12-30 23:09:18 +00:00
dependabot-preview[bot]
bc7b3bc738
build(deps): bump github.com/spf13/cobra from 1.0.0 to 1.1.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.0.0 to 1.1.1.
- [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/v1.0.0...v1.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-30 23:05:19 +00:00
Jimmy Zelinskie
3a76f09ea9
Merge pull request #507 from jzelinskie/fix-actions
...
github: migrate to setup-go v2 action
2020-12-30 17:56:43 -05:00
Jimmy Zelinskie
fad3541bd9
github: migrate to setup-go v2 action
2020-12-30 17:53:51 -05:00
Jimmy Zelinskie
ff0fe9e28d
Merge pull request #503 from chihaya/dependabot/go_modules/github.com/anacrolix/torrent-1.18.1
...
build(deps): bump github.com/anacrolix/torrent from 1.16.0 to 1.18.1
2020-12-30 15:46:10 -05:00
dependabot-preview[bot]
06eaf570ca
build(deps): bump github.com/anacrolix/torrent from 1.16.0 to 1.18.1
...
Bumps [github.com/anacrolix/torrent](https://github.com/anacrolix/torrent ) from 1.16.0 to 1.18.1.
- [Release notes](https://github.com/anacrolix/torrent/releases )
- [Commits](https://github.com/anacrolix/torrent/compare/v1.16.0...v1.18.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-01 06:14:39 +00:00
Jimmy Zelinskie
24c72cdacc
Merge pull request #502 from chihaya/dependabot/go_modules/github.com/anacrolix/torrent-1.16.0
...
build(deps): bump github.com/anacrolix/torrent from 1.15.2 to 1.16.0
2020-10-05 13:04:13 -04:00
dependabot-preview[bot]
bd24c5b3fc
build(deps): bump github.com/anacrolix/torrent from 1.15.2 to 1.16.0
...
Bumps [github.com/anacrolix/torrent](https://github.com/anacrolix/torrent ) from 1.15.2 to 1.16.0.
- [Release notes](https://github.com/anacrolix/torrent/releases )
- [Commits](https://github.com/anacrolix/torrent/compare/v1.15.2...v1.16.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-01 16:33:02 +00:00
Jimmy Zelinskie
4dbba4862c
Merge pull request #501 from chihaya/dependabot/go_modules/github.com/sirupsen/logrus-1.7.0
...
build(deps): bump github.com/sirupsen/logrus from 1.6.0 to 1.7.0
2020-10-01 12:25:28 -04:00
dependabot-preview[bot]
b6aa407213
build(deps): bump github.com/sirupsen/logrus from 1.6.0 to 1.7.0
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.6.0 to 1.7.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.6.0...v1.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-01 07:38:32 +00:00
Jimmy Zelinskie
326832e479
Merge pull request #497 from chihaya/dependabot/go_modules/github.com/prometheus/client_golang-1.7.1
...
build(deps): bump github.com/prometheus/client_golang from 1.6.0 to 1.7.1
2020-07-01 12:58:00 -04:00
Jimmy Zelinskie
f1713d6524
Merge pull request #496 from chihaya/dependabot/go_modules/github.com/stretchr/testify-1.6.1
...
build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1
2020-07-01 12:57:35 -04:00
dependabot-preview[bot]
a9f094749d
build(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.6.0 to 1.7.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.6.0...v1.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 09:36:00 +00:00
dependabot-preview[bot]
f7e8116f33
build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 09:35:19 +00:00
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