Moebius-Strip
fee9acc8a7
Remove favorites meta tag
...
Remove the favorites meta tag due to privacy concerns and the fact that it's no longer required.
2018-05-09 09:56:34 -07:00
Moebius-Strip
68e48e3b81
Simplify favorites link JS
...
Make use of the "is favorited" data to determine if the post is favorited instead of relying on the entire list of favorites.
2018-05-09 09:56:34 -07:00
Albert Yi
3b8a1703ff
Merge pull request #3701 from evazion/fix-3579
...
Fix #3579 : Add post approval index
2018-05-07 17:36:41 -07:00
Albert Yi
23bef55632
Merge pull request #3700 from evazion/fix-3659
...
Fix uploads getting stuck in 'processing' state (fix #3659 )
2018-05-07 17:36:03 -07:00
Albert Yi
3d3bae1228
Merge pull request #3697 from evazion/fix-3696
...
Fix #3696 : API: handle boolean params consistently
2018-05-07 17:35:29 -07:00
evazion
a22bf20230
post tooltips: add header bar with more post info.
...
Add a header bar containing the following information:
* Uploader + top tagger + upload date
* Score, favorite count, comment count
* Rating
* Source (Pixiv, Twitter, etc)
* Image dimensions
Also list series pools with tags.
2018-05-07 13:18:22 -05:00
evazion
27ca4f7cb1
post tooltips: reduce width/height, increase delay.
2018-05-07 13:18:22 -05:00
evazion
e8f5d8d8c2
site map: add approvals index, move post events to own section.
2018-05-05 14:00:58 -05:00
evazion
bfecbffb97
post approvals: add to post events page.
2018-05-05 14:00:58 -05:00
evazion
7c1d5e25fb
post approvals: add index page + search options ( fix #3579 ).
2018-05-05 14:00:49 -05:00
evazion
181a906766
Fix #3695 : Bookmarklet breaks on pixiv fanbox direct image links.
2018-05-05 12:21:11 -05:00
evazion
c584ca5b19
Fix uploads getting stuck in 'processing' state ( fix #3659 ).
...
Bug: if an upload timed out while downloading the file, Upload#process!
would catch the error and attempt to retry, but since the upload was
already in the 'processing' state, on the second try `process!` would
bail out immediately and leave the upload stuck in the 'processing' state.
Fix: remove the retry logic from Upload#process!. Let Downloads::File#download!
(which had its own retry logic) handle it instead.
2018-05-05 11:42:40 -05:00
evazion
0836e4b850
tests: fix upload tests.
...
Fix some uploads tests that got mixed up when merging abce4d2 (see also d089be9 ).
2018-05-05 11:20:21 -05:00
evazion
59ab9820b0
tests: fix FactoryGirl reference.
2018-05-03 20:37:23 -05:00
evazion
216d735f24
Fix #3696 : API: handle boolean params consistently
...
* Use ApplicationRecord#attribute_matches to handle boolean attributes
consistently in search methods.
* Add support for searching various boolean attributes that previously
weren't supported.
2018-05-03 19:57:14 -05:00
evazion
c7492343ce
String: add truthy? & falsy? core extensions.
...
* Add `truthy?` and `falsy?` core extensions to String.
* Use `truthy?` and `falsy?` to replace ad-hoc parsing of boolean
parameters in various places.
2018-05-03 19:57:14 -05:00
evazion
96669ca4b5
Fix #3694 : Favgroup UX issues.
2018-05-03 00:53:42 -05:00
Albert Yi
12a8c0db70
install software-properties-common package before trying to use apt-add-repository
2018-05-01 14:21:10 -07:00
Albert Yi
0337501316
copy evazion's travis.yml config
2018-05-01 10:43:38 -07:00
r888888888
154f65f380
add travis.yml
2018-04-30 12:00:27 -07:00
r888888888
0d6cf961a8
disable js compression on staging
2018-04-30 11:34:21 -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
80f8a7fee4
post tooltips: add disable button inside tooltip.
2018-04-30 02:20:06 -05:00
evazion
1d14885bd5
post tooltips: reduce width/height, grey out unless hovered.
2018-04-30 02:20:06 -05:00
evazion
93471c99c9
post tooltips: position tooltips above thumbnail.
2018-04-30 02:20:06 -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
21431892e8
post tooltips: increase delay 33%, remove gaps between tags.
2018-04-29 12:09:09 -05:00
evazion
47677aedf0
post tooltips: make scrollbar thinner.
2018-04-29 11:41:41 -05:00
evazion
862b1bc4c8
post tooltips: don't show if lost focus during ajax call ( #3689 ).
...
Fix the tooltip appearing and getting stuck when the user mouses out
during the ajax request.
2018-04-29 01:58:39 -05:00
evazion
57203727b6
post tooltips: hide on keypresses ( #3689 ).
2018-04-29 00:17:56 -05:00
evazion
08e25e40c5
post tooltips: disable tooltips on touchscreens ( #3689 ).
...
On phones / tablets, long pressing a thumbnail sends emulated mouse events
that trigger the tooltip. Disable tooltips while touching is active.
2018-04-29 00:05:33 -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
1a29b96579
post tooltips: avoid positioning tooltips offscreen ( #3689 ).
...
ref: http://qtip2.com/plugins#viewport .
2018-04-28 23:49:22 -05:00
evazion
0dcd303546
post tooltips: cache html after first api call ( #3689 ).
...
Avoid triggering the API call each time you hover over the same post.
Overwrite `content.text` to save the results after the first call.
2018-04-28 23:49:03 -05:00
evazion
e5db839e54
post tooltips: hide when clicking thumbnail ( #3689 ).
2018-04-28 22:01:16 -05:00
evazion
603a27f495
related tags: fix deprecation warning in order("count(*) DESC").
...
DEPRECATION WARNING: Dangerous query method (method whose arguments are
used as raw SQL) called with non-attribute argument(s): "count(*) DESC".
Non-attribute arguments will be disallowed in Rails 6.0. This method
should not be called with user-provided values, such as request
parameters or model attributes. Known-safe values can be passed by
wrapping them in Arel.sql(). (called from block in calculate_from_sample
at /home/admin/src/danbooru/app/logical/related_tag_calculator.rb:66)
2018-04-28 22:00:20 -05:00
r888888888
185d4ef81f
split out tag_relationship has_one relationship on forum post to alias/impication ( #3686 )
2018-04-28 19:28:17 -07:00
r888888888
c5de0ca425
clear out menu.bindings on autocomplete lib after search ( #3688 )
2018-04-28 19:10:58 -07:00
r888888888
b0a161b745
remove jquery-ui-autocomplete from compiled app js
2018-04-28 18:38:18 -07:00
r888888888
015aa5abfe
fixes #3686
2018-04-28 17:42:39 -07:00
r888888888
11d7010c92
fix css
2018-04-28 12:00:10 -07:00
evazion
4fd4cbd2a6
twitter: fix tests.
2018-04-28 12:33:05 -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
Albert Yi
36f15daa49
Merge pull request #3683 from evazion/fix-3678
...
Fix #3678 : "Access denied" when adding commentary.
2018-04-27 17:28:23 -07:00
evazion
18c40b0d60
Fix #3678 : "Access denied" when adding commentary.
2018-04-27 18:32:15 -05:00
Albert Yi
d4b1782431
allow more forum posts to be voted on ( fixes #3677 )
2018-04-27 16:18:31 -07:00
Albert Yi
06e7dbb8e4
fixes #3674
2018-04-27 15:48:52 -07:00
Albert Yi
b93b28d049
add email to cronjobs
2018-04-27 15:06:36 -07:00
Albert Yi
72e7f706df
fix scoping bug in dmail
2018-04-27 15:04:27 -07:00
Albert Yi
664a3f02e2
fixes for failed cron maintenance tasks
...
* update rails scripts for 5.2
* system dmails should be scoped to system
* fix broken url generator in forum notices
2018-04-27 15:01:40 -07:00