Commit Graph

563 Commits

Author SHA1 Message Date
Bo-Yi Wu c06e819e08 Support new Apple Token Based Authentication (JWT) (#300)
* Support new Apple Token Based Authentication (JWT)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix testing

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-25 03:49:23 -05:00
Bo-Yi Wu 461a57ec9a support Device Group HTTP POST Request (#299)
* support Device Group HTTP POST Request

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix vendor

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* check error exist

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-24 21:37:53 -05:00
Bo-Yi Wu ef9c4221ad [ci skip] remove space.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-24 22:29:50 +08:00
Bo-Yi Wu 077d46fe4a [ci skip] Add send topic message doc.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-24 22:28:05 +08:00
Bo-Yi Wu 34588dd436 upgrade apns2 to 0.13 (#297)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-24 09:19:18 -05:00
Bo-Yi Wu 115ee18560 Send messages to topics for android (#296)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-24 04:00:08 -05:00
Bo-Yi Wu 4df24202cf [ci skip] update k8s document.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-23 13:03:54 +08:00
Bo-Yi Wu 4f2eeac7c3 support global config in k8s. (#295)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-22 23:58:02 -05:00
Bo-Yi Wu f76343b840 remove yaml config in Dockerfile. (#294)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-22 23:24:10 -05:00
Bo-Yi Wu f3480d2dd8 Support global ENV setting. (#293)
* Support global ENV setting.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* add viper package

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix typo

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix testing.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix testing.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-22 22:06:30 -05:00
Bo-Yi Wu e2d4d9db18 move main to top folder.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-23 07:42:38 +08:00
Bo-Yi Wu 77ea50f062 move main.go to cmd folder. (#292)
* move main.go to cmd folder.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* move docs.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-18 20:57:51 -05:00
Bo-Yi Wu 550348c2e7 [ci skip] update readme.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-19 09:27:05 +08:00
Bo-Yi Wu 6d29e638b4 change grpc port to 9000 (#291)
* change grpc port to 9000

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* change grpc port to 9000

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-18 20:24:47 -05:00
Bo-Yi Wu 50237f4fd1 change fb to discord.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-14 13:02:45 +08:00
Bo-Yi Wu 22bf85acab upgrade to 1.9.1 go version.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-10 11:36:12 +08:00
Bo-Yi Wu 6ec814c4e0 replace http status
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-06 10:45:56 +08:00
Bo-Yi Wu 34bd272cbe fix typo for maintainer name
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-05 11:30:51 +08:00
Bo-Yi Wu 83b1e6b98f remove gopath config in drone.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-03 23:19:09 +08:00
JieJhih 01d545a408 Change Request.Header.Get to GetHeader function (#290)
* Change Request.Header.Get to GetHeader function

* update gin version

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update gin version

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update gin version

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-03 08:21:49 -05:00
JieJhih df987d5e53 Fix annotation. (#289) 2017-09-30 23:06:12 +08:00
Bo-Yi Wu f960f942f2 add version handler (#287)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-26 11:25:41 +08:00
Bo-Yi Wu ffd55152e5 add healthz check (#286)
* add healthz check

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* add testing

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-26 11:10:51 +08:00
Bo-Yi Wu f0ca319da5 MAINTAINER has been deprecated
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-26 10:17:56 +08:00
Bo-Yi Wu 9d32f74209 MAINTAINER has been deprecated
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-26 10:04:48 +08:00
Bo-Yi Wu 6901824adc update k8s readme.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-22 22:35:05 +08:00
Bo-Yi Wu 1918322185 update k8s readme.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-22 22:30:56 +08:00
Bo-Yi Wu 411b6efc4a update k8s document and yml (#284)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-22 11:22:10 +08:00
Bo-Yi Wu 8e98e0b6fe add ingress yaml for k8s
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-17 09:17:37 +00:00
Bo-Yi Wu 7dac7d0698 add external tools
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-12 11:44:42 +08:00
Bo-Yi Wu e6160c4146 fix rm script
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-11 09:43:19 +08:00
Bo-Yi Wu 632dcbc4e3 update base image.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-10 22:31:10 +08:00
Bo-Yi Wu 95ff87762d add docker ignore file (#280)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-31 14:56:58 +08:00
Bo-Yi Wu 064632a19e using multiple stage build for alpine. (#279)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-31 14:25:56 +08:00
Bo-Yi Wu 00d5d25d04 chore: update go version to 1.9 (#278) 2017-08-26 00:58:28 -05:00
Bo-Yi Wu a466827822 support arm64 and arm docker image. (#277)
* support arm64 and arm docker image.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix format.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-25 00:51:04 -05:00
Bo-Yi Wu 35e2c97f43 fix lint error in storage folder. (#276)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-23 22:25:05 -05:00
Bo-Yi Wu e070248a11 fix lint error for gorush folder. (#275)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-23 21:46:00 -05:00
Bo-Yi Wu acc83c1fa5 [ci skip] add comment on Makefile. (#273)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-19 21:23:29 +08:00
Bo-Yi Wu 2bf5f06913 update docker build (#272)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-18 23:39:03 +08:00
kazhuravlev 5d67fc7d17 Remove unused function (#268) 2017-08-15 12:33:26 +08:00
Bo-Yi Wu ced4b6e97b reorder import path.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-15 12:29:59 +08:00
Bo-Yi Wu 4a15a1a23f refactor: add group build for drone. (#271) 2017-08-15 12:26:00 +08:00
Bo-Yi Wu 770aee9859 refactor(Makefile): allow overriding default go program (#270)
* refactor(Makefile): allow overriding default go program

* fix typo

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-15 12:16:04 +08:00
Bo-Yi Wu 2bcc17de51 check response header. (#266)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-06 09:53:38 +08:00
Bo-Yi Wu b9104de2c5 update gin to v1.2
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-04 10:43:13 +08:00
Bo-Yi Wu 6864ffe9f0 Putting main() first makes reading the file a lot more easier.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-02 22:31:31 +08:00
Bo-Yi Wu 83d155bade docs(config): add bind address doc. (#264) 2017-07-31 16:37:56 +08:00
Simone Basso a714d03e2c feature(server): allow to bind specific addresses (#263)
The main use case for ooniprobe is to bind 127.0.0.1 only.
2017-07-31 16:31:07 +08:00
Bo-Yi Wu 00ff0248a2 feat(config): enable or disable httpd server. (#262) 2017-07-27 11:19:36 +08:00