{"action":"opened","number":302,"pull_request":{"url":"https://api.github.com/repos/ninjaframework/ninja/pulls/302","id":28810491,"html_url":"https://github.com/ninjaframework/ninja/pull/302","diff_url":"https://github.com/ninjaframework/ninja/pull/302.diff","patch_url":"https://github.com/ninjaframework/ninja/pull/302.patch","issue_url":"https://api.github.com/repos/ninjaframework/ninja/issues/302","number":302,"state":"open","locked":false,"title":"added proposal for authenticity handling #23","user":{"login":"svenkubiak","id":67564,"avatar_url":"https://avatars.githubusercontent.com/u/67564?v=3","gravatar_id":"","url":"https://api.github.com/users/svenkubiak","html_url":"https://github.com/svenkubiak","followers_url":"https://api.github.com/users/svenkubiak/followers","following_url":"https://api.github.com/users/svenkubiak/following{/other_user}","gists_url":"https://api.github.com/users/svenkubiak/gists{/gist_id}","starred_url":"https://api.github.com/users/svenkubiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svenkubiak/subscriptions","organizations_url":"https://api.github.com/users/svenkubiak/orgs","repos_url":"https://api.github.com/users/svenkubiak/repos","events_url":"https://api.github.com/users/svenkubiak/events{/privacy}","received_events_url":"https://api.github.com/users/svenkubiak/received_events","type":"User","site_admin":false},"body":"This is a proposal for authenticity handling from #23 \r\n\r\nYou call in the template either ${authenticity(\"form\")} or ${authenticity(\"token\")} and it is checked via the filter, when you it the filter to one of your method.\r\n\r\nThis proposal is open for discussion. I will add tests and update the documentation once we agree on a final way to go.","created_at":"2015-02-06T14:06:06Z","updated_at":"2015-02-06T14:06:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cc78b7414b436fc0b0064db4a5a9c8f76a119da","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ninjaframework/ninja/pulls/302/commits","review_comments_url":"https://api.github.com/repos/ninjaframework/ninja/pulls/302/comments","review_comment_url":"https://api.github.com/repos/ninjaframework/ninja/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ninjaframework/ninja/issues/302/comments","statuses_url":"https://api.github.com/repos/ninjaframework/ninja/statuses/c6575f5366834da35f9b7bfcc18fcceb114f018d","head":{"label":"svenkubiak:authenticity","ref":"authenticity","sha":"c6575f5366834da35f9b7bfcc18fcceb114f018d","user":{"login":"svenkubiak","id":67564,"avatar_url":"https://avatars.githubusercontent.com/u/67564?v=3","gravatar_id":"","url":"https://api.github.com/users/svenkubiak","html_url":"https://github.com/svenkubiak","followers_url":"https://api.github.com/users/svenkubiak/followers","following_url":"https://api.github.com/users/svenkubiak/following{/other_user}","gists_url":"https://api.github.com/users/svenkubiak/gists{/gist_id}","starred_url":"https://api.github.com/users/svenkubiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svenkubiak/subscriptions","organizations_url":"https://api.github.com/users/svenkubiak/orgs","repos_url":"https://api.github.com/users/svenkubiak/repos","events_url":"https://api.github.com/users/svenkubiak/events{/privacy}","received_events_url":"https://api.github.com/users/svenkubiak/received_events","type":"User","site_admin":false},"repo":{"id":18467582,"name":"ninja","full_name":"svenkubiak/ninja","owner":{"login":"svenkubiak","id":67564,"avatar_url":"https://avatars.githubusercontent.com/u/67564?v=3","gravatar_id":"","url":"https://api.github.com/users/svenkubiak","html_url":"https://github.com/svenkubiak","followers_url":"https://api.github.com/users/svenkubiak/followers","following_url":"https://api.github.com/users/svenkubiak/following{/other_user}","gists_url":"https://api.github.com/users/svenkubiak/gists{/gist_id}","starred_url":"https://api.github.com/users/svenkubiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svenkubiak/subscriptions","organizations_url":"https://api.github.com/users/svenkubiak/orgs","repos_url":"https://api.github.com/users/svenkubiak/repos","events_url":"https://api.github.com/users/svenkubiak/events{/privacy}","received_events_url":"https://api.github.com/users/svenkubiak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/svenkubiak/ninja","description":"Full stack web framework for Java. Fast and productive. Built with Maven - runs on servlet containers and application servers.","fork":true,"url":"https://api.github.com/repos/svenkubiak/ninja","forks_url":"https://api.github.com/repos/svenkubiak/ninja/forks","keys_url":"https://api.github.com/repos/svenkubiak/ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/svenkubiak/ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/svenkubiak/ninja/teams","hooks_url":"https://api.github.com/repos/svenkubiak/ninja/hooks","issue_events_url":"https://api.github.com/repos/svenkubiak/ninja/issues/events{/number}","events_url":"https://api.github.com/repos/svenkubiak/ninja/events","assignees_url":"https://api.github.com/repos/svenkubiak/ninja/assignees{/user}","branches_url":"https://api.github.com/repos/svenkubiak/ninja/branches{/branch}","tags_url":"https://api.github.com/repos/svenkubiak/ninja/tags","blobs_url":"https://api.github.com/repos/svenkubiak/ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/svenkubiak/ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/svenkubiak/ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/svenkubiak/ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/svenkubiak/ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/svenkubiak/ninja/languages","stargazers_url":"https://api.github.com/repos/svenkubiak/ninja/stargazers","contributors_url":"https://api.github.com/repos/svenkubiak/ninja/contributors","subscribers_url":"https://api.github.com/repos/svenkubiak/ninja/subscribers","subscription_url":"https://api.github.com/repos/svenkubiak/ninja/subscription","commits_url":"https://api.github.com/repos/svenkubiak/ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/svenkubiak/ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/svenkubiak/ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/svenkubiak/ninja/issues/comments/{number}","contents_url":"https://api.github.com/repos/svenkubiak/ninja/contents/{+path}","compare_url":"https://api.github.com/repos/svenkubiak/ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/svenkubiak/ninja/merges","archive_url":"https://api.github.com/repos/svenkubiak/ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/svenkubiak/ninja/downloads","issues_url":"https://api.github.com/repos/svenkubiak/ninja/issues{/number}","pulls_url":"https://api.github.com/repos/svenkubiak/ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/svenkubiak/ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/svenkubiak/ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/svenkubiak/ninja/labels{/name}","releases_url":"https://api.github.com/repos/svenkubiak/ninja/releases{/id}","created_at":"2014-04-05T13:45:36Z","updated_at":"2015-02-05T06:20:09Z","pushed_at":"2015-02-06T14:03:13Z","git_url":"git://github.com/svenkubiak/ninja.git","ssh_url":"git@github.com:svenkubiak/ninja.git","clone_url":"https://github.com/svenkubiak/ninja.git","svn_url":"https://github.com/svenkubiak/ninja","homepage":"http://www.ninjaframework.org","size":19818,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"ninjaframework:develop","ref":"develop","sha":"98889435d1b2a00de15b2d543e84b0b6a98ddec4","user":{"login":"ninjaframework","id":4134828,"avatar_url":"https://avatars.githubusercontent.com/u/4134828?v=3","gravatar_id":"","url":"https://api.github.com/users/ninjaframework","html_url":"https://github.com/ninjaframework","followers_url":"https://api.github.com/users/ninjaframework/followers","following_url":"https://api.github.com/users/ninjaframework/following{/other_user}","gists_url":"https://api.github.com/users/ninjaframework/gists{/gist_id}","starred_url":"https://api.github.com/users/ninjaframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninjaframework/subscriptions","organizations_url":"https://api.github.com/users/ninjaframework/orgs","repos_url":"https://api.github.com/users/ninjaframework/repos","events_url":"https://api.github.com/users/ninjaframework/events{/privacy}","received_events_url":"https://api.github.com/users/ninjaframework/received_events","type":"Organization","site_admin":false},"repo":{"id":4610430,"name":"ninja","full_name":"ninjaframework/ninja","owner":{"login":"ninjaframework","id":4134828,"avatar_url":"https://avatars.githubusercontent.com/u/4134828?v=3","gravatar_id":"","url":"https://api.github.com/users/ninjaframework","html_url":"https://github.com/ninjaframework","followers_url":"https://api.github.com/users/ninjaframework/followers","following_url":"https://api.github.com/users/ninjaframework/following{/other_user}","gists_url":"https://api.github.com/users/ninjaframework/gists{/gist_id}","starred_url":"https://api.github.com/users/ninjaframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninjaframework/subscriptions","organizations_url":"https://api.github.com/users/ninjaframework/orgs","repos_url":"https://api.github.com/users/ninjaframework/repos","events_url":"https://api.github.com/users/ninjaframework/events{/privacy}","received_events_url":"https://api.github.com/users/ninjaframework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ninjaframework/ninja","description":"Ninja is a full stack web framework for Java. Rock solid, fast and super productive.","fork":false,"url":"https://api.github.com/repos/ninjaframework/ninja","forks_url":"https://api.github.com/repos/ninjaframework/ninja/forks","keys_url":"https://api.github.com/repos/ninjaframework/ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ninjaframework/ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ninjaframework/ninja/teams","hooks_url":"https://api.github.com/repos/ninjaframework/ninja/hooks","issue_events_url":"https://api.github.com/repos/ninjaframework/ninja/issues/events{/number}","events_url":"https://api.github.com/repos/ninjaframework/ninja/events","assignees_url":"https://api.github.com/repos/ninjaframework/ninja/assignees{/user}","branches_url":"https://api.github.com/repos/ninjaframework/ninja/branches{/branch}","tags_url":"https://api.github.com/repos/ninjaframework/ninja/tags","blobs_url":"https://api.github.com/repos/ninjaframework/ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ninjaframework/ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ninjaframework/ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/ninjaframework/ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ninjaframework/ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/ninjaframework/ninja/languages","stargazers_url":"https://api.github.com/repos/ninjaframework/ninja/stargazers","contributors_url":"https://api.github.com/repos/ninjaframework/ninja/contributors","subscribers_url":"https://api.github.com/repos/ninjaframework/ninja/subscribers","subscription_url":"https://api.github.com/repos/ninjaframework/ninja/subscription","commits_url":"https://api.github.com/repos/ninjaframework/ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/ninjaframework/ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/ninjaframework/ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/ninjaframework/ninja/issues/comments/{number}","contents_url":"https://api.github.com/repos/ninjaframework/ninja/contents/{+path}","compare_url":"https://api.github.com/repos/ninjaframework/ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ninjaframework/ninja/merges","archive_url":"https://api.github.com/repos/ninjaframework/ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ninjaframework/ninja/downloads","issues_url":"https://api.github.com/repos/ninjaframework/ninja/issues{/number}","pulls_url":"https://api.github.com/repos/ninjaframework/ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/ninjaframework/ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/ninjaframework/ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ninjaframework/ninja/labels{/name}","releases_url":"https://api.github.com/repos/ninjaframework/ninja/releases{/id}","created_at":"2012-06-09T21:06:05Z","updated_at":"2015-02-06T11:06:48Z","pushed_at":"2015-02-04T21:12:49Z","git_url":"git://github.com/ninjaframework/ninja.git","ssh_url":"git@github.com:ninjaframework/ninja.git","clone_url":"https://github.com/ninjaframework/ninja.git","svn_url":"https://github.com/ninjaframework/ninja","homepage":"http://www.ninjaframework.org","size":34372,"stargazers_count":631,"watchers_count":631,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":228,"mirror_url":null,"open_issues_count":52,"forks":228,"open_issues":52,"watchers":631,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ninjaframework/ninja/pulls/302"},"html":{"href":"https://github.com/ninjaframework/ninja/pull/302"},"issue":{"href":"https://api.github.com/repos/ninjaframework/ninja/issues/302"},"comments":{"href":"https://api.github.com/repos/ninjaframework/ninja/issues/302/comments"},"review_comments":{"href":"https://api.github.com/repos/ninjaframework/ninja/pulls/302/comments"},"review_comment":{"href":"https://api.github.com/repos/ninjaframework/ninja/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ninjaframework/ninja/pulls/302/commits"},"statuses":{"href":"https://api.github.com/repos/ninjaframework/ninja/statuses/c6575f5366834da35f9b7bfcc18fcceb114f018d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":63,"deletions":4,"changed_files":4}}