joshua stein
335e1fd0c4
User: experiment with a minimum karma required to downvote comments
2016-11-03 16:20:39 -05:00
joshua stein
ef0601f65b
remove comment downvoting
2016-10-30 13:10:49 -05:00
joshua stein
b5f6ab36a8
don't count deleted comments towards user's comment count
2016-08-19 00:00:18 -05:00
joshua stein
f2602432c9
separate can_invite? and banned_from_inviting?
2016-06-22 15:30:44 -05:00
joshua stein
d8c7f98cfd
prevent users with much negative karma from submitting new stories
2016-06-22 15:30:44 -05:00
joshua stein
3bebdb80a7
User: clear deleted_at when unbanning, since we probably set it
2016-06-10 16:31:13 -05:00
nyanpasu
99f78ad10c
Send pm instead of email on invite disable
2016-05-19 09:01:27 +08:00
nyanpasu
19526c2d3f
Don't delete user after disabling invites
2016-05-19 09:01:27 +08:00
nyanpasu
aa0ffeb37b
Allow admin/moderator to disable user from inviting
2016-05-16 02:40:46 +08:00
joshua stein
4c5cf4a542
require a minimum karma to suggest story title/tag suggestions
2016-05-02 17:57:19 -05:00
joshua stein
c3b62cc166
User#grant_moderatorship_by_user!
2016-02-10 08:39:10 -06:00
joshua stein
5129733b04
when showing another user's threads, don't include story threads
2015-12-18 10:51:01 -06:00
joshua stein
6b636ac8c5
add setting to show threads on a user's submitted stories in 'Your Threads'
...
closes #231
2015-12-07 12:27:09 -06:00
joshua stein
c354485916
when a non-banned, deleted user logs in, reactivate their account
2015-11-18 12:08:45 -06:00
joshua stein
6dcf35dc25
my karma means nothing
2015-07-31 22:43:16 -05:00
joshua stein
cbc1c50cd2
add user banning/unbanning from user view page
2015-07-24 00:51:11 -05:00
joshua stein
db63d22b83
use identicon for blank gravatars, makes conversations easier to follow
2015-07-24 00:51:11 -05:00
joshua stein
8f8ad57135
export a json version of user page, include karma and about text
2015-04-09 21:05:50 -05:00
joshua stein
fdf892e7f9
move user unread message count into a scope
2015-04-03 12:57:12 -05:00
joshua stein
e9f005d83b
User: a few more reserved usernames
2015-04-01 01:02:01 -05:00
joshua stein
26f17ae928
User: add some banned usernames from a long-ago comment by @kevinburke
2015-03-19 12:10:18 -05:00
joshua stein
d286eab325
add option to show user avatars on stories and comments
...
just because
2015-03-12 23:23:15 -05:00
joshua stein
fd00205625
for admins, show some private info about users in user profiles
2015-02-17 11:47:27 -06:00
joshua stein
31df8973a8
Pushover: switch to subscriptions
...
users.pushover_device and users.pushover_sound columns can be
dropped once migrated
2015-01-15 13:23:31 -06:00
joshua stein
31d4e97858
implement hats
...
https://lobste.rs/s/bkeYe9/about_lobsters/comments/ZD2tL3#c_ZD2tL3
2014-11-14 14:12:29 -06:00
joshua stein
dfe6db4849
revert 85cb7c20
, give up on planet rss aggregation
2014-08-31 20:35:41 -05:00
Fredrik Wallgren
ab8f8f3a72
Add upvoted route.
...
Upvoted route shows all stories a logged in user have upvoted
in reverse chronological order, latest upvote first.
It is not shown in the gui, but reachable at /upvoted.
2014-08-16 00:27:18 +02:00
joshua stein
85cb7c2057
first stab at planet rss aggregation
...
could probably use a prettier layout and auto-posting a weblog url
to the main site (carrying tags)
2014-08-03 22:07:57 -05:00
joshua stein
aab34a9936
embed timestamp in password reset token, only work for 24 hours
2014-04-15 00:46:14 -05:00
joshua stein
c09542a80a
enforce a maximum username length of 25
2014-03-24 10:26:07 -05:00
joshua stein
7f9c227ed0
bring back story downvoting, remove low quality option
...
story hiding is still here, so hopefully this will result in less
bogus story downvotes
2014-03-24 10:26:06 -05:00
joshua stein
00eda60fdc
Story#is_downvotable? is gone
2014-03-14 18:55:46 -05:00
joshua stein
efe1353b87
update a user's unread message count after bulk-delete
...
only count messages that are both unread and undeleted
2014-03-06 15:27:13 -06:00
joshua stein
888c80eb83
reserve "moderator" and "moderators" usernames
2014-02-21 11:41:47 -06:00
joshua stein
95202f21b2
add Tag.active scope to deprecate tags without removing them
2014-02-21 10:57:30 -06:00
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
joshua stein
9d16898477
User: move "new account" age into constant
2014-02-17 10:09:08 -06:00
Serge Paquet
519427586a
use Rails4-style strong parameters mass assignment protection
2014-02-02 15:41:38 -05:00
joshua stein
fe83a5b780
use false instead of 0 for boolean column in where clause
...
fixes #113
2014-01-21 20:53:29 -06:00
joshua stein
71eeb6c7d2
be a good pushover user and let the user specify a sound
...
- move pushover particulars into User model
- Pushover class rescues errors, don't need to do it from User
2014-01-21 01:21:02 -06:00
joshua stein
00f8e9c189
use one of gravatar's default avatars rather than our own
2014-01-21 00:22:40 -06:00
joshua stein
3c7393c6a3
give tedu his karma back
...
fix bug introduced in 3757b279
that gave comment vote karma to the
voter rather than the commenter
2014-01-20 20:22:45 -06:00
Serge Paquet
577ce2307b
fix User#recent_threads for postgresql
2014-01-16 21:33:00 -05:00
joshua stein
e12d91cd43
allow users to delete their own accounts
...
not much can actually be deleted, but it can be put into a deleted
state
2014-01-13 10:12:17 -06:00
joshua stein
65a9a77104
Merge pull request #92 from srgpqt/filters
...
simplify and optimize Filters controller and template
2014-01-12 22:34:09 -08:00
joshua stein
22b77573a5
prevent new users from downvoting
...
don't show downvote arrows for logged-out and new users
color comments from new users in green like in the user tree,
and banned users in gray
2014-01-12 23:17:09 -06:00
joshua stein
0989d6b30b
also log a moderation when a user is banned
2014-01-12 19:22:08 -06:00
joshua stein
287be48187
add stuff to deal with banning users
2014-01-12 15:09:32 -06:00
joshua stein
68a1f02a1c
name /u/:username route
2014-01-12 14:22:47 -06:00
Serge Paquet
2c906efa7e
simplify and optimize Filters controller and template
2014-01-09 01:44:03 -05:00