Albert Yi
95ab227b09
upgrade jquery-ui to 1.12, move to cdn
2018-04-26 14:49:33 -07: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
evazion
83b96b4f3f
Fix #3652 : URL addons stripped when comments are created/edited.
2018-04-18 23:58:35 -05:00
evazion
5082a25321
uploads.js: fix call to $.unique (deprecated as of jQuery 3.0)
2018-04-18 19:02:17 -05:00
evazion
7d295a11d0
fixup! Fix #3654 : Deviantart commentaries fail fetching.
2018-04-18 19:01:33 -05:00
evazion
c4ae2bd2fa
Fix #3654 : Deviantart commentaries fail fetching.
2018-04-18 18:44:56 -05:00
evazion
9cafffd20a
/user_upgrade/new: fix broken account upgrade link.
...
ref: https://danbooru.donmai.us/forum_posts/145267
2018-04-18 10:34:41 -05:00
Albert Yi
e9dc4a397e
switch to jquery 3.3.1 on cdn
2018-04-17 16:32:50 -07:00
Albert Yi
34d9cc6d57
fixes #3648
2018-04-17 16:28:17 -07:00
evazion
0f883e7009
Fix #3649 : Replace highlighting of "photoshop" with "third-party_edit" in modqueue.
2018-04-17 17:19:18 -05:00
evazion
17aabaca29
modqueue: move quality warning tags into config file.
2018-04-17 17:15:06 -05:00
evazion
41eba9d6b4
Move stylesheets/erb/* to stylesheets/specific/erb/*.
2018-04-17 16:55:52 -05:00
evazion
9b6136fb55
Fix missing parameter exception in /user_feedbacks/new.
...
ref: https://danbooru.donmai.us/forum_topics/9127?page=233#forum_post_145227
2018-04-17 10:23:55 -05:00
Albert Yi
9957c4c0e2
fixes #3644
2018-04-16 16:43:51 -07:00
Albert Yi
1c88587c55
fixes null uid field error for #3645
2018-04-16 16:41:46 -07:00
Albert Yi
97dd0680df
remove download query from post file size link
2018-04-16 16:41:46 -07:00
Albert Yi
2f142ab1aa
Merge pull request #3643 from evazion/fix-3642
...
Fix #3642 : Issues with sequential pagination
2018-04-16 16:16:22 -07:00
evazion
e49e6f49bb
Fix #3641 : Can't add tags via Add Commentary dialog.
2018-04-16 12:12:28 -05:00
evazion
2c46191f99
artists: fix edit form fields not being prefilled.
...
* Fix the artist URLs field not being prefilled when clicking
"Create new artist" in the "Fetch source data" box.
* Fix the artist name field not being prefilled when clicking
"Create new artist entry" on the /artists/show_or_new?name=<name> page.
2018-04-14 21:26:45 -05:00
evazion
d42ef7d7dc
Fix #3642 : Issues with sequential pagination.
...
As of Rails 5, overriding `to_a` on an ActiveRecord collection does
nothing. We need to override `records` instead.
ref: cdd45fa09d
2018-04-14 10:56:20 -05:00
evazion
074b66bf27
pagination: prefer extending over `extend.
...
The `extending` method is the preferred way to add methods to an ActiveRecord collection.
* http://api.rubyonrails.org/classes/ActiveRecord/QueryMethods.html#method-i-extending
* https://ruby-doc.org/core-2.5.0/Object.html#method-i-extend
2018-04-14 10:56:16 -05:00
evazion
d2e2b3d2b1
pagination: add paginator tests.
2018-04-14 10:56:16 -05:00
evazion
5c94c0cefe
Fix #3640 : Can't undo votes.
2018-04-13 22:50:13 -05:00
evazion
d66df41b58
Revert "common.js: show error on ajax failures." ( #3640 )
...
This reverts commit ad66b8abc9 .
2018-04-13 22:50:03 -05:00
evazion
302994e5d9
Fix #3639 : Favorite count pixiv tags aren't skipped by translated tags.
2018-04-13 22:39:52 -05:00
Albert Yi
f2adbba241
switch postarchive to use belongs_to_updater ( fixes #3629 )
2018-04-13 12:29:48 -07:00