{"action":"created","issue":{"url":"https://api.github.com/repos/windymelt/p2p2ch/issues/10","labels_url":"https://api.github.com/repos/windymelt/p2p2ch/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/windymelt/p2p2ch/issues/10/comments","events_url":"https://api.github.com/repos/windymelt/p2p2ch/issues/10/events","html_url":"https://github.com/windymelt/p2p2ch/pull/10","id":83877777,"number":10,"title":"WEB UIの追加","user":{"login":"Hiroyuki-Nagata","id":1238507,"avatar_url":"https://avatars.githubusercontent.com/u/1238507?v=3","gravatar_id":"","url":"https://api.github.com/users/Hiroyuki-Nagata","html_url":"https://github.com/Hiroyuki-Nagata","followers_url":"https://api.github.com/users/Hiroyuki-Nagata/followers","following_url":"https://api.github.com/users/Hiroyuki-Nagata/following{/other_user}","gists_url":"https://api.github.com/users/Hiroyuki-Nagata/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiroyuki-Nagata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiroyuki-Nagata/subscriptions","organizations_url":"https://api.github.com/users/Hiroyuki-Nagata/orgs","repos_url":"https://api.github.com/users/Hiroyuki-Nagata/repos","events_url":"https://api.github.com/users/Hiroyuki-Nagata/events{/privacy}","received_events_url":"https://api.github.com/users/Hiroyuki-Nagata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-02T06:57:36Z","updated_at":"2015-06-02T13:44:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/windymelt/p2p2ch/pulls/10","html_url":"https://github.com/windymelt/p2p2ch/pull/10","diff_url":"https://github.com/windymelt/p2p2ch/pull/10.diff","patch_url":"https://github.com/windymelt/p2p2ch/pull/10.patch"},"body":"- HTML/CSS/jsを追加、index.htmlからスレッド一覧が見られるようにした\r\n- Shift_JISの書き込みに対応\r\n- ユニットテストを追加\r\n- subject.txtの生成時に\\<br\\>タグを入れるか入れないか選択できるように変更\r\n- コンフィグにretrieveBodyParserTimeout = \"10 second\" を追加\r\n\r\nとりあえず機能的にはShift_JIS対応とスレ立て、スレッド一覧表示機能をつけた感じです。\r\n\r\n- あとこれは余談ですが、リクエストヘッダーの`charset=***`の内容を見て自動的に内部のエンコードをUTF-8に統一するということも可能かなあと思いました。"},"comment":{"url":"https://api.github.com/repos/windymelt/p2p2ch/issues/comments/107957464","html_url":"https://github.com/windymelt/p2p2ch/pull/10#issuecomment-107957464","issue_url":"https://api.github.com/repos/windymelt/p2p2ch/issues/10","id":107957464,"user":{"login":"Hiroyuki-Nagata","id":1238507,"avatar_url":"https://avatars.githubusercontent.com/u/1238507?v=3","gravatar_id":"","url":"https://api.github.com/users/Hiroyuki-Nagata","html_url":"https://github.com/Hiroyuki-Nagata","followers_url":"https://api.github.com/users/Hiroyuki-Nagata/followers","following_url":"https://api.github.com/users/Hiroyuki-Nagata/following{/other_user}","gists_url":"https://api.github.com/users/Hiroyuki-Nagata/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiroyuki-Nagata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiroyuki-Nagata/subscriptions","organizations_url":"https://api.github.com/users/Hiroyuki-Nagata/orgs","repos_url":"https://api.github.com/users/Hiroyuki-Nagata/repos","events_url":"https://api.github.com/users/Hiroyuki-Nagata/events{/privacy}","received_events_url":"https://api.github.com/users/Hiroyuki-Nagata/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T13:44:57Z","updated_at":"2015-06-02T13:44:57Z","body":"@windymelt \r\nありがとうございます\r\n>`/`へのアクセスもWeb UIに誘導してもいいような\r\n\r\nそうですね、ちょっと追加してみようと思います。\r\n\r\n>ひとまずOWで仮実装したのでこちらを後でmasterにマージしますが大丈夫でしょうか。\r\n\r\nまさにそのように、p2p側の実装をすげ替えられるようにすることがp2pscalaprotoの目的だと思うので全然問題ないです。しかしその場合、p2p2ch本体はAPIレベルでバージョンが変わるため、\r\n- バージョンを`1.10.0` から `1.11.0` or `2.0.0`に上げること\r\n- 現在の実装の最後の状態をブランチとして保持する\r\n\r\nが必要かなあと思います。\r\nというのは、あとスレッド閲覧機能を今のp2pscalaprotoの実装で作っちゃいたいと思ってるからです。\r\n\r\n"}}