{"action":"created","issue":{"url":"https://api.github.com/repos/libreform/wp-libre-form/issues/54","repository_url":"https://api.github.com/repos/libreform/wp-libre-form","labels_url":"https://api.github.com/repos/libreform/wp-libre-form/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/libreform/wp-libre-form/issues/54/comments","events_url":"https://api.github.com/repos/libreform/wp-libre-form/issues/54/events","html_url":"https://github.com/libreform/wp-libre-form/issues/54","id":205108349,"node_id":"MDU6SXNzdWUyMDUxMDgzNDk=","number":54,"title":"Add simple spam prevention","user":{"login":"timiwahalahti","id":415544,"node_id":"MDQ6VXNlcjQxNTU0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/415544?v=4","gravatar_id":"","url":"https://api.github.com/users/timiwahalahti","html_url":"https://github.com/timiwahalahti","followers_url":"https://api.github.com/users/timiwahalahti/followers","following_url":"https://api.github.com/users/timiwahalahti/following{/other_user}","gists_url":"https://api.github.com/users/timiwahalahti/gists{/gist_id}","starred_url":"https://api.github.com/users/timiwahalahti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timiwahalahti/subscriptions","organizations_url":"https://api.github.com/users/timiwahalahti/orgs","repos_url":"https://api.github.com/users/timiwahalahti/repos","events_url":"https://api.github.com/users/timiwahalahti/events{/privacy}","received_events_url":"https://api.github.com/users/timiwahalahti/received_events","type":"User","site_admin":false},"labels":[{"id":531381059,"node_id":"MDU6TGFiZWw1MzEzODEwNTk=","url":"https://api.github.com/repos/libreform/wp-libre-form/labels/discussion","name":"discussion","color":"bfdadc","default":false},{"id":211563185,"node_id":"MDU6TGFiZWwyMTE1NjMxODU=","url":"https://api.github.com/repos/libreform/wp-libre-form/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":800310931,"node_id":"MDU6TGFiZWw4MDAzMTA5MzE=","url":"https://api.github.com/repos/libreform/wp-libre-form/labels/feature","name":"feature","color":"8bf904","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/libreform/wp-libre-form/milestones/1","html_url":"https://github.com/libreform/wp-libre-form/milestone/1","labels_url":"https://api.github.com/repos/libreform/wp-libre-form/milestones/1/labels","id":3025157,"node_id":"MDk6TWlsZXN0b25lMzAyNTE1Nw==","number":1,"title":"1.5.0","description":"","creator":{"login":"timiwahalahti","id":415544,"node_id":"MDQ6VXNlcjQxNTU0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/415544?v=4","gravatar_id":"","url":"https://api.github.com/users/timiwahalahti","html_url":"https://github.com/timiwahalahti","followers_url":"https://api.github.com/users/timiwahalahti/followers","following_url":"https://api.github.com/users/timiwahalahti/following{/other_user}","gists_url":"https://api.github.com/users/timiwahalahti/gists{/gist_id}","starred_url":"https://api.github.com/users/timiwahalahti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timiwahalahti/subscriptions","organizations_url":"https://api.github.com/users/timiwahalahti/orgs","repos_url":"https://api.github.com/users/timiwahalahti/repos","events_url":"https://api.github.com/users/timiwahalahti/events{/privacy}","received_events_url":"https://api.github.com/users/timiwahalahti/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":11,"state":"open","created_at":"2018-01-10T08:36:59Z","updated_at":"2018-07-21T20:34:22Z","due_on":"2018-03-01T08:00:00Z","closed_at":null},"comments":9,"created_at":"2017-02-03T09:27:56Z","updated_at":"2018-12-07T12:10:53Z","closed_at":null,"author_association":"MEMBER","body":"IMO wplf should contain very basic spam prevention which is built-in and hidden feature. One option to achieve this is to add a honeypot field, but is it effective way anymore? Another option that did come to my mind, is detect if Akismet is activated and use it.\r\n\r\nI was also wondering if we should save, mark and delete spam after a X amount of days (example same cycle with comment spam) or not.\r\n\r\nOpinions?"},"comment":{"url":"https://api.github.com/repos/libreform/wp-libre-form/issues/comments/445214313","html_url":"https://github.com/libreform/wp-libre-form/issues/54#issuecomment-445214313","issue_url":"https://api.github.com/repos/libreform/wp-libre-form/issues/54","id":445214313,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTIxNDMxMw==","user":{"login":"luizbills","id":1798830,"node_id":"MDQ6VXNlcjE3OTg4MzA=","avatar_url":"https://avatars1.githubusercontent.com/u/1798830?v=4","gravatar_id":"","url":"https://api.github.com/users/luizbills","html_url":"https://github.com/luizbills","followers_url":"https://api.github.com/users/luizbills/followers","following_url":"https://api.github.com/users/luizbills/following{/other_user}","gists_url":"https://api.github.com/users/luizbills/gists{/gist_id}","starred_url":"https://api.github.com/users/luizbills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luizbills/subscriptions","organizations_url":"https://api.github.com/users/luizbills/orgs","repos_url":"https://api.github.com/users/luizbills/repos","events_url":"https://api.github.com/users/luizbills/events{/privacy}","received_events_url":"https://api.github.com/users/luizbills/received_events","type":"User","site_admin":false},"created_at":"2018-12-07T12:10:53Z","updated_at":"2018-12-07T12:10:53Z","author_association":"CONTRIBUTOR","body":"My suggestions:\r\n\r\n- Add a hidden/honeypot field with Javascript. In backend we check if this field don't exists (since most bots don’t process Javascript) or if it is filled (since bots love to fill fields).\r\n\r\n- prevents any submit made in a very short time (less than 10 seconds). Of course, configurable with hooks."}}
{"actor":{"display_login":"luizbills"}}