{"action":"closed","number":1243,"pull_request":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/1243","id":39755853,"html_url":"https://github.com/Cockatrice/Cockatrice/pull/1243","diff_url":"https://github.com/Cockatrice/Cockatrice/pull/1243.diff","patch_url":"https://github.com/Cockatrice/Cockatrice/pull/1243.patch","issue_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1243","number":1243,"state":"closed","locked":false,"title":"Highlight Custom Words","user":{"login":"ZeldaZach","id":7460172,"avatar_url":"https://avatars.githubusercontent.com/u/7460172?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeldaZach","html_url":"https://github.com/ZeldaZach","followers_url":"https://api.github.com/users/ZeldaZach/followers","following_url":"https://api.github.com/users/ZeldaZach/following{/other_user}","gists_url":"https://api.github.com/users/ZeldaZach/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeldaZach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeldaZach/subscriptions","organizations_url":"https://api.github.com/users/ZeldaZach/orgs","repos_url":"https://api.github.com/users/ZeldaZach/repos","events_url":"https://api.github.com/users/ZeldaZach/events{/privacy}","received_events_url":"https://api.github.com/users/ZeldaZach/received_events","type":"User","site_admin":false},"body":"Fix #458 \r\n\r\nThis allows users the option to set words they'd like highlighted to be highlighted, via settings.\r\n<img width=\"730\" alt=\"screenshot 2015-07-11 22 40 33\" src=\"https://cloud.githubusercontent.com/assets/7460172/8636105/d92f3f72-281d-11e5-808e-826a0d7c207c.png\">\r\n\r\nThe only rules are that words can not contain spaces (duh, as words usually don't have spaces...) & you separate words by a comma. There is a placeHolder if the field is blank, so the user can see an example.\r\n\r\nExample in action:\r\n<img width=\"719\" alt=\"screenshot 2015-07-11 22 40 57\" src=\"https://cloud.githubusercontent.com/assets/7460172/8636108/efc7eb1c-281d-11e5-8a45-7b1ae777fab0.png\">\r\n<img width=\"597\" alt=\"screenshot 2015-07-11 22 41 10\" src=\"https://cloud.githubusercontent.com/assets/7460172/8636107/efc781cc-281d-11e5-8214-d55fd1ba5d9d.png\">\r\n\r\n___\r\n\r\nA concern I have is with the iterations of the `appendMessage` and how they are growing exponentially. We really need to find a new way to do this in the near future, but not in this PR necessarily.\r\n\r\n**EDIT:** I fixed the spell of `insensitive` that you see in the pictures. Was rushing a bit.","created_at":"2015-07-12T02:43:00Z","updated_at":"2015-07-13T16:54:20Z","closed_at":"2015-07-13T16:54:20Z","merged_at":null,"merge_commit_sha":"5bafa898fe3a9cc6d59c7068bad2c93fb13368f9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/1243/commits","review_comments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/1243/comments","review_comment_url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1243/comments","statuses_url":"https://api.github.com/repos/Cockatrice/Cockatrice/statuses/efac7c21f4177815c0128c0182c4e37305d7e6e8","head":{"label":"ZeldaZach:fix_458","ref":"fix_458","sha":"efac7c21f4177815c0128c0182c4e37305d7e6e8","user":{"login":"ZeldaZach","id":7460172,"avatar_url":"https://avatars.githubusercontent.com/u/7460172?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeldaZach","html_url":"https://github.com/ZeldaZach","followers_url":"https://api.github.com/users/ZeldaZach/followers","following_url":"https://api.github.com/users/ZeldaZach/following{/other_user}","gists_url":"https://api.github.com/users/ZeldaZach/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeldaZach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeldaZach/subscriptions","organizations_url":"https://api.github.com/users/ZeldaZach/orgs","repos_url":"https://api.github.com/users/ZeldaZach/repos","events_url":"https://api.github.com/users/ZeldaZach/events{/privacy}","received_events_url":"https://api.github.com/users/ZeldaZach/received_events","type":"User","site_admin":false},"repo":{"id":30373399,"name":"Cockatrice","full_name":"ZeldaZach/Cockatrice","owner":{"login":"ZeldaZach","id":7460172,"avatar_url":"https://avatars.githubusercontent.com/u/7460172?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeldaZach","html_url":"https://github.com/ZeldaZach","followers_url":"https://api.github.com/users/ZeldaZach/followers","following_url":"https://api.github.com/users/ZeldaZach/following{/other_user}","gists_url":"https://api.github.com/users/ZeldaZach/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeldaZach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeldaZach/subscriptions","organizations_url":"https://api.github.com/users/ZeldaZach/orgs","repos_url":"https://api.github.com/users/ZeldaZach/repos","events_url":"https://api.github.com/users/ZeldaZach/events{/privacy}","received_events_url":"https://api.github.com/users/ZeldaZach/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZeldaZach/Cockatrice","description":"A cross-platform virtual tabletop for multiplayer card games","fork":true,"url":"https://api.github.com/repos/ZeldaZach/Cockatrice","forks_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/forks","keys_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/teams","hooks_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/hooks","issue_events_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/issues/events{/number}","events_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/events","assignees_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/assignees{/user}","branches_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/branches{/branch}","tags_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/tags","blobs_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/statuses/{sha}","languages_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/languages","stargazers_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/stargazers","contributors_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/contributors","subscribers_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/subscribers","subscription_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/subscription","commits_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/contents/{+path}","compare_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/merges","archive_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/downloads","issues_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/issues{/number}","pulls_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/pulls{/number}","milestones_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/milestones{/number}","notifications_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/labels{/name}","releases_url":"https://api.github.com/repos/ZeldaZach/Cockatrice/releases{/id}","created_at":"2015-02-05T19:16:22Z","updated_at":"2015-04-27T20:24:40Z","pushed_at":"2015-07-13T07:05:05Z","git_url":"git://github.com/ZeldaZach/Cockatrice.git","ssh_url":"git@github.com:ZeldaZach/Cockatrice.git","clone_url":"https://github.com/ZeldaZach/Cockatrice.git","svn_url":"https://github.com/ZeldaZach/Cockatrice","homepage":"","size":29929,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"Cockatrice:master","ref":"master","sha":"9edacd7b3ec5b08742ab215950430f5118d2287f","user":{"login":"Cockatrice","id":9746249,"avatar_url":"https://avatars.githubusercontent.com/u/9746249?v=3","gravatar_id":"","url":"https://api.github.com/users/Cockatrice","html_url":"https://github.com/Cockatrice","followers_url":"https://api.github.com/users/Cockatrice/followers","following_url":"https://api.github.com/users/Cockatrice/following{/other_user}","gists_url":"https://api.github.com/users/Cockatrice/gists{/gist_id}","starred_url":"https://api.github.com/users/Cockatrice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cockatrice/subscriptions","organizations_url":"https://api.github.com/users/Cockatrice/orgs","repos_url":"https://api.github.com/users/Cockatrice/repos","events_url":"https://api.github.com/users/Cockatrice/events{/privacy}","received_events_url":"https://api.github.com/users/Cockatrice/received_events","type":"Organization","site_admin":false},"repo":{"id":2907031,"name":"Cockatrice","full_name":"Cockatrice/Cockatrice","owner":{"login":"Cockatrice","id":9746249,"avatar_url":"https://avatars.githubusercontent.com/u/9746249?v=3","gravatar_id":"","url":"https://api.github.com/users/Cockatrice","html_url":"https://github.com/Cockatrice","followers_url":"https://api.github.com/users/Cockatrice/followers","following_url":"https://api.github.com/users/Cockatrice/following{/other_user}","gists_url":"https://api.github.com/users/Cockatrice/gists{/gist_id}","starred_url":"https://api.github.com/users/Cockatrice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cockatrice/subscriptions","organizations_url":"https://api.github.com/users/Cockatrice/orgs","repos_url":"https://api.github.com/users/Cockatrice/repos","events_url":"https://api.github.com/users/Cockatrice/events{/privacy}","received_events_url":"https://api.github.com/users/Cockatrice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cockatrice/Cockatrice","description":"A cross-platform virtual tabletop for multiplayer card games","fork":false,"url":"https://api.github.com/repos/Cockatrice/Cockatrice","forks_url":"https://api.github.com/repos/Cockatrice/Cockatrice/forks","keys_url":"https://api.github.com/repos/Cockatrice/Cockatrice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cockatrice/Cockatrice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cockatrice/Cockatrice/teams","hooks_url":"https://api.github.com/repos/Cockatrice/Cockatrice/hooks","issue_events_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/events{/number}","events_url":"https://api.github.com/repos/Cockatrice/Cockatrice/events","assignees_url":"https://api.github.com/repos/Cockatrice/Cockatrice/assignees{/user}","branches_url":"https://api.github.com/repos/Cockatrice/Cockatrice/branches{/branch}","tags_url":"https://api.github.com/repos/Cockatrice/Cockatrice/tags","blobs_url":"https://api.github.com/repos/Cockatrice/Cockatrice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cockatrice/Cockatrice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cockatrice/Cockatrice/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cockatrice/Cockatrice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cockatrice/Cockatrice/statuses/{sha}","languages_url":"https://api.github.com/repos/Cockatrice/Cockatrice/languages","stargazers_url":"https://api.github.com/repos/Cockatrice/Cockatrice/stargazers","contributors_url":"https://api.github.com/repos/Cockatrice/Cockatrice/contributors","subscribers_url":"https://api.github.com/repos/Cockatrice/Cockatrice/subscribers","subscription_url":"https://api.github.com/repos/Cockatrice/Cockatrice/subscription","commits_url":"https://api.github.com/repos/Cockatrice/Cockatrice/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cockatrice/Cockatrice/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cockatrice/Cockatrice/contents/{+path}","compare_url":"https://api.github.com/repos/Cockatrice/Cockatrice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cockatrice/Cockatrice/merges","archive_url":"https://api.github.com/repos/Cockatrice/Cockatrice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cockatrice/Cockatrice/downloads","issues_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues{/number}","pulls_url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls{/number}","milestones_url":"https://api.github.com/repos/Cockatrice/Cockatrice/milestones{/number}","notifications_url":"https://api.github.com/repos/Cockatrice/Cockatrice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cockatrice/Cockatrice/labels{/name}","releases_url":"https://api.github.com/repos/Cockatrice/Cockatrice/releases{/id}","created_at":"2011-12-03T20:58:09Z","updated_at":"2015-07-12T20:51:30Z","pushed_at":"2015-07-13T16:52:20Z","git_url":"git://github.com/Cockatrice/Cockatrice.git","ssh_url":"git@github.com:Cockatrice/Cockatrice.git","clone_url":"https://github.com/Cockatrice/Cockatrice.git","svn_url":"https://github.com/Cockatrice/Cockatrice","homepage":"","size":40466,"stargazers_count":279,"watchers_count":279,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":180,"mirror_url":null,"open_issues_count":204,"forks":180,"open_issues":204,"watchers":279,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/1243"},"html":{"href":"https://github.com/Cockatrice/Cockatrice/pull/1243"},"issue":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1243"},"comments":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1243/comments"},"review_comments":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/1243/comments"},"review_comment":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/1243/commits"},"statuses":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/statuses/efac7c21f4177815c0128c0182c4e37305d7e6e8"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":14,"review_comments":27,"commits":1,"additions":229,"deletions":60,"changed_files":6}}