Git Product home page Git Product logo

bikeman's People

Contributors

csamsel avatar goekay avatar maxwiederhold avatar michael712 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bikeman's Issues

Handle Charging Status Notification

In StatusController the implementation to handle charging status notification is missing.

  • check if pedelec exists (when not, show error)
  • update charging information for pedelec

Push Messages

Save websocket connections and establish push message architecture

pagination pitfalls

w.r.t. commit b09ce4d :

this style of pagination might be problematic, if the hibernate generated queries translate to "select ... offset .. limit .."

such queries should never be used. for more info, links; see: steve-community/steve#1

Handle StationStatusNotification

In StatusController the implementation to handle station status notification is missing.

  • check if station exists (when not, show error)
  • validate?
  • update station and slots

Handle PedelecStatusNotification

in StatusController the implementation to handle pedelec status notification is missing.

  • check if pedelec exists (when not, show error)
  • check position of pedelec (when current position not same as new, show error)
  • update pedelec

Filter Options for Transactions

We need some filters for the transaction overview (order by name, date, ...) and filter by a specific time range, pedelec, station, ...

BUG: Password change without verification

With a known session id (from myself or sniffed), it is possible to change the password without any confirmation. In combination with Issue #26 it is possible to steal a complete user account without (direct) knowledge of the user (For example if the user left the session open on a public computer).

The following curl command outlines this:

curl --request POST \
  --url http://127.0.0.1:8080/api/account/change_password \
  --header 'content-type: application/json' \
  --cookie JSESSIONID={{ YOUR SESSION ID }} \
  --data '{{ NEW_PASSWORD }}'

redundant inTransaction in Customer

Since we introduced CardAccounts and they also have the inTransaction fields, inTransaction in Customer should be removed. I think we left them untouched because the frontend was already implemented and was depending on them.

BUG: Account Email can be changed

With a known session id (from myself or sniffed), it is possible to change the E-Mail address without any confirmation. The following curl command outlines this:

curl --request POST \
  --url http://127.0.0.1:8080/api/account \
  --header 'content-type: application/json' \
  --cookie JSESSIONID={{ YOUR SESSION ID }} \
  --data '{"login": "[email protected]", "roles": []}'

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.