Commit graph

1036 commits

Author SHA1 Message Date
mrd0ll4r
a8bc51ba1d
Merge pull request #382 from mrd0ll4r/ekop
travis: add chihaya e2e testing
2018-02-04 23:35:34 +01:00
Leo Balduf
7022b541bc dep: add dependencies for e2e testing 2018-02-04 12:38:12 +01:00
Jimmy Zelinskie
40f6456138
Merge pull request #381 from jzelinskie/subtests
*: add subtests for all table driven tests
2018-02-03 13:19:28 -05:00
Jimmy Zelinskie
811fe001ac bittorrent: pretty print nil for subtest naming 2018-02-02 17:13:13 -05:00
Leo Balduf
65704f47e1 travis: add chihaya-e2e 2018-01-21 18:43:28 +01:00
Leo Balduf
1a39a495d7 cmd/chihaya-e2e: add chihaya-e2e 2018-01-21 18:35:02 +01:00
Jimmy Zelinskie
a5b15d69ad
Merge pull request #376 from jzelinskie/register-mw
Add registrable middleware
2018-01-01 18:34:20 -05:00
Jimmy Zelinskie
6bef53658b
Merge pull request #380 from jzelinskie/rmglide
*: remove glide from README & Dockerfile
2017-12-31 15:47:42 -05:00
Jimmy Zelinskie
2004489016 *: add subtests for all table driven tests
Because we use testify, this is less useful than normal, but this is
still best practice for table-driven tests.
2017-12-29 17:44:45 -05:00
Jimmy Zelinskie
120c4615c1 travis: remove 'grep -v vendor' from go list
In recent versions of Go, you no longer need to manually remove the
vendor directory from commands like `go list`.
2017-12-29 17:14:55 -05:00
Jimmy Zelinskie
e9d1e71276 *: remove glide from README & Dockerfile 2017-12-29 17:12:17 -05:00
Jimmy Zelinskie
7dbbc86380 middleware: add a registration model 2017-12-29 16:55:48 -05:00
Jimmy Zelinskie
2bead6b7b4 cmd/chihaya: pull out pre and post funcs 2017-12-29 16:55:48 -05:00
Jimmy Zelinskie
5840cd3de1
Merge pull request #377 from jzelinskie/dep
vendor: migrate from glide to dep
2017-12-29 16:42:41 -05:00
Jimmy Zelinskie
d38a7017d1 travis: build with HEAD and vendored deps
Builds failing on HEAD do not fail CI/CD. Instead, this should be used
as a canary for breaking changes upstream.
2017-12-29 16:40:29 -05:00
Jimmy Zelinskie
f69159362a vendor: migrate from glide to dep 2017-12-29 16:40:29 -05:00
Davor Kapsa
24be4ece73 travis: update go version (#378)
* travis: update go version

* travis: remove go key

* travis: add 1.9.x go version
2017-12-26 14:23:24 -05:00
mrd0ll4r
8f472ad52c
Merge pull request #372 from mrd0ll4r/build-win
cmd/chihaya: make things work on windows
2017-12-24 13:28:29 +01:00
Jimmy Zelinskie
ff269b0f44
Merge pull request #374 from ilyaglow/docker-multistage
Improve Dockerfile
2017-12-20 10:05:31 -05:00
Ilya Glotov
b100583d7d
Set runtime image base on alpine 2017-12-20 14:51:11 +03:00
mrd0ll4r
22c42f9ec3
Merge pull request #305 from mrd0ll4r/doc-frontend
docs: add frontend documentation
2017-12-20 11:56:23 +01:00
Ilya Glotov
39e3b5ae5c
Remove GOOS environment variable 2017-12-12 15:34:58 +03:00
Ilya Glotov
ae7a13db21
Add docker improvements
* Add multistaged build effectively reducing image size
* Change deprecated MAINTAINER to LABEL
* Change ADD to COPY
* Start container as a non-root user
2017-12-12 15:03:53 +03:00
mrd0ll4r
d28c6717b1
Merge pull request #371 from mrd0ll4r/min-interval
middleware, config: re-add support for min interval
2017-12-07 19:44:19 +01:00
mrd0ll4r
15bd5c41f3
Merge pull request #368 from mrd0ll4r/udp-connect-af
udp: set address family for connect metrics
2017-12-07 19:10:30 +01:00
Leo Balduf
fa6e360da4 udp: set address family for connect metrics 2017-12-06 23:00:36 +01:00
mrd0ll4r
df34304ab4
Merge pull request #370 from mrd0ll4r/hook-stopper
middleware: document stop.Stopper behaviour for Hooks
2017-12-06 21:13:40 +01:00
mrd0ll4r
dde5cd1586
Merge pull request #369 from mrd0ll4r/storage-doc
storage: document PeerStore in more  detail
2017-12-06 21:12:59 +01:00
mrd0ll4r
34a6425fd5
Merge pull request #373 from mrd0ll4r/php-announces
http: add option for legacy PHP URLs
2017-12-06 15:16:33 +01:00
Leo Balduf
6e3470aa7e docs: add frontend documentation 2017-12-05 11:19:33 +01:00
Leo Balduf
2f58e98832 http: add option for legacy PHP URLs 2017-12-05 10:41:43 +01:00
Leo Balduf
35d146f675 cmd/chihaya: make things work on windows 2017-12-05 10:14:12 +01:00
Leo Balduf
ef166a6159 middleware, config: re-add support for min interval 2017-12-02 22:56:35 +01:00
Leo Balduf
756a0f6316 middleware: document stop.Stopper behaviour for Hooks 2017-12-02 22:46:09 +01:00
Leo Balduf
6198491194 storage: document PeerStore in more detail 2017-12-02 22:41:56 +01:00
Jimmy Zelinskie
395e59aef3
Merge pull request #366 from chihaya/tokei-badge
readme: add LoC badge
2017-11-28 19:32:42 -05:00
Jimmy Zelinskie
e505250b06
readme: add LoC badge 2017-11-28 16:59:57 -05:00
Jimmy Zelinskie
80558648d7 Merge pull request #363 from jzelinskie/req-san
Request Sanitizer via library
2017-10-18 12:45:25 -04:00
Jimmy Zelinskie
df0de94337 frontend/http: bandwidth are in bytes not pieces 2017-10-18 11:51:19 -04:00
Jimmy Zelinskie
1a0b5c56a6 frontend/http: disambiguate NumWantProvided 2017-10-17 22:06:03 -04:00
Jimmy Zelinskie
ca823e0e5f frontend: update to use non-object sanization 2017-10-17 22:02:45 -04:00
Jimmy Zelinskie
66e12c6684 bittorrent: add String() and LogFields() 2017-10-17 22:02:06 -04:00
mrd0ll4r
e7b8264e50 Merge pull request #361 from mrd0ll4r/timecache
Timecache: cache time
2017-10-15 21:47:05 +02:00
Leo Balduf
6dfdb7e192 udp: clean up connection ID generation 2017-10-15 20:05:39 +02:00
Leo Balduf
89bc479a3b *: make use of timecache 2017-10-15 20:05:39 +02:00
Leo Balduf
55b57549a6 pkg/timecache: implement a time cache 2017-10-15 20:05:35 +02:00
Jimmy Zelinskie
ce43a09956 *: add sanitization example config 2017-10-08 18:02:34 -04:00
Jimmy Zelinskie
134744a484 middleware: remove sanitization mw 2017-10-08 18:02:34 -04:00
Jimmy Zelinskie
47b5e67345 frontend/udp: add request sanitization 2017-10-08 18:02:34 -04:00
Jimmy Zelinskie
6dee48ce17 frontend/http: add request sanitization 2017-10-08 18:02:33 -04:00