Commit Graph

921 Commits

Author SHA1 Message Date
Bo-Yi Wu ccbe874bf4
chore: upgrade golang to 1.17 (#648) 2021-12-15 18:09:43 +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
kerem 3db9f2f0ab
add makefile build commands for darwin OS (#640)
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-12-09 23:59:48 +08:00
Bo-Yi Wu 4c1c87aecc
chore(conf): add default value for max_concurrent_pushes (#646) 2021-12-09 23:46:49 +08:00
Hilário Coelho 20e6566183
Fix HMS Push Notifications (#645) 2021-12-09 23:14:12 +08:00
rsmnarts bd920d34fb
fix token don't send on feedback (#642)
Co-authored-by: Romanenko Aleksei <slimusgm@gmail.com>
Co-authored-by: rsmnarts <risman.zainuri@bluebirdgroup.com>
2021-11-06 17:57:34 +08:00
rsmnarts eac2553b25
add ID to grpc (#641)
Co-authored-by: rsmnarts <risman.zainuri@bluebirdgroup.com>
2021-11-03 22:14:46 +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 24c3492541 chore: update cluster testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-09-20 20:21:06 +08:00
Bo-Yi Wu 2b4cab0a95 docs: update format
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-09-20 20:19:41 +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
dependabot[bot] 61af86605e
chore(deps): Bump tar from 6.1.6 to 6.1.11 in /rpc/example/node (#630)
Bumps [tar](https://github.com/npm/node-tar) from 6.1.6 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.6...v6.1.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 22:23:33 +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 226abc69c5 chore: fix lint
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-14 22:57:16 +08:00
Bo-Yi Wu 24cf872b31
chore(logx): add custom logger in queue (#627) 2021-08-11 11:13:29 +08:00
Bo-Yi Wu c81a316047
chore: fix some lint (#626)
* chore: fix some lint

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

* update

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-05 14:11:06 +08:00
dependabot[bot] b219e0adc7
chore(deps): Bump tar from 6.1.0 to 6.1.6 in /rpc/example/node (#625)
Bumps [tar](https://github.com/npm/node-tar) from 6.1.0 to 6.1.6.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.0...v6.1.6)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-05 11:48:44 +08:00
Bo-Yi Wu ea71e99f2d
chore(lint): fix some condition. (#624) 2021-08-04 09:00:04 +08:00
Bo-Yi Wu 0a8d801380
fix: error from golangci-lint tool (#623) 2021-08-03 14:44:00 +08:00
Bo-Yi Wu 349c0c8c1d
fix: Function params involve heavy amount of copying (#622) 2021-08-02 14:07:30 +08:00
Bo-Yi Wu 6d65c1ea6e
chore(push): send error to specific URL (#621)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-02 12:37:38 +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 8d03ac5f1e
refactor: remove config from notification struct. (#617)
* refactor: remove config from notification struct.

* chore: update

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-01 19:48:57 +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 9bb618d506 fix: missing json pointer address
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-25 15:33:01 +08:00
Bo-Yi Wu f4fc2a5e7c chore: remove redunt code.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-25 10:24:25 +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 0b0f47e4f9 chore(queue): Add NSQ Parameter.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 23:01:31 +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 cd14311f70 chore: update go module
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 17:21:36 +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 fcfa195bc6 chore(queue): add custom logger.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 11:11:13 +08:00
Bo-Yi Wu a210abd323 chore: rename once to startOnce
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 11:00:04 +08:00
Bo-Yi Wu 6db9768758
chore(queue): returns the numbers of workers has been created (#611)
* chore(queue): returns the numbers of workers has been created

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

* chore: enable logger.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 10:51:26 +08:00
Bo-Yi Wu 6ebbbe5026
chore(queue): Shutdown service once. (#610)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 10:17:42 +08:00
Bo-Yi Wu d9947ea44d
chore: rename gorush to notify package (#609)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 01:56:33 +08:00
Bo-Yi Wu ce6e87639a
chore: support custom parameter in queue (#608)
* chore: support custom parameter in queue

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 01:29:47 +08:00
Bo-Yi Wu 66923789ff
chore: support custom logger in queue package (#607)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 00:27:11 +08:00
Bo-Yi Wu 2d01f8b854
chore: init log package (#606)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-20 21:16:53 +08:00
Bo-Yi Wu 05ec3209f6
refactor(queue): update run func in simple channel (#605) 2021-07-18 19:34:30 +08:00
Bo-Yi Wu d131d2935a
chore(NSQ): support custom run func and maxInFlight flag (#604) 2021-07-18 11:44:33 +08:00
Bo-Yi Wu ed25b0f42a
chore(queue): support custom run func (#603)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-18 09:03:57 +08:00
Bo-Yi Wu 380162a38a
chore(queue): add queue message interface (#602)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-18 01:58:46 +08:00
Bo-Yi Wu d6b4a0ae39
fix(NSQ): close service after waiting all job completed. (#601) 2021-07-18 00:19:17 +08:00
Bo-Yi Wu 87be86be08 chore(NSQ): update connect method to ConnectToNSQD
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-17 20:22:39 +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