{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/136","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/136/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/136/events","html_url":"https://github.com/nextcloud/server/issues/136","id":160693938,"number":136,"title":"Have something like apps-data for data of applications","user":{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nextcloud/server/labels/enhancement","name":"enhancement","color":"0e8a16"}],"state":"open","locked":false,"assignee":{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false},"assignees":[{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/nextcloud/server/milestones/6","html_url":"https://github.com/nextcloud/server/milestones/Nextcloud%2011.0","labels_url":"https://api.github.com/repos/nextcloud/server/milestones/6/labels","id":1896997,"number":6,"title":"Nextcloud 11.0","description":null,"creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":83,"closed_issues":336,"state":"open","created_at":"2016-07-21T15:58:16Z","updated_at":"2016-09-07T09:26:23Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-06-16T15:42:26Z","updated_at":"2016-09-07T11:31:08Z","closed_at":null,"body":"\r\n\r\n> BeS>  LukasReschke: do you have some time looking at https://github.com/nextcloud/server/pull/59#issuecomment-225729589\r\nwhat's the best solution here?\r\n>\r\n> LukasReschke> BeS: Lemme take a look at the source.\r\n actually I'd even be provocative on that one and say: we don't write directly to the themes folder but store it in /data/themes (then again if an user is called themes … right … do you see the problem? We might need another folder \"apps-data\" in the future or so ;)) so in /data/logo.svg and have a controller that delivers the image.\r\nso something like a controller that does readFile(data/logo.svg) and returns it with the correct mimetype for example /index.php/core/custom-template/logo.svg or whatever you like ;-)\r\n> \r\n> BernhardPosselt> purple \r\nLukasReschke: god, please yes\r\napp data folder has been missed over all the years\r\n>\r\n> LukasReschke> lemme create an issue for that right away\r\n"},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/245253000","html_url":"https://github.com/nextcloud/server/issues/136#issuecomment-245253000","issue_url":"https://api.github.com/repos/nextcloud/server/issues/136","id":245253000,"user":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T11:31:08Z","updated_at":"2016-09-07T11:31:08Z","body":"So as a first step I think it would work to have an AppDataManager. Which has something like `getFolder(<appid>)`.\r\n\r\nAs a first step we just map this to `/data/<instanceid>/<appid>`.\r\n\r\nSince we want something simple. And we want admins to be able to have full control over this. I think we should pose limitations on what can happen in the AppDataDir. I think having something like #1039 (the simplefs) there would make sense.\r\n\r\nHowever that might be a bit to limiting for some use cases (if you want to store files per users you will basicly end up with).\r\n\r\n```<AppDataFolder>/<uid>/```\r\n\r\nIf we chose to go the route of the simplefs you could only store files there. Is that to limiting?"}}
{"actor":{"display_login":"rullzer"}}