r888888888
268d0450bc
additional fixed for amazonbackup helper methods
2017-06-05 13:38:10 -07:00
r888888888
2878d1533d
set acl for amazonbackup helper methods
2017-06-05 13:28:39 -07:00
r888888888
e16320a376
fix paths of large sized images on s3 backup
2017-06-05 13:07:51 -07:00
Albert Yi
7f062eb514
Merge pull request #3116 from evazion/fix-artstation-project-urls
...
Fix #3108 : support https://$artist.artstation.com/projects/$id urls
2017-06-05 12:45:44 -07:00
evazion
b3e533f3ff
Add download rewrite for https://$artist.artstation.com/projects/$id .
2017-06-05 14:03:51 -05:00
Albert Yi
c03d625618
Merge pull request #3113 from evazion/fix-forum-stickies
...
Forum topics: don't list sticky topics first in json/atom responses.
2017-06-05 12:03:50 -07:00
evazion
666aaef69c
Add source support for https://$artist.artstation.com/projects/$id .
2017-06-05 14:03:38 -05:00
Albert Yi
eea5fbaab3
Merge pull request #3112 from evazion/fix-edit-mode
...
Fix height of tag edit box in edit mode.
2017-06-05 12:03:37 -07:00
Albert Yi
494ad99aac
Merge pull request #3111 from evazion/fix-3099
...
Fix #3099 : NilClass error for approval API request
2017-06-05 12:03:18 -07:00
Albert Yi
339626e8e1
Merge pull request #3110 from evazion/fix-3109
...
Fix #3109 : Fix autocomplete on intro page
2017-06-05 12:02:56 -07:00
Albert Yi
b750111196
Merge pull request #3107 from BrokenEagle/feat-resize-javascript
...
Resize images for mobile layout
2017-06-05 11:56:27 -07:00
evazion
1d62ea3220
/forum_topics: don't list stickies first in json/atom responses.
2017-06-04 16:14:55 -05:00
evazion
9b31e16627
mode menu: fix height of tag edit box in edit mode.
...
Bug: in edit mode, each time you click a thumbnail the height of the tag
edit box increases by 4px.
This is due to `scrollHeight` including vertical padding. Fix it to a)
ignore this padding, and b) ensure the min height is at least 80px.
2017-06-04 14:02:46 -05:00
evazion
fdf8e7d5d7
Fix mode menu 'approve' option.
...
* Fix routing error in respond_with (didn't use /moderator namespace).
* Fix /moderator/posts/approvals.json response to return full
PostApproval object, not just a success/failure message.
* Simplify the javascript a bit (use $.post instead of $.ajax).
2017-06-04 12:14:35 -05:00
evazion
4fe97a8218
Hide the flags and appeals notices after approving post.
2017-06-04 10:07:42 -05:00
evazion
3880fbe13e
/posts/$id: fix shift+O to approve shortcut.
...
`Danbooru.Post.approve` is used for approving posts via the mode menu.
It doesn't hide all the notices or the approve/disapprove/flag buttons.
Click the link instead to hide those things.
Click the #quick-mod-approve link instead of #approve because #approve
prompts for confirmation.
2017-06-04 10:07:26 -05:00
evazion
6699e9d66f
Fix autocomplete on intro page ( fix #3109 ).
2017-06-04 08:43:51 -05:00
BrokenEagle
6f593de46d
Resize images for mobile layout
2017-06-03 12:52:27 -07:00
evazion
7d8150ae2d
/post_versions, /artist_versions: fix missing spaces between tags/names.
2017-05-31 19:48:42 -05:00
r888888888
09ed1ea720
another bug fix for nico seiga artist url normalization
2017-05-31 15:50:40 -07:00
r888888888
6a706a6b90
fix normalization for nico seiga urls
2017-05-31 15:45:28 -07:00
r888888888
69fd6e6ca1
fixes #3102
2017-05-31 10:58:47 -07:00
r888888888
216ca06fee
fixes #3100
2017-05-30 15:38:01 -07:00
r888888888
1478eff561
fixes #3098
2017-05-30 12:36:07 -07:00
r888888888
6eb5a4c017
fixes #3096
2017-05-30 12:13:08 -07:00
r888888888
3a49b3c54b
include normalized artist url in artist json
2017-05-30 12:01:18 -07:00
Albert Yi
7a3431caaa
Merge pull request #3097 from evazion/fix-mass-update
...
Mass updates: fix exception when moving saved searches.
2017-05-30 11:41:16 -07:00
Albert Yi
2e78542a68
Merge pull request #3095 from evazion/fix-3091
...
Fix #3091 : Inconsistency between pool_string and pool.post_ids.
2017-05-30 11:14:46 -07:00
Albert Yi
acd256fd7b
Merge pull request #3093 from evazion/feat-gen-reltags
...
Fix #3061 : Add "General" button for related tags on new/edit posts.
2017-05-30 11:13:31 -07:00
Albert Yi
5b56596de1
Merge pull request #3092 from evazion/opt-reltags
...
Optimize related tags calculation
2017-05-30 11:12:24 -07:00
evazion
88d14b30ed
mass updates: log modaction after update successfully completes.
2017-05-28 11:56:44 -05:00
evazion
c1a8800bf8
mass updates: fix exception when moving saved searches.
2017-05-28 11:55:05 -05:00
evazion
31b58e17b1
pools: lock pool when adding/removing posts ( fixes #3091 ).
...
Adding a post id to a pool's post_ids string is non-atomic, hence we
must lock the pool to avoid a race condition.
Adding a pool to a post's pool_string is likewise non-atomic, hence we
must lock the post as well.
2017-05-26 18:35:33 -05:00
evazion
a401b1f570
posts: fix nil source tests; fix source:none metatag.
2017-05-26 15:12:39 -05:00
evazion
8f98e8e03c
posts: redefine source column to be non-NULL ( fixes #3090 ).
2017-05-26 13:54:17 -05:00
evazion
3ecee91861
Fix #3061 : Add "General" button for related tags on new/edit posts.
2017-05-26 12:49:59 -05:00
evazion
991d5cbf6d
related tags: optimize calculate_from_sample.
...
calculate_from_sample is called when clicking the General / Artist /
Copyright / Characters buttons during tag editing. Currently it's slow
because it counts up the tags in ruby, and because it makes repeated
calls to memcache in the inner loop when filtering tags by category.
This changes it to do the counting and filtering entirely in SQL using a
GROUP BY tag / COUNT(*) aggregation. This is faster and makes larger
sample sizes more feasible.
2017-05-26 12:41:48 -05:00
r888888888
f38810bd1c
fixes #3086
2017-05-24 15:57:06 -07:00
r888888888
6023abf087
remove delayed job count constraint when calculating related tags ( fixes #3087 )
2017-05-24 15:47:15 -07:00
Albert Yi
fc708db2bd
Merge pull request #3089 from evazion/fix-3081
...
Fix #3081 : ATOM discovery link issues.
2017-05-24 15:38:38 -07:00
evazion
1b03832b26
/forum_topics/$id: fix atom feed discovery link.
...
> Found an issue with the forum topic ATOM discovery link. Currently the
> link is visible to feed detectors, but they are unable to add it since
> the link provided is invalid.
>
> <link rel="alternate" type="application/atom+xml" title="Artist tagging
> help" href="http://danbooru.donmai.us/forum_topics.8199 " />
2017-05-24 16:11:00 -05:00
evazion
ea80d51ecf
/posts/$id: add feed discovery link for comments on post.
2017-05-24 16:10:56 -05:00
evazion
1a52f9db2b
wiki pages: add wildcard support to "other names" search.
2017-05-24 14:59:00 -05:00
Albert Yi
f93cd11fb5
Merge pull request #3085 from evazion/feat-bur-search
...
Add search form to /bulk_update_requests.
2017-05-23 16:55:17 -07:00
evazion
614bf44086
/bulk_update_requests: add search form.
2017-05-23 17:23:32 -05:00
evazion
02b3622f12
api: allow search[*_id] params to accept lists of ids in more places.
2017-05-23 15:45:40 -05:00
evazion
8988f9cde8
/forum_topics.json: add search[id]=<ids> param.
2017-05-23 15:27:15 -05:00
Albert Yi
f510a0d9d2
Merge pull request #3083 from evazion/fix-date-metatag
...
Fix date:, age: metatags to use the index. (fix #672 ).
2017-05-23 11:18:43 -07:00
evazion
3aa405eac1
Post#favorited_by?: fix to cast to a boolean.
2017-05-23 13:12:10 -05:00
evazion
05c6716def
Fix date:, age: metatags to use the index. ( fix #672 ).
2017-05-23 12:59:08 -05:00