Commit Graph

857 Commits

Author SHA1 Message Date
Bo-Yi Wu 35e1998cc5
refactor: create logx package (#584) 2021-07-13 16:32:39 +08:00
Bo-Yi Wu bcb9a33d43
chore: update period to one second (#583)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-13 10:28:34 +08:00
Bo-Yi Wu 4df97f464e chore: Don't record the access log on metric URL (#581)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-12 00:49:51 +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 53be23334e chore: remove i386 support
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-11 20:55:03 +08:00
dependabot[bot] f0a2631ae9
chore(deps): bump grpc from 1.24.1 to 1.24.9 in /rpc/example/node (#573)
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-11 20:38:53 +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 9b918839b8
refactor: remove duplicated of init code. (#579) 2021-07-11 20:04:46 +08:00
Bo-Yi Wu 05bc48cba6 chore: upgrade gin v1.7.2
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-11 13:50:54 +08:00
Bo-Yi Wu 3c61444520 chore: upgrade badger to v3
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-11 13:49:56 +08:00
kerem da4ca22d70
chore: fix Enabled config for iOS, Android and Huawei (#577)
Co-authored-by: Viktor Radchenko <1641795+vikmeup@users.noreply.github.com>
2021-06-22 00:17:57 +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
Jason Murray 1c21eb8e87
Change metric type from Gauge to Counter (#569) 2021-05-15 07:05:54 +08:00
dependabot[bot] 937bca3f37
chore(deps): bump lodash from 4.17.19 to 4.17.21 in /rpc/example/node (#570)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 10:01:01 +08:00
tomoya yokota 01aba27bc0
Improve APNs http2 connection health check (#568) 2021-05-04 21:26:00 +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 d030d1ef6a chore: change embedmd version 2021-03-27 14:20:49 +08:00
Bo-Yi Wu 67e5c5c9a3 chore: missing embedmd version 2021-03-27 14:16:24 +08:00
Bo-Yi Wu 21c5c321c8 chore: Add specific version 2021-03-27 14:00:40 +08:00
Bo-Yi Wu db9dfea6d7 chore(module): update go module 2021-03-27 13:51:51 +08:00
Bo-Yi Wu 542854e025 chore: replace go get with go install in go 1.16 2021-03-27 13:43:40 +08:00
Bo-Yi Wu f4b6d66c77 chore: missing module 2021-03-27 13:17:42 +08:00
Bo-Yi Wu ae91ee7be1 chore(golang): upgrade to 1.16 2021-03-27 13:13:13 +08:00
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