Skip to content

Events: Photodrop for Specific Events #64

@billdybas

Description

@billdybas

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions