Commit graph

110 commits

Author SHA1 Message Date
Jimmy Zelinskie
caba155b5d consistent logging 2014-06-26 17:10:39 -04:00
Jimmy Zelinskie
8775764fb6 deltas are now private only 2014-06-26 14:26:58 -04:00
Jimmy Zelinskie
42693e2a3b docs, signatures; glog for main; config.New() 2014-06-24 03:59:30 -04:00
Jimmy Zelinskie
3bfb3074b4 overhaul everything 2014-06-23 22:47:43 -04:00
Jimmy Zelinskie
cb99fce6c0 server.Prime and server.serveAnnounce test 2014-05-08 11:01:02 -04:00
Jimmy Zelinskie
58586e6718 fix accidental reorder 2014-05-08 06:49:16 -04:00
Jimmy Zelinskie
cf95b2d94b improve comments and logging 2014-05-08 06:48:32 -04:00
Jimmy Zelinskie
0fd90b86d3 announce.go; fmt nitpicks 2014-05-08 01:09:02 -04:00
Jimmy Zelinskie
7a05ab6d64 *_handler.go -> serve_*.go 2014-05-07 05:27:09 -04:00
Jimmy Zelinskie
4a8d756f5a announce type; renames; docs 2014-05-07 05:19:36 -04:00
Jimmy Zelinskie
b32eaebcd6 first pass with linter 2014-05-01 00:30:46 -04:00
Jimmy Zelinskie
f0bed27b6d Server.BackendCon renamed Server.BackendConn 2014-04-20 02:25:21 -04:00
Jimmy Zelinskie
e80b17b2ad initial delta support 2014-02-22 23:47:11 -05:00
Justin Li
e8e692cbf6 Clean up tests a little 2013-12-13 11:48:47 -05:00
Justin Li
140a738162 Fix edge cases for peer ID parsing
Fixes #27
2013-12-13 11:19:22 -05:00
Justin Li
181f241f79 Fix returning more than the requested number of peers, and don't return
a user's peers to themselves
2013-12-05 20:38:13 -05:00
Justin Li
4406eab97a Refactor determining the remote IP 2013-12-05 20:38:13 -05:00
Jimmy Zelinskie
2b7d5b5bf0 simplify routing, rm addremove.go
will implement a full rest API later
2013-12-05 20:24:54 -05:00
Jimmy Zelinskie
76f03e209f rm driver deps 2013-12-02 05:00:28 -05:00
Justin Li
986675cc4d Fix stats test and stop spamming people 2013-11-30 23:13:30 -05:00
Justin Li
a735fed7d9 Use mock driver for stats test 2013-11-30 23:08:31 -05:00
Justin Li
93af4912c4 Move packages to chihaya org 2013-11-30 22:39:02 -05:00
Jimmy Zelinskie
6549f49e26 go fmt [ci skip] 2013-11-24 00:49:20 -05:00
Jimmy Zelinskie
9382ac482e removed all references to "transaction" 2013-11-23 23:48:38 -05:00
Jimmy Zelinskie
31e618c8d9 Global r.Close = true 2013-11-23 18:33:35 -05:00
Jimmy Zelinskie
86f8199bef Fix Content-Type Header not improperly being set for stats 2013-11-23 18:04:23 -05:00
cpb8010
493d40da3d Added ParseQuery tests and benchmarks 2013-11-09 03:43:37 -05:00
cpb8010
a65755a79b Parsing peer_id before whitelist check 2013-11-05 00:31:20 -05:00
Jimmy Zelinskie
2c7fc05c97 removed waitgroup/pubchannel; added stoppablelistener 2013-10-22 19:07:39 -04:00
Jimmy Zelinskie
d30c35f1d7 web package renamed backend 2013-10-21 03:29:35 -04:00
Jimmy Zelinskie
2cd7f0d22f package shuffling: models -> storage, old storage -> web 2013-10-04 04:19:43 -04:00
Jimmy Zelinskie
cf53f9554c initial storage reorganization 2013-10-03 22:10:46 -04:00
cpb8010
1ea24f80dc Completed cache.Tx tests and added benchmarks 2013-09-22 21:23:37 -04:00
cpb8010
3caa06b5f6 Updated tests, added LeecherFinished to cache.Tx 2013-09-22 21:23:37 -04:00
cpb8010
42f9427c01 Changed peer schema and added additional tests 2013-09-22 21:23:37 -04:00
Jimmy Zelinskie
a2527aa4e2 generic test config 2013-08-29 00:47:37 -04:00
Jimmy Zelinskie
6e7d6f1a31 fix travis tests 2013-08-29 00:24:31 -04:00
Jimmy Zelinskie
ecbedf4b89 stats test, add/remove torrent handlers, init batter driver 2013-08-28 23:44:45 -04:00
Jimmy Zelinskie
107ec1dd15 more work towards new architecture 2013-08-26 14:38:45 -04:00
Jimmy Zelinskie
d3f3c81c61 initial architecture overhaul 2013-08-23 15:39:42 -04:00
Justin Li
b88c4d4de1 Refactor a few more method names 2013-08-13 02:38:03 -04:00
Justin Li
5084a2ac94 Clean up Tx API 2013-08-13 02:06:15 -04:00
Jimmy Zelinskie
dcc2621ec3 initial work on publish 2013-08-04 23:01:25 -04:00
Jimmy Zelinskie
a6d04f6790 initial announce response 2013-08-04 15:56:31 -04:00
Jimmy Zelinskie
40505091f5 storage reorganized around a pool and transactions 2013-07-25 10:03:04 -04:00
Jimmy Zelinskie
94187e4261 initial work on redis scripts 2013-07-24 03:08:38 -04:00
Jimmy Zelinskie
2cd3473d18 redis restructured to use strings of JSON 2013-07-24 00:18:43 -04:00
Jimmy Zelinskie
f7906b9089 tx.SetLeecher/Seeder added 2013-07-23 21:23:43 -04:00
Jimmy Zelinskie
db6d8707df switch on event; scaffolding for redis driver 2013-07-21 20:15:48 -04:00
Jimmy Zelinskie
dae48d0c3b re-ordering; logic fix in validateAnnounceQuery 2013-07-19 23:00:33 -04:00
Jimmy Zelinskie
fc39a4aed3 removed announceQuery 2013-07-19 18:59:07 -04:00
Jimmy Zelinskie
4d4a979864 announce handler progress 2013-07-12 00:36:24 -04:00
Jimmy Zelinskie
5cb4e2fabb Storage API matured, docs, tests & more 2013-07-05 06:50:52 -04:00
Jimmy Zelinskie
279c78192f transactions, connpools, misc 2013-07-03 18:24:03 -04:00
Jimmy Zelinskie
56132e3d64 initial redis work, storage.Storage->storage.Conn,
among other new options in the config file for storage timeouts
2013-06-24 14:18:32 -04:00
Jimmy Zelinskie
e24c5cacc3 package descriptions, unused imports, etc... 2013-06-23 22:34:13 -04:00
Jimmy Zelinskie
51acd12101 clean-up before bed 2013-06-23 06:21:59 -04:00
Jimmy Zelinskie
ccc8897ca8 scrape+stats foundation; restructuring 2013-06-23 03:56:28 -04:00
Jimmy Zelinskie
1bc42063ab copyright updated; imports renamed; misc fixes 2013-06-21 21:43:11 -04:00
Jimmy Zelinskie
eee2810da6 initial 2013-06-21 19:31:32 -04:00