Commit graph

1023 commits

Author SHA1 Message Date
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
Jimmy Zelinskie
91c1649614 Merge pull request #116 from mrd0ll4r/exampleconfig
example config: fixed wrong data type for reapRatio
2015-10-30 15:21:32 -04:00
Leo Balduf
f7628e3a1d example config: fixed wrong data type for reapRatio 2015-10-30 20:17:10 +01:00
Jimmy Zelinskie
c03fdedb9a Merge pull request #115 from chihaya/udpWG
add waitgroup to udp server
2015-10-29 15:50:07 -04:00
Jimmy Zelinskie
39b1990798 add waitgroup to udp server 2015-10-29 15:14:35 -04:00
Jimmy Zelinskie
c0ba9b7d38 Merge pull request #114 from mrd0ll4r/udpsync
udp: replace boolean-synchronization with channels
2015-10-29 15:12:23 -04:00
Jimmy Zelinskie
b303f0e9f2 default to "localhost:port" and not "":port
Windows doesn't handle empty addresses the way unix-like OSs do.
2015-10-28 16:33:01 -04:00
Jimmy Zelinskie
7730cd9a16 fix closure starting all servers 2015-10-28 16:28:09 -04:00
Leo Balduf
bd546f6eba udp: replace boolean-synchronization with channels 2015-10-28 21:09:52 +01:00
Jimmy Zelinskie
386e0d2abc Merge pull request #112 from mrd0ll4r/slicebounds
tracker: update reslicing to use implicit slice bounds
2015-10-28 15:05:06 -04:00
Leo Balduf
b12867dcf2 tracker: update reslicing to use implicit slice bounds 2015-10-28 19:56:04 +01:00