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
evazion
907881aced
post tooltips: increase delay, constraint height, condense tags ( #3666 ).
...
* Increase hover delay to 450ms.
* Set max height and add scrollbars for long tag lists.
* Condense tag list (don't put categories on separate lines).
2018-04-27 13:55:14 -05:00
Albert Yi
0b20648f1f
rename jquery qtip css to scss
2018-04-27 11:41:13 -07:00
evazion
d731ec4393
Fix #3673 : Autocomplete: hide menu after hitting space.
2018-04-27 13:24:23 -05:00
evazion
c398c8fff6
autocomplete: trigger completion for metatags after typing colon ( #3558 )
...
When completing metatags (e.g. `rating:safe`), show completions
immediately after typing the colon (`rating:`), instead of after the
first letter (`rating:s`).
2018-04-27 01:22:26 -05:00
evazion
2f1d185c3e
/posts.json: add is_favorited attribute ( #3633 )
...
ref: https://github.com/r888888888/danbooru/issues/3633#issuecomment-384863568 .
2018-04-27 00:48:53 -05:00
evazion
6ab58104d4
jquery: fix obsolete use of load.
...
ref: https://jquery.com/upgrade-guide/3.0/#breaking-change-load-unload-and-error-removed
2018-04-27 00:38:46 -05:00
evazion
3ef23faae2
Fix #3669 : Normalize mobile.twitter.com sources.
...
* Normalize sources to https://twitter.com/#{artist_name}/status/#{status_id} after upload.
* Make fetch source data use screen name instead of display name for the artist name.
2018-04-27 00:36:13 -05:00
evazion
c9f35cbacc
tag alias corrections: fix ActionView::Template::Error exception ( #3668 ).
2018-04-27 00:17:14 -05:00
evazion
63a29247b2
post tooltips: disable on pool/favgroup order pages.
...
Disable to avoid tooltips appearing while trying to drag and drop.
2018-04-27 00:08:21 -05:00
evazion
72664e0105
saved searches: fix broken query/label autocomplete.
2018-04-26 23:55:13 -05:00
evazion
a49cb1c105
jquery: fix obsolete uses of success ( #3548 ).
2018-04-26 23:53:49 -05:00
evazion
f7748a2ed7
jquery-ui: fix font color in notice boxes ( #3671 ).
2018-04-26 23:28:00 -05:00
evazion
dd2abeb180
jquery-ui: fix autocomplete menu styling ( #3671 ).
...
* Wrap menu items in a div.
* Replace ui-state-focus with ui-state-active.
* Make active items have a grey background.
ref: http://jqueryui.com/upgrade-guide/1.12/#require-wrappers-for-each-menu-item
ref: http://jqueryui.com/upgrade-guide/1.12/#use-consistent-styling-for-focused-and-active-items
2018-04-26 23:18:00 -05:00
evazion
a11dbb9186
jquery-ui: fix fonts in dialog boxes ( #3671 ).
...
Fix the default jquery-ui theme overriding our body font with Arial.
2018-04-26 23:13:21 -05:00
evazion
36b819fdf8
notes.js: fix deprecated dialogClass option.
...
ref: http://jqueryui.com/upgrade-guide/1.12/#dialog
2018-04-26 22:11:17 -05:00
evazion
87c6698d55
sources.js: remove (dead code).
2018-04-26 21:33:28 -05:00
evazion
f7a44ae8dd
Fix redirect in "disable responsive mode" link.
2018-04-26 21:31:53 -05:00
Albert Yi
e29f73ac31
include top tagger info in post tooltip, add box shadow css
2018-04-26 15:56:42 -07:00
Albert Yi
87f0adfda3
Merge pull request #3655 from r888888888/expire-burs
...
Implement BUR pruning
2018-04-26 15:43:54 -07:00
Albert Yi
f2b525a6d2
Implement forum topic voting and tag change pruning ( #3580 )
2018-04-26 15:31:06 -07:00
Albert Yi
45fad069d7
Merge branch 'master' of github.com:r888888888/danbooru
2018-04-26 15:30:14 -07:00
Albert Yi
eddc789df2
fix js bugs
2018-04-26 15:01:57 -07:00
Albert Yi
95ab227b09
upgrade jquery-ui to 1.12, move to cdn
2018-04-26 14:49:33 -07:00
evazion
ed2b89a947
post tooltips: temp fix for jquery-ui 1.11 incompatibility.
...
ref: https://github.com/r888888888/danbooru/pull/3666#issuecomment-384775144
2018-04-26 15:49:14 -05:00
Albert Yi
990d625ae3
reset unread dmail count when using mark all as read ( #3574 )
2018-04-26 11:47:07 -07:00
Albert Yi
9aafc344fa
Merge pull request #3666 from evazion/fix-3664
...
Fix #3664 : Highlight non-gentags in post tooltip
2018-04-26 11:40:59 -07:00
Albert Yi
8b98e9e009
additional tests to look for causes of incorrect post count on pools ( #3667 )
2018-04-26 11:14:01 -07:00
Albert Yi
4b6019d6ad
fixes #3668
2018-04-26 10:25:24 -07:00
evazion
bb3c88dbc8
thumbnails: replace browser tooltips with qtip2 tooltips ( #3664 ).
2018-04-25 23:06:11 -05:00
evazion
e772de40a7
posts: add /posts/{id}.html?variant=tooltip template.
2018-04-25 22:12:26 -05:00
evazion
f2998585e9
tag_set_presenter: refactor inline_tag_list_html.
...
* Sort tags by category in inline tag lists (on /comments page, /uploads page, and modqueue).
* Move tags css to common/erb/tags.scss.erb.
2018-04-25 22:12:10 -05:00
evazion
442964b0eb
tag_set_presenter: refactor split_tag_list_html.
...
* Make category headers optional.
* Make category order configurable.
* Clean up code.
2018-04-25 22:12:10 -05:00
Albert Yi
c4a4394ea0
update gems ( fixes #3665 )
2018-04-25 14:35:52 -07:00
Albert Yi
b0a3f574ed
fixes #3574
2018-04-25 14:31:11 -07:00
Albert Yi
af3404b087
switch to cdnjs for hosted jquery ( #3663 )
2018-04-24 11:33:06 -07:00
evazion
fdd5ea3e78
Fix #3661 : Account upgrade page directs to dead link instead of correct safebooru page.
2018-04-22 01:02:38 -05:00
evazion
8fb72ffcaf
Fix #3660 : Resize-to-fit broken for previews on upload page.
2018-04-20 21:26:06 -05:00
Albert Yi
f3e62f43ba
Merge pull request #3658 from evazion/fix-3657
...
Fix #3657 : Add improvements to the uploads interface
2018-04-20 16:03:39 -07:00
evazion
c9acbbdf9e
uploads: revamp /uploads listing UI ( #3657 ).
...
* Add thumbnails.
* Colorize tags.
* Rearrange columns.
* Add rating/source/size/dimensions info.
* Add "»" search drilldown links.
2018-04-20 15:52:09 -05:00
evazion
e6ce05eb29
uploads: add more search options for /uploads listing ( #3657 ).
2018-04-20 15:51:56 -05:00
evazion
ff4616e7b2
uploads: add upload-specific secondary links.
2018-04-20 15:51:56 -05:00
evazion
8083c7daae
uploads: fix batch upload page to work without bookmarklet.
...
* Add a form to the /uploads/batch page so that it can be used without
the bookmarklet.
* Fix an exception when no url is given.
2018-04-20 15:51:56 -05:00
Albert Yi
503e8adf69
Merge pull request #3524 from evazion/feat-hsts
...
Fix #3522 : Enable HSTS
2018-04-19 09:41:43 -07:00
evazion
09462aefeb
Fix #3522 : Enable HSTS.
2018-04-19 01:39:46 -05:00
evazion
2fd91bfa20
Load danbooru_default_config.rb earlier.
...
Load danbooru_default_config.rb inside application.rb instead of in an
initializer so that it's available as soon as possible.
2018-04-19 00:49:50 -05:00
evazion
d70a0a64bd
Remove controller-level force_ssl checks.
...
Obsoleted by force_ssl being globally enabled by default.
2018-04-19 00:49:50 -05:00
evazion
c50ad41792
nginx.danbooru.conf: fix X-Forwarded-Proto.
...
Sending `http` is wrong, it causes a redirect loop if HSTS is enabled.
2018-04-19 00:45:55 -05:00
evazion
909c9aad5a
Fix user id cache expiration.
...
Use a delayed job instead of a HTTP request to invalidate the user id
cache on both servers.
2018-04-19 00:45:51 -05:00
evazion
e16ae00efc
Fix hardcoded http:// urls.
2018-04-19 00:45:10 -05:00