{"action":"created","comment":{"url":"https://api.github.com/repos/dreamwidth/dw-free/pulls/comments/30478830","id":30478830,"diff_hunk":"@@ -346,6 +346,22 @@ body<=\n                         $result .= \"<?p \" . BML::ml('.success.editedstillsuspended', { aopts => \"href='$LJ::SITEROOT/abuse/report'\" }) . \" p?>\";\n                     }\n                 }\n+                \n+                if ($req{\"security\"} eq \"private\") {\n+                    $result .=\"<p>$ML{'.extradata.sec.private'}</p>\";\n+                } elsif ($req{\"security\"} eq \"usemask\") {\n+                    if ($req{\"allowmask\"} == 0) { # custom security with no group -- essentially private\n+                        $result .=\"<p>$ML{'.extradata.sec.private'}</p>\";\n+                    } elsif ($req{\"allowmask\"} > 1) { # custom group\n+                        $result .=\"<p>$ML{'.extradata.sec.custom'}</p>\";\n+                    } else { # friends only\n+                        $result .=\"<p>$ML{'.extradata.sec.access'}</p>\";\n+                    }\n+                } else {\n+                    $result .=\"<p>$ML{'.extradata.sec.public'}</p>\";\n+                }\n+                \n+                $result .=\"<?p \" . BML::ml('.extradata.subject', { subject => $req{\"subject\"} }) . \" p?>\";","path":"htdocs/editjournal.bml","position":19,"original_position":19,"commit_id":"c434ecbb25c8e849139c7247a7809a927c9c48ac","original_commit_id":"c434ecbb25c8e849139c7247a7809a927c9c48ac","user":{"login":"afuna","id":364169,"avatar_url":"https://avatars.githubusercontent.com/u/364169?v=3","gravatar_id":"","url":"https://api.github.com/users/afuna","html_url":"https://github.com/afuna","followers_url":"https://api.github.com/users/afuna/followers","following_url":"https://api.github.com/users/afuna/following{/other_user}","gists_url":"https://api.github.com/users/afuna/gists{/gist_id}","starred_url":"https://api.github.com/users/afuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afuna/subscriptions","organizations_url":"https://api.github.com/users/afuna/orgs","repos_url":"https://api.github.com/users/afuna/repos","events_url":"https://api.github.com/users/afuna/events{/privacy}","received_events_url":"https://api.github.com/users/afuna/received_events","type":"User","site_admin":false},"body":"ehtml as vwell pleoase!","created_at":"2015-05-18T02:28:23Z","updated_at":"2015-05-18T02:28:23Z","html_url":"https://github.com/dreamwidth/dw-free/pull/1388#discussion_r30478830","pull_request_url":"https://api.github.com/repos/dreamwidth/dw-free/pulls/1388","_links":{"self":{"href":"https://api.github.com/repos/dreamwidth/dw-free/pulls/comments/30478830"},"html":{"href":"https://github.com/dreamwidth/dw-free/pull/1388#discussion_r30478830"},"pull_request":{"href":"https://api.github.com/repos/dreamwidth/dw-free/pulls/1388"}}},"pull_request":{"url":"https://api.github.com/repos/dreamwidth/dw-free/pulls/1388","id":35592499,"html_url":"https://github.com/dreamwidth/dw-free/pull/1388","diff_url":"https://github.com/dreamwidth/dw-free/pull/1388.diff","patch_url":"https://github.com/dreamwidth/dw-free/pull/1388.patch","issue_url":"https://api.github.com/repos/dreamwidth/dw-free/issues/1388","number":1388,"state":"open","locked":false,"title":"Additional information on entry splash page","user":{"login":"woggy","id":3821254,"avatar_url":"https://avatars.githubusercontent.com/u/3821254?v=3","gravatar_id":"","url":"https://api.github.com/users/woggy","html_url":"https://github.com/woggy","followers_url":"https://api.github.com/users/woggy/followers","following_url":"https://api.github.com/users/woggy/following{/other_user}","gists_url":"https://api.github.com/users/woggy/gists{/gist_id}","starred_url":"https://api.github.com/users/woggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woggy/subscriptions","organizations_url":"https://api.github.com/users/woggy/orgs","repos_url":"https://api.github.com/users/woggy/repos","events_url":"https://api.github.com/users/woggy/events{/privacy}","received_events_url":"https://api.github.com/users/woggy/received_events","type":"User","site_admin":false},"body":"Pulls in the posted security level and subject for the entry and displays them to the user on the splash page. Functional for both old and new-style update pages.\r\n\r\nFixes #1231","created_at":"2015-05-17T20:12:03Z","updated_at":"2015-05-18T02:28:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40ac92ed2443da5b1706fbf63531012800544041","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dreamwidth/dw-free/pulls/1388/commits","review_comments_url":"https://api.github.com/repos/dreamwidth/dw-free/pulls/1388/comments","review_comment_url":"https://api.github.com/repos/dreamwidth/dw-free/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dreamwidth/dw-free/issues/1388/comments","statuses_url":"https://api.github.com/repos/dreamwidth/dw-free/statuses/c434ecbb25c8e849139c7247a7809a927c9c48ac","head":{"label":"woggy:1231-splashbuff","ref":"1231-splashbuff","sha":"c434ecbb25c8e849139c7247a7809a927c9c48ac","user":{"login":"woggy","id":3821254,"avatar_url":"https://avatars.githubusercontent.com/u/3821254?v=3","gravatar_id":"","url":"https://api.github.com/users/woggy","html_url":"https://github.com/woggy","followers_url":"https://api.github.com/users/woggy/followers","following_url":"https://api.github.com/users/woggy/following{/other_user}","gists_url":"https://api.github.com/users/woggy/gists{/gist_id}","starred_url":"https://api.github.com/users/woggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woggy/subscriptions","organizations_url":"https://api.github.com/users/woggy/orgs","repos_url":"https://api.github.com/users/woggy/repos","events_url":"https://api.github.com/users/woggy/events{/privacy}","received_events_url":"https://api.github.com/users/woggy/received_events","type":"User","site_admin":false},"repo":{"id":8679912,"name":"dw-free","full_name":"woggy/dw-free","owner":{"login":"woggy","id":3821254,"avatar_url":"https://avatars.githubusercontent.com/u/3821254?v=3","gravatar_id":"","url":"https://api.github.com/users/woggy","html_url":"https://github.com/woggy","followers_url":"https://api.github.com/users/woggy/followers","following_url":"https://api.github.com/users/woggy/following{/other_user}","gists_url":"https://api.github.com/users/woggy/gists{/gist_id}","starred_url":"https://api.github.com/users/woggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woggy/subscriptions","organizations_url":"https://api.github.com/users/woggy/orgs","repos_url":"https://api.github.com/users/woggy/repos","events_url":"https://api.github.com/users/woggy/events{/privacy}","received_events_url":"https://api.github.com/users/woggy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/woggy/dw-free","description":"Dreamwidth's open source repository","fork":true,"url":"https://api.github.com/repos/woggy/dw-free","forks_url":"https://api.github.com/repos/woggy/dw-free/forks","keys_url":"https://api.github.com/repos/woggy/dw-free/keys{/key_id}","collaborators_url":"https://api.github.com/repos/woggy/dw-free/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/woggy/dw-free/teams","hooks_url":"https://api.github.com/repos/woggy/dw-free/hooks","issue_events_url":"https://api.github.com/repos/woggy/dw-free/issues/events{/number}","events_url":"https://api.github.com/repos/woggy/dw-free/events","assignees_url":"https://api.github.com/repos/woggy/dw-free/assignees{/user}","branches_url":"https://api.github.com/repos/woggy/dw-free/branches{/branch}","tags_url":"https://api.github.com/repos/woggy/dw-free/tags","blobs_url":"https://api.github.com/repos/woggy/dw-free/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/woggy/dw-free/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/woggy/dw-free/git/refs{/sha}","trees_url":"https://api.github.com/repos/woggy/dw-free/git/trees{/sha}","statuses_url":"https://api.github.com/repos/woggy/dw-free/statuses/{sha}","languages_url":"https://api.github.com/repos/woggy/dw-free/languages","stargazers_url":"https://api.github.com/repos/woggy/dw-free/stargazers","contributors_url":"https://api.github.com/repos/woggy/dw-free/contributors","subscribers_url":"https://api.github.com/repos/woggy/dw-free/subscribers","subscription_url":"https://api.github.com/repos/woggy/dw-free/subscription","commits_url":"https://api.github.com/repos/woggy/dw-free/commits{/sha}","git_commits_url":"https://api.github.com/repos/woggy/dw-free/git/commits{/sha}","comments_url":"https://api.github.com/repos/woggy/dw-free/comments{/number}","issue_comment_url":"https://api.github.com/repos/woggy/dw-free/issues/comments{/number}","contents_url":"https://api.github.com/repos/woggy/dw-free/contents/{+path}","compare_url":"https://api.github.com/repos/woggy/dw-free/compare/{base}...{head}","merges_url":"https://api.github.com/repos/woggy/dw-free/merges","archive_url":"https://api.github.com/repos/woggy/dw-free/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/woggy/dw-free/downloads","issues_url":"https://api.github.com/repos/woggy/dw-free/issues{/number}","pulls_url":"https://api.github.com/repos/woggy/dw-free/pulls{/number}","milestones_url":"https://api.github.com/repos/woggy/dw-free/milestones{/number}","notifications_url":"https://api.github.com/repos/woggy/dw-free/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/woggy/dw-free/labels{/name}","releases_url":"https://api.github.com/repos/woggy/dw-free/releases{/id}","created_at":"2013-03-10T03:15:13Z","updated_at":"2015-01-25T16:34:22Z","pushed_at":"2015-05-17T20:09:47Z","git_url":"git://github.com/woggy/dw-free.git","ssh_url":"git@github.com:woggy/dw-free.git","clone_url":"https://github.com/woggy/dw-free.git","svn_url":"https://github.com/woggy/dw-free","homepage":null,"size":83882,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"dreamwidth:develop","ref":"develop","sha":"77cbc1821ebda450c0efaf649e5c29d7452ab469","user":{"login":"dreamwidth","id":1136090,"avatar_url":"https://avatars.githubusercontent.com/u/1136090?v=3","gravatar_id":"","url":"https://api.github.com/users/dreamwidth","html_url":"https://github.com/dreamwidth","followers_url":"https://api.github.com/users/dreamwidth/followers","following_url":"https://api.github.com/users/dreamwidth/following{/other_user}","gists_url":"https://api.github.com/users/dreamwidth/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamwidth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamwidth/subscriptions","organizations_url":"https://api.github.com/users/dreamwidth/orgs","repos_url":"https://api.github.com/users/dreamwidth/repos","events_url":"https://api.github.com/users/dreamwidth/events{/privacy}","received_events_url":"https://api.github.com/users/dreamwidth/received_events","type":"Organization","site_admin":false},"repo":{"id":4257922,"name":"dw-free","full_name":"dreamwidth/dw-free","owner":{"login":"dreamwidth","id":1136090,"avatar_url":"https://avatars.githubusercontent.com/u/1136090?v=3","gravatar_id":"","url":"https://api.github.com/users/dreamwidth","html_url":"https://github.com/dreamwidth","followers_url":"https://api.github.com/users/dreamwidth/followers","following_url":"https://api.github.com/users/dreamwidth/following{/other_user}","gists_url":"https://api.github.com/users/dreamwidth/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamwidth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamwidth/subscriptions","organizations_url":"https://api.github.com/users/dreamwidth/orgs","repos_url":"https://api.github.com/users/dreamwidth/repos","events_url":"https://api.github.com/users/dreamwidth/events{/privacy}","received_events_url":"https://api.github.com/users/dreamwidth/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dreamwidth/dw-free","description":"Dreamwidth's open source repository","fork":false,"url":"https://api.github.com/repos/dreamwidth/dw-free","forks_url":"https://api.github.com/repos/dreamwidth/dw-free/forks","keys_url":"https://api.github.com/repos/dreamwidth/dw-free/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dreamwidth/dw-free/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dreamwidth/dw-free/teams","hooks_url":"https://api.github.com/repos/dreamwidth/dw-free/hooks","issue_events_url":"https://api.github.com/repos/dreamwidth/dw-free/issues/events{/number}","events_url":"https://api.github.com/repos/dreamwidth/dw-free/events","assignees_url":"https://api.github.com/repos/dreamwidth/dw-free/assignees{/user}","branches_url":"https://api.github.com/repos/dreamwidth/dw-free/branches{/branch}","tags_url":"https://api.github.com/repos/dreamwidth/dw-free/tags","blobs_url":"https://api.github.com/repos/dreamwidth/dw-free/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dreamwidth/dw-free/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dreamwidth/dw-free/git/refs{/sha}","trees_url":"https://api.github.com/repos/dreamwidth/dw-free/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dreamwidth/dw-free/statuses/{sha}","languages_url":"https://api.github.com/repos/dreamwidth/dw-free/languages","stargazers_url":"https://api.github.com/repos/dreamwidth/dw-free/stargazers","contributors_url":"https://api.github.com/repos/dreamwidth/dw-free/contributors","subscribers_url":"https://api.github.com/repos/dreamwidth/dw-free/subscribers","subscription_url":"https://api.github.com/repos/dreamwidth/dw-free/subscription","commits_url":"https://api.github.com/repos/dreamwidth/dw-free/commits{/sha}","git_commits_url":"https://api.github.com/repos/dreamwidth/dw-free/git/commits{/sha}","comments_url":"https://api.github.com/repos/dreamwidth/dw-free/comments{/number}","issue_comment_url":"https://api.github.com/repos/dreamwidth/dw-free/issues/comments{/number}","contents_url":"https://api.github.com/repos/dreamwidth/dw-free/contents/{+path}","compare_url":"https://api.github.com/repos/dreamwidth/dw-free/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dreamwidth/dw-free/merges","archive_url":"https://api.github.com/repos/dreamwidth/dw-free/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dreamwidth/dw-free/downloads","issues_url":"https://api.github.com/repos/dreamwidth/dw-free/issues{/number}","pulls_url":"https://api.github.com/repos/dreamwidth/dw-free/pulls{/number}","milestones_url":"https://api.github.com/repos/dreamwidth/dw-free/milestones{/number}","notifications_url":"https://api.github.com/repos/dreamwidth/dw-free/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dreamwidth/dw-free/labels{/name}","releases_url":"https://api.github.com/repos/dreamwidth/dw-free/releases{/id}","created_at":"2012-05-08T06:37:02Z","updated_at":"2015-05-08T17:01:48Z","pushed_at":"2015-05-17T20:12:03Z","git_url":"git://github.com/dreamwidth/dw-free.git","ssh_url":"git@github.com:dreamwidth/dw-free.git","clone_url":"https://github.com/dreamwidth/dw-free.git","svn_url":"https://github.com/dreamwidth/dw-free","homepage":null,"size":89164,"stargazers_count":50,"watchers_count":50,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":108,"mirror_url":null,"open_issues_count":150,"forks":108,"open_issues":150,"watchers":50,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/dreamwidth/dw-free/pulls/1388"},"html":{"href":"https://github.com/dreamwidth/dw-free/pull/1388"},"issue":{"href":"https://api.github.com/repos/dreamwidth/dw-free/issues/1388"},"comments":{"href":"https://api.github.com/repos/dreamwidth/dw-free/issues/1388/comments"},"review_comments":{"href":"https://api.github.com/repos/dreamwidth/dw-free/pulls/1388/comments"},"review_comment":{"href":"https://api.github.com/repos/dreamwidth/dw-free/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dreamwidth/dw-free/pulls/1388/commits"},"statuses":{"href":"https://api.github.com/repos/dreamwidth/dw-free/statuses/c434ecbb25c8e849139c7247a7809a927c9c48ac"}}}}