evazion
aa442121bb
views: refactor open graph / twitter <meta> tags.
...
* Fix og:site to og:site_name.
* Fix open graph properties to use <meta property="...">, not <meta name="...">>
* Set og:type, og:site_name, twitter:site globally (not just on post pages).
* Set og:url.
* Remove unused always-resize-images, report-server <meta> tags from
post show pages.
2020-01-27 00:47:24 -06:00
evazion
c36c0b9e7a
views: refactor atom feed links.
...
* Fix comment & forum feeds to include search params.
* Remove global post feeds (only include post feeds on post index).
2020-01-26 19:16:38 -06:00
evazion
e10bb0aab1
views: remove old matomo analytics code.
...
This is no longer used and shouldn't have been hardcoded anyway.
2020-01-26 19:16:38 -06:00
evazion
fb9b2bb014
views: update seo title and description of post index page.
...
Change the title of the post index page to look like this:
"Danbooru: Anime Image Board" (for the front page)
"Kantai Collection Art | Danbooru" (for a tag search)
Change the meta description of the front page to look like this:
Danbooru is the original anime image 'booru. Find over 3.75 million
anime pictures categorized by over 100 million tags.
Change the meta description for a tag search to look like this:
Find over 37,168 Azur Lane images on Danbooru. Azur Lane (碧蓝航线)
(벽람항로) is a Chinese shipgirl-themed side-scrolling shoot 'em up
mobile game developed by Shanghai Manjuu and Xiamen Yongshi...
2020-01-25 05:44:38 -06:00
evazion
9f40d31748
views: set twitter:title, og:title on all pages.
2020-01-25 05:10:12 -06:00
evazion
052008ee5d
addthis: update script, hide when not enabled.
...
* Hide 'Share' section from sidebar when Addthis isn't enabled.
* Don't show popup menu until click.
2020-01-06 20:29:18 -06:00
BrokenEagle
5e03c3d84e
Adjust naming of user and model attributes
...
- Remove unnecessary attributes that cause additional SQL queries
- Remove unneeded check for nil on current_item
2020-01-05 19:46:08 +00:00
BrokenEagle
223a6df5d8
Add API data to show/index views
2020-01-04 22:02:44 +00:00
evazion
c251d145e4
Revert "Add Danbooru Winter Sale."
...
This reverts commit 963f1f7991 .
2020-01-02 01:29:55 -06:00
evazion
b02d84cfae
winter sale: link to forum topic.
2019-12-24 18:19:44 -06:00
evazion
963f1f7991
Add Danbooru Winter Sale.
...
* 25% off Gold and Platinum accounts.
* Free 6 tag searches for Member-level users.
* Runs from midnight Dec. 25th to 28th (UTC time).
2019-12-24 15:39:29 -06:00
evazion
623de37b09
views: remove current user <meta> elements from <head>.
...
Previously deprecated. Use the data attributes on the <body> tag
instead.
2019-11-04 15:42:19 -06:00
evazion
103742eb6c
Fix #4058 : FontAwesome CDN is slow/blocking.
...
Switch to the free self-hosted version of FontAwesome. We're not using
any Pro icons, so the Pro version isn't necessary.
2019-10-22 12:02:26 -05:00
evazion
64d32a5201
js: upgrade jquery to 3.4.1.
2019-10-07 22:50:03 -05:00
evazion
5818c367fd
css: add .mobile-only, .desktop-only classes.
2019-09-30 00:58:34 -05:00
evazion
51e4edadb1
Fix upgrade notice conditional (fixup e98db8a).
2019-09-23 19:22:00 -05:00
evazion
e98db8a5b8
css: refactor notice box css.
...
* Remove .ui-corner-all, .ui-state-highlight, .ui-state-error classes
from notice boxes.
* Use .notice, .notice-info, .notice-error classes instead.
* Replace <p> elements in notices with <div>'s so that we don't have to
work around the `margin-bottom: 1em` from <p> elements.
* Replace <h1> elements in notices with <h2>.
* Standardize info notices to use the same shade of light yellow in the
light theme.
2019-09-22 15:09:45 -05:00
evazion
73a4d675c0
css: ensure dtext is always wrapped in .prose container.
...
Ensure dtext is always wrapped in a `<div class="prose">` or
`<span class="prose">` (for inline dtext) container so that dtext css is
properly applied.
2019-09-17 00:28:41 -05:00
evazion
a5ef86bbe8
views: add html ids for main menu and subnav menu.
...
Also refactor secondary links to put the <menu> element in the default
layout instead of in each _secondary_links partial.
2019-09-17 00:28:41 -05:00
evazion
f151285038
views: standardize page titles.
2019-08-24 22:55:35 -05:00
evazion
38ab13f0b7
Remove unused sign up banner.
...
No longer used, probably broken in 98b31aafa6 .
2019-08-14 01:46:44 -05:00
evazion
90fa67d4c1
Remove unused terms of service banner.
...
No longer used, inadvertently hidden in a6233f297e .
2019-08-14 01:46:44 -05:00
evazion
8d07ad7390
js: clean up notice/error messaging.
2019-08-14 01:46:44 -05:00
evazion
692981e964
Fix #4111 : Cache custom CSS.
2019-08-01 00:06:18 -05:00
Albert Yi
25c495f2fb
upgrade fontawesome
2019-02-12 13:37:50 -08:00
Albert Yi
17ae357da9
eliminate mixpanel references
2019-01-23 16:37:44 -08:00
Albert Yi
8344ad7a9b
user string for matomo user id
2018-11-12 10:34:53 -08:00
Albert Yi
5493e16f04
tweak matomo tracking
2018-11-12 10:28:48 -08:00
Albert Yi
684e2bdbad
fix undefined _paq references
2018-11-09 15:49:42 -08:00
Albert Yi
c8793457cb
remove mixpanel + add more matomo tracking
2018-11-09 15:40:38 -08:00
Albert Yi
542641e3e2
refactor pool nav html
2018-11-01 17:42:49 -07:00
Albert Yi
1fb7924afb
fix interaction between burger menu and news listing
2018-10-26 15:19:10 -07:00
Albert Yi
b999fc86ea
mixpanel fixes
2018-10-22 16:54:38 -07:00
Albert Yi
ae4e40aa76
fix mixpanel init
2018-10-22 16:23:51 -07:00
Albert Yi
4fe7fc8ae7
add packs to blank layout
2018-10-22 16:03:44 -07:00
Albert Yi
5097babfaa
add opt out for mixpanel tracking
2018-10-22 16:01:39 -07:00
evazion
26674ec88a
font awesome: switch from js+svg to css+webfont version ( fix #3890 ).
2018-09-14 00:18:30 -05:00
evazion
d5c7de84a3
font awesome: disable data-search-pseudo-elements ( #3890 ).
2018-09-11 21:20:24 -05:00
evazion
8915437b4a
Fix #3439 : Identify external links in DText.
2018-09-11 15:10:59 -05:00
Albert Yi
c3b17f5fcc
Revert "remove global danbooru object js in default layout"
...
This reverts commit 68e7de1fc4 .
2018-09-04 14:26:37 -07:00
Albert Yi
68e7de1fc4
remove global danbooru object js in default layout
2018-09-04 14:08:37 -07:00
evazion
4e1d76da81
html: add controller & action attributes to <body> tag ( #3844 ).
2018-08-26 16:02:06 -05:00
evazion
8ccc238791
nav menu: remove duplicate "More »" link.
...
Remove a second hidden "More »" link from the nav menu. This was
leftover code first added in f2f524b87 and later reverted in 68161f7b8 .
2018-08-26 13:11:26 -05:00
evazion
3f7b1e0b13
html: fix invalid </meta>, </link>, </input> closing tags.
2018-08-17 18:41:48 -05:00
Albert Yi
cffb08a4b6
add global hooks for autocomplete functions #3795
2018-08-03 16:02:47 -07:00
Albert Yi
75faa5cc31
add global handlers for Danbooru.notice and Danbooru.error
2018-08-02 16:18:29 -07:00
Albert Yi
85d7639082
Revert "remove jquery include from cdn"
...
This reverts commit 1210241160 .
2018-08-02 15:48:16 -07:00
Albert Yi
1210241160
remove jquery include from cdn
2018-08-02 13:55:49 -07:00
Albert Yi
6fa0ae2cf1
Migrate assets to use Webpacker
2018-07-27 15:24:05 -07:00
Albert Yi
64446d49e1
add image cropping support
2018-06-22 14:41:57 -07:00