Bo-Yi Wu
6f4c2625b2
chore(hadolint): False positive on windows file path
...
See: https://github.com/hadolint/hadolint/issues/580
https://cloud.drone.io/appleboy/gorush/502/1/7
2021-03-27 10:01:12 +08:00
kerem
9dbb058cd7
show Result Code if huawei push fails ( #559 )
...
Co-authored-by: Viktor Radchenko <1641795+vikmeup@users.noreply.github.com>
2021-03-27 09:19:11 +08:00
Bo-Yi Wu
590a6f5915
chore(format): enable extra rules which should be vetted by a human
2021-03-27 09:18:07 +08:00
Bo-Yi Wu
f34deb0eac
chore: Nested if can be replaced with else-if
2021-01-23 09:52:06 +08:00
Bo-Yi Wu
56d0eb0e6a
chore: Empty string test can be improved
2021-01-23 09:48:58 +08:00
Bo-Yi Wu
18cdf31e28
chore: switch gofmt to gofumpt
2021-01-23 09:42:33 +08:00
Bo-Yi Wu
d77e7fe4f2
chore(style): fix format by gofumpt
2021-01-23 09:39:06 +08:00
Bo-Yi Wu
d32ca7f015
chore: initial deepsource config ( #556 )
2021-01-23 09:23:44 +08:00
Alexander Widerberg
36bc4f0f4b
iOS: Allow message and title to be used together, without using the alert-payload ( #553 )
...
This PR will allow callers to use the Message & Title without the need of setting any values in the alert-payload, essentially making it easier to build cross-device-push for regular title+message pushes on different platforms.
Co-authored-by: Alexander Widerberg <alexander.widerberg@xmreality.se>
2020-12-17 06:48:00 +08:00
Bo-Yi Wu
f32e5e838b
chore: unsigned value is always non-negative
...
This unsigned value is always non-negative, and hence cannot be less than 0.
2020-12-13 22:10:53 +08:00
Bo-Yi Wu
4ec672923f
chore(hms): ignore error check
2020-12-13 22:09:05 +08:00
Shin'ya Ueoka
5f88e5da5d
Improve observability on FCM errors ( #542 )
...
A caller can now observe errors returned from FCM server such as
an unauthorized error (401).
2020-11-08 08:56:11 +08:00
Shin'ya Ueoka
eb400aa1d3
Gorush crashes with a invalid feedback URL ( #543 )
...
When url is invalid, NewRequest may nil request with an error.
It can occurs nil-pointer dereference on setting HTTP header.
2020-10-08 07:13:12 +08:00
dependabot[bot]
6bfab294cd
chore(deps): bump lodash from 4.17.15 to 4.17.19 in /rpc/example/node ( #541 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-27 13:20:10 +08:00
Bo-Yi Wu
bb18241ce9
fix(push): goroutine leak ( #540 )
2020-09-27 12:45:58 +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
038167479d
chore: clear unused package version
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-09-27 12:18:26 +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
Lysak Vladislav
dc4e210bec
chore(grpc): support Priority tag
...
fix : #492
close: https://github.com/appleboy/gorush/pull/537
2020-09-27 12:11:35 +08:00
Bo-Yi Wu
ae7bc2a4d5
chore: upgrade go to 1.15
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-09-12 12:21:58 +08:00
Bo-Yi Wu
f80cf5ada4
refactor(hms): format the code
2020-09-04 20:44:31 +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
Bo-Yi Wu
b94c9b9c85
chore(windows): Disable CGO_ENABLED ( #534 )
...
fixed #508 in windows build
2020-07-15 09:19:08 +08:00
Bo-Yi Wu
a4cc8d7582
chore: fix race condition with push iOS notification ( #533 )
2020-07-14 23:57:23 +08:00
Bo-Yi Wu
7c7e740fec
fix: check response is nil or not ( #532 )
2020-07-14 22:52:39 +08:00
Maxim Shilov
300fdc2f22
Enable sending notifications via gRPC to FCM topic ( #531 )
2020-07-09 15:46:52 +08:00
Bo-Yi Wu
7b7d27f16c
chore(server): add testing with healthz router. ( #526 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-06-23 13:58:40 +08:00
Yaroslav "Zorg" Zborovsky
36a2e181aa
Handle HEAD method for healthcheck endpoint ( #525 )
2020-06-23 11:17:59 +08:00
Damien Rajon
50bb20ad58
fix(k8s): update the manifests for k8s 1.18 ( #524 )
...
Deployments are now in "apps/v1".
2020-06-18 05:42:11 +08:00
Romanenko Alexey
e186d7004f
fix config path in readme #514 ( #516 )
2020-05-29 11:58:06 +08:00
Romanenko Alexey
6bad4797b4
#510 add key id and team id ios cli flags ( #511 )
2020-05-18 22:32:50 +08:00
Emmet McPoland
b35a831a41
ReImplement DialTLS fix from apns2 ( #509 )
2020-05-14 21:38:58 +08:00
Romanenko Alexey
20a9d18ce6
Check status of response before retry send push ( #507 )
2020-05-06 19:37:06 +08:00
Bo-Yi Wu
c8ce081803
chore: upgrade gin to 1.6.3 performance ( #506 )
2020-05-06 16:41:15 +08:00
Bo-Yi Wu
52c2301b3e
chore(http): ignore ErrServerClosed error ( #505 )
2020-04-27 17:08:12 +08:00
Bo-Yi Wu
7dbb5c98e7
refactor(worker): remove context from notification structure ( #503 )
2020-04-25 15:23:43 +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
eec5dd3df7
chore(storage): upgrade redis to v7 ( #502 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 16:23:29 +08:00
Bo-Yi Wu
186b3258d1
chore(storage): upgrade storm to v3 ( #501 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 15:58:03 +08:00
Bo-Yi Wu
c2136fffc7
chore(storage): storage performance issues ( #500 )
...
* chore(storage): storage performance issues
1. close storage connection before shutdown the service
2. update windows image
https://github.com/appleboy/gorush/issues/393
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 15:39:24 +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
Bo-Yi Wu
ccc73947ad
chore(storage): upgrade badger to v2 ( #498 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 09:51:13 +08:00
Bo-Yi Wu
b008ac4373
Update FUNDING.yml
2020-04-15 14:45:50 +08:00
Bo-Yi Wu
734d9017d2
Create FUNDING.yml
2020-04-15 14:35:06 +08:00
Travis Cline
12842edd2c
docs: fix minor typo ( #493 )
2020-04-05 16:48:39 +08:00
Bo-Yi Wu
213f098bc0
chore(netlify): update build command
2020-03-21 19:41:16 +08:00
Bo-Yi Wu
ca65d8ad2a
chore(node): upgrade minimist to 1.2.2 or later
2020-03-21 12:29:55 +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