Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events: Photodrop for Specific Events #64

Open
billdybas opened this issue Dec 21, 2017 · 0 comments
Open

Events: Photodrop for Specific Events #64

billdybas opened this issue Dec 21, 2017 · 0 comments

Comments

@billdybas
Copy link
Member

Currently, Historian has people who take pictures at events zip them up and submit them through a Google Form. Then Historian has to manually add memberships for the people who submitted photos. Finally, Historian updates a spreadsheet of all the events that happened during the year including who took pictures at those events (if any).

This could be streamlined:

  • Person takes photos
  • Person goes to the SSE website and looks up the event that they went to
  • Person clicks 'Submit Photos' button on that event
  • Person must log in if they are not already
  • Person is given a form that captures their name (from their login), the event (from what they clicked on), and a dropzone file upload form
  • Once the form is submitted, the files are uploaded to Google Drive using its API
  • A pending membership is automatically created for that person for that event for the Historian committee

On the API, the following functionality would be needed:

  • Make another table & model for "Photographer". Events have many Photographers.
  • Make an authenticated events endpoint (eg. POST /events/:id/photos) which takes images. This endpoint looks up the User submitting, makes a new Photographer row, associating this person w/ the event. images accepts a single JPG, JPEG, PNG, GIF, or ZIP and sends it off to a Google Drive folder (specified as an environment variable). Then a new pending membership is added for this person.

Stretch Goal:

  • Incorporate Slack: Post a notification to #sse-historians when images have been uploaded w/ a link to view them (the folder permissions would likely have to be set to "Allow anyone from RIT to view")

@DanSwtmn Anything else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant