Commit graph

812 commits

Author SHA1 Message Date
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
Jimmy Zelinskie
29dc5f5fb3 Merge pull request #111 from mrd0ll4r/backendparams
backend: remove unused parameter from LoadAllUsers()
2015-10-28 14:20:49 -04:00
Leo Balduf
5e7c8a1b27 backend: remove unused parameter from LoadAllUsers() 2015-10-28 19:08:11 +01:00
Jimmy Zelinskie
9e52ac537c Merge pull request #110 from mrd0ll4r/protoconstfields
udp: make the options constant
2015-10-26 17:01:27 -04:00
Leo Balduf
7e1214cf12 udp: make the options constant 2015-10-26 21:22:54 +01:00
Jimmy Zelinskie
6fe1ddf1bc Merge pull request #105 from chihaya/normljson
normalize all JSON to camelCase
2015-10-25 17:59:17 -04:00
Jimmy Zelinskie
133450944c normalize all JSON to camelCase
Fixes #104.
2015-10-25 17:25:02 -04:00
Jimmy Zelinskie
7ae23bb2c6 inline interface definition to avoid confusion 2015-10-25 16:31:56 -04:00
Jimmy Zelinskie
b6929a7632 remove unused Server type 2015-10-25 16:31:46 -04:00
Jimmy Zelinskie
5c900a210f Merge pull request #92 from chihaya/sizefix
decrement storage size when purging torrents
2015-10-25 15:39:05 -04:00
Jimmy Zelinskie
3532f39690 decrement storage size when purging torrents
Fixes #96.
2015-10-25 15:31:29 -04:00
Jimmy Zelinskie
18e1599759 refresh readme to include docker 2015-10-25 15:31:24 -04:00