Commit graph

1062 commits

Author SHA1 Message Date
Jimmy Zelinskie
3aa7d1a91d cmd: add e2e command
This change unifies chihaya and chihaya-e2e binaries.
It also vendors the code missing from the project that was used in
chihaya-e2e.

Fixes #402.
2018-09-04 11:38:22 -04:00
Jimmy Zelinskie
085234044a
Merge pull request #403 from jzelinskie/trace
cmd/chihaya: add tracing flag
2018-07-04 12:09:41 -04:00
Jimmy Zelinskie
17f22e77a3 cmd/chihaya: add tracing flag 2018-07-03 23:14:33 -04:00
Jimmy Zelinskie
ff15955dcc
Merge pull request #401 from jzelinskie/style-nitpicks
Style nitpicks
2018-06-15 13:48:06 -04:00
Jimmy Zelinskie
0738d93644
Merge pull request #399 from jzelinskie/prom
dist/prometheus: remove rules file
2018-06-15 13:34:35 -04:00
Jimmy Zelinskie
aab8fa24c1
Merge pull request #400 from jzelinskie/helm-config-update
dist/helm: resync config with values.yaml
2018-06-15 13:34:23 -04:00
Jimmy Zelinskie
84ee1d6658 storage/memorybysubnet: fix mispellings 2018-06-15 13:33:26 -04:00
Jimmy Zelinskie
734c11c6ed bittorrent: anonymous fields for IPs in test table 2018-06-15 13:33:26 -04:00
Jimmy Zelinskie
3c052ec98d storage/memory: multi-line call to New() 2018-06-15 13:33:26 -04:00
Jimmy Zelinskie
f0780ad9cc frontend: isolate prometheus logic to one file 2018-06-15 13:33:26 -04:00
Jimmy Zelinskie
be57cd15b7 dist/helm: resync config with values.yaml 2018-06-14 18:40:49 -04:00
Jimmy Zelinskie
b737c8d0aa dist/prometheus: remove rules file
Not all users may want this file and is a burden to maintain.
2018-06-14 18:39:03 -04:00
Jimmy Zelinskie
be555c3b51
Delete index.html
We no longer need this for redirecting the domain.
Google domains supports redirects!
2018-05-11 13:13:52 -07:00
Jimmy Zelinskie
0d492c4349 Delete CNAME 2018-05-11 13:10:25 -07:00
Jimmy Zelinskie
2f603e43fc Create CNAME 2018-05-11 13:10:05 -07:00
Jimmy Zelinskie
ca4147a808 Delete CNAME 2018-05-11 13:09:56 -07:00
mrd0ll4r
9e251b23b6
Merge pull request #394 from mrd0ll4r/bittorrent-strings
bittorrent: implement nicer String methods for various types
2018-04-11 09:09:54 +02:00
mrd0ll4r
1f7ea58197
Merge pull request #395 from mrd0ll4r/opentracker-v6
Opentracker v6
2018-03-23 09:33:43 +01:00
Leo Balduf
0954c17692 chihaya-e2e: force IPv4 announces for now 2018-02-17 13:42:36 +01:00
Leo Balduf
ee7b4f944a doc: update frontend doc to indicate BEP15 IPv6 support 2018-02-17 13:41:36 +01:00
Leo Balduf
fa19d1125c udp: support both BEP15 and old opentracker v6 announces 2018-02-17 13:41:36 +01:00
Leo Balduf
6c5e8ad20c bittorrent: implement nicer String methods for various types 2018-02-17 13:11:27 +01:00
mrd0ll4r
0edd6382d5
Merge pull request #393 from mrd0ll4r/validate-port
Validate port
2018-02-14 11:27:19 +01:00
mrd0ll4r
b1c05d362a
Merge pull request #392 from mrd0ll4r/default-port
*: move default tracker port to 6969
2018-02-14 11:26:48 +01:00
Leo Balduf
b19f7115df bittorrent: validate port != 0 for announces 2018-02-13 10:13:57 +01:00
Leo Balduf
0c077f0a8c *: move default tracker port to 6969 2018-02-13 10:07:01 +01:00
mrd0ll4r
a8bc51ba1d
Merge pull request #382 from mrd0ll4r/ekop
travis: add chihaya e2e testing
2018-02-04 23:35:34 +01:00
Leo Balduf
7022b541bc dep: add dependencies for e2e testing 2018-02-04 12:38:12 +01:00
Jimmy Zelinskie
40f6456138
Merge pull request #381 from jzelinskie/subtests
*: add subtests for all table driven tests
2018-02-03 13:19:28 -05:00
Jimmy Zelinskie
811fe001ac bittorrent: pretty print nil for subtest naming 2018-02-02 17:13:13 -05:00
Leo Balduf
65704f47e1 travis: add chihaya-e2e 2018-01-21 18:43:28 +01:00
Leo Balduf
1a39a495d7 cmd/chihaya-e2e: add chihaya-e2e 2018-01-21 18:35:02 +01:00
Jimmy Zelinskie
a5b15d69ad
Merge pull request #376 from jzelinskie/register-mw
Add registrable middleware
2018-01-01 18:34:20 -05:00
Jimmy Zelinskie
6bef53658b
Merge pull request #380 from jzelinskie/rmglide
*: remove glide from README & Dockerfile
2017-12-31 15:47:42 -05:00
Jimmy Zelinskie
2004489016 *: add subtests for all table driven tests
Because we use testify, this is less useful than normal, but this is
still best practice for table-driven tests.
2017-12-29 17:44:45 -05:00
Jimmy Zelinskie
120c4615c1 travis: remove 'grep -v vendor' from go list
In recent versions of Go, you no longer need to manually remove the
vendor directory from commands like `go list`.
2017-12-29 17:14:55 -05:00
Jimmy Zelinskie
e9d1e71276 *: remove glide from README & Dockerfile 2017-12-29 17:12:17 -05:00
Jimmy Zelinskie
7dbbc86380 middleware: add a registration model 2017-12-29 16:55:48 -05:00
Jimmy Zelinskie
2bead6b7b4 cmd/chihaya: pull out pre and post funcs 2017-12-29 16:55:48 -05:00
Jimmy Zelinskie
5840cd3de1
Merge pull request #377 from jzelinskie/dep
vendor: migrate from glide to dep
2017-12-29 16:42:41 -05:00
Jimmy Zelinskie
d38a7017d1 travis: build with HEAD and vendored deps
Builds failing on HEAD do not fail CI/CD. Instead, this should be used
as a canary for breaking changes upstream.
2017-12-29 16:40:29 -05:00
Jimmy Zelinskie
f69159362a vendor: migrate from glide to dep 2017-12-29 16:40:29 -05:00
Davor Kapsa
24be4ece73 travis: update go version (#378)
* travis: update go version

* travis: remove go key

* travis: add 1.9.x go version
2017-12-26 14:23:24 -05:00
mrd0ll4r
8f472ad52c
Merge pull request #372 from mrd0ll4r/build-win
cmd/chihaya: make things work on windows
2017-12-24 13:28:29 +01:00
Jimmy Zelinskie
ff269b0f44
Merge pull request #374 from ilyaglow/docker-multistage
Improve Dockerfile
2017-12-20 10:05:31 -05:00
Ilya Glotov
b100583d7d
Set runtime image base on alpine 2017-12-20 14:51:11 +03:00
mrd0ll4r
22c42f9ec3
Merge pull request #305 from mrd0ll4r/doc-frontend
docs: add frontend documentation
2017-12-20 11:56:23 +01:00
Ilya Glotov
39e3b5ae5c
Remove GOOS environment variable 2017-12-12 15:34:58 +03:00
Ilya Glotov
ae7a13db21
Add docker improvements
* Add multistaged build effectively reducing image size
* Change deprecated MAINTAINER to LABEL
* Change ADD to COPY
* Start container as a non-root user
2017-12-12 15:03:53 +03:00
mrd0ll4r
d28c6717b1
Merge pull request #371 from mrd0ll4r/min-interval
middleware, config: re-add support for min interval
2017-12-07 19:44:19 +01:00