evazion
eeb41d2ffd
twitter: get status id from referer url if not in direct url.
2017-11-16 13:29:58 -06:00
evazion
f633222ef0
twitter: test fetching source data from direct image with referer.
2017-11-16 13:29:58 -06:00
Albert Yi
7d8df00195
Merge pull request #3375 from evazion/feat-3372
...
Fix #3374 : List approver in BUR approval messages
2017-11-16 11:02:18 -08:00
r888888888
5f004b6138
add script for vacuuming
2017-11-15 18:56:19 -08:00
r888888888
351dbb4137
attribute bulk reverts to system user
2017-11-15 17:34:11 -08:00
r888888888
3356ef3457
scope bulk reverts to admin
2017-11-15 17:30:40 -08:00
evazion
3cf753c540
Fix forum_post_id not being saved by alias/implication requests.
...
`forum_post_id` failed to save due to mass-assignment protection.
This caused alias approval messages ("The tag alias foo -> bar (forum #1234 ) has been approved.")
to not include the "(forum #1234 )" bit because the forum id was nil.
2017-11-15 19:12:13 -06:00
evazion
b5d602836c
Don't send @mention dmails when updating forum after approving BURs.
2017-11-15 19:12:13 -06:00
evazion
f2351766c6
Fix #3374 : List approver in BUR approval messages.
2017-11-15 19:12:12 -06:00
r888888888
fee3fee181
ignore timeout for bulk reverts
2017-11-15 17:01:45 -08:00
r888888888
9f90799f27
fix newrelic handler for statement timeouts
2017-11-15 17:00:37 -08:00
r888888888
2da40dfc2b
remove reference to currentuser when processing bulk reverts
2017-11-15 16:48:45 -08:00
evazion
60d5983bb7
aliases/implications: refactor to share approve/reject messages.
2017-11-15 18:32:20 -06:00
r888888888
7dea7eef89
run tag count counters synchronously
2017-11-15 16:29:39 -08:00
evazion
12640a6766
Fix tag alias test failures.
2017-11-15 16:58:58 -06:00
r888888888
e5cc6a7949
use cache for fetching categories
2017-11-15 14:44:36 -08:00
r888888888
071a63e934
lower priority of Tag#update_category_post_counts jobs
2017-11-15 14:16:38 -08:00
r888888888
dba0117b99
when expiring tag cache, only queue work for remote servers
2017-11-15 11:46:52 -08:00
r888888888
9848a26fa9
lower threshold to use cosine similarity algo for related tags
2017-11-15 11:07:12 -08:00
r888888888
1597d77d37
add mutex to prevent redundant related tag updates
2017-11-15 11:07:12 -08:00
Albert Yi
18c8892a74
Merge pull request #3373 from evazion/fix-3368
...
Fix #3368 : "Fetch source data" on /uploads/new doesn't fetch artist tag
2017-11-15 10:58:52 -08:00
Albert Yi
f34d09a465
Merge pull request #3369 from BrokenEagle/fix-post-tagcount
...
Added fix script to update the correct tagcount for all posts
2017-11-15 10:53:27 -08:00
Albert Yi
e79af4c301
Merge pull request #3367 from BrokenEagle/fix-3366
...
Fix upload batch view and related tag script (#3366 )
2017-11-15 10:48:36 -08:00
r888888888
d29f2f6a13
fix bulk revert
2017-11-15 10:13:13 -08:00
evazion
514d4f9c2e
/uploads/new: trigger Fetch source data automatically on source change.
...
On the uploads page, trigger `Fetch source data` automatically when the
user pastes an URL into the source field. Silently ignore invalid URLs
so that we don't trigger spurious errors when the user types in a source
manually.
2017-11-15 10:47:17 -06:00
evazion
60844845e4
Fetch source data: avoid redundant /artist/finder.json call.
...
On the uploads page, don't call /artist/finder.json to find the artist
on page load. Instead have `Fetch source data` fill in the artist using
the `artists` data returned by the `/source.json` call.
2017-11-15 10:45:36 -06:00
evazion
487fe9fb5d
Fetch source data: list Danbooru artist tag; elim duplicated code.
...
* In the `Fetch source data` box, list the Danbooru artist tag(s) that
were found beside the artist name.
* Unify `Fetch source data` code that was duplicated between the
uploads page and the post show page.
2017-11-14 23:29:29 -06:00
evazion
cbd68ac91b
/source.json: do artist lookup and return matches in artists.
2017-11-14 23:28:25 -06:00
evazion
58018aeb2b
artists: move artist finding code from controller to model.
2017-11-14 23:27:47 -06:00
evazion
56bf518e6d
Fix #3371 : Add CSS classes to tag categories in the split tag list.
2017-11-14 19:51:47 -06:00
BrokenEagle
e312ae3d92
Added fix script to update the correct tagcount for all posts
2017-11-14 17:11:18 -08:00
BrokenEagle
dc5fdf6893
TagCategory.header_mapping: fix incorrect comment.
2017-11-14 14:22:41 -06:00
BrokenEagle
63773fed6b
Fixes #3366
2017-11-14 07:39:25 -08:00
evazion
5f39a8b4b2
Fix #3365 : Incorrect tag category counts.
...
`Hash[array]` didn't work because Hash needed to be called as `Hash[*array]`. Or,
more simply, `array.to_h`.
2017-11-13 21:45:12 -06:00
evazion
6d8143a9eb
Fixup typo in 6fbd7c23 ( #3363 ).
...
Fixes accidental clobbering of the `@@categories` variable used by
`TagCategory.categories`.
2017-11-13 20:27:03 -06:00
r888888888
974a770bc6
fixes #3354
2017-11-13 16:41:01 -08:00
evazion
6fbd7c23e1
Fix #3363 : Prevent setting tags to invalid categories.
2017-11-13 16:56:57 -06:00
Albert Yi
40bd313ac4
Merge pull request #3361 from BrokenEagle/fix-3351
...
Change visible/hidden on comments for moderators
2017-11-13 14:56:13 -08:00
r888888888
0cda1a3dcc
disable check for approved bulk update requests
2017-11-13 14:39:36 -08:00
r888888888
63ca4cb24f
add PGError to rescue block
2017-11-13 14:36:40 -08:00
r888888888
f71a7a97bb
disable timeout for testing whether bulk update request has been approved
2017-11-13 14:23:02 -08:00
r888888888
93d1ef1cca
disable timeout on mass_update approval check on admin dashboard
2017-11-13 12:48:23 -08:00
Albert Yi
0674a03fb6
Merge pull request #3353 from BrokenEagle/feat-add-meta-tag-category
...
Migrated tag logic into config file and added fifth tag category meta
2017-11-13 11:44:15 -08:00
Albert Yi
ddcb615365
Merge pull request #3360 from BrokenEagle/fix-localstorage-calculation
...
Fixed issue with pruning calculation in Firefox
2017-11-13 11:43:44 -08:00
r888888888
36948bbf33
move explore links to sidebar, fix popular searches action
2017-11-13 11:14:09 -08:00
BrokenEagle
8445a0c7ad
Differentiate visible/hidden comments for moderators
2017-11-11 20:45:01 -08:00
r888888888
e739dc77d7
fixes #3359
2017-11-10 17:44:53 -08:00
r888888888
546dfda6f3
truncate date to day
2017-11-10 16:28:34 -08:00
r888888888
8b1fca4662
add most viewed posts page
2017-11-10 16:21:01 -08:00
r888888888
6c4eb62957
fix scale reference
2017-11-10 15:59:23 -08:00