GithubHelp home page GithubHelp logo

upvote / upvote Goto Github PK

View Code? Open in Web Editor NEW
70.0 70.0 32.0 161 KB

Rails-powered community sharing platform.

Home Page: https://github.com/upvote/upvote

Ruby 59.87% JavaScript 0.55% CoffeeScript 0.87% CSS 12.78% HTML 25.93%

upvote's Introduction

Upvote

Build Status Gemnasium Code Climate Coverage Security

Join the chat at https://gitter.im/upvote/upvote

Upvote is a free, open-source, Rails-powered community sharing platform like Product Hunt or Reddit.

Want to see what it looks like? Check out a demo running on Heroku.

Configuration

See the wiki page for configuring OmniAuth for help configuring Upvote for authentication via Twitter, Facebook, or GitHub.

Deployment

Deploy

Upvote can be hosted for free on Heroku!

License

Upvote is provided under the MIT License.

Contribution

Upvote is a work in progress and is just getting started.

Fork, add specs, and send pull requests!

Authors

upvote's People

Contributors

burgalon avatar chrisb avatar gitter-badger 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

Watchers

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

upvote's Issues

CVE-2014-7819 in rails

Security issue from Hakiri: Multiple directory traversal vulnerabilities in server.rb in Sprockets before 2.0.5, 2.1.x before 2.1.4, 2.2.x before 2.2.3, 2.3.x before 2.3.3, 2.4.x before 2.4.6, 2.5.x before 2.5.1, 2.6.x and 2.7.x before 2.7.1, 2.8.x before 2.8.3, 2.9.x before 2.9.4, 2.10.x before 2.10.2, 2.11.x before 2.11.3, 2.12.x before 2.12.3, and 3.x before 3.0.0.beta.3, as distributed with Ruby on Rails 3.x and 4.x, allow remote attackers to determine the existence of files outside the application root via a ../ (dot dot slash) sequence with (1) double slashes or (2) URL encoding.

Twitter sign-in error using omniAuth

HI,

I set up Twitter Secret Key and Secret Password in environments/developement.rb file as,

ENV['TWITTER_API_KEY'] = "123456789";
ENV['TWITTER_API_SECRET'] = "abcdefghijklmn";

But when I try to login, It gives me error like the following,

NameError at /users/auth/twitter/callback
undefined local variable or method `auth' for #Class:0x007f9c28101f28**

Error shows in this line of code

email ? email : "#{TEMP_EMAIL_PREFIX}-#{auth.uid}-#{auth.provider}.com"

Please help me get over it.

Organic Registration

We should have this, mainly as a fallback so we don't have to rely on app IDs and secret tokens for SSO providers.

Support for Tagging Submissions

Eventually would be cool to be able to "follow" tags and/or build your own categories comprised of tags or users that you follow (or something).

Website embed support

Wondering how easy it would be to make this embeddable in something like a squarespace page or wordpress site.

Deploying in Heroku fails during "rake assets:precompile"

-----> Preparing app for Rails asset pipeline

       Running: rake assets:precompile

       rake aborted!

       Psych::SyntaxError: (<unknown>): block sequence entries are not allowed in this context at line 15 column 20

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/application.rb:391:in `secrets'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/config/initializers/devise.rb:1:in `<top (required)>'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/activesupport/lib/active_support/dependencies.rb:268:in `load'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/activesupport/lib/active_support/dependencies.rb:268:in `block in load'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/activesupport/lib/active_support/dependencies.rb:240:in `load_dependency'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/activesupport/lib/active_support/dependencies.rb:268:in `load'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/engine.rb:652:in `block in load_config_initializer'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/activesupport/lib/active_support/notifications.rb:166:in `instrument'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/engine.rb:651:in `load_config_initializer'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/engine.rb:615:in `each'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/engine.rb:615:in `block in <class:Engine>'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/initializable.rb:30:in `instance_exec'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/initializable.rb:30:in `run'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/initializable.rb:55:in `block in run_initializers'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/initializable.rb:44:in `each'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/initializable.rb:44:in `tsort_each_child'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/initializable.rb:54:in `run_initializers'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/application.rb:352:in `initialize!'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/config/environment.rb:5:in `<top (required)>'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/activesupport/lib/active_support/dependencies.rb:274:in `require'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/activesupport/lib/active_support/dependencies.rb:274:in `block in require'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/activesupport/lib/active_support/dependencies.rb:240:in `load_dependency'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/activesupport/lib/active_support/dependencies.rb:274:in `require'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/application.rb:328:in `require_environment!'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/bundler/gems/rails-27473458f3a5/railties/lib/rails/application.rb:457:in `block in run_tasks_blocks'

       /tmp/build_3a26048e556c288fadfd8c9b52b83a4f/upvote-upvote-3de617e/vendor/bundle/ruby/2.2.0/gems/sprockets-rails-2.3.2/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'

       Tasks: TOP => environment

       (See full trace by running task with --trace)

 !

 !     Precompiling assets failed.

 !

 !     Push rejected, failed to compile Ruby app.

 !     Push failed

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.