{"action":"created","issue":{"url":"https://api.github.com/repos/fvilers/ngx-file-helpers/issues/11","repository_url":"https://api.github.com/repos/fvilers/ngx-file-helpers","labels_url":"https://api.github.com/repos/fvilers/ngx-file-helpers/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/fvilers/ngx-file-helpers/issues/11/comments","events_url":"https://api.github.com/repos/fvilers/ngx-file-helpers/issues/11/events","html_url":"https://github.com/fvilers/ngx-file-helpers/pull/11","id":362254150,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MDI0MjU2","number":11,"title":"Add filter function param to directive to filter files before reading them","user":{"login":"eugeniumegherea","id":25582225,"node_id":"MDQ6VXNlcjI1NTgyMjI1","avatar_url":"https://avatars2.githubusercontent.com/u/25582225?v=4","gravatar_id":"","url":"https://api.github.com/users/eugeniumegherea","html_url":"https://github.com/eugeniumegherea","followers_url":"https://api.github.com/users/eugeniumegherea/followers","following_url":"https://api.github.com/users/eugeniumegherea/following{/other_user}","gists_url":"https://api.github.com/users/eugeniumegherea/gists{/gist_id}","starred_url":"https://api.github.com/users/eugeniumegherea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugeniumegherea/subscriptions","organizations_url":"https://api.github.com/users/eugeniumegherea/orgs","repos_url":"https://api.github.com/users/eugeniumegherea/repos","events_url":"https://api.github.com/users/eugeniumegherea/events{/privacy}","received_events_url":"https://api.github.com/users/eugeniumegherea/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-20T15:55:49Z","updated_at":"2018-09-24T07:02:49Z","closed_at":"2018-09-24T06:39:14Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/fvilers/ngx-file-helpers/pulls/11","html_url":"https://github.com/fvilers/ngx-file-helpers/pull/11","diff_url":"https://github.com/fvilers/ngx-file-helpers/pull/11.diff","patch_url":"https://github.com/fvilers/ngx-file-helpers/pull/11.patch"},"body":"Hello\r\nIn our app, user is allowed to upload up to 25 mb. In current implementation, there is no way to forbid user from picking 10gb file. Even more, if the user picks very big file, it starts reading it right away, which hangs browser on slow/low memory machines.\r\nMy fix adds another input parameter to filter files before starting reading them. In most cases you probably will want to filter by mimetype, extension or size."},"comment":{"url":"https://api.github.com/repos/fvilers/ngx-file-helpers/issues/comments/423890340","html_url":"https://github.com/fvilers/ngx-file-helpers/pull/11#issuecomment-423890340","issue_url":"https://api.github.com/repos/fvilers/ngx-file-helpers/issues/11","id":423890340,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzg5MDM0MA==","user":{"login":"eugeniumegherea","id":25582225,"node_id":"MDQ6VXNlcjI1NTgyMjI1","avatar_url":"https://avatars2.githubusercontent.com/u/25582225?v=4","gravatar_id":"","url":"https://api.github.com/users/eugeniumegherea","html_url":"https://github.com/eugeniumegherea","followers_url":"https://api.github.com/users/eugeniumegherea/followers","following_url":"https://api.github.com/users/eugeniumegherea/following{/other_user}","gists_url":"https://api.github.com/users/eugeniumegherea/gists{/gist_id}","starred_url":"https://api.github.com/users/eugeniumegherea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugeniumegherea/subscriptions","organizations_url":"https://api.github.com/users/eugeniumegherea/orgs","repos_url":"https://api.github.com/users/eugeniumegherea/repos","events_url":"https://api.github.com/users/eugeniumegherea/events{/privacy}","received_events_url":"https://api.github.com/users/eugeniumegherea/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T07:02:49Z","updated_at":"2018-09-24T07:02:49Z","author_association":"CONTRIBUTOR","body":"Do you mind updating npm package with this fix? Thanks"}}
{"actor":{"display_login":"eugeniumegherea"}}