Leo Balduf
6440f91a8e
middleware: added deniability
2016-04-02 17:19:33 -04:00
Leo Balduf
986aa41d65
pkg: added random string, peer
2016-04-02 17:19:29 -04:00
Jimmy Zelinskie
f0a5d78036
Merge pull request #147 from joshdekock/middleware-refactor-peer-seed-leech-info
...
Add peer/seed info helper functions, and tests
2016-04-02 17:06:45 -04:00
Josh de Kock
a9d3c2e071
store/peer_store: Add tests & functions for getting info about peers
...
This commit adds four functions: GetSeeders, GetLeechers,
NumSeeders, and NumLeechers to the store/peer_store API. The
first two functions are for getting a list of all the
seeders/leechers by an info hash, the latter two are helper
functions which use the Get functions, combine the ipv4, and
ipv4, and then len() them. It also adds some minimal tests for
memory/peer_store.
2016-04-02 21:49:08 +01:00
Josh de Kock
36e533ba02
chihaya: Add Equal function for Peer & add tests
2016-04-01 13:21:19 +01:00
Jimmy Zelinskie
e9c481e500
Merge pull request #143 from joshdekock/middleware-refactor-request-fix
...
http: stopped throwing error on invalid event
2016-03-31 10:11:19 -04:00
Josh de Kock
816e3aa3de
CONTRIBUTORS: add myself to the contributors list
2016-03-31 02:30:34 +01:00
Jimmy Zelinskie
e2da9cdc3e
Merge pull request #146 from mrd0ll4r/client-mw-smallfix
...
middleware: fixed client middleware package
2016-03-30 16:07:51 -04:00
Leo Balduf
3a1b321528
middleware: fixed client middleware package
2016-03-30 15:29:04 -04:00
Josh de Kock
01abcad893
http/request: check if query.ErrKeyNotFound for event
2016-03-30 12:50:54 +01:00
Jimmy Zelinskie
a14d108202
readme: add CONTRIBUTING.md
2016-03-30 01:21:53 -04:00
Jimmy Zelinskie
6461e28b0f
readme: clean up usecase wording
2016-03-30 00:45:59 -04:00
Jimmy Zelinskie
ce49b2e35e
Merge branch 'middleware-refactor' of github.com:chihaya/chihaya into middleware-refactor
2016-03-30 00:39:10 -04:00
Jimmy Zelinskie
3cf868ce56
README: add prod use cases
2016-03-30 00:38:57 -04:00
Jimmy Zelinskie
b00a46f970
Merge pull request #144 from jzelinskie/fix-coveralls
...
travis: remove coveralls
2016-03-30 00:24:49 -04:00
Jimmy Zelinskie
b61aa4ffd8
travis: remove coveralls
...
At the moment, this is just too much of a hack getting coverage for all
packages.
2016-03-30 00:20:51 -04:00
Josh de Kock
978c6a36e7
http: stopped throwing error on invalid event
...
Event is an optional key, and if it's invalid or non-existent then it can just be assumed as 'none'
2016-03-29 23:18:58 +01:00
Jimmy Zelinskie
0652aefcb5
Merge pull request #139 from mrd0ll4r/middleware-config-smallfix
...
tracker: added a way for middleware constructors to fail
2016-03-24 12:15:49 -04:00
Leo Balduf
230e0573c0
tracker: added a way for middleware constructors to fail
2016-03-24 15:29:57 +01:00
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