Commit Graph

895 Commits

Author SHA1 Message Date
Bo-Yi Wu 92c02439fa chore: remove microbadge url 2019-10-16 23:40:46 +08:00
Bo-Yi Wu 2460d07c68 chore: update apns2 module 2019-10-16 23:40:14 +08:00
Sebastien Melki 7ddc7ed644 When queue is full, requests hang because Wait.Done() is not cal… (#430)
* if queue is full then mark notification as failed and unblock the wait group instead of hanging

* use WaitDone() function instead of calling Done() on notification wait group as it is safer
2019-10-16 15:08:24 +08:00
Amin 42d406b85f Fix typo in print error message (#429) 2019-10-16 15:01:58 +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 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 a495d00eca docs: update testing command 2019-07-21 21:55:26 +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
dependabot[bot] a4b41daf2d chore(deps): bump tar from 2.2.1 to 2.2.2 in /rpc/example/node (#413)
Bumps [tar](https://github.com/npm/node-tar) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Commits](https://github.com/npm/node-tar/compare/v2.2.1...v2.2.2)
2019-06-06 23:17:04 +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
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
Bo-Yi Wu 33cddfa421 docs: update api_key description
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-05-06 14:35:41 +08:00
Bo-Yi Wu 55ff87f96f
chore: remove facebook graceful shutdown package. (#408)
* chore: remove facebook graceful shutdown package.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-04-29 11:33:27 +08:00
Bo-Yi Wu c08f593a86 feat: support gxz command for compressing and decompressing data 2019-04-27 23:45:28 +08:00
Bo-Yi Wu 27ec42543b
feat: add tryEnqueue function. (#406)
* feat: add tryEnqueue function.

tryEnqueue tries to enqueue a job to the given job channel. Returns true if
the operation was successful, and false if enqueuing would not have been
possible without blocking. Job is not enqueued in the latter case.

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

* remove inital worker

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-04-25 23:10:12 +08:00
Cem KIY 5b526a73bd fixed #402 item get value error fix (#404)
- bager rename badger
- Value method not usable, therfore changed to ValueCopy
2019-04-13 22:39:33 +08:00
Bo-Yi Wu 7b0750c807 docs: Add demo app build in flutter. 2019-04-08 23:42:58 +08:00
Bo-Yi Wu 6cc8e9f290 chore: update copyright year 2019-03-19 00:04:50 +08:00
Bo-Yi Wu 455a68acdf refactor: remove install misspell command in Makefine 2019-03-18 22:41:12 +08:00
Bo-Yi Wu bb7abb9a0a specific arch platform
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-03-18 14:16:29 +08:00
Helmi Rifai ae6c01bd67 Adds QueueUsage to prometheus metrics (same as /api/stat/app) (#401)
Exposes gorush_queue_usage metric to be used in prometheus so monitor internal queues

Useful to make sure we are coping well with traffic
2019-03-16 22:19:05 +08:00
Bo-Yi Wu 758d4d60bb
chore: update test token. (#400) 2019-03-16 18:00:06 +08:00
Bo-Yi Wu dd186e388d chore: remove specific the arch of OS 2019-03-16 13:45:11 +08:00
Bo-Yi Wu caf307e4d2 support arm arm64
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-03-16 13:23:53 +08:00
Bo-Yi Wu 3fcf974049 support arm
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-03-16 13:09:36 +08:00
Bo-Yi Wu 45f84ba2a1 chore: update windows base image 2019-03-16 11:56:34 +08:00
Bo-Yi Wu cddd7efd03 chore: renamd dockerfile for windows 2019-03-16 11:53:00 +08:00
Bo-Yi Wu e75b92e2b2 fix: remove gopath 2019-03-16 11:49:33 +08:00
Bo-Yi Wu 45eefea636 feat: support windows build 2019-03-16 11:48:30 +08:00
Bo-Yi Wu 74f1e6573c feat: support windows build 2019-03-16 11:46:37 +08:00
Bo-Yi Wu 9e53ba9917 docs: [ci skip] remove FOSSA badge 2019-03-16 11:37:42 +08:00
Bo-Yi Wu 3f223cf6c0
feat: switch to drone 1.0 (#399)
fix #397
2019-03-16 11:37:01 +08:00
Bo-Yi Wu 5321ed4575 feat: switch vendor to go mod. 2019-03-16 09:27:47 +08:00
Daniel Jankowski 7f97bbf178 fixed: sound without a critical alert in ios push notifications (#394)
Currently the notification, if a sound is specified, will be converted into a critical notification. This behaviour occurs because the sideshow/apns2 package initializes a new sound-dict on `payload.SoundName()` and inserts the name into it. If the sound-key is specified as a dictionary, the alert will be seen as a critical alert according to the documentation [developer.apple.com/documentation/usernotifications](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification#2943363).

In order to prevent the notification to get a critical one by specifying a sound, the sound name from the rest-API needs to be set as string to the sound-property of the payload for apns. This can be achieved by setting either the sound-key from the request to the sound property of the payload if it is a string or by setting the soundname-key from the request to the sound property without the usage of `payload.SoundName()`. For more consistency to the documentation, this pull request implements the variant, that the sound-key from the request is set as string into the sound-property of the apns-payload.
2019-03-14 00:01:15 +08:00
Bo-Yi Wu cea2056d26 feat(makefile): add phony for build. 2019-02-04 18:13:55 +08:00
Belek 1ef90c8461 Update README.md. Clarify sending notifications using Firebase (#392)
It was [not obvious](https://github.com/appleboy/gorush/issues/391) that I should specify `platform=2 (Android)` if  I want to send notifications on both Android and iOS devices using Firebase, so here are some changes in documentation. Thanks!
2019-02-04 18:06:09 +08:00
Bo-Yi Wu 1005389bdf chore: upgrade go module for go1.11.4 2018-12-19 23:37:39 +08:00
Bo-Yi Wu a7a451e363
fix(ios): mapstructure for sound field. (#385) 2018-11-20 17:01:35 +08:00
Bo-Yi Wu 375eec1d90
feat(ios12): Add support for Summary arguments in notifications (#384)
* feat(ios12): Add support for Summary arguments in notifications

* feat: upgrade go module
2018-11-20 11:02:26 +08:00
Bo-Yi Wu 49a81edbd0 chore(module): update module version. 2018-11-15 15:48:22 +08:00
Bo-Yi Wu facb8a9834
refactor(proto): upgrade to gogo/protobuf/protoc-gen-gofast (#381)
* refactor(proto): upgrade to gogo/protobuf/protoc-gen-gofast

* feat: update

* feat: update
2018-11-15 15:42:09 +08:00
Bo-Yi Wu ffaae07b86 docs: add license badge 2018-11-09 14:43:34 +08:00
Dmitry Dorogin a27fc1f754 Update README.md (#378) 2018-10-18 09:00:25 +08:00
Bo-Yi Wu cf56fda8db fix typo
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2018-10-15 11:57:24 +08:00