Commit Graph

38 Commits

Author SHA1 Message Date
Bo-Yi Wu a7b969dcf3 refactor: update import path. 2017-01-19 17:08:12 +08:00
Bo-Yi Wu 1707f39b7d remove required field: message
Fix #162
Fix #146

//     "aps" : {
//         "alert" : {
//             "title" : "Game Request",
//             "body" : "Bob wants to play poker",
//             "action-loc-key" : "PLAY"
//         },
//         "badge" : 5
//     },

and

//     "aps" : {
//         "alert" : "You got your emails.",
//         "badge" : 9,
//         "sound" : "bingbong.aiff"
//     },

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-24 15:54:48 +08:00
Bo-Yi Wu 65d486b65b ignore alert object if message is empty.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-09 22:56:03 +08:00
Bo-Yi Wu 1f2da28f4b fixed #147 support zero value of badge.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-08 10:13:32 +08:00
Bo-Yi Wu 5f79283d4f fix golint error.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-07 22:11:58 +08:00
Bo-Yi Wu 4b10396093 Suppo zero value to clear the badge on the app icon.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-07 14:33:24 +08:00
Bo-Yi Wu (吳柏毅) 40dabf75c5 support subtitle for apple watch.
Signed-off-by: Bo-Yi Wu (吳柏毅) <appleboy.tw@gmail.com>
2016-11-26 14:42:49 +08:00
Bo-Yi Wu 3294dbaf95 changed type for core section.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-02 15:55:47 +08:00
Bo-Yi Wu e784ae538a Support set http proxy for gorush CLI.
only working for GCM protocol.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-29 08:48:24 +08:00
Bo-Yi Wu 6be5e24833 rename pem_path to key_path.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-12 19:09:41 +08:00
Bo-Yi Wu 146854e381 fixed #90 Support load p12 format of certificate file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-12 15:54:17 +08:00
Bo-Yi Wu b514bd3e00 upgrade google gcm library.
Change TimeToLive type to *unit to allow zero values.

ref:
bda37d790a

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-04 20:15:43 +08:00
Bo-Yi Wu 49c376a765 fixed #91 Remove pem_cert_path config setting.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-27 14:53:54 +08:00
Bo-Yi Wu 6005a51e0c rename the config path.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-03 09:56:59 +08:00
Bo-Yi Wu 03ab8eeac7 integrate redis engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 19:42:21 +08:00
Bo-Yi Wu 8df5c63860 integrate memory engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 17:03:08 +08:00
Bo-Yi Wu 859a24d049 fix gofmt.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 11:05:32 +08:00
Bo-Yi Wu 28bdc4a456 fix constant variable.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-24 15:54:41 +08:00
Bo-Yi Wu b921030688 check android message.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-24 14:30:17 +08:00
Bo-Yi Wu 0f09f5c851 fix gofmt error.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-15 18:06:16 +08:00
Bo-Yi Wu e6f2bf5152 Add app status.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-15 09:41:10 +08:00
Bo-Yi Wu b877f1cc9e fix testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-14 23:58:25 +08:00
Bo-Yi Wu 6efe23923c support notification queue and worker
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-14 20:34:23 +08:00
Bo-Yi Wu 74e83d8726 rename to gorush
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-13 15:22:04 +08:00
Bo-Yi Wu d87aed23de fix golint error.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-13 14:59:28 +08:00
Bo-Yi Wu 9bc2df6baa replace Extend with data field.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-13 11:15:24 +08:00
Bo-Yi Wu 08339e36d7 Enhance document and android payload
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-13 10:06:21 +08:00
Bo-Yi Wu c61aeeec7f fix server testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-10 12:02:44 +08:00
Bo-Yi Wu bbfc058d05 support multiple notification request.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-10 11:36:49 +08:00
Bo-Yi Wu 86002dd4be testing string format of log.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-09 14:16:36 +08:00
Bo-Yi Wu 09a90e28fa fix #32 support overwrite android api key from post field.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-09 14:06:03 +08:00
Bo-Yi Wu 0bd6840f28 fix #31 support iOS expiration field
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-09 12:15:39 +08:00
Bo-Yi Wu 227c8ff582 Support ios LocArgs.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-08 15:31:58 +08:00
Bo-Yi Wu 09b4bbe839 remove duplicate of testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-03 21:05:32 +08:00
Bo-Yi Wu 9097631c92 add androdi and ios testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-03 17:57:04 +08:00
Bo-Yi Wu de78a189fd Add check android and ios conf.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-02 23:51:42 +08:00
Bo-Yi Wu 5bd75c8624 add android payload testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-01 17:14:23 +08:00
Bo-Yi Wu a41e63bcb7 Add ios payload testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-01 15:45:24 +08:00