Commit graph

583 commits

Author SHA1 Message Date
Jimmy Zelinskie
1874584eae Merge pull request #136 from mrd0ll4r/middleware-config
middleware: made middleware configurable
2016-03-23 12:09:07 -04:00
Leo Balduf
2974519e5c middleware: made middleware configurable 2016-03-16 18:20:59 +01:00
Jimmy Zelinskie
05a34c6059 Merge pull request #138 from mrd0ll4r/config-normalize
Config normalize
2016-03-11 17:12:10 -05:00
Leo Balduf
eca7d9ee72 store/server: normalized error messages/formatting 2016-03-11 21:22:03 +01:00
Leo Balduf
1ba0f92ceb store: normalized config 2016-03-11 21:21:31 +01:00
Jimmy Zelinskie
59517551e9 server/prom: get rid of unneeded graceful call 2016-03-05 11:12:54 -05:00
Jimmy Zelinskie
dfcc04b38b readme: basic getting started
[skip ci]
2016-03-05 11:09:35 -05:00
Jimmy Zelinskie
bd720b692c Merge pull request #134 from mrd0ll4r/middleware-refactor
store: added StringStore
2016-03-03 15:03:22 -05:00
Leo Balduf
2a8eb9c719 store: added StringStore 2016-03-03 20:40:14 +01:00
Jimmy Zelinskie
33d6b1cd12 implement prometheus server 2016-03-02 21:05:33 -05:00
Jimmy Zelinskie
0dfc26caea remove config package 2016-03-02 21:05:33 -05:00
Jimmy Zelinskie
47f85ec961 readme: add coveralls badge 2016-03-02 21:05:33 -05:00
Jimmy Zelinskie
8acdb3c74f add coverage to travis 2016-03-02 21:05:33 -05:00
Leo Balduf
730de81b9f cmd/chihaya: added useful dependencies 2016-03-02 21:05:33 -05:00
Leo Balduf
114322ce10 pool: fixed synchronization/stopping of the pool 2016-03-02 21:05:33 -05:00
Leo Balduf
34428cf465 config: fixed parsing of configs 2016-03-02 21:05:32 -05:00
Leo Balduf
919f97e4bf doc: fixed IP blacklist/whitelist middleware documentation capitalization/snake_caseation 2016-03-02 21:05:32 -05:00
Leo Balduf
fdb399be9f middleware: added client blacklist/whitelist middlewares 2016-03-02 21:05:32 -05:00
Leo Balduf
a64e655376 store: ClientStore now using chihaya.PeerID 2016-03-02 21:05:32 -05:00
Jimmy Zelinskie
7be6dcaaa3 http: update config to snake_case 2016-03-02 21:05:32 -05:00
Jimmy Zelinskie
82b4395b11 errors: remove errors package 2016-03-02 21:05:32 -05:00
Jimmy Zelinskie
50e5ff85af config.yaml: camelCase to snake_case 2016-03-02 21:05:32 -05:00
Jimmy Zelinskie
6327938545 memory: fix paren bug 2016-03-02 21:05:32 -05:00
Jimmy Zelinskie
2771faf9fe readme: initial 2016-03-02 21:05:32 -05:00
Jimmy Zelinskie
0f3f0ed6fc CONTRIBUTORS: add authors 2016-03-02 21:05:31 -05:00
Jimmy Zelinskie
7fc62fd18b add travis.yml 2016-03-02 21:05:31 -05:00
Leo Balduf
50192d45c1 middleware: added IP blacklist/whitelist middlewares 2016-03-02 21:05:31 -05:00
Leo Balduf
0b250779b3 general: added Leo Balduf to the CONTRIBUTORS file 2016-03-02 21:05:31 -05:00
Leo Balduf
1a4ecb133f store: now opening stores 2016-03-02 21:05:31 -05:00
Leo Balduf
1dab3978fb store: added IPStore and memory implementation 2016-03-02 21:05:31 -05:00
Leo Balduf
3b54069a1b various small fixes 2016-03-02 21:05:31 -05:00
Justin Li
b1f186b665 Set IP on the request object 2016-03-02 21:05:31 -05:00
Justin Li
75b4a20e56 Bring in more old behaviour, use types for peer_id and infohash 2016-03-02 21:05:31 -05:00
Justin Li
05b7b955a1 Address minor comments 2016-03-02 21:05:30 -05:00
Jimmy Zelinskie
bd33c0c66b initial middleware refactor 2016-03-02 21:05:30 -05:00
Jimmy Zelinskie
5c27c960f0 clean the slate! 2016-03-02 21:05:30 -05:00
Jimmy Zelinskie
e37f453b34 Merge pull request #129 from chihaya/jwt
add support for jwt validation of infohashes
2016-02-25 14:37:57 -05:00
Jimmy Zelinskie
5af24b728a remove last use of "&*"
This no longer works as a terse way of copying heap allocated objects.

Fixes #93.
2016-01-21 11:37:37 -05:00
Jimmy Zelinskie
29c206611e replace time.NewTicker().C with time.After
They are synonymous and time.After is much easier to read.
2016-01-13 16:14:54 -05:00
Jimmy Zelinskie
9825a69ac7 dockerfile: change entrypoint to allow args 2016-01-13 16:14:54 -05:00
Jimmy Zelinskie
cb161daca1 dockerfile: add port range and log level 2016-01-13 16:14:54 -05:00
Jimmy Zelinskie
e2c40652ad update godeps with jwt dependencies 2016-01-13 16:14:54 -05:00
Jimmy Zelinskie
82459297a4 add support for jwt validation of infohashes 2016-01-13 16:14:54 -05:00
Justin Li
4d018d5081 Merge pull request #128 from chihaya/rmprivate
remove all private tracker logic
2016-01-04 22:12:56 -05:00
Jimmy Zelinskie
9862a57b73 remove all private tracker logic
There are no consumers of any of this logic nor is it complete. We're
better off without it in the meantime until we have a use case and a
more cohesive model for expressing it.
2016-01-04 18:26:29 -05:00
Jimmy Zelinskie
f70be94911 explicitly copy values out of Storage
The previously implementation was using `&*` which is now getting
optimized by the Go compiler and no longer making a copy.
2016-01-04 16:31:24 -05:00
Leo Balduf
35ced4ab80 documentation: fixed JSON capitalization in CONFIGURATION.md, added missing keys 2015-11-01 20:05:40 +01:00
Jimmy Zelinskie
85e08f986e small doc fixes
[skip ci]
2015-10-31 16:56:59 -04:00
Jimmy Zelinskie
522e874336 Merge pull request #117 from mrd0ll4r/udpsync
udp: have the IV-generating goroutine in the waitgroup
2015-10-30 15:36:31 -04:00
Leo Balduf
8e13f8fbe3 udp: have the IV-generating goroutine in the waitgroup 2015-10-30 20:29:38 +01:00