{"action":"created","issue":{"url":"https://api.github.com/repos/ChurchCRM/CRM/issues/122","labels_url":"https://api.github.com/repos/ChurchCRM/CRM/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/ChurchCRM/CRM/issues/122/comments","events_url":"https://api.github.com/repos/ChurchCRM/CRM/issues/122/events","html_url":"https://github.com/ChurchCRM/CRM/issues/122","id":124096720,"number":122,"title":"Family / Person Attachments","user":{"login":"crossan007","id":11679900,"avatar_url":"https://avatars.githubusercontent.com/u/11679900?v=3","gravatar_id":"","url":"https://api.github.com/users/crossan007","html_url":"https://github.com/crossan007","followers_url":"https://api.github.com/users/crossan007/followers","following_url":"https://api.github.com/users/crossan007/following{/other_user}","gists_url":"https://api.github.com/users/crossan007/gists{/gist_id}","starred_url":"https://api.github.com/users/crossan007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossan007/subscriptions","organizations_url":"https://api.github.com/users/crossan007/orgs","repos_url":"https://api.github.com/users/crossan007/repos","events_url":"https://api.github.com/users/crossan007/events{/privacy}","received_events_url":"https://api.github.com/users/crossan007/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ChurchCRM/CRM/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"crossan007","id":11679900,"avatar_url":"https://avatars.githubusercontent.com/u/11679900?v=3","gravatar_id":"","url":"https://api.github.com/users/crossan007","html_url":"https://github.com/crossan007","followers_url":"https://api.github.com/users/crossan007/followers","following_url":"https://api.github.com/users/crossan007/following{/other_user}","gists_url":"https://api.github.com/users/crossan007/gists{/gist_id}","starred_url":"https://api.github.com/users/crossan007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossan007/subscriptions","organizations_url":"https://api.github.com/users/crossan007/orgs","repos_url":"https://api.github.com/users/crossan007/repos","events_url":"https://api.github.com/users/crossan007/events{/privacy}","received_events_url":"https://api.github.com/users/crossan007/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-12-28T17:44:19Z","updated_at":"2015-12-29T03:36:19Z","closed_at":null,"body":"create a way for distributing (semi) private attachment files from the church to persons / families.  eg: Recorded words or other media.\r\n\r\nI envision this will be an \"Attachments\" table, with a reference to the family / person ID, the person who created the attachment, and date / time it was uploaded.  Also it will store the actual file name of the file on the server so as not to store BLOB data in SQL.  This file name will be a (GUID) to reduce possibility of collision.\r\n\r\nThe person / family, then would be able to see the list of files assigned to them, as well as download / view the files in the browser."},"comment":{"url":"https://api.github.com/repos/ChurchCRM/CRM/issues/comments/167710772","html_url":"https://github.com/ChurchCRM/CRM/issues/122#issuecomment-167710772","issue_url":"https://api.github.com/repos/ChurchCRM/CRM/issues/122","id":167710772,"user":{"login":"crossan007","id":11679900,"avatar_url":"https://avatars.githubusercontent.com/u/11679900?v=3","gravatar_id":"","url":"https://api.github.com/users/crossan007","html_url":"https://github.com/crossan007","followers_url":"https://api.github.com/users/crossan007/followers","following_url":"https://api.github.com/users/crossan007/following{/other_user}","gists_url":"https://api.github.com/users/crossan007/gists{/gist_id}","starred_url":"https://api.github.com/users/crossan007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossan007/subscriptions","organizations_url":"https://api.github.com/users/crossan007/orgs","repos_url":"https://api.github.com/users/crossan007/repos","events_url":"https://api.github.com/users/crossan007/events{/privacy}","received_events_url":"https://api.github.com/users/crossan007/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T03:36:19Z","updated_at":"2015-12-29T03:36:19Z","body":"@DawoudIO  My thoughts for this primarily are audio files (occasionally we'll have a prophetic word recorded for someone, and we like to deliver them that MP3 excerpt of the service personally).\r\n\r\nI'm thinking of keeping everything in a protected directory, and then use an API call to actually deliver the file to the user.  That being said, I could build it in a way such that the admin could choose a storage platform (Local Storage, Amazon S3, DropBox, Google Drive, etc).   Thoughts?\r\n\r\nMy priority would be on local storage, but I like the idea of offloading storage of larger files.\r\n\r\nWe could also transition the family / person image storage to this platform if we build it our correctly. "}}