Commit Graph

170 Commits

Author SHA1 Message Date
Bo-Yi Wu 52622558bd
chore(gorush): add timeout for http client (#473)
* chore(gorush): add timeout for http client

dispatch feedback url

See: https://github.com/appleboy/gorush/issues/449

* docs: update readme
2020-02-24 22:18:50 +08:00
Bo-Yi Wu c379630c29
chore(graceful): support custom timeout value (#466)
fixed: https://github.com/appleboy/gorush/issues/465
2020-02-05 23:23:16 +08:00
Bo-Yi Wu ee0cc30e3d docs: fix typo
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-02-04 13:30:34 +08:00
Bo-Yi Wu 2d2a8a0110
feat(worker): support graceful shutdown (#459)
* feat(worker): support graceful shutdown

notifications workers and queue have been sent to APNs/FCM before shutdown a push notification.

send buffered channel to signal.Notify to avoid blocking

see: golang/lint#175

fixed: https://github.com/appleboy/gorush/issues/441

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-02-04 13:27:27 +08:00
Bo-Yi Wu 969af2c42b docs: Support HTTP, HTTPS or SOCKS5 proxy for apns and fcm 2019-12-08 07:33:26 +08:00
Keisuke Emi 1edfa9f532 Support HTTP proxy for APNs (#445) 2019-12-08 07:30:24 +08:00
Bo-Yi Wu 6f2b614265 chore: remove graceful restart feature 2019-11-29 07:17:41 +08:00
Bo-Yi Wu 453c919510
chore: Don't send notification after client timeout or disconnected. (#431)
* chore: Don't send notification after client timeout or disconnected.

* add skip

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-10-17 23:19:25 +08:00
Bo-Yi Wu 38f7986e99 docs: update readme.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-10-07 10:07:50 +08:00
Lucas Machado ce4aaa99ef Update README.md (#427)
Corrected phrase.
2019-10-04 20:40:26 +08:00
Emmet McPoland 1c82f5c904 Added support for iOS13 with apns-push-type (#424) 2019-09-23 23:36:38 +08:00
Yassir Barchi 3812d357fd feat: add async feedback hook option (#414)
* feat: add async feedback hook option

* remove unnecessary return values

* review: check feedback's resp state

* fix embedmd error

* fix config test

* add feedback tests

* fix errcheck issues
2019-09-06 15:48:42 +08:00
Bo-Yi Wu adcd6fed29 docs: update readme.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-05-21 14:33:35 +08:00
H 201413967c Add missing GRPC data field (#412)
* feat(grpc): add support for data field in request body

* docs: update Readme with embedmd
2019-05-21 14:10:32 +08:00
Bo-Yi Wu 33cddfa421 docs: update api_key description
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-05-06 14:35:41 +08:00
Bo-Yi Wu 7b0750c807 docs: Add demo app build in flutter. 2019-04-08 23:42:58 +08:00
Bo-Yi Wu 9e53ba9917 docs: [ci skip] remove FOSSA badge 2019-03-16 11:37:42 +08:00
Bo-Yi Wu 3f223cf6c0
feat: switch to drone 1.0 (#399)
fix #397
2019-03-16 11:37:01 +08:00
Belek 1ef90c8461 Update README.md. Clarify sending notifications using Firebase (#392)
It was [not obvious](https://github.com/appleboy/gorush/issues/391) that I should specify `platform=2 (Android)` if  I want to send notifications on both Android and iOS devices using Firebase, so here are some changes in documentation. Thanks!
2019-02-04 18:06:09 +08:00
Bo-Yi Wu ffaae07b86 docs: add license badge 2018-11-09 14:43:34 +08:00
Dmitry Dorogin a27fc1f754 Update README.md (#378) 2018-10-18 09:00:25 +08:00
Bo-Yi Wu cf56fda8db fix typo
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2018-10-15 11:57:24 +08:00
Bo-Yi Wu fe2159c7b8 docs: add install from source section. 2018-10-15 11:56:29 +08:00
Bo-Yi Wu 83493949ac fix: json format. 2018-08-28 11:38:26 +08:00
Bo-Yi Wu 64f9aab62d fix: json format. 2018-08-28 11:37:36 +08:00
Bo-Yi Wu b5603fa8c2
docs(ios): Support iOS 12 Critical Alerts (#368) 2018-08-28 11:14:02 +08:00
Bo-Yi Wu b4daa36890 fix: embedmd check 2018-08-15 15:07:08 +08:00
Eduard Pelesh bf97ca59ec Added mutable_content option for Firebase (#364)
It is now possible to send `mutable_content` option to Firebase which gets forwarded as `mutable-content` option for APNS.

A link to official documentation is: https://firebase.google.com/docs/cloud-messaging/http-server-ref#mutable_content
2018-08-15 11:47:15 +08:00
Bo-Yi Wu 5d5127b690
feat: support install from homebrew (#360)
* feat: support install from homebrew

* docs: add readme.
2018-06-27 09:28:27 +08:00
Bo-Yi Wu f6c465e2e1 docs: update doc 2018-05-21 10:21:59 +08:00
Bo-Yi Wu ffa8eb12b3
feat: Add badgerDB support. (#353)
See https://github.com/dgraph-io/badger
Slide: https://github.com/gopherchina/conference/blob/master/2018/1.5%20Badger_%20Fast%20Key-Value%20DB%20in%20Go.pdf
2018-04-16 17:26:15 +08:00
Bo-Yi Wu 86630e0fc7 docs: Add appveyor badge [ci skip] 2018-03-13 09:14:16 +08:00
Bo-Yi Wu 023c255fe1 docs: Add buymeacoffee 2018-03-05 17:10:07 +08:00
Bo-Yi Wu 60e3ed3ca4 docs: update some description. 2018-02-20 13:20:57 +08:00
Bo-Yi Wu 2d2f62d19b
feat(iOS): load iOS key from base64 input. (#336)
* feat(iOS): load iOS key from base64 input.

* test: check key type exist.
2018-02-18 17:12:51 +08:00
Bo-Yi Wu 2e39ba4fb5 docs: support running in k8s or aws lambda. 2018-01-24 09:26:58 +08:00
Bo-Yi Wu b0b22022e9 docs: add aws lambda png 2018-01-24 09:22:51 +08:00
Bo-Yi Wu 34b3e6c597 docs: Run gorush in AWS Lambda 2018-01-23 16:48:37 +08:00
Bo-Yi Wu b0260af17b
feat(grcp): support MutableContent for ios (#332) 2018-01-16 11:26:45 +08:00
Bo-Yi Wu 4c203c9829
feat(grpc): support ThreadID and ContentAvailable (#328) 2018-01-10 09:36:27 +08:00
Bo-Yi Wu ffd78ffaec
feat(grpc): add alert other fields. (#327) 2018-01-06 15:03:21 +08:00
Bo-Yi Wu df45f85a1c
chore(grpc): add sound field. (#325) 2018-01-04 11:31:03 +08:00
Bo-Yi Wu 651a2b76db
fix(grpc): check alert exist. (#324)
* fix(grpc): check alert exist.

* fix: update readme.
2018-01-03 17:08:28 +08:00
Bo-Yi Wu 8faae762fe
feat(grpc): support category, alert and badge for ios. (#321) 2018-01-02 15:53:15 +08:00
Bo-Yi Wu a89d00c934 docs: Add codacy badge. 2017-12-29 09:53:09 +08:00
gnosis ebab85e685 Update README (#317)
* Add p8 format iOS certificate file in README
2017-12-20 16:53:27 +08:00
Bo-Yi Wu c6e3b7417e
Add grpc check example. (#306)
* Add grpc check example.

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

* add missing package.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-11-14 00:18:48 -06:00
Bo-Yi Wu 25bfe420b0
Add grpc health check. (#304)
* Add grpc health check.

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

* fix missing package.

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

* fix readme..

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

* fix vet

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-11-12 08:44:33 -06:00
Bo-Yi Wu ff4ab7002f add Stargazers over time
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-11-02 22:58:35 +08:00
Bo-Yi Wu 008644110e docs: enable grpc server. 2017-11-01 10:16:05 +08:00