Commit graph

1075 commits

Author SHA1 Message Date
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
Jimmy Zelinskie
b7e6719129 bittorrent: add initial request sanitizer 2017-10-08 18:02:33 -04:00
mrd0ll4r
b314b5003a Merge pull request #362 from mrd0ll4r/default-timeout
http: add default ReadTimeout, WriteTimeout
2017-10-03 13:01:53 +02:00
Leo Balduf
7d9166e003 http: add default ReadTimeout, WriteTimeout 2017-09-30 14:26:02 +02:00
mrd0ll4r
8300621799 Merge pull request #358 from mrd0ll4r/clean-logging
cmd/chihaya: clean up logging
2017-09-20 17:17:48 +02:00
Leo Balduf
79750ef983 cmd/chihaya: clean up logging 2017-09-19 21:27:52 +02:00
mrd0ll4r
b9773473e4 Merge pull request #356 from mrd0ll4r/stop-tests
storage: stop peer store after tests
2017-09-13 15:29:55 +02:00
Leo Balduf
b5dda16706 storage: stop peer store after tests 2017-09-13 03:47:19 +02:00
mrd0ll4r
2a4c82f613 Merge pull request #355 from mrd0ll4r/issue349
cmd/chihaya: log which config is in  use
2017-09-03 20:55:37 +02:00
mrd0ll4r
464d37b2a7 Merge pull request #354 from mrd0ll4r/fix-debug
pkg/log: fix debug logging
2017-09-03 20:55:26 +02:00
Leo Balduf
c7b052dbb2 cmd/chihaya: log which storage is in use 2017-09-03 19:51:29 +02:00
Leo Balduf
13857d5bce pkg/log: fix debug logging 2017-09-03 11:37:17 +02:00