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
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
r888888888
93a669d2de
expose recommendd posts link
2018-07-21 14:39:07 -07:00
r888888888
fd2f6c9742
hide recommend posts link
2018-07-21 14:28:32 -07:00
r888888888
344c46ed00
add mock recommender service for development, add user-context recommended posts
2018-07-21 14:02:57 -07:00
r888888888
93c074c15b
move recommended tab to second position
2018-07-21 12:09:16 -07: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
df6e86551a
tweaks to similar posts
2018-07-20 15:05:51 -07:00
Albert Yi
791a96f689
hide title in wiki page form if not builder
2018-07-20 14:12:28 -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
Albert Yi
099654b2da
truncate sources on upload listing
2018-07-06 11:02:26 -07:00
Albert Yi
7b74f5caf6
switch to using thumbs for voting
2018-07-06 11:02:14 -07:00
lllusion3469
0502f3ece1
Make dropzone accept mp4, webm, and swf files
...
to match the rest of the code base
For flash files I've used the file extension because the mime type is browser
specific and I've found at least 2 different variations for .swf:
1. `application/vnd.adobe.flash-movie`: wikipedia
2. `application/vnd.adobe.flash.movie`: mailcap, firefox
some other browser may not even know the .swf extension in the first place
2018-07-03 18:53:34 +02:00
r888888888
5aae4b649f
add xhr variant detection
2018-06-23 12:09:01 -07:00
r888888888
3ba5c6fb51
refactor iqdb endpoints
2018-06-23 10:59:04 -07:00
Albert Yi
27baa08e59
include size in preview
2018-06-22 16:59:21 -07:00
Albert Yi
56b40a0255
add iqdb preview
2018-06-22 16:41:13 -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
Albert Yi
da825addb9
fix site map
2018-06-20 14:54:02 -07:00
Albert Yi
e262295cf1
support json for iqdb query actions
2018-06-20 11:53:44 -07:00