{"action":"created","issue":{"url":"https://api.github.com/repos/interfasys/galleryplus/issues/27","labels_url":"https://api.github.com/repos/interfasys/galleryplus/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/interfasys/galleryplus/issues/27/comments","events_url":"https://api.github.com/repos/interfasys/galleryplus/issues/27/events","html_url":"https://github.com/interfasys/galleryplus/issues/27","id":57744220,"number":27,"title":"URL used to retrieve thumbnails can generate \"URI too long\" error messages","user":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/interfasys/galleryplus/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/interfasys/galleryplus/labels/sponsor%20needed","name":"sponsor needed","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/interfasys/galleryplus/milestones/1","html_url":"https://github.com/interfasys/galleryplus/milestones/2.1","labels_url":"https://api.github.com/repos/interfasys/galleryplus/milestones/1/labels","id":989377,"number":1,"title":"2.1","description":null,"creator":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":5,"state":"open","created_at":"2015-02-21T14:01:33Z","updated_at":"2015-04-07T15:34:12Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-02-15T20:19:56Z","updated_at":"2015-04-08T10:44:25Z","closed_at":null,"body":"### Current situation\r\nInitial post: https://github.com/owncloud/gallery/issues/159\r\nA thumbnail is identified by its path. So if we're 10 levels deep and have lots of sub-folders with long-names, we're going to max out the limit set for GET requests.\r\n*Note: We have to use GET requests because we're using Server-sent Events.*\r\n\r\n### Solution\r\n* Identify thumbnails by their ID\r\n* Only retrieve what's needed for the current view\r\n* Use file IDs when requesting thumbnails in batch\r\n* Use file IDs when requesting large previews and to download files\r\n\r\n*This requires re-factoring a fair bit of the current code*\r\n\r\n### Next steps\r\n#### Feasibility study\r\n- [x] Collect requirements\r\n- [x] Calculate effort required\r\n- [x] Build proof of concept\r\n\r\n#### Development\r\n- [ ]  Secure funding\r\n- [ ]  Finalise specifications\r\n\r\n#### QA\r\n- [ ] Define tests (cucumber)\r\n- [ ] Write tests (optional)\r\n- [ ] Pass all tests\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8601079-url-used-to-retrieve-thumbnails-can-generate-uri-too-long-error-messages?utm_campaign=plugin&utm_content=tracker%2F9328526&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F9328526&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/interfasys/galleryplus/issues/comments/90877330","html_url":"https://github.com/interfasys/galleryplus/issues/27#issuecomment-90877330","issue_url":"https://api.github.com/repos/interfasys/galleryplus/issues/27","id":90877330,"user":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T10:44:25Z","updated_at":"2015-04-08T10:44:25Z","body":"@jospoortvliet - I can't wait, because it even took me a long time to start installing apps by downloading them as it's a maintenance nightmare to keep track of all of them, so I can't imagine what it's like to regular users, especially the ones who've been using the system for a while since it was possible to install a lot of apps straight from oC in previous incarnations."}}