Commit Graph

5999 Commits

Author SHA1 Message Date
evazion
b0626a9124 Add commenter:<any|none> metatags. 2017-04-26 16:51:34 -05:00
evazion
69d9cf3927 Add noter:<any|none> metatags. 2017-04-26 16:51:34 -05:00
Albert Yi
641f56dc2a Merge pull request #3002 from evazion/feat-artist-search
Fix #2994: More options for artist search page
2017-04-26 14:00:25 -07:00
Albert Yi
9f19e2b78f Merge pull request #3001 from evazion/feat-unfav-hotkey
/posts: add shift+F to unfavorite hotkey.
2017-04-26 13:55:56 -07:00
r888888888
6842056d19 partial fix for #3000 2017-04-26 13:37:12 -07:00
Albert Yi
4226b52198 Merge pull request #2999 from evazion/fix-post-appeals-search
/post_appeals: add blank option to Resolved dropdown.
2017-04-26 13:21:39 -07:00
Albert Yi
41b245d19d Merge pull request #2998 from evazion/fix-quote-stripping
Fix [quote] stripping for comments, forum post replies.
2017-04-26 12:43:30 -07:00
Albert Yi
974133a697 Merge pull request #2997 from evazion/fix-navbar-tagsubs
Remove tag subscriptions link from /posts navbar.
2017-04-26 12:35:55 -07:00
r888888888
b7f207180c eliminate responsive tag list 2017-04-26 12:26:51 -07:00
evazion
ec895d6412 /artists: add URL/Creator/Active/Banned/Has Tag fields to search form. 2017-04-26 14:08:18 -05:00
evazion
b61fdc2c6b /artists: convert search form to simple form. 2017-04-26 14:08:18 -05:00
evazion
d1188d8184 /artists: add search params: has_tag, name/other_names/group_name/any_name/url_matches. 2017-04-26 14:08:18 -05:00
evazion
59a179fa15 /posts: add shift+F to unfavorite hotkey. 2017-04-25 01:50:14 -05:00
evazion
9a0bc6802b /post_appeals: add blank option to Resolved dropdown. 2017-04-24 22:45:02 -05:00
evazion
146dc116d6 /posts: remove tag subscriptions from navbar. 2017-04-24 21:44:40 -05:00
evazion
54db229094 comment_test.rb: add quote-stripping test. 2017-04-24 21:15:47 -05:00
evazion
c586a66e1f dtext: recognize [QUOTE] tags when quoting comments, forum_posts.
Fixes a bug with capitalized [QUOTE] tags not being handled properly
when quoting comments or forum posts.
2017-04-24 21:15:47 -05:00
evazion
869f1610fc comments: use server-side quote-stripping instead of reimplementing in js. 2017-04-24 21:15:47 -05:00
evazion
18424531fa Merge mentions quote-stripping code into DText quote-stripping code. 2017-04-24 21:15:42 -05:00
r888888888
ba1399abef desktop mode redirects back to original page 2017-04-24 15:54:04 -07:00
Albert Yi
13189e60b8 Merge pull request #2992 from evazion/fix-calc-reltags-from-posts
Fix slow related tag calculations when searching single metatags.
2017-04-24 14:13:41 -07:00
Albert Yi
72367bb8d4 Merge pull request #2991 from evazion/fix-2990
Fix #2990: Wiki Autocomplete Misses On Certain Meta-wikis
2017-04-24 14:12:23 -07:00
Albert Yi
57148b0690 Merge pull request #2989 from evazion/fix-notes-listing
Default /notes to listing notes, not posts.
2017-04-24 13:46:51 -07:00
Albert Yi
835caaad3c Merge pull request #2988 from evazion/fix-autocomplete
Fix broken tag autocomplete on multiple pages
2017-04-24 13:18:18 -07:00
evazion
8404064854 related_tag_calculator.rb: fix memcache lookup in inner loop.
Remove the category constraint option from RelatedTagCalculator.calculate_from_posts.
It slows things down and isn't used.

This method is used to calculate the related tags sidebar during
searches for single metatags. Using Tag.category_for in the inner loop
caused a memcache call on every iteration. At 100 posts per page and
20-30 tags per post, this led to up to 2000-3000 total memcache calls,
which significantly slowed pageloads.
2017-04-23 17:10:20 -05:00
evazion
30872ebb41 Fix #2990: Wiki Autocomplete Misses On Certain Meta-wikis
/wiki_pages?search[order]=post_count didn't include wiki pages that
didn't belong to a tag. This was due to doing an inner join on the tags
table instead of a left outer join.
2017-04-23 16:55:15 -05:00
evazion
808fe0411a /notes, /note_versions: fix N+1 queries on note creators, updaters. 2017-04-23 14:59:36 -05:00
evazion
989917cb07 /notes, /note_versions: use numbered paginator. 2017-04-23 14:59:36 -05:00
evazion
e6d1842545 /notes: default to listing notes, not posts. Remove group_by=post.
The posts listing is replaced by a link to order:note.
2017-04-23 14:59:36 -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
f403763d8b /tag_implications: convert to simple form. 2017-04-22 15:23:14 -05:00
evazion
738c14a8a3 /tag_aliases: convert to simple form. 2017-04-22 15:23:14 -05:00
evazion
2db3af56dd /tags: convert search form to simple form. 2017-04-22 15:23:14 -05:00
evazion
0ed0fb095b /notes/search: convert to simple form. 2017-04-22 13:04:04 -05:00
evazion
d8fb4399cf /artist_commentaries/search: convert to simple form. 2017-04-22 13:04:04 -05:00
r888888888
76eefd0ffe add support for deploying specific branch or commit 2017-04-22 01:16:47 -07:00
Albert Yi
ecf00260c3 Merge pull request #2982 from evazion/fix-ss-dropdown
Fix saved search dropdown on post show page.
2017-04-22 01:04:47 -07:00
Albert Yi
421b9668b2 Merge pull request #2983 from evazion/fix-favtags-xss
Fix self-xss in favorite tags.
2017-04-22 01:04:31 -07:00
Albert Yi
f503c80e0b Merge pull request #2984 from evazion/fix-mp4-avc1
Support mp4s of ftyp "avc1"
2017-04-22 01:04:11 -07:00
Albert Yi
d836815622 Merge pull request #2985 from evazion/feat-notes-ruby
Allow <ruby> tags for marking up furigana in notes.
2017-04-22 01:03:47 -07:00
Albert Yi
bd38fb3de1 Merge pull request #2986 from evazion/fix-ss-migrations
Fix broken tag subscription migrations.
2017-04-22 01:03:30 -07:00
evazion
0b2493b2dd tag subscriptions: fix broken saved search migrations. 2017-04-21 22:48:52 -05:00
evazion
f1552539f7 notes: allow <ruby> tags for marking up furigana. 2017-04-21 14:31:05 -05:00
evazion
5f9c423542 upload.rb: detect mp4s with an ftyp of avc1. 2017-04-20 23:08:34 -05:00
evazion
fce8dcc97d /users: fix self-xss in favorite tags. 2017-04-20 20:33:56 -05:00
evazion
5303d1052f /posts: fix saved search dropdown for post show page. 2017-04-20 19:05:54 -05:00
r888888888
bd7f4820d7 fix source js for pawoo sites 2017-04-20 16:43:41 -07:00
r888888888
b053a2d783 add source + rewrite strategy for pawoo 2017-04-20 15:50:22 -07:00
r888888888
9718c6e107 fixes to mobile responsive view 2017-04-20 14:29:11 -07:00
Albert Yi
865a8d7a0a Merge pull request #2980 from evazion/feat-bans
Improve /bans listing
2017-04-20 14:04:10 -07:00