journalduhacker/app/models
joshua stein 67fc2cc75c set maximum time during which comments and stories can be downvoted
always allow a user to "unvote" if they're previously downvoted, but
after a certain number of days, don't accept new downvotes

there isn't really any benefit in downvoting old stuff that is
already off the front pages or on a dead comment thread, other than
to maliciously strip karma for particular users
2014-02-17 12:08:01 -06:00
..
.gitkeep initial work on conversion from php tree 2012-06-16 20:15:46 -05:00
comment.rb set maximum time during which comments and stories can be downvoted 2014-02-17 12:08:01 -06:00
invitation.rb use Rails4-style strong parameters mass assignment protection 2014-02-02 15:41:38 -05:00
invitation_request.rb use Rails4-style strong parameters mass assignment protection 2014-02-02 15:41:38 -05:00
keystore.rb add postgresql support 2014-01-14 21:42:27 -05:00
message.rb use Rails4-style strong parameters mass assignment protection 2014-02-02 15:41:38 -05:00
moderation.rb use Rails4-style strong parameters mass assignment protection 2014-02-02 15:41:38 -05:00
search.rb also escape ~ char before sending to sphinx 2014-01-14 21:53:46 -06:00
short_id.rb change some before_create's to before_validation, :on => :create 2013-07-19 22:05:00 -05:00
story.rb set maximum time during which comments and stories can be downvoted 2014-02-17 12:08:01 -06:00
tag.rb show how many stories have been tagged with each on filters page 2014-01-24 13:53:10 -06:00
tag_filter.rb use Rails4-style strong parameters mass assignment protection 2014-02-02 15:41:38 -05:00
tagging.rb replace some raw sql with database-agnostic activerecord queries 2013-12-30 16:23:59 -05:00
user.rb set maximum time during which comments and stories can be downvoted 2014-02-17 12:08:01 -06:00
vote.rb use Rails4-style strong parameters mass assignment protection 2014-02-02 15:41:38 -05:00