{"action":"created","comment":{"url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/comments/94276127","pull_request_review_id":14806422,"id":94276127,"diff_hunk":"@@ -1629,6 +1637,7 @@\n   rss_log_title: Activity Log\n   rss_by: by [user]\n   rss_title: \"[:app_title]\"\n+  rss_filtered_mouseover: \"[:app_title] has applied filter(s), including any filter(s) in: (a) your Preferences and (b) Advanced Search or the search bar.\"","path":"config/locales/en.txt","position":null,"original_position":40,"commit_id":"b4b56e49c7c2a026eb065801b03cea615091226f","original_commit_id":"e06ce8acf7784404af12737795fd0f5f0c7a4ce7","user":{"login":"JoeCohen","id":45460,"avatar_url":"https://avatars.githubusercontent.com/u/45460?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeCohen","html_url":"https://github.com/JoeCohen","followers_url":"https://api.github.com/users/JoeCohen/followers","following_url":"https://api.github.com/users/JoeCohen/following{/other_user}","gists_url":"https://api.github.com/users/JoeCohen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeCohen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeCohen/subscriptions","organizations_url":"https://api.github.com/users/JoeCohen/orgs","repos_url":"https://api.github.com/users/JoeCohen/repos","events_url":"https://api.github.com/users/JoeCohen/events{/privacy}","received_events_url":"https://api.github.com/users/JoeCohen/received_events","type":"User","site_admin":false},"body":"Done. 59508e1358cd875c4fdf43bd36bbae5834ee0d74","created_at":"2016-12-31T17:52:39Z","updated_at":"2016-12-31T17:52:39Z","html_url":"https://github.com/MushroomObserver/mushroom-observer/pull/258#discussion_r94276127","pull_request_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/258","_links":{"self":{"href":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/comments/94276127"},"html":{"href":"https://github.com/MushroomObserver/mushroom-observer/pull/258#discussion_r94276127"},"pull_request":{"href":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/258"}}},"pull_request":{"url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/258","id":99466946,"html_url":"https://github.com/MushroomObserver/mushroom-observer/pull/258","diff_url":"https://github.com/MushroomObserver/mushroom-observer/pull/258.diff","patch_url":"https://github.com/MushroomObserver/mushroom-observer/pull/258.patch","issue_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues/258","number":258,"state":"open","locked":false,"title":"Add user option for persistent content filters.","user":{"login":"JoeCohen","id":45460,"avatar_url":"https://avatars.githubusercontent.com/u/45460?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeCohen","html_url":"https://github.com/JoeCohen","followers_url":"https://api.github.com/users/JoeCohen/followers","following_url":"https://api.github.com/users/JoeCohen/following{/other_user}","gists_url":"https://api.github.com/users/JoeCohen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeCohen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeCohen/subscriptions","organizations_url":"https://api.github.com/users/JoeCohen/orgs","repos_url":"https://api.github.com/users/JoeCohen/repos","events_url":"https://api.github.com/users/JoeCohen/events{/privacy}","received_events_url":"https://api.github.com/users/JoeCohen/received_events","type":"User","site_admin":false},"body":"Gives user the option - via Preferences - to always exclude imageless or unvouchered Observations from Activity Feed and search results. \r\n(Can override via search bar filters or Advanced Search checkboxes.)\r\n\r\nBasic Manual Test Script\r\n* Create 4 Observations, as follows\r\n  (a) one with an image and a specimen;\r\n  (b) one with an image but without specimen;\r\n  (c) one with a specimen but without images;\r\n  (d) one without images or specimen.\r\n* Refresh Activity Feed.\r\n\r\nResult: all 4 Observations should be shown.\r\n\r\n- Turn on has_images persistent filter: in /account/prefs, check the box next to “Hide Observations with no images.”, then Save Edits\r\n- Refresh Activity Feed.\r\n\r\nResult: Of those 4 Observations, only (a) and (b) should appear.  “(filtered)” appears next to page title. \r\n\r\n- Turn off has_images persistent filter, turn on has_specimen filter, Save Edits.\r\n- Refresh Activity Feed.  \r\n\r\nResult: Of those 4 Observations, only (a) and (c) should appear. (filtered)” appears next to page title. \r\n\r\n- Turn on both filters, Save Edits.\r\n- Refresh Activity Feed.  \r\n\r\nResult: Of those 4 Observations, only (d) should appear. (filtered)” appears next to page title. \r\n\r\nNote: this is a simple script.  These filters persist site-wide for all Observation queries.  For instance, with any of these filters on, from any /name/show_name/nnnnnn page, click More Observations.  The results are filtered (and that is shown in the page title).\r\n","created_at":"2016-12-27T17:30:29Z","updated_at":"2016-12-31T17:52:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"05d6d470a8b9be54991ebb4e66590fa3234f74ac","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/258/commits","review_comments_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/258/comments","review_comment_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues/258/comments","statuses_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/statuses/b4b56e49c7c2a026eb065801b03cea615091226f","head":{"label":"JoeCohen:content-filters","ref":"content-filters","sha":"b4b56e49c7c2a026eb065801b03cea615091226f","user":{"login":"JoeCohen","id":45460,"avatar_url":"https://avatars.githubusercontent.com/u/45460?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeCohen","html_url":"https://github.com/JoeCohen","followers_url":"https://api.github.com/users/JoeCohen/followers","following_url":"https://api.github.com/users/JoeCohen/following{/other_user}","gists_url":"https://api.github.com/users/JoeCohen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeCohen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeCohen/subscriptions","organizations_url":"https://api.github.com/users/JoeCohen/orgs","repos_url":"https://api.github.com/users/JoeCohen/repos","events_url":"https://api.github.com/users/JoeCohen/events{/privacy}","received_events_url":"https://api.github.com/users/JoeCohen/received_events","type":"User","site_admin":false},"repo":{"id":26510020,"name":"mushroom-observer","full_name":"JoeCohen/mushroom-observer","owner":{"login":"JoeCohen","id":45460,"avatar_url":"https://avatars.githubusercontent.com/u/45460?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeCohen","html_url":"https://github.com/JoeCohen","followers_url":"https://api.github.com/users/JoeCohen/followers","following_url":"https://api.github.com/users/JoeCohen/following{/other_user}","gists_url":"https://api.github.com/users/JoeCohen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeCohen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeCohen/subscriptions","organizations_url":"https://api.github.com/users/JoeCohen/orgs","repos_url":"https://api.github.com/users/JoeCohen/repos","events_url":"https://api.github.com/users/JoeCohen/events{/privacy}","received_events_url":"https://api.github.com/users/JoeCohen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JoeCohen/mushroom-observer","description":"A website for sharing observations of mushrooms.","fork":true,"url":"https://api.github.com/repos/JoeCohen/mushroom-observer","forks_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/forks","keys_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/teams","hooks_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/hooks","issue_events_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/issues/events{/number}","events_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/events","assignees_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/assignees{/user}","branches_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/branches{/branch}","tags_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/tags","blobs_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/git/refs{/sha}","trees_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/statuses/{sha}","languages_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/languages","stargazers_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/stargazers","contributors_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/contributors","subscribers_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/subscribers","subscription_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/subscription","commits_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/commits{/sha}","git_commits_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/git/commits{/sha}","comments_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/comments{/number}","issue_comment_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/issues/comments{/number}","contents_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/contents/{+path}","compare_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/merges","archive_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/downloads","issues_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/issues{/number}","pulls_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/pulls{/number}","milestones_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/milestones{/number}","notifications_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/labels{/name}","releases_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/releases{/id}","deployments_url":"https://api.github.com/repos/JoeCohen/mushroom-observer/deployments","created_at":"2014-11-11T23:30:53Z","updated_at":"2016-05-07T20:04:43Z","pushed_at":"2016-12-31T17:49:54Z","git_url":"git://github.com/JoeCohen/mushroom-observer.git","ssh_url":"git@github.com:JoeCohen/mushroom-observer.git","clone_url":"https://github.com/JoeCohen/mushroom-observer.git","svn_url":"https://github.com/JoeCohen/mushroom-observer","homepage":"http://mushroomobserver.org","size":56832,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"MushroomObserver:master","ref":"master","sha":"31cdaca0bc645e0ea3c130ba1c21c8c36500a2f4","user":{"login":"MushroomObserver","id":3212163,"avatar_url":"https://avatars.githubusercontent.com/u/3212163?v=3","gravatar_id":"","url":"https://api.github.com/users/MushroomObserver","html_url":"https://github.com/MushroomObserver","followers_url":"https://api.github.com/users/MushroomObserver/followers","following_url":"https://api.github.com/users/MushroomObserver/following{/other_user}","gists_url":"https://api.github.com/users/MushroomObserver/gists{/gist_id}","starred_url":"https://api.github.com/users/MushroomObserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MushroomObserver/subscriptions","organizations_url":"https://api.github.com/users/MushroomObserver/orgs","repos_url":"https://api.github.com/users/MushroomObserver/repos","events_url":"https://api.github.com/users/MushroomObserver/events{/privacy}","received_events_url":"https://api.github.com/users/MushroomObserver/received_events","type":"Organization","site_admin":false},"repo":{"id":7514061,"name":"mushroom-observer","full_name":"MushroomObserver/mushroom-observer","owner":{"login":"MushroomObserver","id":3212163,"avatar_url":"https://avatars.githubusercontent.com/u/3212163?v=3","gravatar_id":"","url":"https://api.github.com/users/MushroomObserver","html_url":"https://github.com/MushroomObserver","followers_url":"https://api.github.com/users/MushroomObserver/followers","following_url":"https://api.github.com/users/MushroomObserver/following{/other_user}","gists_url":"https://api.github.com/users/MushroomObserver/gists{/gist_id}","starred_url":"https://api.github.com/users/MushroomObserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MushroomObserver/subscriptions","organizations_url":"https://api.github.com/users/MushroomObserver/orgs","repos_url":"https://api.github.com/users/MushroomObserver/repos","events_url":"https://api.github.com/users/MushroomObserver/events{/privacy}","received_events_url":"https://api.github.com/users/MushroomObserver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MushroomObserver/mushroom-observer","description":"A website for sharing observations of mushrooms.","fork":false,"url":"https://api.github.com/repos/MushroomObserver/mushroom-observer","forks_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/forks","keys_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/teams","hooks_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/hooks","issue_events_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues/events{/number}","events_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/events","assignees_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/assignees{/user}","branches_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/branches{/branch}","tags_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/tags","blobs_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/git/refs{/sha}","trees_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/statuses/{sha}","languages_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/languages","stargazers_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/stargazers","contributors_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/contributors","subscribers_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/subscribers","subscription_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/subscription","commits_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/commits{/sha}","git_commits_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/git/commits{/sha}","comments_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/comments{/number}","issue_comment_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues/comments{/number}","contents_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/contents/{+path}","compare_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/merges","archive_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/downloads","issues_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues{/number}","pulls_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls{/number}","milestones_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/milestones{/number}","notifications_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/labels{/name}","releases_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/releases{/id}","deployments_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/deployments","created_at":"2013-01-09T03:17:31Z","updated_at":"2016-11-24T05:09:37Z","pushed_at":"2016-12-31T17:49:56Z","git_url":"git://github.com/MushroomObserver/mushroom-observer.git","ssh_url":"git@github.com:MushroomObserver/mushroom-observer.git","clone_url":"https://github.com/MushroomObserver/mushroom-observer.git","svn_url":"https://github.com/MushroomObserver/mushroom-observer","homepage":"http://mushroomobserver.org","size":56869,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":5,"forks":11,"open_issues":5,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/258"},"html":{"href":"https://github.com/MushroomObserver/mushroom-observer/pull/258"},"issue":{"href":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues/258"},"comments":{"href":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues/258/comments"},"review_comments":{"href":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/258/comments"},"review_comment":{"href":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/258/commits"},"statuses":{"href":"https://api.github.com/repos/MushroomObserver/mushroom-observer/statuses/b4b56e49c7c2a026eb065801b03cea615091226f"}}}}
{"actor":{"display_login":"JoeCohen"}}