Code Monkey home page Code Monkey logo

opendispatch's People

Contributors

kprasch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

opendispatch's Issues

dispatch_emails.py

to do:
create a milestone or label for this file.
wrap most of the logic in this file in a class.
when the class is called the init method connects to gmail.
somewhere another method closes the connection to gmail.
extract_gmail_incidents needs to be rewritten using generators.
urls.py needs to not use extract_gmail_incedents as a view.
test stuff.

Integrate Google Auth

Need google auth done through the API for message downloading. Log in is currently from termanal raw input.

Display map on incident page

Using extracted location data, pinpoint the dispatched location on a map, and display it to the user on any incident page.

Move SENDER filter to settings file

in dispatch_gmail.views messages are selectred by sender via the imap library. This should be docoupled and placed into a settings file, along with the valid keys list. Mabye this belongs in a custom settings file, or just settings.py

Implement Auth system

Users should be able to log in, and then redirected to thier Dashboard.

Google API auth for incident downloads, and Django Auth should be implemented.

Test Issue

Leave a comment below to let me know you've got it.

Graph incident data from db

User should be able to generate incident reports based upon input. Some graphing shoud be done automaticaly, however. Graphic could be done with a python library, or with a javascript interface, for real time. Amount of processing needed should be considered. One obstacle will be cleaning the data fields in the db that have random strings attached to thier values from bad parsing. A url and template structure needs to be imagined for this as well.

Create branch for JS MVC style client side.

The options are pretty expansive but I feel like Mithril.js (still in BETA) is a good place to start because of our relatively simple needs, no point in adding the extra abstraction of a less lightweight framework. This could clean up and organize the current JS implementation and also allow for less jQuery/$.ajax ambiguity.

Also possible use of LoDash on the client side to filter JSON that will get piped to the interface in a more performant and concise way. (AKA less server calls for filters and map points.)

Mithril.js
LoDash

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.