evazion
14da425564
search: reduce queries in single tag searches ( #4120 ).
...
Avoid some queries used in wiki page excerpts:
* Only try to load the artist if the tag is an artist tag.
* Avoid using `exists?` queries for wiki pages.
* Bugfix: don't show wiki excerpts for deleted wikis.
2019-08-12 13:38:45 -05:00
Albert Yi
a5943d2c3a
Merge pull request #4044 from r888888888/tag-change-notices
...
Tag change notices
2019-01-24 14:23:35 -08:00
Albert Yi
4fe7f5eff9
restyling
2019-01-23 17:40:58 -08:00
Albert Yi
1550538dc1
Tag change notices
...
This adds a small notice at the bottom of post searches if a single tag search is the target of any tag change request.
2019-01-22 17:22:07 -08:00
evazion
bd0bb658b8
Fix #3974 : Pool galleries: link thumbnails to pools instead of posts.
2018-11-06 14:33:04 -06:00
evazion
ff9ce25b01
Fix #3973 : Pool gallery is broken.
2018-11-06 13:11:11 -06:00
Albert Yi
011a6f1f7c
move post preview presenter to partial
2018-10-29 17:46:45 -07:00
Albert Yi
a2811d1484
add shareout options
2018-10-25 16:46:25 -07:00
Albert Yi
c0ab54b889
css tweaks
2018-10-23 18:30:35 -07:00
Albert Yi
38d94a7d37
update meta tags
2018-10-23 11:24:43 -07:00
Albert Yi
c1f70b9a02
truncate og description to 350 chars
2018-10-22 14:01:25 -07:00
Albert Yi
683b45c031
update dtext gem
2018-10-22 13:48:50 -07:00
Albert Yi
5d3f072a2f
fix wiki excerpt links
2018-10-22 13:15:33 -07:00
r888888888
7051351852
fix og:title metatags
2018-10-20 19:53:39 -07:00
r888888888
ee3b8933d2
tweak social links
2018-10-20 19:38:32 -07:00
r888888888
0ab6e9f94d
refactor share buttons
2018-10-20 19:11:16 -07:00
r888888888
192ac128cd
add additional meta tags for seo
2018-10-20 17:15:29 -07:00
Albert Yi
a6b00b3ff3
fixes #3921
2018-10-16 15:01:39 -07:00
evazion
6fe883c316
posts index: clean up limit:<n> / order:random parsing ( #2894 )
...
* Move the limit:<n> / order:random metatag parsing from the controller
to the post set.
* Introduce `Tag.has_metatag?` and use it to parse these metatags
instead of using a regex (#2894 ).
2018-09-20 19:23:47 -05:00
evazion
6ccf4ed9c0
blacklists: refactor blacklist html+css.
...
* Consolidate blacklist css in one file.
* blacklist box: fix tag colors not dimming on hover.
* blacklist box: allow middle clicking on tags to open in new tab.
* /wiki_pages: move blacklist controls to top of tag sidebar.
* /wiki_pages: fix missing "disable all" / "re-enable all" buttons.
2018-08-21 23:33:08 -05:00
Albert Yi
0fcdc30b69
Merge pull request #3817 from evazion/fix-3816
...
Avoid flickering hidden page elements during page loads
2018-08-21 14:44:26 -07:00
evazion
3ae913a707
html: convert html comments to erb comments.
...
Avoid emitting useless comments in the html.
2018-08-17 18:55:21 -05:00
evazion
3f7b1e0b13
html: fix invalid </meta>, </link>, </input> closing tags.
2018-08-17 18:41:48 -05:00
evazion
7aa2a41798
blacklists: fix flickering of inline blacklists.
2018-08-14 16:04:08 -05:00
evazion
bbaadda1e3
Convert keyboard shortcuts to use data-shortcut.
2018-08-12 12:09:58 -05:00
Albert Yi
9cfb629891
rename similar posts to recommended posts, refactor menu on posts/show
2018-07-20 16:36:14 -07:00
Albert Yi
75162d3d8b
bug fixes + tests
2018-07-20 12:31:28 -07:00
Albert Yi
d9a1eeacc9
Recommend posts on /posts/show based on voting patterns
2018-07-20 12:14:16 -07:00
Albert Yi
6ea3d7983e
add normalization for deviantart artist urls
2018-07-18 11:38:00 -07:00
Albert Yi
a610111658
switch post previews to use flexbox, add better styling for cropped thumbnails
2018-07-18 11:38:00 -07:00
r888888888
ca842cc6d9
fixes #3727
2018-05-26 12:58:19 -07:00
r888888888
c054784302
eliminate unused vars in search counters
2018-05-26 11:59:40 -07:00
Albert Yi
4b6019d6ad
fixes #3668
2018-04-26 10:25:24 -07:00
Albert Yi
cd88a8df9f
fixes #3620
2018-04-12 13:00:48 -07:00
Albert Yi
850ac353ed
Merge pull request #3399 from BrokenEagle/fix-gold-safemode-message
...
Changed safe mode error message for Gold+ users
2017-12-13 14:26:50 -08:00
BrokenEagle
839f0f653f
Changed safe mode error message for Gold+ users
...
- Made explicit the error messages and their order
- Banned takes priority, then Gold+, then Safe
- Made the groups exclusive of each other
2017-12-05 19:08:01 -08:00
r888888888
c0ddf266fc
move save search button to sidebar
2017-11-17 16:51:38 -08:00
r888888888
36948bbf33
move explore links to sidebar, fix popular searches action
2017-11-13 11:14:09 -08:00
r888888888
953b9c7a74
fixes #3281
2017-09-12 13:11:30 -07:00
r888888888
792d95227b
remove mobile version links
2017-09-07 18:37:51 -07:00
evazion
7cb7c2fbab
Remove ruby DText implementation ( #3206 ).
2017-07-19 16:48:42 -05:00
r888888888
4af8e15c59
refactor artist views
2017-05-12 15:00:00 -07:00
r888888888
5ad7f1af91
cache artist domains, show artist domains in wiki excerpt on post listing
2017-05-12 14:50:37 -07: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
5303d1052f
/posts: fix saved search dropdown for post show page.
2017-04-20 19:05:54 -05:00
r888888888
97da8f8647
deprecate tag subscriptions with warnings
2017-04-14 16:00:20 -07:00
evazion
90cd029f6f
wiki excerpts: show alias/implication lists even for tags without a wiki.
2017-03-23 03:54:42 -05:00
evazion
eda97dc1ff
/posts: add notice when posts are hidden.
2017-03-17 00:08:48 -05:00
r888888888
da06bee0ab
revamp saved search implementation
2017-03-15 15:36:48 -07:00
r888888888
865a2ca165
count searches even for tag links
2017-03-08 17:25:01 -08:00