evazion
6ff70c5002
mod actions: separate account upgrades from promotions ( fix #3841 )
2018-08-26 11:12:04 -05:00
evazion
3dafca9aec
Fix #3842 : Mods can demote other mods or admins.
2018-08-25 13:52:50 -05:00
evazion
05ad112831
Fix #3835 : Related tags update vulnerability.
...
Also fixes deprecated call to `render :text`.
2018-08-24 12:16:23 -05:00
evazion
eef8b9c323
posts/show: fix flash message when faving/unfaving posts.
...
Bug: if you faved a post, then opened another page in a separate tab,
then the "You have favorited this post" flash message would appear in
the separate tab.
Fixes regression in bcaee199 .
2018-08-15 20:14:51 -05:00
Albert Yi
0314dc9751
more consistent behavior of CurrentUser.root_url
2018-08-15 16:08:10 -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
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
Albert Yi
718e641f51
remove similar users report
2018-08-03 17:40:00 -07:00
r888888888
cafd952cc5
fix self check for rec posts
2018-07-21 14:35:24 -07:00
r888888888
344c46ed00
add mock recommender service for development, add user-context recommended posts
2018-07-21 14:02:57 -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
6fb20fca89
bug fixes with storage manager
2018-07-20 14:47:58 -07:00
Albert Yi
abcef9115b
fix tests
2018-07-20 13:52:56 -07:00
Albert Yi
93f52adc81
fixes #3768
2018-07-20 11:51:42 -07:00
Albert Yi
89e2071c14
remove unused code
2018-07-05 16:59:28 -07:00
Albert Yi
cdcd4d4014
Add additional post flag validation preventing targeting
2018-06-26 15:09:39 -07: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
56b40a0255
add iqdb preview
2018-06-22 16:41:13 -07:00
Albert Yi
e262295cf1
support json for iqdb query actions
2018-06-20 11:53:44 -07:00
Albert Yi
28663351d1
fixes #3757
2018-06-20 11:27:49 -07:00
Albert Yi
56ee44dc00
fixes to iqdb queries
2018-06-20 10:00:05 -07:00
Albert Yi
ed46e575c0
support url/post_id params on iqdb queries endpoint
2018-06-19 17:06:17 -07:00
Albert Yi
9510dead9f
refactor iqdb query support
2018-06-19 14:16:12 -07:00
Albert Yi
0e6c358701
add drag and drop file uploads w/async processing
...
[skip ci]
2018-06-14 17:52:41 -07:00
Albert Yi
fdd7582fb0
add support for upload preprocessing
2018-06-14 17:52:41 -07:00
Albert Yi
c75f520055
fixes #3730
2018-06-05 14:48:09 -07:00
Albert Yi
c1725f6dc0
eliminate artist undelete action on controller
2018-06-05 13:16:28 -07:00
Albert Yi
dd6848912c
change render nothing calls to head ok
2018-06-04 10:18:52 -07:00
r888888888
4739c45da0
fixes #3729
2018-05-26 13:13:07 -07:00
Albert Yi
3f40929ca1
fixes #3723
2018-05-24 10:18:16 -07:00
Albert Yi
bf9e5123a9
make tag autocomplete endpoint expiry dynamic
2018-05-23 12:57:13 -07:00
Albert Yi
da34c95da5
add expiry parameter
2018-05-22 14:57:46 -07:00
Albert Yi
72d72fd3d0
eliminate usage of localstorage to cache tag autocomplete results ( fixes #3543 )
2018-05-17 09:54:37 -07:00
Albert Yi
a0aa2f3f4a
fixes #3276
2018-05-15 14:30:28 -07:00
Albert Yi
72f319ccf3
rename lambda references to use shorthand syntax
2018-05-10 11:18:02 -07:00
Albert Yi
320f1a426e
fixes #3704
2018-05-10 10:20:51 -07:00
Albert Yi
519769d951
fixes #3706
2018-05-10 10:09:52 -07:00
Albert Yi
99012ff342
fix tests
2018-05-09 11:59:51 -07:00
evazion
7c1d5e25fb
post approvals: add index page + search options ( fix #3579 ).
2018-05-05 14:00:49 -05:00
evazion
7e99a1b38b
artist commentary form: add partial_commentary checkbox.
...
Add a checkbox for adding/removing the partial_commentary tag in the
artist commentary form.
ref: https://danbooru.donmai.us/forum_topics/15101 .
2018-04-29 22:05:59 -05: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
evazion
6b4a345378
rails 5: replace redirect_to :back with redirect_back
...
ref: https://blog.bigbinary.com/2016/02/29/rails-5-improves-redirect_to_back-with-redirect-back.html
2018-04-28 12:24:36 -05:00
evazion
c9f35cbacc
tag alias corrections: fix ActionView::Template::Error exception ( #3668 ).
2018-04-27 00:17:14 -05:00
evazion
f7a44ae8dd
Fix redirect in "disable responsive mode" link.
2018-04-26 21:31:53 -05:00
Albert Yi
f2b525a6d2
Implement forum topic voting and tag change pruning ( #3580 )
2018-04-26 15:31:06 -07:00
Albert Yi
eddc789df2
fix js bugs
2018-04-26 15:01:57 -07:00
Albert Yi
990d625ae3
reset unread dmail count when using mark all as read ( #3574 )
2018-04-26 11:47:07 -07:00