Giter Club home page Giter Club logo

icare's People

Contributors

asimov4 avatar cesidio avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar tagliala 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  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

icare's Issues

How to connect as user or admin in local

Because i tried a lot of thing i'm posting my issue.

I'm watching your really good application but impossible for me to work in it cause i don't know how to connect as a user (or admin) to the app (Facebook auth only and i think facebook don't allow local connection to their app)

As developper how did you do to devellop the app ? you connected the app with a facebook app in local ? local auth requests are now not allowed by Facebook so how can we do ?

ps : i can i send you the french languages files if you need them

Have a nice day
Thanks for your support - Loic

Financing of further development

I am representing a group of Norwegian investors looking into applications for ridesharing / carpooling in Europe.

We are currently evaluating open source products to base an application on, with a view on further development. Would this be of interest to your project?

Sorry to post this as a GitHub issue but there is little other contact information available.

Please respond directly to [email protected]

Regards, Bjørn Erling Fløtten, Trondheim, Norway

Problems with OmniauthCallbacksController

Now I have this error:

Mongo::Error::NoServerAvailable in Users::OmniauthCallbacksController#facebook
No server is available matching preference: #<Mongo::ServerSelector::Primary:0x94960320 tag_sets=[] server_selection_timeout=30 local_threshold=0.015>

Extracted source (around line #114):
def self.from_omniauth(auth_hash)
where(provider: auth_hash.provider, uid: auth_hash.uid).first_or_create do |user|
user.email = auth_hash.info.email
user.image = auth_hash.info.image
user.name = auth_hash.info.name

issue with search functionality

I have a problem searching my database for existing trips. Here are the logs. *from"=>"??????????, ????????????????", "to"=>"??????????????????, ????????????????" * looks like that because of git bash i presume.

←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m Started POST "/itineraries/search
" for 87.126.247.134 at 2012-10-29 10:06:01 +0000
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m Processing by ItinerariesControll
er#search as JS
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m Parameters: {"utf8"=>"???", "au
thenticity_token"=>"DmrzuC/1XJuh0XcyrGT828Dm7eaC8a8iIxr202JUFqo=", "itinerary_se
arch"=>{"from"=>"??????????, ????????????????", "to"=>"??????????????????, ?????
???????????", "filter_round_trip"=>"0", "filter_smoking_allowed"=>"", "filter_pe
ts_allowed"=>"", "filter_driver_gender"=>"", "start_location_lat"=>"42.6964917",
"start_location_lng"=>"23.326010600000018", "end_location_lat"=>"42.9076972", "
end_location_lng"=>"23.793335999999954"}}
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m Completed 500 Internal Server Err
or in 11ms
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m Moped::Errors::QueryFailure (The
operation: #<Moped::Protocol::Query
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m @Length=178
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m @request_id=90
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m @response_to=0
←[33m2012-10-29T10:06:01+00:00 heroku[router]:←[0m POST delimgorivo.herokuapp.co
m/itineraries/search dyno=web.1 queue=0 wait=0ms service=21ms status=500 bytes=6
43
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m @op_code=2004
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m @flags=[]
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m @full_collection_name="heroku_a
pp8748951.itineraries"
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m @Skip=0
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m @limit=0
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m @selector={"deleted_at"=>nil, "
pink"=>false, "start_location"=>{"$within"=>{"$centerSphere"=>[[23.3260106000000
18, 42.6964917], 0.0007848061528802386]}}}
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m @fields=nil>
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m failed with error 13038: "can't f
ind special index: 2d for: { deleted_at: null, pink: false, start_location: { $w
ithin: { $centerSphere: [ [ 23.32601060000002, 42.6964917 ], 0.00078480615288023
86 ] } } }"
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m See https://github.com/mongodb/mo
ngo/blob/master/docs/errors.md
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m for details about this error.):
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m app/models/itinerary.rb:107:in
search' ←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m app/controllers/itineraries_con troller.rb:58:inblock (2 levels) in search'
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m app/controllers/itineraries_con
troller.rb:55:in search' ←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m app/controllers/application_con troller.rb:18:inset_user_time_zone'
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m
←[36m2012-10-29T10:06:01+00:00 app[web.1]:←[0m

Auto population of new message

If we do online chat with another user of app ,the other user should get the message without refreshing the page.
But currently if two users who are both loged in the app and are in an online conversation and if one user sent a message the other user is not able to see the message from first user unless second user send a message to first user .
For replicating the bug please login parley from two Facebook accounts using two browsers and use the conversation feature

Facebook connexion issue

hi
first of all thank for the app, I'm trying to use it but when trying to log with face book I get this error:
{
"error": {
"message": "Error validating application. Invalid application ID.",
"type": "OAuthException",
"code": 101
}
}

can you plase help
Thanks

deploy to Heroku failing

Thank you for a great looking product, especially appreciate the tight Facebook integration.

However a couple attempts to deploy to Heroku with no luck. Here's what I get:

-----> Deleting 5 files matching .slugignore patterns.
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.3.0
-----> Installing dependencies using bundler 1.9.7
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
       Fetching gem metadata from https://rubygems.org/........
       Fetching version metadata from https://rubygems.org/...
       Fetching dependency metadata from https://rubygems.org/..
       Fetching git://github.com/DavyJonesLocker/client_side_validations.git
       Fetching git://github.com/DavyJonesLocker/client_side_validations-simple_form.git
       Using json 1.8.3
       Installing minitest 5.8.3
       Installing rake 10.4.2
       Installing i18n 0.7.0
       Installing thread_safe 0.3.5
       Installing builder 3.2.2
       Installing erubis 2.7.0
       Installing mini_portile2 2.0.0
       Installing rack 1.6.4
       Installing mime-types 2.99
       Installing arel 6.0.3
       Installing addressable 2.4.0
       Installing airbrake-ruby 1.0.1
       Installing execjs 2.6.0
       Installing thor 0.19.1
       Installing regexp_parser 0.3.1
       Using bundler 1.9.7
       Installing concurrent-ruby 1.0.0
       Installing bcrypt 3.1.10
       Installing bson 4.0.0
       Installing daemons 1.2.3
       Installing coffee-script-source 1.10.0
       Installing multipart-post 2.0.0
       Installing orm_adapter 0.5.0
       Installing google-analytics-rails 0.0.6
       Installing multi_json 1.11.2
       Installing tilt 1.4.1
       Installing hashie 3.4.3
       Installing http_accept_language 2.0.5
       Installing timeliness 0.3.7
       Installing jwt 1.5.2
       Installing origin 2.1.1
       Installing stringex 2.5.2
       Installing mono_logger 1.1.0
       Installing moped 1.5.3
       Installing multi_xml 0.5.5
       Installing newrelic_rpm 3.14.1.311
       Installing rails_serve_static_assets 0.0.4
       Installing rails_stdout_logging 0.0.4
       Installing kgio 2.10.0
       Installing redis 3.2.2
       Installing raindrops 0.15.0
       Installing sass 3.4.20
       Installing eventmachine 1.0.8
       Installing simpleconfig 2.0.1
       Installing rgeo 0.5.2
       Installing user_agent_parser 2.3.0
       Installing temple 0.7.6
       Installing i18n-js 2.1.2
       Installing tzinfo 1.2.2
       Installing warden 1.2.4
       Installing rack-test 0.6.3
       Installing rack-protection 1.5.3
       Installing vegas 0.1.11
       Installing mail 2.6.3
       Installing airbrake 5.0.1
       Installing autoprefixer-rails 6.2.2
       Installing uglifier 2.7.2
       Installing js_regex 1.0.11
       Installing sprockets 3.5.2
       Installing coffee-script 2.4.1
       Installing mongo 2.2.1
       Installing faraday 0.9.2
       Installing omniauth 1.3.1
       Installing newrelic_moped 1.0.1
       Installing jc-validates_timeliness 3.1.1
       Installing redis-namespace 1.5.2
       Installing rails_12factor 0.0.3
       Installing nokogiri 1.6.7.1
       Installing secure_headers 2.4.4
       Installing thin 1.6.4
       Installing slim 3.0.6
       Installing activesupport 4.2.5
       Installing sinatra 1.4.6
       Installing handlebars_assets 0.22.0
       Installing koala 2.2.0
       Installing oauth2 1.0.0
       Installing loofah 2.0.3
       Installing rails-deprecated_sanitizer 1.0.3
       Installing slim_assets 0.0.2
       Installing globalid 0.3.6
       Installing activemodel 4.2.5
       Installing rabl 0.11.7
       Installing resque 1.25.2
       Installing unicorn 5.0.1
       Installing omniauth-oauth2 1.4.0
       Installing rails-html-sanitizer 1.0.2
       Installing rails-dom-testing 1.0.7
       Installing activejob 4.2.5
       Installing activerecord 4.2.5
       Installing omniauth-facebook 3.0.0
       Installing mongoid 5.0.2
       Installing mongoid_geospatial 3.1.0
       Installing actionview 4.2.5
       Installing mongoid-compatibility 0.3.1
       Installing mongoid-slug 5.1.1
       Installing mongoid_paranoia 0.2.1
       Installing actionpack 4.2.5
       Installing actionmailer 4.2.5
       Installing sprockets-rails 2.3.3
       Installing railties 4.2.5
       Installing simple_form 3.2.1
       Installing kaminari 0.16.3
       Installing jquery-rails 4.0.5
       Installing coffee-rails 4.1.1
       Installing rails 4.2.5
       Installing responders 2.1.1
       Installing turbolinks 2.5.3
       Using client_side_validations 4.2.0 from git://github.com/DavyJonesLocker/client_side_validations.git (at master)
       Installing sass-rails 5.0.4
       Installing slim-rails 3.0.1
       Using client_side_validations-simple_form 3.2.0 from git://github.com/DavyJonesLocker/client_side_validations-simple_form.git (at master)
       Installing jquery-turbolinks 2.1.0
       Installing devise 3.5.3
       Installing twbs_sass_rails 4.0.0
       Bundle complete! 65 Gemfile dependencies, 115 gems now installed.
       Gems in the groups development and test were not installed.
       Bundled gems are installed into ./vendor/bundle.
       Post-install message from handlebars_assets:
       Remember to rake assets:clean or rake assets:purge on update! this is required because of handlebars updates
       Bundle completed (47.69s)
       Cleaning up the bundler cache.
-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       rake aborted!
       Airbrake::Error: the 'default' notifier isn't configured
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-ruby-1.0.1/lib/airbrake-ruby.rb:282:in `call_notifier'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-ruby-1.0.1/lib/airbrake-ruby.rb:236:in `build_notice'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-5.0.1/lib/airbrake/rake/task_ext.rb:21:in `rescue in execute'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-5.0.1/lib/airbrake/rake/task_ext.rb:19:in `execute'
       Airbrake::Error: the 'default' notifier isn't configured
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-ruby-1.0.1/lib/airbrake-ruby.rb:282:in `call_notifier'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-ruby-1.0.1/lib/airbrake-ruby.rb:236:in `build_notice'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-5.0.1/lib/airbrake/rake/task_ext.rb:21:in `rescue in execute'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-5.0.1/lib/airbrake/rake/task_ext.rb:19:in `execute'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-5.0.1/lib/airbrake/rake/task_ext.rb:19:in `execute'
       Airbrake::Error: both :project_id and :project_key are required
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-ruby-1.0.1/lib/airbrake-ruby/notifier.rb:30:in `initialize'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-ruby-1.0.1/lib/airbrake-ruby.rb:104:in `new'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-ruby-1.0.1/lib/airbrake-ruby.rb:104:in `configure'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/config/initializers/airbrake.rb:1:in `<top (required)>'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `load'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `block in load'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `load'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/engine.rb:652:in `block in load_config_initializer'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in `instrument'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/engine.rb:651:in `load_config_initializer'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/engine.rb:615:in `each'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/engine.rb:615:in `block in <class:Engine>'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `instance_exec'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `run'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:55:in `block in run_initializers'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:44:in `each'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:44:in `tsort_each_child'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:54:in `run_initializers'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/application.rb:352:in `initialize!'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/config/environment.rb:8:in `<top (required)>'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/application.rb:328:in `require_environment!'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/application.rb:457:in `block in run_tasks_blocks'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-5.0.1/lib/airbrake/rake/task_ext.rb:19:in `execute'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-5.0.1/lib/airbrake/rake/task_ext.rb:19:in `execute'
       Tasks: TOP => assets:precompile => assets:environment
       (See full trace by running task with --trace)
       /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-ruby-1.0.1/lib/airbrake-ruby.rb:282:in `call_notifier': the 'default' notifier isn't configured (Airbrake::Error)
       from /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-ruby-1.0.1/lib/airbrake-ruby.rb:149:in `notify_sync'
       from /tmp/build_f262abb684b86781cacfa06524a67b9a/diowa-icare-bf17ae0/vendor/bundle/ruby/2.3.0/gems/airbrake-ruby-1.0.1/lib/airbrake-ruby.rb:291:in `block in <top (required)>'
 !
 !     Precompiling assets failed.
 !
 !     Push rejected, failed to compile Ruby app

URL for admin login

Hi
What is the URL for admin login for the demo application and what are the user credentials for admin user ?

A quick response will be really appreciated.

Thanks in advance.

Can't Login

Whenever I try to login to both my and the demo version I get the following error:
screen shot 2015-10-16 at 11 48 47

I would very much appreciate your help.

Giving error after facebook login: Users::OmniauthCallbacksController#facebook

NoMethodError in Users::OmniauthCallbacksController#facebook
undefined method `gsub' for nil:NilClass
Extracted source (around line #21):

      # Locale, with priority to application setting
      self.locale = auth.extra.raw_info.locale.gsub(/_/,'-') unless self.locale?

      # Username and uid array
      self.username_or_uid = [ username, uid ]

Rails.root: /home/thtechonline/public_html/icare

Intermediate start/end locations in search

Can icare find itineraries if the passengers end/start point does not exactly match with the start/end location of the itinerary?

For example assume someone drives from Munich to Berlin, but he passes Augsburg and Nurnberg on the way. It would be great if a passenger would find this itinerary when searching for a drive from Augsburg to Nurnberg.

Is this possible?

active directory/ldap authentication

Hi,
I am watching your very beautiful application and I want to implement (if it is possible) an alternative way for the user authentication.
I would need to use active directory/ldap because I already have a database with it for other web application....
If you can provide me some input to help me (github plug-in, useful links to read, ecc), I would be very very grateful to you :D

Thank you in advance.

Matteo

secure headers - missing report-uri directive

The Content Security Policy 'default-src https://* http://* 'unsafe-inline' 'unsafe-eval' chrome-extension:; connect-src https://* http://* 'unsafe-inline' 'unsafe-eval' chrome-extension:; font-src https://* http://* 'unsafe-inline' 'unsafe-eval' chrome-extension:; frame-src https://* http://* https://.facebook.com chrome-extension:; img-src https:// http://* data: chrome-extension:; media-src https://* http://* 'unsafe-inline' 'unsafe-eval' chrome-extension:; object-src https://* http://* 'unsafe-inline' 'unsafe-eval' chrome-extension:; script-src https://* http://* 'unsafe-inline' 'unsafe-eval' chrome-extension:; style-src https://* http://* 'unsafe-inline' 'unsafe-eval' chrome-extension:;' was delivered in report-only mode, but does not specify a 'report-uri'; the policy will have no effect. Please either add a 'report-uri' directive, or deliver the policy via the 'Content-Security-Policy' header.

One-click Deploy to Heroku not working.

I tried to deploy to Heroku but it failed with the following error message:

-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!

Airbrake::Error: the 'default' notifier isn't configured
[...]
Airbrake::Error: the 'default' notifier isn't configured
[...]
Airbrake::Error: both :project_id and :project_key are required
[...]
Tasks: TOP => assets:precompile => assets:environment
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app

The Airbrake related attributes are marked as optional. Any help would be appreciated.

Public Transports in the search section

Hi,
I want to know if it is possible to visualize also public transports (google maps support it) in the "search section" (for instance when there are not itineraries created by users) in some way...
I know that not it is not implemented in your app, but I only want to know if it is possible, and what is the way needed (part to change) to achieve this point (I guess it is only a configuration point).

Really thank you in advance.

Matteo

Question about federation

Hello and thank you for your great job.
Are you considering federation for your project? In my opinion, federation is the next big step for carpooling and many other open source projects in order to stand up against the giants of the sharing economy..

Customization for India

please guide which all changes will be required for customization of currency , timezone and other country specific customizations

Log out and OAuth

After log out of the app if we again click login button the app is not asking username and password and it is loging.

Expected behaviour :If we press login button after log out the app should ask username and password

NoMethodError in Users::OmniauthCallbacksController#facebook

Error:

undefined method `[]' for nil:NilClass

Extracted source (around line #49):

  # Adds context (url, user agent, framework version, controller, etc)
  add_builder do |notice, request|
    context = notice[:context]

    context[:url] = request.url
    context[:userAgent] = request.user_agent

Replace GoogleMaps by Open Source Stack

Usage of GoogleMaps imposes a number of restrictions like e.g. number of requests or no intranet usage.

Today, for the whole GoogleMap stack very good OS alternatives exist: OSM, OpenLayers/Leaflet, Graphhopper, Photon Geocoder, just to name my favorites.

This would enable quite some new features like routebased matching instead of circumference based matching or intranet deployments, e.g. for organizations that don't want to share their empolyees data.

Cannot run in production environment

Seems related to Rails 4.2.6 + mongoid

$ RAILS_ENV=production rake routes
rake aborted!
NoMethodError: undefined method `[]' for nil:NilClass
~/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.6/lib/active_support/logger_silence.rb:23:in `level'
~/.rvm/gems/ruby-2.3.0/gems/mongoid-5.1.1/lib/mongoid/config.rb:250:in `set_log_levels'
~/.rvm/gems/ruby-2.3.0/gems/mongoid-5.1.1/lib/mongoid/config.rb:132:in `load_configuration'
~/.rvm/gems/ruby-2.3.0/gems/mongoid-5.1.1/lib/mongoid/config.rb:88:in `load!'
~/.rvm/gems/ruby-2.3.0/gems/mongoid-5.1.1/lib/mongoid.rb:99:in `load!'
~/.rvm/gems/ruby-2.3.0/gems/mongoid-5.1.1/lib/mongoid/railtie.rb:59:in `block in <class:Railtie>'
~/.rvm/gems/ruby-2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `instance_exec'
~/.rvm/gems/ruby-2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `run'
~/.rvm/gems/ruby-2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
~/.rvm/gems/ruby-2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in `run_initializers'
~/.rvm/gems/ruby-2.3.0/gems/railties-4.2.6/lib/rails/application.rb:352:in `initialize!'
~/dev/icare/config/environment.rb:9:in `<top (required)>'
~/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
~/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
~/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
~/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
~/.rvm/gems/ruby-2.3.0/gems/railties-4.2.6/lib/rails/application.rb:328:in `require_environment!'
~/.rvm/gems/ruby-2.3.0/gems/railties-4.2.6/lib/rails/application.rb:457:in `block in run_tasks_blocks'
~/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
~/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => routes => environment
(See full trace by running task with --trace)

Non Admin users are unable to login flash.sessions.error.create error

After deploying the app on heroku and setting up a facebook app. The app works fine for admin user or the initial user. After making the app public, and trying to login with other user(other than admin) it showed flash.sessions.error.create error on the app home page.
I made the following changes to make app public (after the changes in https://github.com/diowa/icare/wiki/Setup-Facebook-App)
App Review > Make Public > Yes.

It was unable to creating new sessions after that.
You can find the code of the repository here. I modified the code for personalisation.

Timezone settings - blank option

Tested what happens after I set my timezone to the blank option and it cannot handle it. I have no timezone setting and this totally blocked me from the page, telling "something went wrong". Any solutions for this?

Heroku issue setting up environment

Hi, Every time I try to deploy to Heroku, I get the following message:
There was an issue setting up your app environment.
Couldn't find either the add-on service or the add-on plan of "newrelic:stark".
Any ideas how I can fix this?

Deployment on a Linux server

Hi,
First I'd like to thank you for sharing your code to the community. It's a fantastic project that deserves more attention. However I'd prefer to deploy it on my existing Linux server so I don't have to rely on the Heroku infrastructure. Is this an option in its current state?

Heroku asks for a credit card.

Heroku requires credit card for deploying the app. Just wanted to know if they charge for it.
Did anyone experience this?

Deploying on Heroku

Hi,

I just followed all instructions for deploy on Heroku and launching the Facebook app. All went ok, but when I try to login with some Facebook account, it says "there was an error" and gets back to the initial screen.
I'd like to host the app as voluntary work in an religious event. The event will happen by late october, and would be willing to pay for your hosting if it was in the range for mere mortals. My mail address is carlos.nilton at gmail

Best and cheers for your app!

loading spinner

doesn't work fine on users with dots in the username when clicking on back button

Application doesn't work after making changes to config/settings/application.rb file

Hi, I need to override the defaults in the application.rb file such as "app name", currency, fuel consumption.
But after making the necessary changes and deploying the app it doesn't allow new users to create the account. It shows the flash.sessions.error.create error on the app home page.

Do I have to configure these changes in the local.rb file instead even if it is not sensitive data.

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.