{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/gallery/issues/625","repository_url":"https://api.github.com/repos/owncloud/gallery","labels_url":"https://api.github.com/repos/owncloud/gallery/issues/625/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/gallery/issues/625/comments","events_url":"https://api.github.com/repos/owncloud/gallery/issues/625/events","html_url":"https://github.com/owncloud/gallery/pull/625","id":143511910,"number":625,"title":"Create .nomedia file from the album itself","user":{"login":"eknoes","id":3641205,"avatar_url":"https://avatars.githubusercontent.com/u/3641205?v=3","gravatar_id":"","url":"https://api.github.com/users/eknoes","html_url":"https://github.com/eknoes","followers_url":"https://api.github.com/users/eknoes/followers","following_url":"https://api.github.com/users/eknoes/following{/other_user}","gists_url":"https://api.github.com/users/eknoes/gists{/gist_id}","starred_url":"https://api.github.com/users/eknoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eknoes/subscriptions","organizations_url":"https://api.github.com/users/eknoes/orgs","repos_url":"https://api.github.com/users/eknoes/repos","events_url":"https://api.github.com/users/eknoes/events{/privacy}","received_events_url":"https://api.github.com/users/eknoes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/gallery/labels/3%20-%20To%20review","name":"3 - To review","color":"ededed"},{"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"},{"url":"https://api.github.com/repos/owncloud/gallery/labels/QA%20-%20Testing","name":"QA - Testing","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/gallery/milestones/31","html_url":"https://github.com/owncloud/gallery/milestones/9.1-current","labels_url":"https://api.github.com/repos/owncloud/gallery/milestones/31/labels","id":1367173,"number":31,"title":"9.1-current","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":30,"closed_issues":45,"state":"open","created_at":"2015-10-20T21:23:25Z","updated_at":"2016-04-08T21:49:13Z","due_on":null,"closed_at":null},"comments":23,"created_at":"2016-03-25T14:28:40Z","updated_at":"2016-04-08T21:49:14Z","closed_at":"2016-04-08T21:49:13Z","pull_request":{"url":"https://api.github.com/repos/owncloud/gallery/pulls/625","html_url":"https://github.com/owncloud/gallery/pull/625","diff_url":"https://github.com/owncloud/gallery/pull/625.diff","patch_url":"https://github.com/owncloud/gallery/pull/625.patch"},"body":"Licence: MIT\r\n\r\nAdapted owncloud/core@d3861685045a006b47c68185223be21a6233802e to make work on  #547 easier.\r\n\r\n### Description\r\nThis pull request makes it possible, to create a .nomedia file from the album itself via the [+] button. Furthermore it adapts owncloud/core@d3861685045a006b47c68185223be21a6233802e, so that there is a [standardized way](https://doc.owncloud.org/server/9.0/developer_manual/app/js.html#extending-the-new-menu-in-the-files-app) to extend the [+]-menu.\r\n\r\n### Features\r\n* Possibility to extend the [+] buttons menu\r\n* Creation of a .nomedia file from the album itself\r\n\r\n\r\n## Tests\r\n\r\n### Test plan\r\n- [x] \"Hide Album\" Submenu is displayed\r\n- [x] Clicking Hide-Album creates a .nomedia file\r\n- [x] Gallery will not show up the album anymore\r\n \r\n### Tested on\r\n- [x] Linux/Firefox\r\n- [x] Android 5.1/Chrome\r\n\r\n### TODO\r\n\r\n- [x] Implement extending [+] button menu\r\n- [x] Document extending\r\n- [x] Implement creation of .nomedia file\r\n- [x] Implement what follows after hiding an album and you are \"inside\"\r\n- [x] Test\r\n\r\n### Check list\r\n\r\n- [x] Code is properly documented\r\n- [X] Code is properly formatted\r\n- [ ] Commits have been squashed\r\n- [ ] Tests (unit, integration, api and/or acceptance) are included\r\n- [x] Documentation (manuals or wiki) has been updated or is not required\r\n\r\nThis is my first pull request, so if you have any advice for me please feel welcome."},"comment":{"url":"https://api.github.com/repos/owncloud/gallery/issues/comments/207621058","html_url":"https://github.com/owncloud/gallery/pull/625#issuecomment-207621058","issue_url":"https://api.github.com/repos/owncloud/gallery/issues/625","id":207621058,"user":{"login":"eknoes","id":3641205,"avatar_url":"https://avatars.githubusercontent.com/u/3641205?v=3","gravatar_id":"","url":"https://api.github.com/users/eknoes","html_url":"https://github.com/eknoes","followers_url":"https://api.github.com/users/eknoes/followers","following_url":"https://api.github.com/users/eknoes/following{/other_user}","gists_url":"https://api.github.com/users/eknoes/gists{/gist_id}","starred_url":"https://api.github.com/users/eknoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eknoes/subscriptions","organizations_url":"https://api.github.com/users/eknoes/orgs","repos_url":"https://api.github.com/users/eknoes/repos","events_url":"https://api.github.com/users/eknoes/events{/privacy}","received_events_url":"https://api.github.com/users/eknoes/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T21:49:13Z","updated_at":"2016-04-08T21:49:13Z","body":"I messed up pretty much, sorry. You can see the \"better\" Pull Request here:  #643 @oparoz "}}