Commit Graph

207 Commits

Author SHA1 Message Date
Yuki Abe 24d2861f1c
docs(config): Add comments that sync mode only works if the queue engine is local. (#692)
Co-authored-by: yukia3e <12268087+yukia3@users.noreply.github.com>
2022-10-29 22:34:00 +08:00
Hilário Coelho cf67458c43
Fixes #661: iOS interruption level support (#679)
Co-authored-by: Ever <47759786+everuribe@users.noreply.github.com>
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-06-30 21:44:52 +08:00
Bo-Yi Wu e89ea00626 docs: update test script.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-05-08 12:23:42 +08:00
Bo-Yi Wu a45769c24f
chore(queue): upgrade queue package and add metrics (#673)
* chore(queue): upgrade queue package and add metrics

add new metrics

	BusyWorkers    *prometheus.Desc
	SuccessTasks   *prometheus.Desc
	FailureTasks   *prometheus.Desc
	SubmittedTasks *prometheus.Desc

fix https://github.com/appleboy/gorush/issues/672

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

* chore: update go version

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-05-05 13:56:28 +08:00
Bo-Yi Wu 2bba4b4fc4 docs: update markdown format
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-05-04 16:27:24 +08:00
Bo-Yi Wu 87c2977f6a docs: remove embedmd check
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-04-17 12:43:44 +08:00
Bo-Yi Wu c3db870e59 docs: update to 1.15
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-04-17 11:53:38 +08:00
Bo-Yi Wu 8d81276006 feat(CI): Continuously find & fix vulnerabilities in dependencies
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-02-04 10:55:59 +08:00
Bo-Yi Wu 791ce9ecf2 docs(install): Add go install command for installation
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-02-04 08:12:23 +08:00
Bo-Yi Wu 3f411ebe89
chore(queue): support Redis pub/sub (#652) 2022-01-01 23:04:13 +08:00
Romanenko Aleksei 9d47494585
fix #560: fix proto file and Makefile to generate pb (go, js) (#636) 2021-10-25 09:34:46 +08:00
Bo-Yi Wu 83aaa37faf docs: add support redis cluster
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-09-20 20:00:20 +08:00
SianLoong 47222086ac
Allow redis to support cluster mode (#633) 2021-09-20 19:53:42 +08:00
Bo-Yi Wu ea71e99f2d
chore(lint): fix some condition. (#624) 2021-08-04 09:00:04 +08:00
Bo-Yi Wu c51b4b2b65
chore(queue): Support NATS as backend (#618)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-01 21:06:47 +08:00
Bo-Yi Wu 990085fee7 chore: update default value.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-17 20:18:57 +08:00
Bo-Yi Wu 2e2dd9b8d6
chore(queue): support NSQ as backend. (#600) 2021-07-17 20:14:19 +08:00
Bo-Yi Wu c7112a6eb3
chore(CI): remove build windows image on appveyor (#598) 2021-07-17 13:01:28 +08:00
Bo-Yi Wu 0658f18430
chore: disabled Huawei notification by default (#590) 2021-07-16 11:51:34 +08:00
Bo-Yi Wu 12a59f68cc chore: remove unused badge
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-11 21:23:11 +08:00
Bo-Yi Wu 0a639c93de chore: update binary link to v1.14.0
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-11 21:21:49 +08:00
Bo-Yi Wu 2271527d81
fix: redefined -v flag (#580)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-11 20:26:22 +08:00
Bo-Yi Wu fbedf3c82b
Revert "chore(README): use apikey for v1.13.0 or below" (#574)
This reverts commit e8954d774b.
2021-05-15 09:05:17 +08:00
kerem e8954d774b
chore(README): use apikey for v1.13.0 or below (#572)
for Huawei configs you should use apikey instead of appsecret for v1.13.0 or below
2021-05-15 07:11:42 +08:00
kerem 9c51cbc989
make Huawei configs compatible with HMS Core 4.0 (#561)
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-03-28 22:13:02 +08:00
Bo-Yi Wu e65fc288b6 chore: add Open Collective badge
fixed https://github.com/appleboy/gorush/pull/513

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-09-27 12:20:01 +08:00
Bo-Yi Wu 28d1361f30 chore: sync readme.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-09-27 12:12:35 +08:00
M. Salih Karakaşlı 3918fab908
Add Huawei Mobile Services Support to Gorush (#523)
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-09-04 11:01:21 +08:00
Bo-Yi Wu 3db8b4f006 docs: update link to v1.13.0
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-07-15 16:42:00 +08:00
Romanenko Alexey e186d7004f
fix config path in readme #514 (#516) 2020-05-29 11:58:06 +08:00
Emmet McPoland 685a87c930
Concurrent ios pushes (#497)
* Added the ability to concurrently call.push. Linter was complaining about "loop variable token captured by", need to determine if its a legitiment issue, as the lint message has now disappeared

* resolved "loop variable token captured by func literal" issue

* Ran make_fmt

* Moved max_concurrent_pushes to iOS

* Moved from limitgroup to sizedwaitgroup

* Removed SizedWaitGroup. Using client pool of 1 and buffered channels

* Fill client pool with the same client

* MaxConcurrentPushes is now applied across all running pushes

* Ran make fmt

* Corrected TestPushToIOS test

* Update README.md

Co-Authored-By: Yaroslav "Zorg" Zborovsky <yaronius@users.noreply.github.com>

* Added comment to config in all copies for max_concurrent_pushes

* Updated TestPushToIOS to be driven from config

Co-authored-by: Yaroslav "Zorg" Zborovsky <yaronius@users.noreply.github.com>
2020-04-23 21:02:53 +08:00
Bo-Yi Wu 4e05611577
chore(storage): support set db path for badger driver (#499)
* chore(storage): support set db path for badger driver

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

* fix path

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

* fix readme

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

* update default value

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 10:34:35 +08:00
Travis Cline 12842edd2c
docs: fix minor typo (#493) 2020-04-05 16:48:39 +08:00
Bo-Yi Wu be64c1f105 docs: Add deploy to netlify 2020-03-21 12:25:17 +08:00
Bo-Yi Wu 64b6f04133 chore: support netlify 2020-03-21 12:18:06 +08:00
Romanenko Alexey 5f0ed4e6cd
docs(gorush): add image and collapse-id to request in readme (#487)
* #373 add image and collapse-id request

* #373 add image and collapse-id request

* #373 add image and collapse-id request
2020-03-15 20:36:20 +08:00
Bo-Yi Wu 34e59dfeaa docs: release v1.12.0 2020-03-14 18:52:30 +08:00
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