{"action":"opened","number":379,"pull_request":{"url":"https://api.github.com/repos/thelounge/lounge/pulls/379","id":72619032,"html_url":"https://github.com/thelounge/lounge/pull/379","diff_url":"https://github.com/thelounge/lounge/pull/379.diff","patch_url":"https://github.com/thelounge/lounge/pull/379.patch","issue_url":"https://api.github.com/repos/thelounge/lounge/issues/379","number":379,"state":"open","locked":false,"title":"Add textarea support","user":{"login":"maxpoulin64","id":5481612,"avatar_url":"https://avatars.githubusercontent.com/u/5481612?v=3","gravatar_id":"","url":"https://api.github.com/users/maxpoulin64","html_url":"https://github.com/maxpoulin64","followers_url":"https://api.github.com/users/maxpoulin64/followers","following_url":"https://api.github.com/users/maxpoulin64/following{/other_user}","gists_url":"https://api.github.com/users/maxpoulin64/gists{/gist_id}","starred_url":"https://api.github.com/users/maxpoulin64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxpoulin64/subscriptions","organizations_url":"https://api.github.com/users/maxpoulin64/orgs","repos_url":"https://api.github.com/users/maxpoulin64/repos","events_url":"https://api.github.com/users/maxpoulin64/events{/privacy}","received_events_url":"https://api.github.com/users/maxpoulin64/received_events","type":"User","site_admin":false},"body":"Attemps to do the exact same thing as #330, but in a way I find is a lot more reliable and way less overengineered.\r\n\r\n* Supports pressing Shift+Enter to add a new line\r\n* Doesn't break history\r\n* Automatically grows\r\n* Handles multiline on the server-side (doing it on the client works, but doing it on the server makes it bulletproof for when we add plugins and other things. Otherwise extra lines are passed raw, and while it's okay because we have `/quote` someone might disable those and turn it into a flaw)\r\n\r\nSlight note: I'm wondering if when sending multiline messages, we should automatically assume it's a multiline message and not attempt to parse commands at all. Thoughts?","created_at":"2016-06-05T02:52:18Z","updated_at":"2016-06-05T02:52:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":{"url":"https://api.github.com/repos/thelounge/lounge/milestones/1","html_url":"https://github.com/thelounge/lounge/milestones/2.0.0","labels_url":"https://api.github.com/repos/thelounge/lounge/milestones/1/labels","id":1765181,"number":1,"title":"2.0.0","description":"","creator":{"login":"xPaw","id":613331,"avatar_url":"https://avatars.githubusercontent.com/u/613331?v=3","gravatar_id":"","url":"https://api.github.com/users/xPaw","html_url":"https://github.com/xPaw","followers_url":"https://api.github.com/users/xPaw/followers","following_url":"https://api.github.com/users/xPaw/following{/other_user}","gists_url":"https://api.github.com/users/xPaw/gists{/gist_id}","starred_url":"https://api.github.com/users/xPaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xPaw/subscriptions","organizations_url":"https://api.github.com/users/xPaw/orgs","repos_url":"https://api.github.com/users/xPaw/repos","events_url":"https://api.github.com/users/xPaw/events{/privacy}","received_events_url":"https://api.github.com/users/xPaw/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":58,"state":"open","created_at":"2016-05-13T16:45:52Z","updated_at":"2016-06-05T02:52:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/thelounge/lounge/pulls/379/commits","review_comments_url":"https://api.github.com/repos/thelounge/lounge/pulls/379/comments","review_comment_url":"https://api.github.com/repos/thelounge/lounge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thelounge/lounge/issues/379/comments","statuses_url":"https://api.github.com/repos/thelounge/lounge/statuses/49b48cb4fe3cf48aa10314c72810664d59b3c5e3","head":{"label":"maxpoulin64:textarea","ref":"textarea","sha":"49b48cb4fe3cf48aa10314c72810664d59b3c5e3","user":{"login":"maxpoulin64","id":5481612,"avatar_url":"https://avatars.githubusercontent.com/u/5481612?v=3","gravatar_id":"","url":"https://api.github.com/users/maxpoulin64","html_url":"https://github.com/maxpoulin64","followers_url":"https://api.github.com/users/maxpoulin64/followers","following_url":"https://api.github.com/users/maxpoulin64/following{/other_user}","gists_url":"https://api.github.com/users/maxpoulin64/gists{/gist_id}","starred_url":"https://api.github.com/users/maxpoulin64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxpoulin64/subscriptions","organizations_url":"https://api.github.com/users/maxpoulin64/orgs","repos_url":"https://api.github.com/users/maxpoulin64/repos","events_url":"https://api.github.com/users/maxpoulin64/events{/privacy}","received_events_url":"https://api.github.com/users/maxpoulin64/received_events","type":"User","site_admin":false},"repo":{"id":51623838,"name":"lounge","full_name":"maxpoulin64/lounge","owner":{"login":"maxpoulin64","id":5481612,"avatar_url":"https://avatars.githubusercontent.com/u/5481612?v=3","gravatar_id":"","url":"https://api.github.com/users/maxpoulin64","html_url":"https://github.com/maxpoulin64","followers_url":"https://api.github.com/users/maxpoulin64/followers","following_url":"https://api.github.com/users/maxpoulin64/following{/other_user}","gists_url":"https://api.github.com/users/maxpoulin64/gists{/gist_id}","starred_url":"https://api.github.com/users/maxpoulin64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxpoulin64/subscriptions","organizations_url":"https://api.github.com/users/maxpoulin64/orgs","repos_url":"https://api.github.com/users/maxpoulin64/repos","events_url":"https://api.github.com/users/maxpoulin64/events{/privacy}","received_events_url":"https://api.github.com/users/maxpoulin64/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maxpoulin64/lounge","description":"The Lounge — Self-hosted web IRC client","fork":true,"url":"https://api.github.com/repos/maxpoulin64/lounge","forks_url":"https://api.github.com/repos/maxpoulin64/lounge/forks","keys_url":"https://api.github.com/repos/maxpoulin64/lounge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxpoulin64/lounge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxpoulin64/lounge/teams","hooks_url":"https://api.github.com/repos/maxpoulin64/lounge/hooks","issue_events_url":"https://api.github.com/repos/maxpoulin64/lounge/issues/events{/number}","events_url":"https://api.github.com/repos/maxpoulin64/lounge/events","assignees_url":"https://api.github.com/repos/maxpoulin64/lounge/assignees{/user}","branches_url":"https://api.github.com/repos/maxpoulin64/lounge/branches{/branch}","tags_url":"https://api.github.com/repos/maxpoulin64/lounge/tags","blobs_url":"https://api.github.com/repos/maxpoulin64/lounge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxpoulin64/lounge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxpoulin64/lounge/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxpoulin64/lounge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxpoulin64/lounge/statuses/{sha}","languages_url":"https://api.github.com/repos/maxpoulin64/lounge/languages","stargazers_url":"https://api.github.com/repos/maxpoulin64/lounge/stargazers","contributors_url":"https://api.github.com/repos/maxpoulin64/lounge/contributors","subscribers_url":"https://api.github.com/repos/maxpoulin64/lounge/subscribers","subscription_url":"https://api.github.com/repos/maxpoulin64/lounge/subscription","commits_url":"https://api.github.com/repos/maxpoulin64/lounge/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxpoulin64/lounge/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxpoulin64/lounge/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxpoulin64/lounge/issues/comments{/number}","contents_url":"https://api.github.com/repos/maxpoulin64/lounge/contents/{+path}","compare_url":"https://api.github.com/repos/maxpoulin64/lounge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxpoulin64/lounge/merges","archive_url":"https://api.github.com/repos/maxpoulin64/lounge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxpoulin64/lounge/downloads","issues_url":"https://api.github.com/repos/maxpoulin64/lounge/issues{/number}","pulls_url":"https://api.github.com/repos/maxpoulin64/lounge/pulls{/number}","milestones_url":"https://api.github.com/repos/maxpoulin64/lounge/milestones{/number}","notifications_url":"https://api.github.com/repos/maxpoulin64/lounge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxpoulin64/lounge/labels{/name}","releases_url":"https://api.github.com/repos/maxpoulin64/lounge/releases{/id}","deployments_url":"https://api.github.com/repos/maxpoulin64/lounge/deployments","created_at":"2016-02-12T23:46:39Z","updated_at":"2016-05-29T01:06:07Z","pushed_at":"2016-06-05T02:49:21Z","git_url":"git://github.com/maxpoulin64/lounge.git","ssh_url":"git@github.com:maxpoulin64/lounge.git","clone_url":"https://github.com/maxpoulin64/lounge.git","svn_url":"https://github.com/maxpoulin64/lounge","homepage":"https://thelounge.github.io","size":5221,"stargazers_count":0,"watchers_count":0,"language":null,"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":"master"}},"base":{"label":"thelounge:master","ref":"master","sha":"7a88aac29736df1f9c7a20d96200f57c8bd636bb","user":{"login":"thelounge","id":14336958,"avatar_url":"https://avatars.githubusercontent.com/u/14336958?v=3","gravatar_id":"","url":"https://api.github.com/users/thelounge","html_url":"https://github.com/thelounge","followers_url":"https://api.github.com/users/thelounge/followers","following_url":"https://api.github.com/users/thelounge/following{/other_user}","gists_url":"https://api.github.com/users/thelounge/gists{/gist_id}","starred_url":"https://api.github.com/users/thelounge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelounge/subscriptions","organizations_url":"https://api.github.com/users/thelounge/orgs","repos_url":"https://api.github.com/users/thelounge/repos","events_url":"https://api.github.com/users/thelounge/events{/privacy}","received_events_url":"https://api.github.com/users/thelounge/received_events","type":"Organization","site_admin":false},"repo":{"id":51344082,"name":"lounge","full_name":"thelounge/lounge","owner":{"login":"thelounge","id":14336958,"avatar_url":"https://avatars.githubusercontent.com/u/14336958?v=3","gravatar_id":"","url":"https://api.github.com/users/thelounge","html_url":"https://github.com/thelounge","followers_url":"https://api.github.com/users/thelounge/followers","following_url":"https://api.github.com/users/thelounge/following{/other_user}","gists_url":"https://api.github.com/users/thelounge/gists{/gist_id}","starred_url":"https://api.github.com/users/thelounge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelounge/subscriptions","organizations_url":"https://api.github.com/users/thelounge/orgs","repos_url":"https://api.github.com/users/thelounge/repos","events_url":"https://api.github.com/users/thelounge/events{/privacy}","received_events_url":"https://api.github.com/users/thelounge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thelounge/lounge","description":"The Lounge — Self-hosted web IRC client","fork":false,"url":"https://api.github.com/repos/thelounge/lounge","forks_url":"https://api.github.com/repos/thelounge/lounge/forks","keys_url":"https://api.github.com/repos/thelounge/lounge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thelounge/lounge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thelounge/lounge/teams","hooks_url":"https://api.github.com/repos/thelounge/lounge/hooks","issue_events_url":"https://api.github.com/repos/thelounge/lounge/issues/events{/number}","events_url":"https://api.github.com/repos/thelounge/lounge/events","assignees_url":"https://api.github.com/repos/thelounge/lounge/assignees{/user}","branches_url":"https://api.github.com/repos/thelounge/lounge/branches{/branch}","tags_url":"https://api.github.com/repos/thelounge/lounge/tags","blobs_url":"https://api.github.com/repos/thelounge/lounge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thelounge/lounge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thelounge/lounge/git/refs{/sha}","trees_url":"https://api.github.com/repos/thelounge/lounge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thelounge/lounge/statuses/{sha}","languages_url":"https://api.github.com/repos/thelounge/lounge/languages","stargazers_url":"https://api.github.com/repos/thelounge/lounge/stargazers","contributors_url":"https://api.github.com/repos/thelounge/lounge/contributors","subscribers_url":"https://api.github.com/repos/thelounge/lounge/subscribers","subscription_url":"https://api.github.com/repos/thelounge/lounge/subscription","commits_url":"https://api.github.com/repos/thelounge/lounge/commits{/sha}","git_commits_url":"https://api.github.com/repos/thelounge/lounge/git/commits{/sha}","comments_url":"https://api.github.com/repos/thelounge/lounge/comments{/number}","issue_comment_url":"https://api.github.com/repos/thelounge/lounge/issues/comments{/number}","contents_url":"https://api.github.com/repos/thelounge/lounge/contents/{+path}","compare_url":"https://api.github.com/repos/thelounge/lounge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thelounge/lounge/merges","archive_url":"https://api.github.com/repos/thelounge/lounge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thelounge/lounge/downloads","issues_url":"https://api.github.com/repos/thelounge/lounge/issues{/number}","pulls_url":"https://api.github.com/repos/thelounge/lounge/pulls{/number}","milestones_url":"https://api.github.com/repos/thelounge/lounge/milestones{/number}","notifications_url":"https://api.github.com/repos/thelounge/lounge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thelounge/lounge/labels{/name}","releases_url":"https://api.github.com/repos/thelounge/lounge/releases{/id}","deployments_url":"https://api.github.com/repos/thelounge/lounge/deployments","created_at":"2016-02-09T03:16:03Z","updated_at":"2016-06-05T02:21:24Z","pushed_at":"2016-06-05T01:11:56Z","git_url":"git://github.com/thelounge/lounge.git","ssh_url":"git@github.com:thelounge/lounge.git","clone_url":"https://github.com/thelounge/lounge.git","svn_url":"https://github.com/thelounge/lounge","homepage":"https://thelounge.github.io","size":6372,"stargazers_count":187,"watchers_count":187,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":103,"forks":41,"open_issues":103,"watchers":187,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thelounge/lounge/pulls/379"},"html":{"href":"https://github.com/thelounge/lounge/pull/379"},"issue":{"href":"https://api.github.com/repos/thelounge/lounge/issues/379"},"comments":{"href":"https://api.github.com/repos/thelounge/lounge/issues/379/comments"},"review_comments":{"href":"https://api.github.com/repos/thelounge/lounge/pulls/379/comments"},"review_comment":{"href":"https://api.github.com/repos/thelounge/lounge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thelounge/lounge/pulls/379/commits"},"statuses":{"href":"https://api.github.com/repos/thelounge/lounge/statuses/49b48cb4fe3cf48aa10314c72810664d59b3c5e3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":57,"deletions":35,"changed_files":5}}
{"actor":{"display_login":"maxpoulin64"}}