{"push_id":1386757743,"size":12,"distinct_size":1,"ref":"refs/heads/master","head":"4f12fcd423d8809765e2d5acbd76798b17093d9c","before":"67b8068fb126ff5e823ff969d6504e61b54da772","commits":[{"sha":"d8b3e59c10413a47b7f4027a47fe493e2c2fef59","author":{"name":"Hamed","email":"38475ea70f6fce2adf790d056862e2faebd0551f@gmail.com"},"message":"Update README.md","distinct":false,"url":"https://api.github.com/repos/larabook/gateway/commits/d8b3e59c10413a47b7f4027a47fe493e2c2fef59"},{"sha":"8c3ca46996154185dafeec615e5af4d4bba2859f","author":{"name":"Ram-yar","email":"9109ef86d4224231725907cc4842b1afca20c874@gmail.com"},"message":"Update 2016_05_02_193213_create_gateway_transactions_table.php\n\ndefault value for created_at and updated_at should be null or in its special format. By default it uses 0 as default value and it causes an error :)","distinct":false,"url":"https://api.github.com/repos/larabook/gateway/commits/8c3ca46996154185dafeec615e5af4d4bba2859f"},{"sha":"5edc3c1c2a9c6a2dbe55bf9294924adde73a578c","author":{"name":"Hamed","email":"38475ea70f6fce2adf790d056862e2faebd0551f@gmail.com"},"message":"Merge pull request #27 from Ram-yar/patch-1\n\nChange migration timestamps","distinct":false,"url":"https://api.github.com/repos/larabook/gateway/commits/5edc3c1c2a9c6a2dbe55bf9294924adde73a578c"},{"sha":"f012cf567614e60d8f6c39fb51cdd953e860574d","author":{"name":"Hamed","email":"38475ea70f6fce2adf790d056862e2faebd0551f@gmail.com"},"message":"رفع خطای ناشی از آپلود فایل های پکیجح در مسیر اشتباه","distinct":false,"url":"https://api.github.com/repos/larabook/gateway/commits/f012cf567614e60d8f6c39fb51cdd953e860574d"},{"sha":"c329925a476195867df658c7439f9e73f8a585ef","author":{"name":"Hamed","email":"38475ea70f6fce2adf790d056862e2faebd0551f@gmail.com"},"message":"fixes a bug","distinct":false,"url":"https://api.github.com/repos/larabook/gateway/commits/c329925a476195867df658c7439f9e73f8a585ef"},{"sha":"8b31bfd0bf8060222d358dd1020896ce09ad2361","author":{"name":"Erfan Sahafnejad","email":"c181d0282e373708b4e773760fa92ca07b28f784@gmail.com"},"message":"Add new methods\n\nAdd setDescription, setMobileNumber and setEmail methods.","distinct":false,"url":"https://api.github.com/repos/larabook/gateway/commits/8b31bfd0bf8060222d358dd1020896ce09ad2361"},{"sha":"0df36d9ff5a49e98d76ead8483edb6942a6111e7","author":{"name":"Erfan Sahafnejad","email":"c181d0282e373708b4e773760fa92ca07b28f784@gmail.com"},"message":"Add new methods\n\nAdd setDescription, setMobileNumber and setEmail methods.","distinct":false,"url":"https://api.github.com/repos/larabook/gateway/commits/0df36d9ff5a49e98d76ead8483edb6942a6111e7"},{"sha":"380af2725c21e1e081638daa190126a37fe13efe","author":{"name":"Ram-yar","email":"9109ef86d4224231725907cc4842b1afca20c874@gmail.com"},"message":"make ref_id nullable\n\nHi,\r\n\r\nAccording to the error and PoolPort source and the mentioned function, ref_id should be nullable :\r\n\r\nError:\r\n    SQLSTATE[HY000]: General error: 1364 Field 'ref_id' doesn't have a default value (SQL: insert into `gateway_transactions` (`id`, `port`, `price`, `status`, `ip`, `created_at`, `updated_at`) values (1477224769, MELLAT, 1000, INIT, 192.168.10.1, 2016-10-23 15:42:50, 2016-10-23 15:42:50))\r\n\r\nInsert function :\r\n    protected function newTransaction()\r\n\t{\r\n\t\t$uid = $this->getTimeId();\r\n\t\t$this->transactionId = $this->getTable()->insert([\r\n\t\t\t'id' => $uid,\r\n\t\t\t'port' => $this->getPortName(),\r\n\t\t\t'price' => $this->amount,\r\n\t\t\t'status' => Enum::TRANSACTION_INIT,\r\n\t\t\t'ip' => Request::getClientIp(),\r\n\t\t\t'created_at' => Carbon::now(),\r\n\t\t\t'updated_at' => Carbon::now(),\r\n\t\t]) ? $uid : null;\r\n\r\n\t\treturn $this->transactionId;\r\n\t}\r\n\r\npoolport source includes this line : \r\n\r\n    `ref_id` varchar(255) COLLATE utf8_persian_ci DEFAULT NULL,","distinct":false,"url":"https://api.github.com/repos/larabook/gateway/commits/380af2725c21e1e081638daa190126a37fe13efe"},{"sha":"9373594265c6768e0f00e5c8be48d50a1fb9415d","author":{"name":"Hamed","email":"38475ea70f6fce2adf790d056862e2faebd0551f@gmail.com"},"message":"Merge pull request #28 from erfansahaf/patch-1\n\nPatch 1 (Zarinpal/Zarinpal.php)","distinct":false,"url":"https://api.github.com/repos/larabook/gateway/commits/9373594265c6768e0f00e5c8be48d50a1fb9415d"},{"sha":"a15cf6851f8ddb7844278998689f4fee1d9f9812","author":{"name":"Hamed","email":"38475ea70f6fce2adf790d056862e2faebd0551f@gmail.com"},"message":"Merge pull request #29 from erfansahaf/patch-2\n\nAdd new methods","distinct":false,"url":"https://api.github.com/repos/larabook/gateway/commits/a15cf6851f8ddb7844278998689f4fee1d9f9812"},{"sha":"e797910ca65bc60b074766c4b6f5ddcea7425deb","author":{"name":"Hamed","email":"38475ea70f6fce2adf790d056862e2faebd0551f@gmail.com"},"message":"Merge pull request #30 from Ram-yar/patch-2\n\nmake ref_id nullable","distinct":false,"url":"https://api.github.com/repos/larabook/gateway/commits/e797910ca65bc60b074766c4b6f5ddcea7425deb"},{"sha":"4f12fcd423d8809765e2d5acbd76798b17093d9c","author":{"name":"Hamed","email":"38475ea70f6fce2adf790d056862e2faebd0551f@gmail.com"},"message":"Merge pull request #33 from larabook/dev\n\nرفع مشکل خطای nullable","distinct":true,"url":"https://api.github.com/repos/larabook/gateway/commits/4f12fcd423d8809765e2d5acbd76798b17093d9c"}]}
{"actor":{"display_login":"hpakdaman"}}