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
a8fc2ba508
wiki pages: fix redirects to exact matches during search.
...
Change wiki page search to redirect to exact matches only when using the
quick search bar. Fixes searches sometimes unexpectedly redirecting when
doing a regular (non-quick) search that happens to return a single result.
Also remove the logic that tries to expand the search when no results
are found. This will eventually be replaced with a smarter "did you mean?"
search.
2019-10-31 19:04:18 -05: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
5dfc14ba07
css: switch sidebar layout from float to flexbox.
2019-09-28 23:45:47 -05:00
evazion
960e5d4ae0
views: factor out sidebar layout template.
...
* Factor out common sidebar layout template.
* Convert wiki pages and posts to use this template.
* Add data-layout attribute to <body> element indicating the current layout.
2019-09-28 17:50:10 -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
ff92b32f02
users: add /profile page ( fix #4151 ).
...
* Add /profile, /profile.json endpoints.
* Make "My Account" link to /profile.
* Add 'User ID' field to profile page.
2019-09-01 15:00:23 -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
c2e0763986
default to pool gallery from main navlinks
2018-11-06 15:55:18 -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
a8ae4d3f36
Fix #3849 : Forum Button in the topbar has broken css
2018-08-29 14:29:15 -05:00
evazion
4e1d76da81
html: add controller & action attributes to <body> tag ( #3844 ).
2018-08-26 16:02:06 -05:00
evazion
b98bc26397
nav menu: add html ids to main menu nav links ( #3844 ).
2018-08-26 13:12:41 -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
Albert Yi
02d449c514
fixes #3763
2018-06-20 15:25:56 -07:00
r888888888
9822ff999b
switch to non-minified versions of js libs, load unminified versions of jquery and jquery ui on non-prod environments ( #3690 )
2018-04-30 11:28:20 -07:00
evazion
a6499b5169
post tooltips: add disable option ( #3689 ).
...
* Add "disable post tooltips" account setting.
* Add back title attribute for when fancy tooltips are disabled.
2018-04-28 23:50:51 -05:00
Albert Yi
f2b525a6d2
Implement forum topic voting and tag change pruning ( #3580 )
2018-04-26 15:31:06 -07:00