This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE FROM `command` WHERE `name` = 'spectate'; | |
INSERT INTO `command` (`name`, `security`, `help`) VALUES ('spectate', 0, 'Syntax: .spectate #player\nAllow player to spectate arena.'); | |
DELETE FROM `command` WHERE `name` = 'spectatefrom'; | |
INSERT INTO `command` (`name`, `security`, `help`) VALUES ('spectatefrom', 0, 'Syntax: .spectatefrom #player\nAllow player to spectate arena from anotherplayer.'); | |
DELETE FROM `command` WHERE `name` = 'spectatecancel'; | |
INSERT INTO `command` (`name`, `security`, `help`) VALUES ('spectatecancel', 0, 'Syntax: .spectatecancel\nDisable spectator mode.'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "1.0.0", | |
"title": "eBags API", | |
"description": "\n## Authorization\nFor client authentication we will use `ApiAccessToken` which will be in the header of request.\n\nTo receive `ApiAccessToken`, client should make request to one of three endpoints - /members/RegisterResponsive, /members/SignInCustomer or /members/RefreshToken.\n\nAlso `ApiAccessToken` will be used in webview's requests. If site's backend will see `ApiAccessToken` in the header of request, and if client doesn't have cookies, than backend should create cookies using `ApiAccessToken`.\n\n## Steal/Deal of the Day\nWill be implemented by pushing notifications to customer.\n\nPayload for Steal/Deal of the Day should have `\"steal_deal_url\"` parameter.\n\nPayload for iOS device will be like:\n```json\n{\n \"aps\" : {\n ...\n }\n \n \"steal_deal_url\" : \"http://...\"\n}\n```\n## Bag Shazam\nWill be implemented by using api.pcsso.com. If we want to use this API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP TABLE IF EXISTS `wp_masterslunch_dishes`; | |
CREATE TABLE `wp_masterslunch_dishes` ( | |
`id` mediumint(9) NOT NULL AUTO_INCREMENT, | |
`name` varchar(255) NOT NULL, | |
`description` text, | |
`category` varchar(255) NOT NULL, | |
`user_id` mediumint(9) NOT NULL, | |
`price` int(11) NOT NULL, | |
`weight` int(11) DEFAULT NULL, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/notification/sender.go b/notification/sender.go | |
index 8fca35e..6657b60 100644 | |
--- a/notification/sender.go | |
+++ b/notification/sender.go | |
@@ -110,6 +110,7 @@ func (this *Sender) send(users []auth.User, vote storage.Vote) { | |
if len(devices.AppleIds) > 0 { | |
fmt.Printf("Notification sender debug: Server: %s, Cert: %s, Key: %s\n", this.AppleServer, this.AppleCertPath, this.AppleKeyPath) | |
apn, err := apns.NewClient(this.AppleServer, this.AppleCertPath, this.AppleKeyPath) | |
+ apn.MAX_PAYLOAD_SIZE = 2048 | |
if err != nil { |
NewerOlder