GithubHelp home page GithubHelp logo

pushr-core's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pushr-core's Issues

Pushr Daemon not starting with Rails 4.2.4

bundle exec pushr -f
/opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/core.rb:46:in `configurations=': uninitialized constant ActiveRecord::ConnectionHandling::MergeAndResolveDefaultUrlConfig (NameError)
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/core.rb:48:in `block in <module:Core>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/concern.rb:120:in `class_eval'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/concern.rb:120:in `append_features'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/base.rb:284:in `include'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/base.rb:284:in `<class:Base>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/base.rb:269:in `<module:ActiveRecord>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/base.rb:26:in `<top (required)>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/tasks/postgresql_database_tasks.rb:9:in `<class:PostgreSQLDatabaseTasks>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/tasks/postgresql_database_tasks.rb:5:in `<module:Tasks>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/tasks/postgresql_database_tasks.rb:4:in `<module:ActiveRecord>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/tasks/postgresql_database_tasks.rb:3:in `<top (required)>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-postgis-adapter-3.0.0/lib/active_record/connection_adapters/postgis/postgis_database_tasks.rb:4:in `<module:PostGIS>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-postgis-adapter-3.0.0/lib/active_record/connection_adapters/postgis/postgis_database_tasks.rb:3:in `<module:ConnectionAdapters>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-postgis-adapter-3.0.0/lib/active_record/connection_adapters/postgis/postgis_database_tasks.rb:2:in `<module:ActiveRecord>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-postgis-adapter-3.0.0/lib/active_record/connection_adapters/postgis/postgis_database_tasks.rb:1:in `<top (required)>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-postgis-adapter-3.0.0/lib/active_record/connection_adapters/postgis_adapter.rb:18:in `require'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-postgis-adapter-3.0.0/lib/active_record/connection_adapters/postgis_adapter.rb:18:in `<top (required)>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-postgis-adapter-3.0.0/lib/activerecord-postgis-adapter.rb:1:in `require'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-postgis-adapter-3.0.0/lib/activerecord-postgis-adapter.rb:1:in `<top (required)>'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:76:in `require'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:72:in `each'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:72:in `block in require'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:in `each'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:in `require'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler.rb:134:in `require'
    from /opt/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/pushr-core-1.0.2/bin/pushr:4:in `<top (required)>'
    from /opt/rubies/ruby-2.2.0/bin/pushr:23:in `load'
    from /opt/rubies/ruby-2.2.0/bin/pushr:23:in `<main>'

How to load Rails ActiveRecord in feedback_processor.rb

I need to access Rails ActiveRecord in my feedback_processor.rb (and perhaps the stats_processor too). It seems like the rails environment is not loaded for pushr-core, but it was in push-core. How can I load the rails environment for use in the feedback_processor.rb? I need to use the feedback to remove or update devices in my rails database.

Feature Request: Allow multiple queues (with different priority) for each App

Allow multiple queues (with different priority) for each App, each with their own version of the Pushr daemon

If you have notifications with different priority and volume, it can become necessary to split-out the high-priority lower-volume notifications from the lower-priority very-high-volume notifications.

Confusing release / README notice combination

It looks as though there was a 1.0.0 release, which generally indicates interface stability and support. However, the first line of the README contains:

Please note: We're in the process of updating this gem. The current code is not yet stable. Please contact us if you want to test or contribute to this project.

So, is this stable or not?

--stats-processor

How is --stats-processor meant to be used?

I can't find anything in the code that calls it. Could this be used to send data to statsd?

Problems when sending via APNS

[2016-03-25 18:02:31 +0000] ERROR: Errno::ECONNRESET, Connection reset by peer: /opt/rubies/ruby-2.2.3/lib/ruby/2.2.0/openssl/buffering.rb:61:in `sysread'
/opt/rubies/ruby-2.2.3/lib/ruby/2.2.0/openssl/buffering.rb:61:in `fill_rbuff'
/opt/rubies/ruby-2.2.3/lib/ruby/2.2.0/openssl/buffering.rb:102:in `read'
/opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/pushr-apns-1.0.1/lib/pushr/daemon/apns_support/connection_apns.rb:53:in `read'
/opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/pushr-apns-1.0.1/lib/pushr/daemon/apns_support/connection_apns.rb:97:in `check_for_error'
/opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/pushr-apns-1.0.1/lib/pushr/daemon/apns_support/connection_apns.rb:82:in `write'
/opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/pushr-core-1.0.2/lib/pushr/daemon/message_handler.rb:33:in `block in handle_next'
/opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/pushr-core-1.0.2/lib/pushr/core.rb:75:in `block in instrument'
/opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:166:in `instrument'
/opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/pushr-core-1.0.2/lib/pushr/core.rb:74:in `instrument'
/opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/pushr-core-1.0.2/lib/pushr/daemon/message_handler.rb:32:in `handle_next'
/opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/pushr-core-1.0.2/lib/pushr/daemon/message_handler.rb:16:in `block (2 levels) in start'
/opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/pushr-core-1.0.2/lib/pushr/daemon/message_handler.rb:15:in `loop'
/opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/pushr-core-1.0.2/lib/pushr/daemon/message_handler.rb:15:in `block in start'

Release a 1.0.1?

It's been a view month since the last commit on the develop branch. It would be great if you could release the last changes somehow. Either a 1.0.1, or 1.0.1-pre would be fine - pulling dependencies from git repositories isn't much fun ;)
(I'm particularly interested in 12e7446)

Thanks a lot!

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.