GithubHelp home page GithubHelp logo

codehubapp / codehub-push Goto Github PK

View Code? Open in Web Editor NEW
90.0 31.0 45.0 217 KB

Push notification server built in Node.js for the iOS application CodeHub

JavaScript 98.71% Makefile 0.76% Dockerfile 0.53%
codehub notifications javascript notification-server apns

codehub-push's People

Contributors

arunpratap26 avatar csibar avatar thedillonb avatar vitaly-t avatar

Stargazers

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

Watchers

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

codehub-push's Issues

db hint

this query looks wrong:

.none('select * from records where token=$1 and oauth=$2', [token, auth])

you execute SELECT via none, meaning the query isn't supposed to return anything. Doesn't look right;)

"Participating" notifications feature

I'm looking at adding an option to get "participating notifications" only (i.e., setting participating=true in the API call).

It looks like that would involve adding a new (nullable) participating column to the records table. Is that something you would be open to? I'm thinking it would become a second constructor parameter on Client and get added to the request if it's truthy.

The corresponding issue in the app repository (CodeHubApp/CodeHub#375) would be handled by adding a new "Participating" toggle option. It would only be enabled if push notifications are enabled, and toggling it on/off would have to do a register/unregister cycle to propagate the option value to the push server.

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.