Code Monkey home page Code Monkey logo

jawapp's People

Contributors

tmoon8730 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

jawapp's Issues

Read Status - JawAndroid

This is a feature that is present in Google Hangouts and not really any other IM clients that I am aware of. Basically, there is a small indicator on a message that is the last message read by each user. Currently, this feature is in development in the JawWeb project and the database schema has been developed. Below is a snapshot of the scheme for the /currentUsers database point.

{
  "User 1" : {
    "lastMsgKey" : "-KjJTC0bOY6TWP0W54kE",
    "name" : "User 1",
    "photoUrl" : "/images/profile_placeholder.png"
  },
  "User 2" : {
    "lastMsgKey" : "-KjL4aYTEFVQPCKaL1Sm",
    "name" : "User 2",
    "photoUrl" : "/images/profile_placeholder.png",
    "present" : true
  },
  "User 3" : {
    "lastMsgKey" : "-KjL4aYTEFVQPCKaL1Sm",
    "name" : "User 3r",
    "photoUrl" : "/images/profile_placeholder.png",
    "present" : true
  }
}

The lastMsgKey matches the ID of the last message read by the user with the display name name. The present flag is set when a user is to true when connected and set to false when disconnected.

For the Android app there needs to be three things:

  1. Update the lastMsgKey for a user when messages are read
  2. Update the message itself with indicators for users
  3. Update the present flag on connect and disconnects

Implement Data Encryption for messages

We need a way of encrypting the text data stored in Firebase. It would be ideal to have a centralized way of doing this across all the platforms (at this time JawWeb and JawAndroid).

AES-256 algorithms seem to be the most popular these days so that may be a good algorithm to use.

Tasks:

  1. Research specific algorithm to implement

  2. Determine method of generating keys / initial vectors in a common method across platforms

  3. Implement encryption method on JawAndroid

  4. Implement encryption method on JawWeb

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.