{"action":"created","issue":{"url":"https://api.github.com/repos/joomla-projects/gsoc16_recording-action-logs/issues/10","repository_url":"https://api.github.com/repos/joomla-projects/gsoc16_recording-action-logs","labels_url":"https://api.github.com/repos/joomla-projects/gsoc16_recording-action-logs/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/joomla-projects/gsoc16_recording-action-logs/issues/10/comments","events_url":"https://api.github.com/repos/joomla-projects/gsoc16_recording-action-logs/issues/10/events","html_url":"https://github.com/joomla-projects/gsoc16_recording-action-logs/issues/10","id":158866944,"number":10,"title":"Way to avoid hard coding events","user":{"login":"muhakh","id":7040383,"avatar_url":"https://avatars.githubusercontent.com/u/7040383?v=3","gravatar_id":"","url":"https://api.github.com/users/muhakh","html_url":"https://github.com/muhakh","followers_url":"https://api.github.com/users/muhakh/followers","following_url":"https://api.github.com/users/muhakh/following{/other_user}","gists_url":"https://api.github.com/users/muhakh/gists{/gist_id}","starred_url":"https://api.github.com/users/muhakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhakh/subscriptions","organizations_url":"https://api.github.com/users/muhakh/orgs","repos_url":"https://api.github.com/users/muhakh/repos","events_url":"https://api.github.com/users/muhakh/events{/privacy}","received_events_url":"https://api.github.com/users/muhakh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla-projects/gsoc16_recording-action-logs/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-06-07T08:29:32Z","updated_at":"2016-06-08T21:01:22Z","closed_at":null,"body":"I have a question\r\nI think that these events are the events that should be logged:\r\n- onContentAfterSave\r\n- onContentAfterDelete\r\n- onContentChangeState\r\n- onExtensionAfterInstall\r\n- onExtensionAfterUninstall\r\n- onExtensionAfterUpdate\r\n- onUserAfterSave\r\n- onUserAfterDelete\r\n- onUserAfterSaveGroup\r\n- onUserAfterDeleteGroup\r\n\r\nAre there any other events that needs to be logged?"},"comment":{"url":"https://api.github.com/repos/joomla-projects/gsoc16_recording-action-logs/issues/comments/224726292","html_url":"https://github.com/joomla-projects/gsoc16_recording-action-logs/issues/10#issuecomment-224726292","issue_url":"https://api.github.com/repos/joomla-projects/gsoc16_recording-action-logs/issues/10","id":224726292,"user":{"login":"Llewellynvdm","id":5607939,"avatar_url":"https://avatars.githubusercontent.com/u/5607939?v=3","gravatar_id":"","url":"https://api.github.com/users/Llewellynvdm","html_url":"https://github.com/Llewellynvdm","followers_url":"https://api.github.com/users/Llewellynvdm/followers","following_url":"https://api.github.com/users/Llewellynvdm/following{/other_user}","gists_url":"https://api.github.com/users/Llewellynvdm/gists{/gist_id}","starred_url":"https://api.github.com/users/Llewellynvdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Llewellynvdm/subscriptions","organizations_url":"https://api.github.com/users/Llewellynvdm/orgs","repos_url":"https://api.github.com/users/Llewellynvdm/repos","events_url":"https://api.github.com/users/Llewellynvdm/events{/privacy}","received_events_url":"https://api.github.com/users/Llewellynvdm/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T21:01:22Z","updated_at":"2016-06-08T21:01:22Z","body":"It seems like the _JEventDispatcher_ in its trigger method on line 160 calls the update method of the plugin that it inherited from JEvent. \r\n\r\nI have asked other Developers to give their input on the subject, since I am not sure if there is possible an convention that I have missed.\r\n\r\nReality is we should not let this keep you back.\r\n\r\nYou can always latter with further iteration improve the implementation from hard code to something more dynamic.\r\n\r\n**So if you would like to start with only those events mentioned, that is also great!**\r\n\r\nYou do know of this [list of events](https://docs.joomla.org/Plugin/Events) right? So if those you have selected are all you feel should be targeted, then do it in a way that will make it easy to add more if needed."}}
{"actor":{"display_login":"Llewellynvdm"}}