{"action":"created","issue":{"url":"https://api.github.com/repos/friendica/friendica/issues/5773","repository_url":"https://api.github.com/repos/friendica/friendica","labels_url":"https://api.github.com/repos/friendica/friendica/issues/5773/labels{/name}","comments_url":"https://api.github.com/repos/friendica/friendica/issues/5773/comments","events_url":"https://api.github.com/repos/friendica/friendica/issues/5773/events","html_url":"https://github.com/friendica/friendica/pull/5773","id":361998646,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2ODMwMTcz","number":5773,"title":"Rewrite JS hooks","user":{"login":"MrPetovan","id":925415,"node_id":"MDQ6VXNlcjkyNTQxNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/925415?v=4","gravatar_id":"","url":"https://api.github.com/users/MrPetovan","html_url":"https://github.com/MrPetovan","followers_url":"https://api.github.com/users/MrPetovan/followers","following_url":"https://api.github.com/users/MrPetovan/following{/other_user}","gists_url":"https://api.github.com/users/MrPetovan/gists{/gist_id}","starred_url":"https://api.github.com/users/MrPetovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrPetovan/subscriptions","organizations_url":"https://api.github.com/users/MrPetovan/orgs","repos_url":"https://api.github.com/users/MrPetovan/repos","events_url":"https://api.github.com/users/MrPetovan/events{/privacy}","received_events_url":"https://api.github.com/users/MrPetovan/received_events","type":"User","site_admin":false},"labels":[{"id":68623076,"node_id":"MDU6TGFiZWw2ODYyMzA3Ng==","url":"https://api.github.com/repos/friendica/friendica/labels/Addons","name":"Addons","color":"fad8c7","default":false},{"id":739003526,"node_id":"MDU6TGFiZWw3MzkwMDM1MjY=","url":"https://api.github.com/repos/friendica/friendica/labels/Enhancement","name":"Enhancement","color":"40ce79","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/friendica/friendica/milestones/14","html_url":"https://github.com/friendica/friendica/milestone/14","labels_url":"https://api.github.com/repos/friendica/friendica/milestones/14/labels","id":3367850,"node_id":"MDk6TWlsZXN0b25lMzM2Nzg1MA==","number":14,"title":"2018.12","description":"","creator":{"login":"tobiasd","id":433490,"node_id":"MDQ6VXNlcjQzMzQ5MA==","avatar_url":"https://avatars0.githubusercontent.com/u/433490?v=4","gravatar_id":"","url":"https://api.github.com/users/tobiasd","html_url":"https://github.com/tobiasd","followers_url":"https://api.github.com/users/tobiasd/followers","following_url":"https://api.github.com/users/tobiasd/following{/other_user}","gists_url":"https://api.github.com/users/tobiasd/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasd/subscriptions","organizations_url":"https://api.github.com/users/tobiasd/orgs","repos_url":"https://api.github.com/users/tobiasd/repos","events_url":"https://api.github.com/users/tobiasd/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasd/received_events","type":"User","site_admin":false},"open_issues":119,"closed_issues":9,"state":"open","created_at":"2018-05-23T06:47:22Z","updated_at":"2018-09-20T14:04:26Z","due_on":"2018-12-02T08:00:00Z","closed_at":null},"comments":0,"created_at":"2018-09-20T02:52:17Z","updated_at":"2018-09-21T01:34:57Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/friendica/friendica/pulls/5773","html_url":"https://github.com/friendica/friendica/pull/5773","diff_url":"https://github.com/friendica/friendica/pull/5773.diff","patch_url":"https://github.com/friendica/friendica/pull/5773.patch"},"body":"- Use event listeners instead of homebrew hooks\r\n- Remove view/js/addon-hooks.js and its references\r\n- Update Addon docs"},"comment":{"url":"https://api.github.com/repos/friendica/friendica/issues/comments/423385866","html_url":"https://github.com/friendica/friendica/pull/5773#issuecomment-423385866","issue_url":"https://api.github.com/repos/friendica/friendica/issues/5773","id":423385866,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzM4NTg2Ng==","user":{"login":"MrPetovan","id":925415,"node_id":"MDQ6VXNlcjkyNTQxNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/925415?v=4","gravatar_id":"","url":"https://api.github.com/users/MrPetovan","html_url":"https://github.com/MrPetovan","followers_url":"https://api.github.com/users/MrPetovan/followers","following_url":"https://api.github.com/users/MrPetovan/following{/other_user}","gists_url":"https://api.github.com/users/MrPetovan/gists{/gist_id}","starred_url":"https://api.github.com/users/MrPetovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrPetovan/subscriptions","organizations_url":"https://api.github.com/users/MrPetovan/orgs","repos_url":"https://api.github.com/users/MrPetovan/repos","events_url":"https://api.github.com/users/MrPetovan/events{/privacy}","received_events_url":"https://api.github.com/users/MrPetovan/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T01:34:57Z","updated_at":"2018-09-21T01:34:57Z","author_association":"COLLABORATOR","body":"I found out that the `App->page['end']` content string was never included in any templates. Good riddance.\r\n\r\nInstead, I'm leveraging the `App->page['footer']` part to register deferred Javascript files from addons.\r\n\r\nI also added a new `head` hook to register stylesheets and remove even more HTML writing in the addon PHP files."}}
{"actor":{"display_login":"MrPetovan"}}