{"action":"created","issue":{"url":"https://api.github.com/repos/ludumdare/ludumdare/issues/1247","repository_url":"https://api.github.com/repos/ludumdare/ludumdare","labels_url":"https://api.github.com/repos/ludumdare/ludumdare/issues/1247/labels{/name}","comments_url":"https://api.github.com/repos/ludumdare/ludumdare/issues/1247/comments","events_url":"https://api.github.com/repos/ludumdare/ludumdare/issues/1247/events","html_url":"https://github.com/ludumdare/ludumdare/pull/1247","id":262975599,"number":1247,"title":"Anonymous comments","user":{"login":"sgstair","id":620920,"avatar_url":"https://avatars2.githubusercontent.com/u/620920?v=4","gravatar_id":"","url":"https://api.github.com/users/sgstair","html_url":"https://github.com/sgstair","followers_url":"https://api.github.com/users/sgstair/followers","following_url":"https://api.github.com/users/sgstair/following{/other_user}","gists_url":"https://api.github.com/users/sgstair/gists{/gist_id}","starred_url":"https://api.github.com/users/sgstair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgstair/subscriptions","organizations_url":"https://api.github.com/users/sgstair/orgs","repos_url":"https://api.github.com/users/sgstair/repos","events_url":"https://api.github.com/users/sgstair/events{/privacy}","received_events_url":"https://api.github.com/users/sgstair/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-05T00:59:56Z","updated_at":"2017-10-05T05:36:25Z","closed_at":"2017-10-05T05:36:20Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ludumdare/ludumdare/pulls/1247","html_url":"https://github.com/ludumdare/ludumdare/pull/1247","diff_url":"https://github.com/ludumdare/ludumdare/pull/1247.diff","patch_url":"https://github.com/ludumdare/ludumdare/pull/1247.patch"},"body":"This is the backend work to enable anonymous comments.  \r\nFollowing are the major changes:\r\n* Add `flags` to note and note version tables. Define two flags (hidden and anonymous)\r\n* Add `allow-anonymous-comments` metadata that can be applied to an 'item' node - The expected value for \"enabled\" is `1`\r\n* Add `anonymous` optional parameter to `/note/add`, posting anonymously will only succeed if `allow-anonymous-comments` is present and resolves to a nonzero / true value.\r\n* `flags` as well as boolean convenience variables `anonymous` and `hidden` are returned to the client with notes\r\n* Minor site JS changes to not get stuck when anonymous comments are returned, and to render them appropriately.\r\n* Event simulator now marks some games with `allow-anonymous-comments`, and sometimes comments anonymously on them.\r\n\r\nUnrelated to anonymous comments:\r\n* Fixed bug causing 500 server error on `notification/markread`\r\n* Add `note/getnote` for fetching one or more notes by ID (Mainly for notifications). It's expected that this will be renamed in the future with a reorganization.\r\n* Add event simulator concept of 'reaction' - Newly posted posts may cause a collection of users to interact with the new node - this will make the simulated dataset look more like actual data with many consecutive notifications on the same thread (to assist with development of comment merging in notifications / etc)"},"comment":{"url":"https://api.github.com/repos/ludumdare/ludumdare/issues/comments/334364129","html_url":"https://github.com/ludumdare/ludumdare/pull/1247#issuecomment-334364129","issue_url":"https://api.github.com/repos/ludumdare/ludumdare/issues/1247","id":334364129,"user":{"login":"sgstair","id":620920,"avatar_url":"https://avatars2.githubusercontent.com/u/620920?v=4","gravatar_id":"","url":"https://api.github.com/users/sgstair","html_url":"https://github.com/sgstair","followers_url":"https://api.github.com/users/sgstair/followers","following_url":"https://api.github.com/users/sgstair/following{/other_user}","gists_url":"https://api.github.com/users/sgstair/gists{/gist_id}","starred_url":"https://api.github.com/users/sgstair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgstair/subscriptions","organizations_url":"https://api.github.com/users/sgstair/orgs","repos_url":"https://api.github.com/users/sgstair/repos","events_url":"https://api.github.com/users/sgstair/events{/privacy}","received_events_url":"https://api.github.com/users/sgstair/received_events","type":"User","site_admin":false},"created_at":"2017-10-05T05:36:25Z","updated_at":"2017-10-05T05:36:25Z","author_association":"CONTRIBUTOR","body":"`hidden` is the first stage of future features around automatic moderation on flagging - The way I see it, moderated comments will still be available, but just hidden by default so you have to interact with the comment to show them. Probably there could also be stronger types of flagging that remove them (`deleted` or other things in the future)"}}
{"actor":{"display_login":"sgstair"}}