{"action":"created","issue":{"url":"https://api.github.com/repos/fossasia/engelsystem/issues/224","repository_url":"https://api.github.com/repos/fossasia/engelsystem","labels_url":"https://api.github.com/repos/fossasia/engelsystem/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/fossasia/engelsystem/issues/224/comments","events_url":"https://api.github.com/repos/fossasia/engelsystem/issues/224/events","html_url":"https://github.com/fossasia/engelsystem/pull/224","id":172250281,"number":224,"title":"Settings Page","user":{"login":"kamishettysreeja25","id":14835922,"avatar_url":"https://avatars.githubusercontent.com/u/14835922?v=3","gravatar_id":"","url":"https://api.github.com/users/kamishettysreeja25","html_url":"https://github.com/kamishettysreeja25","followers_url":"https://api.github.com/users/kamishettysreeja25/followers","following_url":"https://api.github.com/users/kamishettysreeja25/following{/other_user}","gists_url":"https://api.github.com/users/kamishettysreeja25/gists{/gist_id}","starred_url":"https://api.github.com/users/kamishettysreeja25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamishettysreeja25/subscriptions","organizations_url":"https://api.github.com/users/kamishettysreeja25/orgs","repos_url":"https://api.github.com/users/kamishettysreeja25/repos","events_url":"https://api.github.com/users/kamishettysreeja25/events{/privacy}","received_events_url":"https://api.github.com/users/kamishettysreeja25/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fossasia/engelsystem/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":{"login":"kamishettysreeja25","id":14835922,"avatar_url":"https://avatars.githubusercontent.com/u/14835922?v=3","gravatar_id":"","url":"https://api.github.com/users/kamishettysreeja25","html_url":"https://github.com/kamishettysreeja25","followers_url":"https://api.github.com/users/kamishettysreeja25/followers","following_url":"https://api.github.com/users/kamishettysreeja25/following{/other_user}","gists_url":"https://api.github.com/users/kamishettysreeja25/gists{/gist_id}","starred_url":"https://api.github.com/users/kamishettysreeja25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamishettysreeja25/subscriptions","organizations_url":"https://api.github.com/users/kamishettysreeja25/orgs","repos_url":"https://api.github.com/users/kamishettysreeja25/repos","events_url":"https://api.github.com/users/kamishettysreeja25/events{/privacy}","received_events_url":"https://api.github.com/users/kamishettysreeja25/received_events","type":"User","site_admin":false},"assignees":[{"login":"kamishettysreeja25","id":14835922,"avatar_url":"https://avatars.githubusercontent.com/u/14835922?v=3","gravatar_id":"","url":"https://api.github.com/users/kamishettysreeja25","html_url":"https://github.com/kamishettysreeja25","followers_url":"https://api.github.com/users/kamishettysreeja25/followers","following_url":"https://api.github.com/users/kamishettysreeja25/following{/other_user}","gists_url":"https://api.github.com/users/kamishettysreeja25/gists{/gist_id}","starred_url":"https://api.github.com/users/kamishettysreeja25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamishettysreeja25/subscriptions","organizations_url":"https://api.github.com/users/kamishettysreeja25/orgs","repos_url":"https://api.github.com/users/kamishettysreeja25/repos","events_url":"https://api.github.com/users/kamishettysreeja25/events{/privacy}","received_events_url":"https://api.github.com/users/kamishettysreeja25/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/fossasia/engelsystem/milestones/14","html_url":"https://github.com/fossasia/engelsystem/milestones/GSOC%202016%20Milestone%2014%20(Final%20Evaluation)","labels_url":"https://api.github.com/repos/fossasia/engelsystem/milestones/14/labels","id":1772192,"number":14,"title":"GSOC 2016 Milestone 14 (Final Evaluation)","description":"GSOC 2016 Milestone 14 - All issues to be completed by 21st August 2016.\r\n\r\nInstructions: \r\n1. Create issues to work on.\r\n2. Assign the issue to the milestone.\r\n3. Assign the issue to a user (yourself)\r\n\r\nCompleted Milestone:\r\n1. Create a blog post describing what has been done\r\n2. Tag a release\r\n3. Deployment","creator":{"login":"hpdang","id":1658742,"avatar_url":"https://avatars.githubusercontent.com/u/1658742?v=3","gravatar_id":"","url":"https://api.github.com/users/hpdang","html_url":"https://github.com/hpdang","followers_url":"https://api.github.com/users/hpdang/followers","following_url":"https://api.github.com/users/hpdang/following{/other_user}","gists_url":"https://api.github.com/users/hpdang/gists{/gist_id}","starred_url":"https://api.github.com/users/hpdang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpdang/subscriptions","organizations_url":"https://api.github.com/users/hpdang/orgs","repos_url":"https://api.github.com/users/hpdang/repos","events_url":"https://api.github.com/users/hpdang/events{/privacy}","received_events_url":"https://api.github.com/users/hpdang/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":14,"state":"open","created_at":"2016-05-17T17:33:41Z","updated_at":"2016-08-22T17:59:41Z","due_on":"2016-08-21T00:00:00Z","closed_at":null},"comments":4,"created_at":"2016-08-20T03:10:32Z","updated_at":"2016-08-22T18:02:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fossasia/engelsystem/pulls/224","html_url":"https://github.com/fossasia/engelsystem/pull/224","diff_url":"https://github.com/fossasia/engelsystem/pull/224.diff","patch_url":"https://github.com/fossasia/engelsystem/pull/224.patch"},"body":"Issue: https://github.com/fossasia/engelsystem/issues/218\r\n- Fixed the initialisation error.\r\n- validated the code\r\n- Fixed indentation\r\n"},"comment":{"url":"https://api.github.com/repos/fossasia/engelsystem/issues/comments/241497450","html_url":"https://github.com/fossasia/engelsystem/pull/224#issuecomment-241497450","issue_url":"https://api.github.com/repos/fossasia/engelsystem/issues/224","id":241497450,"user":{"login":"kamishettysreeja25","id":14835922,"avatar_url":"https://avatars.githubusercontent.com/u/14835922?v=3","gravatar_id":"","url":"https://api.github.com/users/kamishettysreeja25","html_url":"https://github.com/kamishettysreeja25","followers_url":"https://api.github.com/users/kamishettysreeja25/followers","following_url":"https://api.github.com/users/kamishettysreeja25/following{/other_user}","gists_url":"https://api.github.com/users/kamishettysreeja25/gists{/gist_id}","starred_url":"https://api.github.com/users/kamishettysreeja25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamishettysreeja25/subscriptions","organizations_url":"https://api.github.com/users/kamishettysreeja25/orgs","repos_url":"https://api.github.com/users/kamishettysreeja25/repos","events_url":"https://api.github.com/users/kamishettysreeja25/events{/privacy}","received_events_url":"https://api.github.com/users/kamishettysreeja25/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T18:02:39Z","updated_at":"2016-08-22T18:02:39Z","body":"#218 \r\nContents Added in the PR.\r\n  ```\r\n$msg = \"\";\r\n  $event_name = \"\";\r\n  $buildup_start_date = \"\";\r\n  $event_start_date = \"\";\r\n  $event_end_date = \"\";\r\n  $teardown_end_date = \"\";\r\n  $event_welcome_msg = \"\";\r\n```\r\nVariable intilisation\r\n\r\nand dates validation\r\n```\r\nif (strtotime($_REQUEST['buildup_start_date']) <= strtotime($_REQUEST['event_start_date'])) {\r\n      if (strtotime($_REQUEST['event_start_date']) <= strtotime($_REQUEST['event_end_date'])) {\r\n        if (strtotime($_REQUEST['event_end_date']) <= strtotime($_REQUEST['teardown_end_date'])) {\r\n          $ok = true;\r\n        }\r\n        else {\r\n          $ok = false;\r\n          $msg .= error(_(\"Please check the order of dates corrrect order is event end date <= teardown end date\"));\r\n        }\r\n      }\r\n      else {\r\n        $ok = false;\r\n        $msg .= error(_(\"Please check the order of dates corrrect order is event start date <= event end date\"));\r\n      }\r\n    }\r\n    else {\r\n      $ok = false;\r\n      $msg .= error(_(\"Please check the order of dates corrrect order is buildup start date <= event start date\"));\r\n    }\r\n\r\n```\r\nTested the code for different cases. Merging the PR."}}
{"actor":{"display_login":"kamishettysreeja25"}}