Commit graph

1126 commits

Author SHA1 Message Date
Leo Balduf
87c72bc516 config: update example config 2019-10-17 12:38:08 +09:00
Leo Balduf
cb88a11d6a frontend: add defaults for parser options 2019-10-12 12:52:16 +09:00
mrd0ll4r
eed141dbe4
Merge pull request #454 from onestraw/rmdoc
docs: remove memorybysubnet
Fixes #452
2019-02-19 10:28:43 +03:00
onestraw
acdce7fea9 docs: remove memorybysubnet #452
Change-Id: I6907910e5752e0e0bd47c80f331e76210bbc744e
2019-02-19 14:57:15 +08:00
Jimmy Zelinskie
3889888f8a
Merge pull request #451 from jzelinskie/remove-endorsements
readme: remove endorsements
2019-02-14 17:44:37 -05:00
Jimmy Zelinskie
7b64e92ee9 readme: remove endorsements
We never got format approval for anything here, so I think we'd all feel
more comfortable not including it.
2019-02-14 15:04:33 -05:00
Jimmy Zelinskie
a48ab487e2
Merge pull request #450 from cooperlees/master
Remove Facebook from README.md
2019-02-14 15:03:34 -05:00
Cooper Ry Lees
d7cfcacbff Remove Facebook from README.md
- We no longer use the code that is on HEAD
- We should not incorrectly state that we do and mislead the general public
2019-02-14 09:25:13 -08:00
Jimmy Zelinskie
68b8edfdd5
Merge pull request #449 from jzelinskie/rm-memorybysubnet
storage: remove memorybysubnet
2019-02-14 11:10:11 -05:00
Jimmy Zelinskie
3e334b9536 storage: remove memorybysubnet
This code, while interesting, was only relevant to Facebook and they use
their own fork that they maintain. There was not enough outside
interest to warrant maintaining. I'd rather us use the effort to support
a redis storage backend instead.
2019-02-13 19:44:04 -05:00
Jimmy Zelinskie
94696c062e
Merge pull request #406 from chihaya/readme-refresh
readme refresh & add doc for architecture
2019-02-13 17:09:28 -05:00
Jimmy Zelinskie
a6df644597
Merge pull request #448 from jzelinskie/go-modules
vendor: move to Go modules for dependencies
2019-02-13 17:08:55 -05:00
Jimmy Zelinskie
6e362c184c docs: refactor architecture into its own doc 2019-02-13 10:53:26 -05:00
Jimmy Zelinskie
dc753b937c vendor: move to Go modules for dependencies
Fixes #444.
2019-02-12 20:36:25 -05:00
Jimmy Zelinskie
7df0145118 readme: refresh info, add graphviz architecture 2019-02-12 19:29:55 -05:00
Jimmy Zelinskie
ad1eee4eb7
Merge pull request #433 from onestraw/redis
Redis Storage
2019-02-12 17:20:19 -05:00
onestraw
36e0204a8f Clarification of Redis storage HA
Change-Id: I6674421d3afdbfab6acd97851cb062341b88a90e
2019-02-01 11:14:51 +08:00
onestraw
e83f68b952 storage/redis: add exiting info
Change-Id: I7876bf420a35b48314d14925f5f2ae591fa2d243
2019-01-28 15:18:21 +08:00
onestraw
7943288678 Add storage redis configuration example
Change-Id: I908c69d50fab0963f508f3688ec5934a25aa0550
2019-01-22 19:36:27 +08:00
onestraw
9d22b67f74 storage/redis: use redis reply
Change-Id: If6e6c2545b12c249413d3d13ea41e127b8d1d9b0
2019-01-21 19:44:33 +08:00
onestraw
fa19ffd050 add @mrd0ll4r 's comments
Change-Id: I53616703394f889fa2d0a4e952ac857d99c85218
2019-01-20 17:02:05 +08:00
onestraw
f2ab706f10 fix hlen/hdel race condition
Change-Id: Ib82e6e9f0c66d2df80d68fd00e0c6ec6b46a037b
2019-01-16 19:09:39 +08:00
mrd0ll4r
5f99a7e778
Merge pull request #442 from cenkalti/split-http
split listen&serve for http
2019-01-13 20:07:11 +03:00
onestraw
9a5fac67ed dep ensure udpate
Change-Id: Icb2627d7e6e8fb916b481ed9d9a47daa40330698
2019-01-04 13:58:20 +08:00
onestraw
d65ab677e7 storage/redis: refactor redis storage
- Based on @duyanghao's PR
  - Make staticcheck pass
  - Address review commentsq
2019-01-04 13:58:20 +08:00
duyanghao
e78892d5ac Add Support for Redis Storage Backend(To Achieve Chihaya High Availability)
Change-Id: I5cf703095d1060ac17e403b86056d3eccad97f2c
Signed-off-by: duyanghao <1294057873@qq.com>
2019-01-03 17:21:13 +08:00
Cenk Alti
d0fc3a4634
split listen&serve for http 2018-12-30 13:36:32 +03:00
Jimmy Zelinskie
b4b257c151
Merge pull request #441 from cenkalti/race
enable -race flag in tests
2018-12-29 22:29:36 -05:00
Cenk Alti
df4eeb840b
enable -race flag in tests 2018-12-30 00:50:54 +03:00
Jimmy Zelinskie
91715229f1
Merge pull request #438 from cenkalti/fix-437
Fix 437
2018-12-29 15:03:05 -05:00
Cenk Alti
0de1d25448
fix listenAndServe comment 2018-12-27 15:17:43 +03:00
Cenk Alti
b345eb3899
split listenAndServe into 2 functions 2018-12-26 18:15:05 +03:00
Cenk Alti
2a26215f2a
Revert "protect socket variable with mutex; fix #437"
This reverts commit 1b7ce4c378.
2018-12-26 18:10:48 +03:00
Cenk Alti
1b7ce4c378
protect socket variable with mutex; fix #437 2018-12-25 11:23:47 +03:00
Cenk Alti
fcbc168ae6
add test case for demonstrating panic 2018-12-25 11:23:08 +03:00
mrd0ll4r
8f0fc7ba10
Merge pull request #435 from onestraw/goimports
fix goimports error
2018-12-17 10:31:24 +01:00
onestraw
e09d11e4b9 fix goimports error
Change-Id: I0f6e383ec1081cc47c690fdaab3fd35590a2634b
2018-12-17 16:59:44 +08:00
Jimmy Zelinskie
dcd8e8ea86
Merge pull request #429 from yashpal1995/canonicalize_real-ip-header
frontend/http: canonicalize http real_ip_header
2018-10-24 14:28:21 -04:00
Justin Li
bacc7646d0
Merge pull request #431 from chihaya/fix-lint-import
Fix path to golint for travis
2018-10-24 13:06:11 -04:00
Justin Li
3c80ed8a8e Fix goimports violations 2018-10-24 09:25:03 -04:00
Justin Li
f19f08aa2e Fix path to golint for travis 2018-10-23 13:48:34 -04:00
Yashpal Choudhary
e749c9c6c9 frontend/http: canonicalize http real_ip_header
Fixes #428
2018-10-20 03:07:22 +05:30
Jimmy Zelinskie
3f9ac79570
Merge pull request #425 from jzelinskie/docker-ca
dockerfile: add CA certificates
2018-09-24 18:58:44 -04:00
Jimmy Zelinskie
bb56c2932b dockerfile: add CA certificates 2018-09-24 14:04:12 -04:00
mrd0ll4r
7c5f8bf9c5
Merge pull request #424 from daftaupe/torrentapproval_tests
middleware/torrentapproval : make use of ErrTorrentUnapproved
2018-09-21 09:43:37 +02:00
Pierre-Alain TORET
757ebf1241 middleware/torrentapproval : make use of ErrTorrentUnapproved 2018-09-21 08:49:03 +02:00
mrd0ll4r
c9d51e8e68
Merge pull request #423 from daftaupe/clientapproval_tests
middleware/clientapproval : add tests
2018-09-20 15:09:54 +02:00
Pierre-Alain TORET
6450a2fa00 middleware/clientapproval : add tests 2018-09-20 14:10:36 +02:00
Pierre-Alain TORET
12c9f95eb1 middleware/clientapproval : add error when using blacklist and whitelist at the same time 2018-09-20 11:47:14 +02:00
mrd0ll4r
d5bddeac96
Merge pull request #415 from daftaupe/#375
middleware : add torrent approval package
2018-09-19 15:01:16 +02:00