Commit Graph

140 Commits

Author SHA1 Message Date
evazion
5c9b5cd21e blacklists: add missing blacklist controls on several pages (fix #3121). 2017-06-07 23:30:35 -05:00
r888888888
1478eff561 fixes #3098 2017-05-30 12:36:07 -07:00
evazion
ea80d51ecf /posts/$id: add feed discovery link for comments on post. 2017-05-24 16:10:56 -05:00
evazion
e68946e95d /comments.atom: add atom feed for comments. 2017-05-13 10:37:58 -05:00
evazion
4631262374 Fix broken tag autocomplete on multiple pages.
Mark all tag <input>s with a `data-autocomplete` attribute, instead of
hardcoding a list of html IDs to autocomplete in javascript.

This way should be less error prone. It fixes autocomplete in several places:

* Autocomplete for the search box on /posts didn't work in the
  responsive layout. This was because /posts has two search boxes that
  both have the id `tags`: one in the normal sidebar, and one in the
  responsive tag list. $("#tags") only initialized autocomplete on the
  first one.

* Autocomplete didn't work on the aliases or implications pages. This
  was due to selecting the wrong html ids.
2017-04-22 15:24:03 -05:00
evazion
85d1f18ba5 comments: make commenter ip addresses visible to mods. 2017-03-19 23:41:25 -05:00
evazion
b80976bce7 modqueue: link tags, like they are in /comments. 2017-02-24 21:03:14 -06:00
evazion
ecf22adc7d /comments/search: add more search params; style as inline form. 2017-01-23 22:13:00 -06:00
Albert Yi
bdac591266 fixes #2838 2017-01-16 12:57:43 -08:00
Albert Yi
094f30a44e Merge pull request #2819 from evazion/opt-favorited-users
Reduce SQL queries on /posts/:id
2017-01-03 16:29:20 -08:00
evazion
4e8006ae3b Optimize rendering of post commenter names.
Eager load post comments' creators and updaters. Fixes an N+1 queries
problem when rendering commenter names at:

    views/comments/partials/show/_comment.html.erb:6
    views/comments/partials/show/_comment.html.erb:20

while rendering /posts/:id pages.
2017-01-03 20:14:05 +00:00
evazion
469f48a118 Fix @mention autocomplete for comments & forum posts.
Fix comment autocomplete (broken in 1257639). Also fix forum post
autocomplete (didn't work when editing forum posts).
2017-01-02 12:53:30 -06: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
7c838f8525 Delete unused /comments/index_all route and unused _threshold.html.erb template. 2016-12-26 23:52:27 -06:00
Albert Yi
aef31d8d9b enable ragel parser for comments, add additional sql diagnostic queries 2016-12-09 14:59:33 -08:00
r888888888
6d6d00b190 expose voting to non-gold supervoters 2016-03-14 16:52:49 -07:00
r888888888
8a63fb0f7c enable mention for comments #2466 2015-11-30 16:51:07 -08:00
r888888888
6b96032a4e fixes #2486: Blacklist indication/display across the site 2015-08-18 15:47:31 -07:00
r888888888
9fb68cee94 fixes #2451: /comments/search has two elements with id "group_by" 2015-07-24 13:53:48 -07: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
4f4fd8cb35 fixes #2428 2015-07-04 22:00:31 -04:00
evazion
b56d7bdfa8 Disable comment submit button to prevent double posting. 2014-10-07 13:52:28 -05:00
Toks
772003a55a fixes #2217 2014-07-06 12:03:48 -04:00
Toks
5f12a5e555 fixes #2165 2014-05-25 14:50:07 -04:00
r888888888
fad0ab7c93 fixes #2133 2014-04-16 17:43:34 -07:00
Toks
413ac0a491 Fix various bugs when clicking "Show all comments" 2014-03-21 16:25:58 -04:00
Toks
f1a4d816e7 fixes #2109 2014-03-13 14:04:26 -04:00
Toks
11984fe8ed #1902: Add forum/comment creator data 2013-08-07 20:15:35 -04:00
Toks
f3167f1f62 Allow #image-container to share data attributes with previews
Related to #1902
2013-08-07 20:07:47 -04:00
Toks
87478f3658 fixes #1913 2013-08-02 10:42:11 -04:00
r888888888
22bd07072a #1849: filter images for safebooru 2013-07-18 17:27:00 -07:00
Toks
ebcc465216 Refactor post preview attributes into one method 2013-07-11 16:52:42 -04:00
Toks
161c7cb4f5 fixes #1791 2013-07-11 16:21:25 -04:00
Kevin Xiwei Zheng
35aab77c5c Fix superfluous "unvote" links (#1819) 2013-07-01 21:28:58 -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
980324862a fixes #1791 2013-06-29 14:19:28 -04:00
Toks
7719cc2104 don't show comment updated by if the edit occurred within 5 minutes 2013-06-24 11:17:43 -04:00
r888888888
766ee1ed25 Merge branch 'jquery-1.10' 2013-06-18 18:38:28 -07:00
Toks
0ad06e03dd fix "Show all comments" opening editing forms 2013-06-18 20:50:45 -04:00
r888888888
08463cdd9e fix comment forms being visible everywhere 2013-06-18 17:27:46 -07:00
Toks
4765ce11b6 name consistency (#1424) 2013-06-14 12:32:25 -04:00
Toks
739da4c4b9 fixes #1424 for comments 2013-06-14 12:23:10 -04:00
Toks
8f17a505e6 fixes #1422 2013-05-11 22:22:59 -04:00
Toks
1d56f237a8 error msg consistency 2013-05-06 10:06:25 -04:00
Toks
4de5e7eee7 fixes #1458 2013-04-28 08:37:07 -04:00
r888888888
d5f575159f rename references of privileged to gold 2013-04-28 00:04:52 -07:00
Toks
35915f9ad2 fixes #1380 2013-04-20 10:52:57 -04:00
Toks
4f16cdf145 fixes #1295 2013-04-13 15:19:04 -04:00