Albert Yi
|
6e11dc762b
|
disable count weighting for fuzzy search (#3854)
|
2018-09-04 13:00:24 -07:00 |
|
Albert Yi
|
4a56f8d160
|
fixes #3856 for pixiv fanbox urls
|
2018-09-04 12:53:58 -07:00 |
|
Albert Yi
|
e695cdde75
|
add a default for image_url on Sources::Strategies#canonical_url
|
2018-09-04 11:35:33 -07:00 |
|
Albert Yi
|
b0bd20c436
|
fixes #3855
|
2018-09-04 11:34:46 -07:00 |
|
r888888888
|
49150c0166
|
disable fuzzy tag autocomplete for testing, switch to word similarity
|
2018-09-03 18:08:45 -07:00 |
|
evazion
|
e37844303d
|
deviantart: take artist name from url when unavailable from API.
In some cases we can't get the artist name from the API, either because
we can't do the API call because the url doesn't contain a deviation id,
or because the work is deleted:
* http://fc08.deviantart.net/files/f/2007/120/c/9/cool_like_me_by_47ness.jpg (work: http://fav.me/dwcohb)
* https://pre00.deviantart.net/423b/th/pre/i/2017/281/e/0/mindflayer_girl01_by_nickbeja-dbpxdt8.png (work: http://fav.me/dbpxd58)
Switch to taking the artist name from the url (when present) to deal
with these cases. Fixes the artist finder and the artist url normalizer
to work in this situation.
|
2018-09-03 18:27:01 -05:00 |
|
evazion
|
8f87fb90d9
|
deviantart: handle urls without deviation ids (fix #3864)
Some older URL formats don't contain the deviation id:
* http://fc08.deviantart.net/files/f/2007/120/c/9/Cool_Like_Me_by_47ness.jpg
* http://pre06.deviantart.net/8497/th/pre/f/2009/173/c/c/cc9686111dcffffffb5fcfaf0cf069fb.jpg
In these cases we can't make the API call. Fix failures due to not being
able to do API calls in this situation.
Also fix canonical_url to use the image_url when it contains the
deviation id, or the page_url when it doesn't.
Finally, fix page_url to use the url from the API instead of the raw url
given by the user, so that it's in a consistent form for canonical_url.
|
2018-09-03 18:26:45 -05:00 |
|
evazion
|
316acead16
|
deviantart: fix error when uploading image belonging to deleted work.
|
2018-09-02 23:09:40 -05:00 |
|
evazion
|
2d1b1311d6
|
deviantart: fix sample urls not being rewritten to full size urls.
|
2018-09-02 23:09:29 -05:00 |
|
evazion
|
807c3dd5f4
|
deviantart: remove obsolete image sample rewrite rules.
Remove rewrite rules for these types of sample urls:
* http://th00.deviantart.net/fs71/PRE/f/2014/065/3/b/goruto_by_xyelkiltrox-d797tit.png
* http://th04.deviantart.net/fs70/300W/f/2009/364/4/d/Alphes_Mimic___Rika_by_Juriesute.png
These URLs aren't served to users any more, and just stripping out "PRE"
or "200H" isn't sufficient to get the full size image. In general, an
api call is required to find the full size image url.
|
2018-09-02 14:49:58 -05:00 |
|
evazion
|
b9ed676bfb
|
deviantart: handle origin-orig.deviantart.net urls.
|
2018-09-02 13:57:15 -05:00 |
|
evazion
|
d693f01dde
|
Fix #3859: Related tag and find artist don't run when fetch data fails.
Fixes an exception in the artist finder caused by searching for a nil profile_url.
|
2018-09-01 11:48:42 -05:00 |
|
evazion
|
736c22c3ce
|
pixiv: fix fetch source data failing on fanbox images.
ref: https://danbooru.donmai.us/forum_posts/150000
|
2018-08-31 00:21:03 -05:00 |
|
evazion
|
c689a161f6
|
pixiv: fix failure when normalizing pixiv stacc artist urls (#3856).
|
2018-08-30 19:24:44 -05:00 |
|
evazion
|
a68d12bd45
|
autocomplete: fix case sensitivity (#3854).
ref: https://github.com/r888888888/danbooru/issues/3854#issuecomment-417366253:
|
2018-08-30 17:38:29 -05:00 |
|
Albert Yi
|
9206a60760
|
Merge pull request #3852 from evazion/fix-twitter-direct-url
Twitter: fix handling of direct image urls without a referer url.
|
2018-08-29 17:32:54 -07:00 |
|
evazion
|
6c94047556
|
Sources::Strategies::Twitter#profile_url: fix case when url is a profile url.
|
2018-08-29 19:29:16 -05:00 |
|
Albert Yi
|
48f2a79d13
|
fix artist url spec and bug with nicoseiga strategy not recognizing urls
|
2018-08-29 17:14:36 -07:00 |
|
evazion
|
a1044dbc19
|
twitter: fix handling of direct image urls without a referer url.
|
2018-08-29 17:14:57 -05:00 |
|
Albert Yi
|
55cbef52e4
|
add default source when creating posts from uploads in case canonical url doesn't exist
|
2018-08-29 14:21:39 -07:00 |
|
Albert Yi
|
eac5a57c0b
|
implement Sources::Strategies::Null#artist_name
|
2018-08-29 14:05:44 -07:00 |
|
evazion
|
bf19ea3bd1
|
twitter: fix typo in ASSET regex (#3850).
|
2018-08-29 15:09:36 -05:00 |
|
Albert Yi
|
512629b1d5
|
Merge pull request #3847 from r888888888/intelligent-autocomplete
Intelligent autocomplete
|
2018-08-29 11:15:39 -07:00 |
|
Albert Yi
|
66e413b540
|
Adds fuzzy string matching and prefix matching
|
2018-08-28 16:41:52 -07:00 |
|
Albert Yi
|
31df8d9f87
|
add inactive approver pruner
|
2018-08-28 15:02:03 -07:00 |
|
Albert Yi
|
452413a80e
|
eliminate monthly janitor trial messages
|
2018-08-28 14:58:00 -07:00 |
|
Albert Yi
|
68c30961ac
|
Merge pull request #3805 from r888888888/refactor-sources
Refactor sources
|
2018-08-28 12:13:15 -07:00 |
|
evazion
|
6ff70c5002
|
mod actions: separate account upgrades from promotions (fix #3841)
|
2018-08-26 11:12:04 -05:00 |
|
evazion
|
2cdd022c37
|
Fix #3837: Remove expired bans.
|
2018-08-24 16:49:34 -05:00 |
|
Albert Yi
|
762dc3da24
|
Refactor sources
|
2018-08-24 12:10:51 -07:00 |
|
Albert Yi
|
d8a6cee244
|
Merge pull request #3832 from evazion/feat-modqueue-metatags
Add status:<unmoderated|modqueue>, disapproval:<type> metatags
|
2018-08-23 13:53:33 -07:00 |
|
evazion
|
85ae2cda0d
|
optimization: prefer relation.none over relation.where("false")
Using `relation.none` instead of `relation.where("false")` avoids an sql query.
|
2018-08-23 15:21:51 -05:00 |
|
evazion
|
4f02c7f70a
|
search: add status:modqueue, status:unmoderated metatags.
* status:modqueue = ~status:pending ~status:flagged
* status:unmoderated = status:modqueue -user:self -approver:self -disapproval:any
|
2018-08-23 14:48:39 -05:00 |
|
evazion
|
89c4fe150a
|
search: add disapproval:<any|none|disinterest|poor_quality|breaks_rules> metatag.
|
2018-08-23 14:08:02 -05:00 |
|
evazion
|
083c537abf
|
Fix #3769: Favgroup search negation doesn't work as expected.
|
2018-08-22 17:33:23 -05:00 |
|
evazion
|
9a0f37e359
|
Fix #3715: Provide any/none modifiers for pixiv: metatag
|
2018-08-22 00:25:38 -05:00 |
|
evazion
|
3af82de596
|
Partial fix for #3719: Certain commentaries not parsed correctly
|
2018-08-20 23:18:26 -05:00 |
|
evazion
|
e4286632f5
|
Fix #3826: Upload error: Could not parse output from FFProbe
|
2018-08-19 18:22:49 -05:00 |
|
Albert Yi
|
0314dc9751
|
more consistent behavior of CurrentUser.root_url
|
2018-08-15 16:08:10 -07:00 |
|
Albert Yi
|
80e0ae6a3c
|
hide detailed exception info in upload status (#3804)
|
2018-08-07 13:05:06 -07:00 |
|
r888888888
|
660cd6ce62
|
export blacklist, comment, dtext, postmodemenu, and note javascripts (#3795)
|
2018-08-04 17:13:26 -07:00 |
|
r888888888
|
9c5df3206d
|
cleanup comments
|
2018-08-04 16:33:18 -07:00 |
|
r888888888
|
334d8b7c6f
|
Add alt_source field on uploads to deal with twitter galleries
|
2018-08-04 16:32:15 -07:00 |
|
Albert Yi
|
718e641f51
|
remove similar users report
|
2018-08-03 17:40:00 -07:00 |
|
Albert Yi
|
ea4e7f1970
|
Expire unused aliases and implications after 2 years of inactivity
|
2018-08-01 16:54:48 -07:00 |
|
Albert Yi
|
6ce8c72053
|
assign after source url for uploads
|
2018-07-31 10:10:50 -07:00 |
|
Albert Yi
|
135b97d511
|
additional fixes for deviantart artist search (#3771)
|
2018-07-27 12:31:26 -07:00 |
|
Albert Yi
|
7753461f6f
|
don't overwrite upload source with downloaded source
|
2018-07-26 18:34:00 -07:00 |
|
Albert Yi
|
77854349e5
|
testing
|
2018-07-26 18:11:19 -07:00 |
|
Albert Yi
|
e620abad08
|
add checks for width=640 and width=500h in tumblr rewriter (#3732)
|
2018-07-24 16:42:30 -07:00 |
|