Commit Graph

81 Commits

Author SHA1 Message Date
Type-kun
1d25d1315a Fix comment search bugs (secondary ordering, non-bumping typo) 2017-01-27 14:12:16 +05:00
evazion
caaff24112 /comments?group_by=comment: add is_sticky/is_deleted/do_not_bump_post/order params. 2017-01-23 22:13:00 -06:00
Albert Yi
5445b341bc fixes #2822: Post vote API: returns 200 for both success and failure; fixes bug with x-api-limit header 2017-01-09 17:31:14 -08:00
Albert Yi
f2a5d45db0 implement token bucket rate limiting 2017-01-09 17:31:14 -08:00
Type-kun
9da5e67a65 Another partial fix for issue #2824, which also affected ip bans and feedback
Also fixed minor errors with IP bans
2017-01-09 13:57:16 +05:00
Type-kun
c44c40c759 Partial fix for issue #2824 2017-01-08 23:58:52 +05:00
Albert Yi
b9a1e115fb add additional mod actions 2017-01-03 16:02:36 -08:00
Albert Yi
2fef0cdef9 Merge pull request #2804 from evazion/feat-comment-as-mod
Add option to comment as moderator (fix #2799)
2016-12-27 11:49:36 -08:00
Albert Yi
0293d1d01c Update comment.rb
allow Comment#for_creator to handle null user id case
2016-12-27 11:32:41 -08:00
evazion
1257639109 Add 'post as moderator' option for comments.
* Add 'post as moderator' option to comment form. This creates a so-called sticky comment.
* Downvotes have no effect on stickied comments; they're always visible, regardless of comment thresholds.
* Only mods may sticky comments.
* Mods may sticky comments by other users.
2016-12-26 23:52:45 -06:00
evazion
1b05d5068a Simplify Comment.for_creator_name. 2016-12-26 23:52:27 -06:00
evazion
9347f27059 /comments.json: add id param; allow id and post_id to take lists of ids. 2016-12-26 23:52:27 -06:00
evazion
69c50290a8 Include updater_name in /comments/1.json. 2016-12-26 23:52:27 -06:00
Albert Yi
67c374f272 fix relative links in at mentions 2016-11-18 11:42:49 -08:00
evazion
cb1e1d3a94 Prevent commenting on nonexistent posts (#2704). 2016-10-06 09:39:57 +00:00
r888888888
8a63fb0f7c enable mention for comments #2466 2015-11-30 16:51:07 -08:00
Toks
4cc8f94970 Fix comment searches specifying both post_tags_match and is_deleted
fixes #2450
2015-07-23 19:55:24 -04:00
Toks
9f47a9da1b Add is_deleted comment search param 2015-07-23 09:58:55 -04:00
Toks
52c73efc28 Fix thumbnail appearing next to deleted comments 2015-07-23 09:57:13 -04:00
Toks
a4440514ff Allow undeleting comments 2015-07-11 13:26:55 -04:00
Toks
fe7f3d8204 Keep track of who deletes forum post/topic/comment
Previously it would look like the creator of it was the one who
deleted/undeleted it, even if it was someone else.
2015-07-11 13:20:47 -04:00
Toks
4f4fd8cb35 fixes #2428 2015-07-04 22:00:31 -04:00
r888888888
1d9596d7f2 fixes #2417 2015-06-29 18:17:59 -07:00
Toks
1b812f31f1 fixes #2226 2014-07-16 11:47:37 -04:00
Toks
772003a55a fixes #2217 2014-07-06 12:03:48 -04:00
r888888888
fad0ab7c93 fixes #2133 2014-04-16 17:43:34 -07:00
Toks
8055a7c64b Fix order:comm and comment deletion for unbumped comments
fixes #1351, fixes #1352
2013-12-24 20:59:19 -05:00
Toks
ecfcebe30a Add support for wildcard searches in text fields
#1663
2013-07-20 16:51:55 -04:00
Toks
938e19f384 merge branch changeable-votes 2013-06-29 15:12:38 -04:00
Toks
badc3122f0 fixes #1263 for comments 2013-06-29 14:50:22 -04:00
Toks
395f3d1342 hide index fields from api; closes #1739 2013-06-23 12:12:30 -04:00
Toks
90513d89ce swap method location for neatness 2013-04-05 13:10:55 -04:00
Toks
f7fa452d88 fixes #1200 2013-04-05 13:09:45 -04:00
Toks
4def5b22fb fixes #1194 2013-04-05 12:52:15 -04:00
Toks
0ac6316aff fixes #1190 2013-04-04 10:49:30 -04:00
albert
b19994396d fix tests, fixes #1173 2013-04-03 17:23:25 -04:00
Toks
3d7ebd0108 adds post_id search to comments 2013-04-02 20:34:41 -04:00
Toks
dc6f345e25 allow unlimited non-bumping comments 2013-04-02 13:34:29 -04:00
Toks
a5f1a6bad1 better comment creation errors 2013-04-02 13:34:28 -04:00
Toks
eed6ece3ec adds missing updaters
to forum posts, comments, and artist versions
2013-03-30 12:04:57 -04:00
albert
733fa2dd7b fixes #1028 2013-03-22 09:17:55 -07:00
小太
cba839ba76 Kill trailing whitespace in ruby files 2013-03-19 23:10:10 +11:00
albert
922ccabe1d fix comment votes affecting comment updater_id 2013-03-18 16:03:29 -07:00
albert
28a40aeee4 fixes #925 2013-03-17 20:33:25 -04:00
albert
2338f004eb refactored tsquery sql to use rails escaping mechanisms 2013-03-07 16:34:12 -05:00
albert
0f4d7709b6 fixes #667 2013-02-28 22:15:24 -08:00
albert
cca0cc8dbd fix pool metatags, fix artist search 2013-02-26 23:35:17 -08:00
albert
e86dda1b50 fix comment bumping 2013-02-26 21:54:18 -08:00
albert
4cbef26c05 fix comment bumping 2013-02-24 17:54:42 -05:00
albert
c0c130395b bug fix with comment bumping 2013-02-24 17:37:59 -05:00