Git Product home page Git Product logo

honestyshop's People

Contributors

matthewswain avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

honestyshop's Issues

Refactor init_db()

The init_db function currently adds data for testing. This should be refactored so the function can be used for upgrades in live.

Add suggested item function

Background

Currently there is no way for users to suggest new snacks they'd like to see in the snack cupboard.

Change

Users should be able to suggest new snacks for the snack cupboard, so that we can get everyone the snacks they want.

Acceptance criteria:

  • Normal users should be able to suggest new snacks for the snack cupboard.
  • Admin users should be able to see a list of all suggested snacks, and how many uses have suggested each one.

Notes for testing:

  • Make sure that users can't see each others' suggestions.

Add logic for favicon

It should be possible to add a favicon.ico to the static directory and have it served appropriately. This should not cause an error if the file doesn't exist.

Inactive users

It should be possible to make users inactive, hiding them from the admin summary, preventing them from logging in, etc.

Allow users to delete transactions

Currently if a user makes a purchase, there is no way for this to be undone. It should be possible for a user to delete purchases to resolve mistakes. This should perhaps be limited to purchases in the last 24 hours.

Failed registration strands user

Currently if a user registers, but the confirmation email process fails, the user cannot login or re-register. Exception handling should be added so that if the registration fails the user and activation token are deleted, allowing the user to re-register.

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.