r888888888
2da40dfc2b
remove reference to currentuser when processing bulk reverts
2017-11-15 16:48:45 -08:00
r888888888
7dea7eef89
run tag count counters synchronously
2017-11-15 16:29:39 -08: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
r888888888
8458c62e8a
eliminate month scale for popular searches (takes up too much space in redis)
2017-11-10 15:40:10 -08:00
r888888888
354247e3c7
disable common searches
2017-11-10 15:26:56 -08:00
r888888888
5e247df8ec
enable view count js globally
2017-11-10 14:37:48 -08:00
r888888888
6431dafa80
use json serializer for message verifier
2017-11-10 14:37:27 -08:00
r888888888
9250dd599d
fix bug with verifier
2017-11-10 14:12:15 -08:00
r888888888
710a5f1abe
fix typo
2017-11-10 14:06:56 -08:00
r888888888
893563cf9a
render view count js on post/show
2017-11-09 16:13:39 -08:00
r888888888
131734f7a6
enable post view count tracking (for mods initially)
2017-11-09 16:10:34 -08:00
BrokenEagle
a591660b01
Fixed issue with $.localStorage returning non-keys in Firefox
2017-11-08 23:15:05 -08:00
BrokenEagle
c9c70bbaa4
Fixed bug with related tag script
2017-11-08 10:23:16 -08:00
Albert Yi
0079e107fa
Merge pull request #3355 from BrokenEagle/fix-3349
...
Disallow a user from seeing flagger's name on own uploads
2017-11-08 10:22:33 -08:00
BrokenEagle
5b4ab8d80e
Disallow a user from seeing flagger's name on own uploads
2017-11-08 00:37:16 -08:00
BrokenEagle
6838901aac
Moved non-config tag category info to its own class
2017-11-07 16:21:29 -08:00