{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/11834","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11834/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11834/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11834/events","html_url":"https://github.com/joomla/joomla-cms/pull/11834","id":173757487,"number":11834,"title":"GSoC 16 : Recording Action Logs Project","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/joomla-cms/labels/Language%20Change","name":"Language Change","color":"eb6420"},{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-29T11:55:15Z","updated_at":"2016-08-29T16:43:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/11834","html_url":"https://github.com/joomla/joomla-cms/pull/11834","diff_url":"https://github.com/joomla/joomla-cms/pull/11834.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/11834.patch"},"body":"## Summary of Changes\r\nCreating a new plugin `plg_sys_userlogs` and a new component `com_userlogs` to record users action withing the CMS. To make them installed with the CMS install/update, I added the related SQL queries to SQL files in `installation/sql` .\r\n\r\n## Testing Instructions\r\n### Download\r\nDownload the repository and install it as you install Joomla normally.\r\n### After Installation\r\nAfter installation you need first to activate the plugin so that the users actions can be logged.\r\nGo to `http://www.example.com/index.php?option=com_installer&view=manage` and look for a plugin called \"**System - User actions Log**\" and then activate it.\r\n\r\nNow your Joomla! website can store users' actions.\r\n### Viewing the Logs\r\nTo view the logs just go to the component as shown in this image\r\n![](https://lh6.googleusercontent.com/8BXgwUgwAEPySq6EaL9EINgx0aq4xWDM992myIoY2Yue3eIJuI9_7Jc5jau0s1H0IZYsb0zBeq7ospYaBvQSKF0O6dbuJjpiWeviXtdKSl_oE76bp9o_T3FZxwGQeesgGIzM2Lhk)\r\n\r\nYou will have control over the logs as a super admin that allows you to sort, search, export or delete logs as you want.\r\n### Loggable Extensions\r\nGo to `http://www.example.com/index.php?option=com_installer&view=manage` and look for a plugin called \"**System - User actions Log**\" and go to its options. You will find a field **Select events to be logged** where you can choose which Extension you need to log its actions.\r\n### Permissions\r\nAS every component in Joomla, this component has permissions that are default to superusers only.\r\nJust click on the options button on the top right of the component page and you will view the permissions of the component.\r\n### E-mail Notifications\r\nEvery user that has permission to view the logs can choose whether to receive e-mail notifications when a new action happen.\r\nThe user will just go to the account settings, and under \"Basic Settings\" tab you can choose whether to receive e-mail notifications and you also can choose which extensions you need to receive logs from.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/243180287","html_url":"https://github.com/joomla/joomla-cms/pull/11834#issuecomment-243180287","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11834","id":243180287,"user":{"login":"brianteeman","id":1296369,"avatar_url":"https://avatars.githubusercontent.com/u/1296369?v=3","gravatar_id":"","url":"https://api.github.com/users/brianteeman","html_url":"https://github.com/brianteeman","followers_url":"https://api.github.com/users/brianteeman/followers","following_url":"https://api.github.com/users/brianteeman/following{/other_user}","gists_url":"https://api.github.com/users/brianteeman/gists{/gist_id}","starred_url":"https://api.github.com/users/brianteeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianteeman/subscriptions","organizations_url":"https://api.github.com/users/brianteeman/orgs","repos_url":"https://api.github.com/users/brianteeman/repos","events_url":"https://api.github.com/users/brianteeman/events{/privacy}","received_events_url":"https://api.github.com/users/brianteeman/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T16:43:23Z","updated_at":"2016-08-29T16:43:23Z","body":"Retested and now I get new errors\r\n\r\n```\r\n[29-Aug-2016 17:40:02 Europe/London] PHP Notice:  Trying to get property of non-object in /Applications/MAMP/htdocs/github-joomla-cms/plugins/system/userlogs/userlogs.php on line 397\r\n[29-Aug-2016 17:40:02 Europe/London] PHP Notice:  Trying to get property of non-object in /Applications/MAMP/htdocs/github-joomla-cms/plugins/system/userlogs/userlogs.php on line 400\r\n[29-Aug-2016 17:40:09 Europe/London] PHP Notice:  Undefined variable: type in /Applications/MAMP/htdocs/github-joomla-cms/plugins/system/userlogs/userlogs.php on line 688\r\n[29-Aug-2016 17:40:09 Europe/London] PHP Notice:  Undefined index: extension_name in /Applications/MAMP/htdocs/github-joomla-cms/plugins/system/userlogs/userlogs.php on line 648\r\n[29-Aug-2016 17:40:09 Europe/London] PHP Notice:  Undefined index: extension_name in /Applications/MAMP/htdocs/github-joomla-cms/plugins/system/userlogs/userlogs.php on line 648\r\n[29-Aug-2016 17:40:09 Europe/London] PHP Notice:  Undefined variable: type in /Applications/MAMP/htdocs/github-joomla-cms/plugins/system/userlogs/userlogs.php on line 596\r\n[29-Aug-2016 17:40:09 Europe/London] PHP Notice:  Undefined variable: type in /Applications/MAMP/htdocs/github-joomla-cms/plugins/system/userlogs/userlogs.php on line 596\r\n[29-Aug-2016 17:40:09 Europe/London] PHP Notice:  Undefined index: extension_name in /Applications/MAMP/htdocs/github-joomla-cms/plugins/system/userlogs/userlogs.php on line 644\r\n ```"}}
{"actor":{"display_login":"brianteeman"}}