Commit Graph

58 Commits

Author SHA1 Message Date
Bo-Yi Wu 1e99a9c67f chore(deps): update go dependency 2022-12-03 22:18:03 +08:00
Bo-Yi Wu b8697e69b5
chore: upgrade all dependency version (#683)
fix #675 #682 #680 issue
2022-06-30 21:41:49 +08:00
Bo-Yi Wu 625cf1c296 chore(mod): upgrade yaml version
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-05-31 14:23:11 +08:00
Bo-Yi Wu ae8806b20d chore(gin): upgrade to v1.8.0
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-05-31 13:19:38 +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 4abda2a0cb feat(Go 1.17): update go mod
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-02-10 12:02:52 +08:00
Bo-Yi Wu 68200c5525
fix(queue): missing metric interface in nats queue (#655) 2022-02-03 17:37:30 +08:00
落心 17dad5758f
Separate storage logic from actual business logic (#649) 2022-02-03 17:03:37 +08:00
Bo-Yi Wu 5f534a4e42
chore(service): add graceful shutdown. (#654) 2022-01-09 10:30:23 +08:00
Bo-Yi Wu 3f411ebe89
chore(queue): support Redis pub/sub (#652) 2022-01-01 23:04:13 +08:00
Bo-Yi Wu eaec26c90d chore(security): CVE-2021-42836
Vulnerable versions: < 1.9.3
Patched version: 1.9.3
GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-12-10 00:16:50 +08:00
Hilário Coelho 20e6566183
Fix HMS Push Notifications (#645) 2021-12-09 23:14:12 +08:00
SianLoong 47222086ac
Allow redis to support cluster mode (#633) 2021-09-20 19:53:42 +08:00
Bo-Yi Wu 18016db289
chore(queue): upgrade queue to v0.0.7 version (#629)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-22 22:04:50 +08:00
Bo-Yi Wu e929974d10 chore: update gin to v1.7.4
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-15 16:12:53 +08:00
Bo-Yi Wu 70744b58cd
chore: replace appleboy/queue with new repo (#628)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-15 16:12:08 +08:00
Bo-Yi Wu 3feeeb796d
fix(hms): refresh token fail (#620) 2021-08-02 07:04:59 +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 132e1791cd
chore(queue): upgrade appleboy/queue to 0.5.0 (#616) 2021-08-01 17:12:16 +08:00
Bo-Yi Wu e08e4c09ca
chore(NSQ): remove nsq package and update run func (#614)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-25 08:35:49 +08:00
Bo-Yi Wu 7b16a4db98
chore: move NSQ and simple package to appleboy/queue (#613)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 22:33:44 +08:00
Bo-Yi Wu 14f19fcb20
chore: move queue to appleboy/queue (#612)
* chore: move queue to appleboy/queue

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 17:18:35 +08:00
Bo-Yi Wu 2e2dd9b8d6
chore(queue): support NSQ as backend. (#600) 2021-07-17 20:14:19 +08:00
Bo-Yi Wu 45be946f54
chore: fix lambda build for netlify (#587) 2021-07-14 03:01:50 +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 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
Bo-Yi Wu db9dfea6d7 chore(module): update go module 2021-03-27 13:51:51 +08:00
Bo-Yi Wu f4b6d66c77 chore: missing module 2021-03-27 13:17:42 +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
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
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 c8ce081803
chore: upgrade gin to 1.6.3 performance (#506) 2020-05-06 16:41:15 +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 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 44bf37941b
chore(grpc): add image field (#485) 2020-03-14 00:00:03 +08:00
Bo-Yi Wu cee47bdc2c chore(module): remove unused module
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-02-07 11:41:05 +08:00
Bo-Yi Wu eba8c2d4a6
chore(log): ignore /healthz request log (#464)
* chore(log): ignore /healthz request log

Add zerolog for gin httpd log

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

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

* remove variable

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-02-05 16:57:55 +08:00
Bo-Yi Wu cd83da717d
chore: upgrade gofight and gin-status-api (#452)
* chore: upgrade gofight and gin-status-api

* chore: update testing
2020-01-13 23:05:27 +08:00
Cem KIY 682ca7fbad badger version upgrade to v1.6.0 (#439)
* badger version upgrade to v1.6.0

- excuted go mod tidy command
- fixed badger error when without go mod

* go mod tidy and update packages
2019-12-08 07:41:16 +08:00
Bo-Yi Wu 00e5a596e2
chore: upgrade to gin v1.5 (#442)
* chore: upgrade to gin v1.5

* chore: fix testing error
2019-11-29 07:16:06 +08:00
Bo-Yi Wu 2460d07c68 chore: update apns2 module 2019-10-16 23:40:14 +08:00
Bo-Yi Wu eab5710100
chore(drone): upgrade to go 1.13 (#421)
* chore(drone): upgrade to go 1.13

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

* update

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-06 15:25:30 +08:00
Bo-Yi Wu d4d8bc3b52
chore(module): remove gofight v1 (#416) 2019-06-18 01:17:48 +08:00
Bo-Yi Wu aa35465262 chore: upgrade gin-status-api 2019-06-11 02:07:01 +08:00
Bo-Yi Wu f0aeb2a873 feat(pkg): update go module 2019-06-11 01:52:07 +08:00
Bo-Yi Wu 80e833508f chore(package): upgrade gofight 2019-06-11 01:49:33 +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