Git Product home page Git Product logo

hotshots's People

Contributors

fossabot avatar jcbird1012 avatar kochman avatar warrn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hotshots's Issues

Clear photo IDs that aren't on the camera

If a photo is deleted from the camera after the pusher generates its ID but before the pusher uploads it, the pusher will try forever to get the file from the camera. This will never succeed because it doesn't exist on the camera. We should remove IDs of photos that aren't on the camera anymore.

Group photos into shoots

As a photo editor, I want to be able to group incoming photos into shoots so that I can quickly tell them apart.

Upload photos

As a photographer, I want to take photos and have them automatically show up on the server without my having to do anything.

Acceptance

  • Photos are uploaded from camera to server
  • Photos that have already been uploaded are not uploaded again

Notes

  • This is reliant on getting the photos POST endpoint working (#3)
  • We need to be able to determine which photos have already been uploaded (#2)

Logs are verbose when testing

Logs are spewing out useless information when testing (due to all the errors created from edge cases). We need a way to change the logging level depending upon if it's testing or not.

SetLevel exists, but that needs to be called in each function (which isn't really fun).

We could do a setup function in testing but that seems like a lot of overhead for what is essentially a toggle

Manually order photos

As a photo editor, I should be able to reorder photos as I please so that I can put the most important photos first.

Points: 5

Acceptance

  • Photos can be moved into arbitrary orders
  • The orders are persistent

Notes

  • I'm not sure where the orders should be persisted. Client side or server side? We can discuss.
  • Is this even necessary? Do people actually want this?

View photos

As a photo editor, I can see all the photos currently stored by the server so that I can share the good ones.

Photos: 8

Acceptance

  • There's a webpage with all of the photos visible

Notes

  • This relies on the photos GET endpoint to work (#3)

Download photos

As a photo editor, I can download photos so that I can edit them in Photoshop or another local program.

Photos: 8

Acceptance

  • There's a download button associated with each photo
  • Multiple photos can be selected and downloaded

Plan out server API endpoints

Initial thoughts:

  • /photos
    • GET: list of uploaded photo identifier
    • POST: upload a new photo
  • /photos/<id>
    • GET: download a photo by its identifier

Testing?

Do we care about unit tests?

Do we care about acceptance tests?

Why or why not?

What do we need to do as a result of that decision?

Determine how to uniquely identify photos

Pushers need to be able to know what photos haven't yet been uploaded to the server. One possible scheme:

  • Concatenate photo metadata (time captured, camera model, exposure settings, filename, etc.) and hash it. This becomes the photo's identifier.

Sort photos

As a photo editor, I should be able to access photos in a sorted manner so that I can quickly see the most recent ones.

Points: 5

Acceptance

  • Organize by capture time, filename, and in reverse order

Create Travis.CI Build

We need to add a travis build file, setup the build in travis, and have it hook on all changes. This will give us results of building/formatting. We should fail on go fmt formatting anything, and build failing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.