Giter VIP home page Giter VIP logo

spiderman-points's Introduction

spiderman-points

Spiderman Points!!!

Dev Quickstart

# Clone and cd into the repo

bundle install
./scripts/watch.sh

# It should print out some local address (e.g. http://127.0.0.1:4567). You'll
# find a "fake" slack console/REPL sort of thing at `/dev/slash_command`
# (navigate in your browser) which you can use for quick feedback.

spiderman-points's People

Contributors

awseward avatar dependabot[bot] avatar

Watchers

 avatar  avatar

spiderman-points's Issues

Bug in one of the award presenters

Error details:

2021-04-19T20:58:10.440698+00:00 app[web.1]: 2021-04-19 20:58:10 - NoMethodError - undefined method `from' for #<Point … >
2021-04-19T20:58:10.440701+00:00 app[web.1]: Did you mean?  from_id:
2021-04-19T20:58:10.440702+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/activemodel-6.1.2.1/lib/active_model/attribute_methods.rb:469:in `method_missing'
2021-04-19T20:58:10.440705+00:00 app[web.1]: /app/lib/slack/presenters/award_announcement.rb:45:in `render'
2021-04-19T20:58:10.440706+00:00 app[web.1]: /app/lib/slack/presenters/award_announcement.rb:162:in `random'
2021-04-19T20:58:10.440706+00:00 app[web.1]: /app/lib/slack/presenters.rb:3:in `award_announcement'
2021-04-19T20:58:10.440707+00:00 app[web.1]: /app/app.rb:92:in `block in <class:App>'
2021-04-19T20:58:10.440708+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `call'
2021-04-19T20:58:10.440709+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `block in compile!'
2021-04-19T20:58:10.440709+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (3 levels) in route!'
2021-04-19T20:58:10.440710+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1032:in `route_eval'
2021-04-19T20:58:10.440710+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (2 levels) in route!'
2021-04-19T20:58:10.440710+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1061:in `block in process_route'
2021-04-19T20:58:10.440711+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `catch'
2021-04-19T20:58:10.440711+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `process_route'
2021-04-19T20:58:10.440712+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1011:in `block in route!'
2021-04-19T20:58:10.440712+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `each'
2021-04-19T20:58:10.440712+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `route!'
2021-04-19T20:58:10.440713+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1129:in `block in dispatch!'
2021-04-19T20:58:10.440713+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
2021-04-19T20:58:10.440713+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
2021-04-19T20:58:10.440714+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
2021-04-19T20:58:10.440714+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1124:in `dispatch!'
2021-04-19T20:58:10.440715+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `block in call!'
2021-04-19T20:58:10.440715+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
2021-04-19T20:58:10.440715+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
2021-04-19T20:58:10.440716+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
2021-04-19T20:58:10.440716+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `call!'
2021-04-19T20:58:10.440716+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:929:in `call'
2021-04-19T20:58:10.440717+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/xss_header.rb:18:in `call'
2021-04-19T20:58:10.440717+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/path_traversal.rb:16:in `call'
2021-04-19T20:58:10.440718+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/json_csrf.rb:26:in `call'
2021-04-19T20:58:10.440718+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
2021-04-19T20:58:10.440718+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
2021-04-19T20:58:10.440719+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/frame_options.rb:31:in `call'
2021-04-19T20:58:10.440719+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/null_logger.rb:11:in `call'
2021-04-19T20:58:10.440719+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
2021-04-19T20:58:10.440719+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:216:in `call'
2021-04-19T20:58:10.440719+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1991:in `call'
2021-04-19T20:58:10.440719+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `block in call'
2021-04-19T20:58:10.440720+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1769:in `synchronize'
2021-04-19T20:58:10.440720+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `call'
2021-04-19T20:58:10.440720+00:00 app[web.1]: /app/middlewares/ws_backend.rb:39:in `call'
2021-04-19T20:58:10.440720+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/puma-5.1.1/lib/puma/configuration.rb:246:in `call'
2021-04-19T20:58:10.440727+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/puma-5.1.1/lib/puma/request.rb:76:in `block in handle_request'
2021-04-19T20:58:10.440728+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/puma-5.1.1/lib/puma/thread_pool.rb:337:in `with_force_shutdown'
2021-04-19T20:58:10.440728+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/puma-5.1.1/lib/puma/request.rb:75:in `handle_request'
2021-04-19T20:58:10.440728+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/puma-5.1.1/lib/puma/server.rb:431:in `process_client'
2021-04-19T20:58:10.440728+00:00 app[web.1]: /app/vendor/bundle/ruby/3.0.0/gems/puma-5.1.1/lib/puma/thread_pool.rb:145:in `block in spawn_thread'
2021-04-19T20:58:10.456504+00:00 heroku[router]: at=info method=POST path="/slack/slash_command" host=spiderman-points.herokuapp.com request_id=200cc2b3-eb34-45af-8d04-8cd58577ddcd fwd="34.205.203.186" dyno=w
eb.1 connect=1ms service=303ms status=500 bytes=596 protocol=https

Venom Points not currently working

The Venom-points feature appears to be disabled currently. I know this was working before, why did you break it? The devs are always trying to ruin my workflow. Please add back the /spiderman-points-venom @someone for doing thing feature where it would send a DM to the person instead of posting in whatever channel you typed the command in. I have several integrations depending on this functionality and have not been able to water my plants for the past 3 days because of this. My kids are keeping themselves alive on a diet of stale saltine crackers. Please think of the children

MVP Checklist

TODO

  • OAuth shenanigans
  • App published in marketplace (requires OAuth shenanigans) Holding off until there's more of a reson to do this
  • SSL / https
  • Add to Slack button / landing page on GET /
  • Gifs?
  • Reactions
  • Leaderboard (for points given, not received)
  • Recent points (just mine? all?)

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.