evazion
604bfb0923
Fix #3846 : Subscribed forum posts link to invalid URL in email updates.
...
Test: http://localhost/rails/mailers/user_mailer/forum_notice
2018-08-27 22:04:37 -05:00
evazion
47e26419d3
nav menu: add html ids to secondary nav menu links ( #3844 ).
2018-08-27 20:57:59 -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
3dafca9aec
Fix #3842 : Mods can demote other mods or admins.
2018-08-25 13:52:50 -05:00
evazion
847237980b
Fix #3469 : Rejecting post shouldn't hide pending/flagged notices
...
Just reload the page entirely instead of trying to update it in place.
2018-08-25 00:39:08 -05:00
evazion
e10df5bdf7
Fix #3839 : Allow prepopulating upload form with url params.
2018-08-24 17:39:26 -05:00
Albert Yi
54363ffecf
Merge pull request #3827 from evazion/fix-3709
...
Fix #3709 : Provide OR capability for blacklist items
2018-08-23 13:54:30 -07:00
evazion
a6162246f4
Fix #3830 : JS Upload ignores set Max-Filesize bigger than 265 MB.
2018-08-22 20:24:52 -05:00
evazion
8890baaf42
Fix #3821 : Blacklist and mod queue.
2018-08-22 18:14:13 -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
dfffabd662
utility.js: replace Utility.scroll_to with Element.scrollIntoView.
...
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
https://caniuse.com/#feat=scrollintoview
2018-08-17 16:25:47 -05:00
evazion
ad056e69d5
utility.js: simplify even/odd table row striping.
2018-08-17 16:25:36 -05:00
evazion
7aa2a41798
blacklists: fix flickering of inline blacklists.
2018-08-14 16:04:08 -05:00
evazion
33ed762e91
posts/show: eliminate unused <meta> tags.
2018-08-14 16:04:08 -05:00
evazion
766d68c4ee
posts/show: fix flickering post unvote link.
2018-08-14 16:04:08 -05:00
evazion
7174c24ac8
posts/show: fix flickering recommended tab.
2018-08-14 16:04:08 -05:00
evazion
73fc7cab7f
posts/show: fix flickering tabs in artist commentary box.
2018-08-14 16:04:08 -05:00
evazion
0c49b162f0
posts/show: fix flickering favlist show/hide buttons.
2018-08-14 16:03:16 -05:00
evazion
72a37c2f94
posts/show: fix flickering fav/unfav buttons.
2018-08-14 16:03:16 -05:00
evazion
7028417bfb
posts/show: fix 'Flag' option in sidebar.
...
* Don't show 'Flag' option on already flagged posts.
* Drop flag/appeal link show/hide Javascript (did nothing, links were already shown/hidden in html).
2018-08-14 16:03:16 -05:00
evazion
d7ec28b804
posts/show: fix 'Hide from queue' option in sidebar.
...
Fix 'Hide from queue' option appearing on deleted posts, but not on
pending or flagged posts.
2018-08-14 12:48:13 -05:00
Albert Yi
77d0c46b35
Merge pull request #3812 from evazion/feat-declarative-shortcuts
...
Add declarative keyboard shortcuts
2018-08-13 18:08:31 -07:00
evazion
bcaee199f5
favorites: unify create.js.erb & destory.js.erb code paths.
2018-08-12 15:51:18 -05:00
evazion
fb91bbc6c5
Fix #3813 : Favorite limit can be bypassed.
2018-08-12 14:22:08 -05:00
evazion
bbaadda1e3
Convert keyboard shortcuts to use data-shortcut.
2018-08-12 12:09:58 -05:00
evazion
130570aa33
comments.js: fix thresholded comments.
...
* Restore behavior of thresholded comments being greyed out (lost in 6fa0ae2cf ).
* Set the `below-threshold` class for thresholded comments in the html instead of in javascript.
* Remove `include_below_threshold` param; it was always true when clicking "Show all comments".
2018-08-09 14:45:26 -05:00
evazion
8e8a39af43
comments.js: fix forms flickering on page load.
...
Mark the edit form, new comment form, and unvote links as hidden in
html, instead of showing them by default then hiding them later in
Javascript. This eliminates flickering on page load.
2018-08-09 14:44:20 -05:00
evazion
abe8b9c071
Fix "Show all comments" link.
...
The second argument to `trigger` is supposed to be an array.
ref: https://danbooru.donmai.us/forum_topics/9127?page=250#forum_post_149379
2018-08-08 23:44:35 -05:00
Albert Yi
b56681a609
refactor solution for #3804
2018-08-07 13:31:45 -07:00
Albert Yi
d053e135ab
fix leaked ip addresses in upload status ( #3804 )
2018-08-07 13:18:31 -07:00
r888888888
d813f41aad
fix video page for ugoiras
2018-08-04 22:06:48 -07:00
r888888888
88c2fa69f3
fix js for ugoira player
2018-08-04 21:59:58 -07:00
r888888888
e0bd3277af
remove es6 references in ugoira js
2018-08-04 17:15:14 -07:00
r888888888
334d8b7c6f
Add alt_source field on uploads to deal with twitter galleries
2018-08-04 16:32:15 -07:00
Albert Yi
718e641f51
remove similar users report
2018-08-03 17:40:00 -07: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
ea4e7f1970
Expire unused aliases and implications after 2 years of inactivity
2018-08-01 16:54:48 -07:00
Albert Yi
ae70053a49
direct link to post for burs
2018-08-01 15:45:08 -07:00
Albert Yi
6fde3c20cf
fixes for #3791
2018-07-31 16:44:55 -07:00
Albert Yi
6fa0ae2cf1
Migrate assets to use Webpacker
2018-07-27 15:24:05 -07:00
r888888888
cc7a66438f
expose recommended posts to everyone
2018-07-23 15:05:43 -07:00
r888888888
a669fe361c
update for new recommender service changes
2018-07-21 23:19:11 -07:00