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
70e592e823
round similarity score on post presenter
2017-11-21 10:25:12 -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
evazion
f8581c8113
Fix #3321 : HTML tags not converted in artist commentaries.
2017-11-21 02:42:49 -06: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
91147bba88
fix nil error on delayed job index
2017-11-20 16:35:14 -08:00
r888888888
ba517af1db
fix functional tests
2017-11-20 16:30:07 -08: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
r888888888
9d5e4f969f
fix source tests
2017-11-20 12:30:29 -08: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
evazion
fa22e419af
Fix #3385 : Bookmarklet sets wrong source for Tumblr posts
...
Due to missing || operators, for Pawoo/Tumblr/Artstation uploads the
source wasn't changed from the direct image URL to the html page URL
after upload.
2017-11-18 15:44:16 -06:00
evazion
5837b74de4
tumblr: fix exception when fetching source data.
...
Fixes an `undefined method `gsub' for nil:NilClass` exception when fetching source
data for this url:
* /uploads/new?url=https%3A%2F%2Fuiti-ukumo.tumblr.com%2Fpost%2F156157443158%2F2016-12
Bug introduced in 3c524aa5 : `url` wasn't initialized due to `@url = url`
being removed from Sources::Site#initialize.
2017-11-18 15:44:09 -06:00
evazion
f896c24d37
tumblr: fail more gracefully if API key is not configured.
2017-11-18 13:53:11 -06:00
evazion
2422ce036c
tumblr_test.rb: fix test failures.
2017-11-18 13:52:30 -06:00
evazion
22c9cfcec5
Fix #3384 : Fetch commentary not creating fully formed textile links
2017-11-18 13:02:50 -06:00
evazion
6b8bc318b5
deviantart_test.rb: fix test failures.
2017-11-18 13:00:18 -06:00
evazion
05dea309b2
Fix search box rendering above tag edit dialog box ( fix #3383 ).
2017-11-18 09:38:00 -06:00
r888888888
3c524aa5e6
fix bug with source::site
2017-11-17 17:26:33 -08:00
r888888888
c0ddf266fc
move save search button to sidebar
2017-11-17 16:51:38 -08:00
r888888888
f180e1bbe2
add favoriting/unfavoriting indicators for fav button
2017-11-17 16:28:51 -08:00
r888888888
9a3824a87e
fixes #3382
2017-11-17 16:18:59 -08:00
r888888888
e8ff733b3c
clean up stack trace on delayed jobs index
2017-11-17 14:42:48 -08:00
r888888888
42c9c71a5f
fixes #3306
2017-11-17 14:29:59 -08:00
r888888888
015db0467c
addresses #3378
2017-11-17 14:05:12 -08:00
r888888888
31e36cf9eb
remove unused mobile layouts
2017-11-17 13:59:14 -08:00
r888888888
e70c2a3085
remove references to tag subscriptions
2017-11-17 13:45:17 -08:00
Albert Yi
09234dca4f
Merge pull request #3381 from evazion/fix-3323
...
Fix #3323 : Exclude post replacements from Mod Actions
2017-11-17 13:41:33 -08:00
evazion
26679dd7ab
Fix #3323 : Exclude post replacements from Mod Actions.
2017-11-17 13:21:36 -06:00
evazion
93767c3023
Fix post replacement test failure.
2017-11-17 13:21:35 -06:00
evazion
3df404dbd9
Fix #3380 : Change category on Bulk Update Requests are broken.
2017-11-17 12:19:39 -06:00
evazion
07d20f7cf0
Add test for category <tag> -> type bulk update requests.
2017-11-17 12:15:38 -06:00
r888888888
5726bc43dd
add test for PostViewCountService
2017-11-16 16:27:52 -08:00
r888888888
4e9ebbd02e
include creator in bulk revert messages
2017-11-16 14:44:57 -08: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
Albert Yi
058783755d
Merge pull request #3379 from evazion/fix-3377
...
Fix #3377 : Batch bookmarklet doesn't fetch artist/tags from twitter
2017-11-16 12:02:06 -08:00
r888888888
2e0534a66b
fixes #3372
2017-11-16 12:00:54 -08:00
r888888888
2c620f205b
add tests to check if approver/rejector is mentioned in moderated bulk update requests
2017-11-16 11:41:07 -08:00
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