{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/activity/issues/44","repository_url":"https://api.github.com/repos/nextcloud/activity","labels_url":"https://api.github.com/repos/nextcloud/activity/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/activity/issues/44/comments","events_url":"https://api.github.com/repos/nextcloud/activity/issues/44/events","html_url":"https://github.com/nextcloud/activity/issues/44","id":177912230,"number":44,"title":"Filter activities from external apps in activity stream","user":{"login":"marius-wieschollek","id":8255857,"avatar_url":"https://avatars.githubusercontent.com/u/8255857?v=3","gravatar_id":"","url":"https://api.github.com/users/marius-wieschollek","html_url":"https://github.com/marius-wieschollek","followers_url":"https://api.github.com/users/marius-wieschollek/followers","following_url":"https://api.github.com/users/marius-wieschollek/following{/other_user}","gists_url":"https://api.github.com/users/marius-wieschollek/gists{/gist_id}","starred_url":"https://api.github.com/users/marius-wieschollek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marius-wieschollek/subscriptions","organizations_url":"https://api.github.com/users/marius-wieschollek/orgs","repos_url":"https://api.github.com/users/marius-wieschollek/repos","events_url":"https://api.github.com/users/marius-wieschollek/events{/privacy}","received_events_url":"https://api.github.com/users/marius-wieschollek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-19T22:12:35Z","updated_at":"2016-09-20T20:04:31Z","closed_at":"2016-09-20T20:04:31Z","body":"The real life example I have is a webcam that uploads a photo every few minutes via webdav. Of course all the photos show up in the activity stream and make other activities hard to find. Recently Nextcloud has introduced the great app passwords feature for external apps. Since said webcam uses its own app password to upload files,  I thought it may be possible to exclude if from the stream by its app password or the like.\r\n\r\n### Steps to reproduce\r\n1. Open \"Activity\" App\r\n2. Select \"All Activities\"\r\n\r\n### Expected behaviour\r\nActivity offers a way to exclude activities created by an external app from the stream by its app password.\r\n\r\n### Actual behaviour\r\nActivity shows unfiltered stream with lots of automatically generated activities from external apps.\r\n\r\n### Server configuration\r\n**Operating system**: Ubuntu 14.04\r\n**Web server:**: Apache 2.4.23\r\n**Database:** mysql 5.6.31\r\n**PHP version:** PHP 7.0.11\r\n**Nextcloud version:** 10.0\r\n**Where did you install Nextcloud from:** Website Zip-download\r\n**Signing status:** disabled"},"comment":{"url":"https://api.github.com/repos/nextcloud/activity/issues/comments/248417909","html_url":"https://github.com/nextcloud/activity/issues/44#issuecomment-248417909","issue_url":"https://api.github.com/repos/nextcloud/activity/issues/44","id":248417909,"user":{"login":"marius-wieschollek","id":8255857,"avatar_url":"https://avatars.githubusercontent.com/u/8255857?v=3","gravatar_id":"","url":"https://api.github.com/users/marius-wieschollek","html_url":"https://github.com/marius-wieschollek","followers_url":"https://api.github.com/users/marius-wieschollek/followers","following_url":"https://api.github.com/users/marius-wieschollek/following{/other_user}","gists_url":"https://api.github.com/users/marius-wieschollek/gists{/gist_id}","starred_url":"https://api.github.com/users/marius-wieschollek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marius-wieschollek/subscriptions","organizations_url":"https://api.github.com/users/marius-wieschollek/orgs","repos_url":"https://api.github.com/users/marius-wieschollek/repos","events_url":"https://api.github.com/users/marius-wieschollek/events{/privacy}","received_events_url":"https://api.github.com/users/marius-wieschollek/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T20:04:31Z","updated_at":"2016-09-20T20:04:31Z","body":"@nickvergessen Thanks for your answer. Actually I had added some code to \\OCA\\Activity\\FilesHooks::fileCreate() to exclude the folder as a temporary solution. But I ran into some problems when I tried to move that code to an extra app. Since this issue is not the right place to discuss these I have opened a topic in the Nextcloud forums. (https://help.nextcloud.com/t/override-other-classes-with-my-app/3419)\r\n\r\nThank you very much for your help and thank you for your offer.\r\nIf you don't mind I would try to see if I can get this working myself as an nextcloud app."}}
{"actor":{"display_login":"marius-wieschollek"}}