{"action":"created","issue":{"url":"https://api.github.com/repos/OpenCorpora/opencorpora/issues/101","labels_url":"https://api.github.com/repos/OpenCorpora/opencorpora/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/OpenCorpora/opencorpora/issues/101/comments","events_url":"https://api.github.com/repos/OpenCorpora/opencorpora/issues/101/events","html_url":"https://github.com/OpenCorpora/opencorpora/issues/101","id":43679533,"number":101,"title":"Бэкенд для модерации NE","user":{"login":"madfriend","id":1223831,"avatar_url":"https://avatars.githubusercontent.com/u/1223831?v=3","gravatar_id":"","url":"https://api.github.com/users/madfriend","html_url":"https://github.com/madfriend","followers_url":"https://api.github.com/users/madfriend/followers","following_url":"https://api.github.com/users/madfriend/following{/other_user}","gists_url":"https://api.github.com/users/madfriend/gists{/gist_id}","starred_url":"https://api.github.com/users/madfriend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madfriend/subscriptions","organizations_url":"https://api.github.com/users/madfriend/orgs","repos_url":"https://api.github.com/users/madfriend/repos","events_url":"https://api.github.com/users/madfriend/events{/privacy}","received_events_url":"https://api.github.com/users/madfriend/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenCorpora/opencorpora/labels/php","name":"php","color":"666666"}],"state":"open","locked":false,"assignee":{"login":"grandsbor","id":5073809,"avatar_url":"https://avatars.githubusercontent.com/u/5073809?v=3","gravatar_id":"","url":"https://api.github.com/users/grandsbor","html_url":"https://github.com/grandsbor","followers_url":"https://api.github.com/users/grandsbor/followers","following_url":"https://api.github.com/users/grandsbor/following{/other_user}","gists_url":"https://api.github.com/users/grandsbor/gists{/gist_id}","starred_url":"https://api.github.com/users/grandsbor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grandsbor/subscriptions","organizations_url":"https://api.github.com/users/grandsbor/orgs","repos_url":"https://api.github.com/users/grandsbor/repos","events_url":"https://api.github.com/users/grandsbor/events{/privacy}","received_events_url":"https://api.github.com/users/grandsbor/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2014-09-23T20:28:35Z","updated_at":"2015-12-08T22:02:08Z","closed_at":null,"body":"Нужно:\r\n\r\n* в `lib/lib_ne.php`: подобие `become_syntax_moderator`, `finish_syntax_moderation` (, `set_syntax_annot_status` ?) \r\n* в таблице `books` поле для модератора NE\r\n* `copy_entity` (или как-то так, смысл, наверное, понятен)\r\n* проверить, что функции, получающие список NE и список комментариев, работают, если не указывать `user_id` \r\n\r\nПока вроде все."},"comment":{"url":"https://api.github.com/repos/OpenCorpora/opencorpora/issues/comments/163032073","html_url":"https://github.com/OpenCorpora/opencorpora/issues/101#issuecomment-163032073","issue_url":"https://api.github.com/repos/OpenCorpora/opencorpora/issues/101","id":163032073,"user":{"login":"madfriend","id":1223831,"avatar_url":"https://avatars.githubusercontent.com/u/1223831?v=3","gravatar_id":"","url":"https://api.github.com/users/madfriend","html_url":"https://github.com/madfriend","followers_url":"https://api.github.com/users/madfriend/followers","following_url":"https://api.github.com/users/madfriend/following{/other_user}","gists_url":"https://api.github.com/users/madfriend/gists{/gist_id}","starred_url":"https://api.github.com/users/madfriend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madfriend/subscriptions","organizations_url":"https://api.github.com/users/madfriend/orgs","repos_url":"https://api.github.com/users/madfriend/repos","events_url":"https://api.github.com/users/madfriend/events{/privacy}","received_events_url":"https://api.github.com/users/madfriend/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T22:02:08Z","updated_at":"2015-12-08T22:02:08Z","body":"блин, прощу прощения, не там написал про нужные функции -- перепутал тикеты про модерацию ИС и NE. Копирую:\r\n\r\n- (модератору) получить всю разметку абзаца (разбитую по юзерам)\r\n- нужно поле с id модератора NE у книжек\r\n- какой-то способ понять, ты ли модератор книжки\r\n- ручки в апи: скопировать спан от одного юзера другому, скопировать упоминание (со всеми спанами)"}}