Albert Yi
|
c768aef5cf
|
add weighting to autocomplete results. include more tag aliases in results, but truncate overall list to 10 matches (#3854)
|
2018-09-04 13:22:33 -07:00 |
|
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 |
|
evazion
|
3bed5f3cf9
|
Fix #3867: Add namespaces to all Javascript events.
|
2018-09-04 12:26:18 -05:00 |
|
evazion
|
c03af7f563
|
posts.js: remove dead search dropdown code.
|
2018-09-04 12:26:18 -05:00 |
|
r888888888
|
49150c0166
|
disable fuzzy tag autocomplete for testing, switch to word similarity
|
2018-09-03 18:08:45 -07:00 |
|
evazion
|
1bfe763182
|
related tags: remove dead #artist-tags-container code.
Dead since 78900c4d3.
|
2018-09-03 19:13:09 -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
|
6fc2d17886
|
Post#normalized_source: normalize da urls to new format (#3771)
|
2018-09-02 11:19: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
|
d6235d6f9e
|
nijie: add canonical url tests.
|
2018-08-31 23:23:15 -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 |
|
BrokenEagle
|
4c85cf4a32
|
Fix #3853: Blacklist minscore is broken.
|
2018-08-30 17:42:21 -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 |
|
r888888888
|
7f85dd27f9
|
use image url for iqdb proxy
|
2018-08-29 20:56:24 -07: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 |
|
Albert Yi
|
64c3bc18a7
|
rename ref and url fields to upload_source and upload_referer_url
|
2018-08-29 16:46:04 -07:00 |
|
Albert Yi
|
692c3ddac8
|
ignore #post_source when autorunning the iqdb search (#3851)
|
2018-08-29 16:20:36 -07:00 |
|
Albert Yi
|
ed050e74b9
|
update iqdb source in uploads js (#3851)
|
2018-08-29 15:15:03 -07:00 |
|
evazion
|
a1044dbc19
|
twitter: fix handling of direct image urls without a referer url.
|
2018-08-29 17:14:57 -05:00 |
|
evazion
|
cd11ae6008
|
upload page: fix fetch source data when not using bookmarklet.
* #upload_referer_url no longer exists, just using #ref works.
* #upload_source defaults to params[:url], so using it instead of #url still works.
ref: https://github.com/r888888888/danbooru/issues/3850#issuecomment-417116385
|
2018-08-29 16:54:03 -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 |
|
Albert Yi
|
ab220f295c
|
search for source/referer in additional elements
|
2018-08-29 14:04:10 -07:00 |
|
evazion
|
bf19ea3bd1
|
twitter: fix typo in ASSET regex (#3850).
|
2018-08-29 15:09:36 -05:00 |
|
evazion
|
a8ae4d3f36
|
Fix #3849: Forum Button in the topbar has broken css
|
2018-08-29 14:29:15 -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 |
|
evazion
|
4f5cb0ba70
|
Post#has_artist_tag: fix "artist tag is required" triggering incorrectly.
Fixes the "Artist tag is required" upload warning to only trigger when
the source is from a first-party site.
|
2018-08-28 18:14:21 -05: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
|
604bfb0923
|
Fix #3846: Subscribed forum posts link to invalid URL in email updates.
Test: http://localhost/rails/mailers/user_mailer/forum_notice
|
2018-08-27 22:04:37 -05:00 |
|
evazion
|
47e26419d3
|
nav menu: add html ids to secondary nav menu links (#3844).
|
2018-08-27 20:57:59 -05:00 |
|
Albert Yi
|
48aad062a0
|
Merge pull request #3845 from evazion/fix-3841
Fix #3841: Make it possible to search for non-paid promotions in mod actions
|
2018-08-27 10:50:44 -07:00 |
|
evazion
|
4e1d76da81
|
html: add controller & action attributes to <body> tag (#3844).
|
2018-08-26 16:02:06 -05:00 |
|
evazion
|
b98bc26397
|
nav menu: add html ids to main menu nav links (#3844).
|
2018-08-26 13:12:41 -05:00 |
|
evazion
|
8ccc238791
|
nav menu: remove duplicate "More »" link.
Remove a second hidden "More »" link from the nav menu. This was
leftover code first added in f2f524b87 and later reverted in 68161f7b8.
|
2018-08-26 13:11:26 -05:00 |
|
evazion
|
6ff70c5002
|
mod actions: separate account upgrades from promotions (fix #3841)
|
2018-08-26 11:12:04 -05:00 |
|
Albert Yi
|
79961c8ed9
|
Merge pull request #3843 from evazion/fix-3842
Fix #3842: Mods can demote other mods or admins.
|
2018-08-25 17:43:06 -07:00 |
|
evazion
|
3dafca9aec
|
Fix #3842: Mods can demote other mods or admins.
|
2018-08-25 13:52:50 -05:00 |
|
evazion
|
0bb787d987
|
Post.pending_or_flagged: fix ambiguous column reference.
Fixes an ambiguous column reference error when searching for
`status:unmoderated` on the comments page:
https://danbooru.donmai.us/comments?group_by=comment&search[post_tags_match]=status:unmoderated
Also removes the `id in (...)` subquery checking whether flagged posts
have a flag from the last week; this is always true.
|
2018-08-25 11:26:00 -05:00 |
|