{"action":"created","issue":{"url":"https://api.github.com/repos/textpattern/textpattern/issues/777","repository_url":"https://api.github.com/repos/textpattern/textpattern","labels_url":"https://api.github.com/repos/textpattern/textpattern/issues/777/labels{/name}","comments_url":"https://api.github.com/repos/textpattern/textpattern/issues/777/comments","events_url":"https://api.github.com/repos/textpattern/textpattern/issues/777/events","html_url":"https://github.com/textpattern/textpattern/issues/777","id":179296799,"number":777,"title":"Add check(or AutoFix) TxP core preferences","user":{"login":"makss","id":2004844,"avatar_url":"https://avatars.githubusercontent.com/u/2004844?v=3","gravatar_id":"","url":"https://api.github.com/users/makss","html_url":"https://github.com/makss","followers_url":"https://api.github.com/users/makss/followers","following_url":"https://api.github.com/users/makss/following{/other_user}","gists_url":"https://api.github.com/users/makss/gists{/gist_id}","starred_url":"https://api.github.com/users/makss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makss/subscriptions","organizations_url":"https://api.github.com/users/makss/orgs","repos_url":"https://api.github.com/users/makss/repos","events_url":"https://api.github.com/users/makss/events{/privacy}","received_events_url":"https://api.github.com/users/makss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"makss","id":2004844,"avatar_url":"https://avatars.githubusercontent.com/u/2004844?v=3","gravatar_id":"","url":"https://api.github.com/users/makss","html_url":"https://github.com/makss","followers_url":"https://api.github.com/users/makss/followers","following_url":"https://api.github.com/users/makss/following{/other_user}","gists_url":"https://api.github.com/users/makss/gists{/gist_id}","starred_url":"https://api.github.com/users/makss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makss/subscriptions","organizations_url":"https://api.github.com/users/makss/orgs","repos_url":"https://api.github.com/users/makss/repos","events_url":"https://api.github.com/users/makss/events{/privacy}","received_events_url":"https://api.github.com/users/makss/received_events","type":"User","site_admin":false},"assignees":[{"login":"makss","id":2004844,"avatar_url":"https://avatars.githubusercontent.com/u/2004844?v=3","gravatar_id":"","url":"https://api.github.com/users/makss","html_url":"https://github.com/makss","followers_url":"https://api.github.com/users/makss/followers","following_url":"https://api.github.com/users/makss/following{/other_user}","gists_url":"https://api.github.com/users/makss/gists{/gist_id}","starred_url":"https://api.github.com/users/makss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makss/subscriptions","organizations_url":"https://api.github.com/users/makss/orgs","repos_url":"https://api.github.com/users/makss/repos","events_url":"https://api.github.com/users/makss/events{/privacy}","received_events_url":"https://api.github.com/users/makss/received_events","type":"User","site_admin":false},{"login":"bloatware","id":11578435,"avatar_url":"https://avatars.githubusercontent.com/u/11578435?v=3","gravatar_id":"","url":"https://api.github.com/users/bloatware","html_url":"https://github.com/bloatware","followers_url":"https://api.github.com/users/bloatware/followers","following_url":"https://api.github.com/users/bloatware/following{/other_user}","gists_url":"https://api.github.com/users/bloatware/gists{/gist_id}","starred_url":"https://api.github.com/users/bloatware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bloatware/subscriptions","organizations_url":"https://api.github.com/users/bloatware/orgs","repos_url":"https://api.github.com/users/bloatware/repos","events_url":"https://api.github.com/users/bloatware/events{/privacy}","received_events_url":"https://api.github.com/users/bloatware/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/textpattern/textpattern/milestones/2","html_url":"https://github.com/textpattern/textpattern/milestones/v4.7","labels_url":"https://api.github.com/repos/textpattern/textpattern/milestones/2/labels","id":813574,"number":2,"title":"v4.7","description":"","creator":{"login":"philwareham","id":413665,"avatar_url":"https://avatars.githubusercontent.com/u/413665?v=3","gravatar_id":"","url":"https://api.github.com/users/philwareham","html_url":"https://github.com/philwareham","followers_url":"https://api.github.com/users/philwareham/followers","following_url":"https://api.github.com/users/philwareham/following{/other_user}","gists_url":"https://api.github.com/users/philwareham/gists{/gist_id}","starred_url":"https://api.github.com/users/philwareham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwareham/subscriptions","organizations_url":"https://api.github.com/users/philwareham/orgs","repos_url":"https://api.github.com/users/philwareham/repos","events_url":"https://api.github.com/users/philwareham/events{/privacy}","received_events_url":"https://api.github.com/users/philwareham/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":19,"state":"open","created_at":"2014-10-04T13:55:37Z","updated_at":"2016-12-07T10:08:05Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-09-26T18:02:41Z","updated_at":"2016-12-07T10:56:28Z","closed_at":null,"body":"I propose to add a check basic core preferences (`txp_prefs`) to `Diagnostic` tab.\nCan make and AutoFix missing preferences.\n\nAll you need we already have:\n1. Move array `$prefs = array_merge_recursive(array(...));` from `/textpattern/setup/txpsql.php` to new file `/textpattern/lib/prefs.php`\n2. Include `/textpattern/lib/prefs.php` in `/textpattern/setup/txpsql.php`\n3. Include `/textpattern/lib/prefs.php` in `/textpattern/include/txp_diag.php`\n4. Create new function AutoFix in `txp_diag.php`:  Create prefs if not exist\n"},"comment":{"url":"https://api.github.com/repos/textpattern/textpattern/issues/comments/265417702","html_url":"https://github.com/textpattern/textpattern/issues/777#issuecomment-265417702","issue_url":"https://api.github.com/repos/textpattern/textpattern/issues/777","id":265417702,"user":{"login":"Bloke","id":21252,"avatar_url":"https://avatars.githubusercontent.com/u/21252?v=3","gravatar_id":"","url":"https://api.github.com/users/Bloke","html_url":"https://github.com/Bloke","followers_url":"https://api.github.com/users/Bloke/followers","following_url":"https://api.github.com/users/Bloke/following{/other_user}","gists_url":"https://api.github.com/users/Bloke/gists{/gist_id}","starred_url":"https://api.github.com/users/Bloke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bloke/subscriptions","organizations_url":"https://api.github.com/users/Bloke/orgs","repos_url":"https://api.github.com/users/Bloke/repos","events_url":"https://api.github.com/users/Bloke/events{/privacy}","received_events_url":"https://api.github.com/users/Bloke/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T10:56:28Z","updated_at":"2016-12-07T10:56:28Z","body":"Sounds good to me!"}}
{"actor":{"display_login":"Bloke"}}