evazion
3c6a613964
Fix #3410 : Unable to create a new wiki page.
...
Fix `Post.fast_count(nil)` failing when the user had the "safe mode" or
"deleted post filter" options turned on.
2017-11-29 12:34:07 -06:00
r888888888
49a5b819bd
eliminate ambiguities in pool search
2017-11-22 15:46:30 -08:00
r888888888
483c8ba795
fix ambiguities in artist search
2017-11-22 15:41:50 -08:00
r888888888
060762defa
add service for purging files from cloudflare cache
2017-11-22 13:19:30 -08:00
Albert Yi
051c17953d
Merge pull request #3393 from evazion/feat-safe-mode
...
Fix #3392 : Add safe mode account setting.
2017-11-21 10:55:57 -08:00
Albert Yi
a72f367ad7
Merge pull request #3394 from BrokenEagle/fix-deleted-pools-editable
...
Add additional restrictions on updating deleted pools
2017-11-21 10:48:50 -08:00
r888888888
5c5daeac72
remove unused mobile templates
2017-11-21 10:19:24 -08:00
r888888888
902f657a5d
for video/ugoira, don't render preview if file doesn't exist yet
2017-11-21 10:16:03 -08:00
BrokenEagle
956bd707a5
Add additional restrictions on updating deleted pools
2017-11-20 19:31:11 -08:00
evazion
b3a9cd6c06
Fix Post.fast_count("pool:1537") == 0 (fixup 134958d1).
...
Fixup for a bug in 134958d1 . `Post.fast_count("pool:1537")` still
returned zero because `Tag.is_simple_tag?` incorrectly parsed
"pool:1537" as a simple tag, so Post.fast_count still looked for it in
the tags table and found the empty "pool:1537" tag.
2017-11-20 21:21:36 -06:00
evazion
df7648b581
Fix #3392 : Add safe mode account setting.
2017-11-20 18:59:53 -06:00
r888888888
502f1298a9
fix unit tests
2017-11-20 16:30:07 -08:00
Albert Yi
f11992bd91
Merge pull request #3391 from evazion/fix-3390
...
Fix #3390 : Searching certain metatags results in an empty paginator
2017-11-20 14:23:27 -08:00
evazion
134958d137
Fix #3390 : Searching certain metatags results in an empty paginator
...
Fixes Post#get_count_from_cache to only lookup the count in the tags
table when the search is for a single "simple" tag.
Check memcache when the search is not a simple tag:
* multi-tag searches (touhou rating:s)
* single metatag searches (rating:s, source:"foo bar")
* negated tags (-touhou)
* wildcard tags (*touhou*)
* or searches (~touhou)
2017-11-20 14:41:02 -06:00
Albert Yi
e21f7c14db
Merge pull request #3389 from evazion/fix-3387
...
Fix #3387 : Safebooru: Two tag searches fail for members.
2017-11-20 11:39:50 -08:00
evazion
7034a96048
Purge invalid gentags from tags table ( #3390 ).
...
Purges gentags with invalid names from the tags table. Addresses #3390
(Searching certain metatags results in an empty paginator) by removing
metatags from the tags table.
2017-11-20 12:47:30 -06:00
evazion
9b887c3c3a
Fix #3387 : Safebooru: Two tag searches fail for members.
...
Makes the `rating:s` and `-status:deleted` tags not count against the
tag limit.
2017-11-19 20:58:22 -06:00
evazion
40d0751e83
Fix NoStrategyError during artist url normalization ( #3382 ).
...
Fixes a bug from 9a3824a . When an artist entry is saved, `ArtistUrl.normalize`
is called on every URL, which calls `Sources::Site.new(url)`. This
raised NoStrategyError when an artist entry contained URLs that weren't
recognized by any strategy.
This also caused `Fetch source data` to fail in certain cases when it
attempted to find the artist.
2017-11-19 10:49:30 -06:00
r888888888
e70c2a3085
remove references to tag subscriptions
2017-11-17 13:45:17 -08:00
evazion
26679dd7ab
Fix #3323 : Exclude post replacements from Mod Actions.
2017-11-17 13:21:36 -06:00
evazion
3df404dbd9
Fix #3380 : Change category on Bulk Update Requests are broken.
2017-11-17 12:19:39 -06:00
r888888888
a4c13a7e96
enable vacuum cron task, disable postupdates
2017-11-16 14:29:12 -08:00
r888888888
3ad332ad3d
fix post test
2017-11-16 14:20:32 -08:00
r888888888
73f257ec63
disable manual post count expiration, rely solely on timed expiries ( fixes #3376 )
2017-11-16 13:43:38 -08:00
r888888888
2e0534a66b
fixes #3372
2017-11-16 12:00:54 -08: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
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
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
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
evazion
58018aeb2b
artists: move artist finding code from controller to model.
2017-11-14 23:27:47 -06:00
BrokenEagle
e312ae3d92
Added fix script to update the correct tagcount for all posts
2017-11-14 17:11:18 -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
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
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
BrokenEagle
8445a0c7ad
Differentiate visible/hidden comments for moderators
2017-11-11 20:45:01 -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
BrokenEagle
1e5540f3a0
Moved most of the tag category config logic to the config file
...
-Fixed an unused Post class method (fix_post_counts) that didn't have a parameter
2017-11-06 15:27:54 -08:00
BrokenEagle
9f4daf7d2f
Allow metatag case switch to use regexes
...
- Fix errant tabspaces
2017-11-06 15:27:54 -08:00
BrokenEagle
bdf5912dc9
Reduce tag config variables co-dependency
2017-11-06 15:27:54 -08:00