{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/activity/issues/349","labels_url":"https://api.github.com/repos/owncloud/activity/issues/349/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/activity/issues/349/comments","events_url":"https://api.github.com/repos/owncloud/activity/issues/349/events","html_url":"https://github.com/owncloud/activity/issues/349","id":97365402,"number":349,"title":"interactive activities","user":{"login":"karlitschek","id":867445,"avatar_url":"https://avatars.githubusercontent.com/u/867445?v=3","gravatar_id":"","url":"https://api.github.com/users/karlitschek","html_url":"https://github.com/karlitschek","followers_url":"https://api.github.com/users/karlitschek/followers","following_url":"https://api.github.com/users/karlitschek/following{/other_user}","gists_url":"https://api.github.com/users/karlitschek/gists{/gist_id}","starred_url":"https://api.github.com/users/karlitschek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlitschek/subscriptions","organizations_url":"https://api.github.com/users/karlitschek/orgs","repos_url":"https://api.github.com/users/karlitschek/repos","events_url":"https://api.github.com/users/karlitschek/events{/privacy}","received_events_url":"https://api.github.com/users/karlitschek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/activity/labels/enhancement%20-%20needs%20design","name":"enhancement - needs design","color":"FF9900"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-27T01:19:36Z","updated_at":"2015-09-14T07:31:57Z","closed_at":"2015-09-14T07:31:57Z","body":"The ownCloud Desktop and Mobile clients should read the activities via the existing OCS API and show them as local activities and push them as notification center event to the local OS. The current sync log on the desktop should be renames as sync log for debugging purpose. The activities that are read from the server are more relevant for the users.\r\n\r\nThis system is fully implemented on the server and should be implemented on Desktop and Mobile too.\r\n\r\nAdditionally we want to have a new kind of activities that are called ‘interactive activities’. They provide a way for the server or one of the ownCloud server apps to trigger a minimal interactive UI on the clients.\r\n\r\nEvery time the clients read an activity from the server OCS activity API that is marked as interactive it should do what is described in the activity. There are different types:\r\n\r\n\r\n‘popup notification’: This is a notification just like the normal activities but actually triggers a popup on the clients. This can be used for ultra important or fatal events like: Quote is not 100% full and ownCloud doesn’t work anymore. Or the Admin sends a broadcast for server shutdown or some other similar event. The text in the popup is also included in the activity that is read from the server.\r\n\r\n‘popup notification with link’: This can be used if for example an authentication token has expired and the user has to go to a certain website to refresh it. Or it can be used to tell the user that a password to access external storage has to be provided in the web-interface. Or that another very important event has occurred where a website can provide more information.\r\n\r\n‘question’: This should trigger a popup that has additionally to the text and an optional link two buttons. The text on the buttons is also provided by the server. If the user clicks on a button then an from the server provided url should be called in the background. This can be used to ask the user of a Federation Sharing request should be accepted or denied. \r\n\r\nThis kind of interactions with the user on the Desktop or Mobile should be implemented in this very abstract and general purpose way so that they can be used in a flexible way for current and future usecases or ownCloud core or apps.\r\n\r\n@nickvergessen @jancborchardt @MTRichards @dragotin @rperezb "}}