joshua stein
993e1e84ae
when not logged in, show comment box but disabled
2014-04-14 23:14:08 -05:00
joshua stein
e152574003
ModerationsController: fix pagination
2014-04-13 22:40:11 -05:00
joshua stein
73b8df5eb7
implement story merging
...
closes #137
2014-04-08 17:51:12 -05:00
joshua stein
9d2253a010
heavily downvoted stories should never be on the home page
2014-04-06 20:43:16 -05:00
joshua stein
3f67827b09
add some explanatory text on /recent
2014-04-06 20:26:50 -05:00
joshua stein
025558f6ad
add support for /top and things like /top/3m and /top/2w
...
not linked to from anywhere yet
closes #95
2014-04-03 13:20:24 -05:00
joshua stein
3993e10109
HomeController: sort methods
2014-04-03 10:26:10 -05:00
joshua stein
9848cf5e47
Story: export tags in json view
...
closes #143
2014-04-03 10:23:37 -05:00
joshua stein
eec85db1f8
bump up max edit times for stories and comments
...
not really any harm in letting people correct mistakes
2014-04-02 13:14:08 -05:00
joshua stein
cf355afaa1
ignore all of log/ so the app user can own it
2014-04-01 09:05:50 -05:00
joshua stein
7fb75af7fe
simplify Story.find_similar_by_url arel, only pull undeleted stories
2014-03-28 10:45:01 -05:00
joshua stein
f647e62f5f
constrain textarea resizing to vertical
2014-03-24 18:54:52 -05:00
joshua stein
8eb8cc063c
don't mail stories and comments to users that have hidden that story
...
closes #141
2014-03-24 10:26:07 -05:00
joshua stein
bb9c9c5353
don't include hiders in story vote summary
2014-03-24 10:26:07 -05:00
joshua stein
6f30d99581
shrink story hotness window to 24 hours
2014-03-24 10:26:07 -05:00
joshua stein
4c0aaf7c2e
fix story caching stuff once and for all
2014-03-24 10:26:07 -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
48e5a0f130
fix story test after 285fd82c
2014-03-24 10:26:06 -05:00
joshua stein
33f72fc634
StoryCacher: keep converting 3 newlines to 2
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
8b60e5fd63
show story hider count on story detail page
2014-03-13 10:51:12 -05:00
joshua stein
ed71fd8d61
auto-apply slides tag to speakerdeck.com
2014-03-12 18:32:03 -05:00
joshua stein
af24e4e388
if a user has had a story moderated in the past 5 days, show guidelines
2014-03-12 17:52:52 -05:00
joshua stein
7f2c98860d
swap out /newest link for /recent
2014-03-12 17:51:42 -05:00
joshua stein
6cab668a2f
simplify rss <link> generation
2014-03-12 17:50:51 -05:00
joshua stein
24c92840c3
diffbot appears to be formatting results properly now
2014-03-12 17:16:21 -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
285fd82c16
check story tag permissions on editor, not creator
2014-03-06 13:54:30 -06:00
joshua stein
d729d0ad99
move story voter arrow down and tighten up list since downvote is gone
2014-03-03 22:03:21 -06:00
joshua stein
9535b05490
remove story downvoting, add story hiding
...
stories should either be reported for spam (coming later), upvoted,
or left alone rather than being downvoted for being uninteresting.
since users don't like leaving uninteresting things alone, they can
now hide stories from their view without affecting the story's
score.
hiding is implemented as a Vote with its vote set to 0 and the
reason set to "H"
add a /hidden url which shows all of a user's hidden stories
while i'm here, simplify Vote guts and add some tests to make sure
all the flip-flopping stuff works right
2014-03-03 17:20:21 -06:00
joshua stein
99c551cbfe
move initial upvote of submitted story to Story model
2014-03-03 17:13:00 -06:00
joshua stein
83f3604bea
fix test after mailing_list_enabled -> mailing_list_mode change
2014-03-03 16:37:32 -06:00
joshua stein
ca3ae40e29
rename stories.short_id index to avoid conflict in non-mysql dbs
...
this was never added from a migration anyway, so this is just for a
rake:schema:load
2014-02-27 11:31:39 -06:00
joshua stein
87d4b8797f
story submission: link to previously submitted url for recent stories
...
if there is only one error and the story has a already_posted_story,
show a custom error dialog that links to that story. if there are
other errors, show the standard error dialog.
closes #135
2014-02-21 11:56:43 -06:00
joshua stein
888c80eb83
reserve "moderator" and "moderators" usernames
2014-02-21 11:41:47 -06:00
joshua stein
3a60d3abba
show story downvoting usernames to moderators to detect problems
...
such as voting rings or users downvoting things instead of filtering
tags
2014-02-21 11:29:19 -06:00
joshua stein
57748f9839
message view: show admin/moderator status of sender
2014-02-21 11:20:35 -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
d75242f646
tweak story submission guidelines
2014-02-21 10:57:30 -06:00
joshua stein
d4e9e024aa
invitation requests: <em> emails
2014-02-21 10:57:30 -06:00
joshua stein
b4596f5473
Merge pull request #134 from rvoicilas/master
...
Fix typo Invitiation -> Invitation
2014-02-21 09:34:49 -06:00
Radu Voicilas
fa946933ab
Fix typo Invitiation -> Invitation
2014-02-21 11:25:33 +02:00
joshua stein
0f9fb17099
fix fallout from mailing_list_enabled -> mailing_list_mode
2014-02-20 14:10:42 -06:00
joshua stein
d0711892f6
messages: implement batch-delete function
...
closes #119
2014-02-19 13:31:48 -06:00
joshua stein
8755384bd8
invitation requests: show confirmed e-mails to moderators
2014-02-19 13:16:23 -06:00
joshua stein
c90486b813
invitation requests: allow moderators to delete confirmed requests
2014-02-19 13:16:23 -06:00
joshua stein
78d9734c26
invitation requests: use a proper form_for, highlight errors
2014-02-19 13:16:16 -06:00
joshua stein
89cdf1101a
add a story-only mailing list mode
...
closes #131
2014-02-19 12:49:12 -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