lamernews
lamernews copied to clipboard
Lamer News -- an HN style social news site written in Ruby/Sinatra/Redis/JQuery
Bumps [rack](https://github.com/rack/rack) from 1.5.2 to 1.6.13. Changelog Sourced from rack's changelog. Changelog All notable changes to this project will be documented in this file. For info on how to format...
Bumps [json](https://github.com/flori/json) from 1.7.7 to 2.3.0. Changelog Sourced from json's changelog. 2019-12-11 (2.3.0) Fix default of create_additions to always be false for JSON(user_input) and JSON.parse(user_input, nil). Note that JSON.load remains...
Bumps [rack-protection](https://github.com/sinatra/sinatra) from 1.5.1 to 1.5.5. Commits - See full diff in [compare view](https://github.com/sinatra/sinatra/commits) [](https://help.github.com/articles/configuring-automated-security-fixes) Dependabot will resolve any conflicts with this PR as long as you don't...
This idea came out in [EchoJS](echojs.com) Downvoting is expensive and the community is the best/cheapest spam filter, so why don't we reward users that downvote spam entries? Or at least...
Would be cool to have: - only allow one upvote/downvote from the same ip per news entry within 24hrs. - limit the number of news an ip can submit within...
I use lamernews internally at my company, so I needed it to be linked with the LDAP company accounts. Hop e is useful to others too. By configuring in app_config.rb...
Extracting the views into their own layer (e.g. with ERB), might be nice to integrate custom layouts, and as preparation to improve on the the client-side interaction part too. The...
Extracting the API into a Rack middleware might be interesting to combine Lamernews with other Rack applications, and/or to build a custom UI variation. Glad to hear your feedback if...
More details can be found on Evan Miller's blog : http://www.evanmiller.org/how-not-to-sort-by-average-rating.html
This fix just help not keeping global ruby variables since sinatra have his way to keep it in a more clean way. Hope you find this useful.