{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/gallery/issues/230","labels_url":"https://api.github.com/repos/owncloud/gallery/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/gallery/issues/230/comments","events_url":"https://api.github.com/repos/owncloud/gallery/issues/230/events","html_url":"https://github.com/owncloud/gallery/issues/230","id":97270419,"number":230,"title":"Show favourites [$50]","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/owncloud/gallery/labels/bounty","name":"bounty","color":"9e9012"},{"url":"https://api.github.com/repos/owncloud/gallery/labels/enhancement","name":"enhancement","color":"02e10c"},{"url":"https://api.github.com/repos/owncloud/gallery/labels/feature:photowall","name":"feature:photowall","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/gallery/milestones/10","html_url":"https://github.com/owncloud/gallery/milestones/backlog","labels_url":"https://api.github.com/repos/owncloud/gallery/milestones/10/labels","id":1173687,"number":10,"title":"backlog","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":43,"closed_issues":5,"state":"open","created_at":"2015-06-20T21:18:41Z","updated_at":"2015-10-26T12:03:04Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-07-26T00:37:21Z","updated_at":"2015-10-27T19:56:54Z","closed_at":null,"body":"It would be nice to also be able to only see one's favourites in Gallery.\r\n\r\n![capture_favorites](https://cloud.githubusercontent.com/assets/12627719/10767280/abfb693c-7cdb-11e5-87dd-694db12a9c5e.PNG)\r\n<sub>screenshot by joephein</sub>\r\n\r\n### What to expect\r\n* A button somewhere which will let the user have access to his favourites\r\n* A star on pictures which are favourites\r\n\r\nLater, we can implement a way to star pictures and albums. That will be a separate request.\r\n\r\n### Caveats\r\n* Will take forever if we don't set a limit\r\n* Will be incomplete and perhaps useless if we do\r\n* Albums can't have thumbnails inside\r\n* The Fileinfo object doesn't seem to contain the tags, so separate requests have to be made and the arrays have to be merged. It will slow things down\r\n\r\n### Code to steal\r\n\r\n* [Tag collector](https://github.com/owncloud/core/blob/c700f42b68f430e9c89ce97b92ea91323c9f6ed5/apps/files/lib/helper.php#L214)\r\n* [Favourites collector](https://github.com/owncloud/core/blob/c700f42b68f430e9c89ce97b92ea91323c9f6ed5/apps/files/lib/activityhelper.php#L48)\r\n\r\n<bountysource-plugin>\r\n---\r\nThere is a **[$50 open bounty](https://www.bountysource.com/issues/24956497-show-favourites?utm_campaign=plugin&utm_content=tracker%2F9328526&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [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/owncloud/gallery/issues/comments/151625011","html_url":"https://github.com/owncloud/gallery/issues/230#issuecomment-151625011","issue_url":"https://api.github.com/repos/owncloud/gallery/issues/230","id":151625011,"user":{"login":"joephein","id":12627719,"avatar_url":"https://avatars.githubusercontent.com/u/12627719?v=3","gravatar_id":"","url":"https://api.github.com/users/joephein","html_url":"https://github.com/joephein","followers_url":"https://api.github.com/users/joephein/followers","following_url":"https://api.github.com/users/joephein/following{/other_user}","gists_url":"https://api.github.com/users/joephein/gists{/gist_id}","starred_url":"https://api.github.com/users/joephein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joephein/subscriptions","organizations_url":"https://api.github.com/users/joephein/orgs","repos_url":"https://api.github.com/users/joephein/repos","events_url":"https://api.github.com/users/joephein/events{/privacy}","received_events_url":"https://api.github.com/users/joephein/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T19:56:54Z","updated_at":"2015-10-27T19:56:54Z","body":"That is a good start. Ideally it should also show only those albums (folders in the Files section) that contain photo's that have been marked as favorite including the thumbnails of those photo's that were marked as favorite. If this would require more work I can try to get some more backers :-)  \r\n\r\nCan this be based on the same functionality that already exist in the Files view? \r\nOf course for photo's it would be even better if they could be rated with stars from 1 to 5 like in picturelife but I would not consider this right now and use the already existing flag from ownCloud that hopefully can be easily used in the gallery+ app\r\n\r\n![capture_favorite_files](https://cloud.githubusercontent.com/assets/12627719/10770610/87aa1b80-7cec-11e5-941d-bb809d1ceed2.PNG)\r\n "}}