joshua stein
19ba94fd31
don't collapse moderated threads, remove them entirely
2012-12-30 12:11:47 -06:00
joshua stein
f7cac129b4
when comments are moderated, collapse their replies
...
also try to show which moderator deleted the comment and the reason
2012-12-18 21:36:32 -06:00
joshua stein
a9e169175b
show story vote summaries to submitters and mods if it has any downvotes
2012-12-08 22:39:06 -06:00
joshua stein
9ece6666bf
add stupid temporary hack to strip out utf8mb4 chars that are screwing up mysql
...
4-byte utf8 chars like emoji are passed around in ruby fine, but
when they are put into mysql queries, strings get truncated at the
first mb4 character. to prevent truncation, strip out mb4
characters in most user-controlled fields like comments, story
descriptions and titles, and messages.
to properly support utf8mb4, mysql server 5.5 is needed, the table
encodings need to be changed to utf8mb4, and the mysql2 gem needs to
be upgraded once it supports utf8mb4:
https://github.com/brianmario/mysql2/issues/249
2012-11-07 21:58:10 -06:00
joshua stein
d07c555595
comments can be deleted or moderated to be considered gone
2012-10-24 11:53:43 -05:00
joshua stein
24ed0e1f6f
only count downvotes in downvote summary
2012-10-09 11:04:53 -05:00
joshua stein
c4f1a5e756
we're not doing comment flagging, remove
2012-10-09 11:04:43 -05:00
joshua stein
cb5e05c461
minor cleanups after last merge
2012-09-16 15:51:25 -05:00
joshua stein
17d8213bc7
merge @username mentions and notifications from @rjsamson
2012-09-16 15:41:21 -05:00
joshua stein
45a498ea51
comments have an initial upvote of 1, which has a non-zero confidence
2012-09-14 15:54:45 -05:00
Robert J Samson
ec1bcb9704
Added mentions in comments using @username convention. @username is linked to user profile in comment text, and notifications are available via email and pushover (with notification preferences) when a user is mention.
2012-09-10 13:40:33 -04:00
joshua stein
5a72a9d6a7
if a comment is downvoted, show the comment's user a summary of its downvote reasons
2012-09-03 12:42:32 -05:00
joshua stein
e6c74e8251
add moderation logging
...
- add users.is_moderator and look at that for most things, not
is_admin
- make default user in readme be a moderator
- log moderator actions in story edits, comment
deletions/undeletions (and later, user disabling).
- remove ability for moderators to edit comments, there's really no
reason to.
2012-09-02 12:18:52 -05:00
joshua stein
776bf89dea
implement /comments.rss
2012-08-24 11:41:37 -05:00
joshua stein
70db7a5879
short ids in urls should be case insensitive, so make them that way anyway
2012-08-24 11:41:37 -05:00
joshua stein
33e6eee4e0
don't count deleted comments for stories, update comment counts after comment del/undel
2012-08-24 11:41:37 -05:00
joshua stein
3640e1e7a3
comment deleting and undeleting
2012-08-24 11:41:37 -05:00
joshua stein
abb8392c16
search engine!
2012-08-24 11:41:36 -05:00
joshua stein
b9c8f1d371
oops, confidence desc
2012-08-24 11:41:36 -05:00
joshua stein
f664734a40
fix markdown links that have trailing punctuation inside the url
2012-08-24 11:41:36 -05:00
joshua stein
911bc2d088
only rstrip comments to preserve leading spaces for <pre> wrapping
2012-08-24 11:41:35 -05:00
joshua stein
c63d35a65d
use a common class for rdiscount options, filter out <h#> tags, add rel=nofollow
2012-08-24 11:41:35 -05:00
joshua stein
342d6ff911
move markeddown html into sql so it doesn't have to be generated every time
...
it's unlikely to change and if it does, we can just re-generate
everything in sql at once
2012-08-24 11:41:35 -05:00
joshua stein
fc1c474fb3
implement private messages
2012-08-24 11:41:34 -05:00
joshua stein
95ef42d872
move confidence and hotness into sql tables for proper sorting
2012-08-24 11:41:34 -05:00
joshua stein
e535a1387f
make linking to specific comments work
2012-08-24 11:41:34 -05:00
joshua stein
d9b95b2a1d
email and pushover reply notifications
2012-08-24 11:41:30 -05:00
joshua stein
8dd109c49f
drop custom markdowner for rdiscount
2012-08-24 10:57:42 -05:00
joshua stein
909feb49cb
note submitters in keystore
2012-08-24 10:57:41 -05:00
joshua stein
ada1571a53
invitation system, user settings
2012-08-24 10:57:11 -05:00
joshua stein
473a026a0e
how did all of these tabs get here
2012-08-24 10:57:10 -05:00
joshua stein
578c96d653
more work
2012-06-30 14:14:35 -05:00
joshua stein
95b4906e6e
working voting/scoring, threaded comments
2012-06-30 11:18:36 -05:00
joshua stein
093747b796
initial work on conversion from php tree
2012-06-16 20:15:46 -05:00