Commit Graph
39 Commits
Author SHA1 Message Date
nonamethanks ffe8f8c92d Add baraag.net support 2021-02-15 13:51:52 +01:00
nonamethanks 5366b0781e Convert pawoo strategy to mastodon 2021-02-15 13:51:49 +01:00
nonamethanks efa20d8e53 Post sidebar: ignore metatags for the tag history link 2021-02-01 19:02:54 +01:00
nonamethanks b3f92dd2c7 Fix gelbooru source normalization 2021-01-03 20:12:40 +01:00
nonamethanks 2423c8a447 Weibo: use proxy for upload previews 2020-12-21 15:28:28 +01:00
nonamethanks 3801e08ae6 Update pixiv url matching tests 2020-12-16 13:53:16 +01:00
nonamethanks 25682ebf46 Blacklist baraag.net root from artist finder 2020-12-16 13:43:50 +01:00
nonamethanks 6b966689b0 Blacklist pixiv en urls from artist finder 2020-12-16 13:42:25 +01:00
nonamethanks 26a6335c41 Uploads: get rid of same-source existence check
Remove the lines that checked for existing upload with the same source.
These lines were breaking replacements in many cases, so we had to
always empty the post's source before replacing, and they served no
purpose since the md5 check already catches duplicate uploads.
2020-12-14 16:41:06 +01:00
nonamethanks 7464446f64 Post replacements: fix replacement message
It's incorrect to say that a new image was used, since we also host
videos. See for example https://danbooru.donmai.us/posts/3114352
2020-12-09 10:01:24 +01:00
nonamethanks 4070354322 Return empty search for ordfav of fake user 2020-12-04 01:03:34 +01:00
nonamethanks 32f4cb1236 Fix blog.fc2 urls matching wrong artists 2020-12-04 00:17:02 +01:00
nonamethanks 04c8a9ebba Users: show appeal link and count to everyone 2020-08-17 13:55:52 +02:00
nonamethanks e3fd3f42cc Nijie: Add doujin support 2020-08-15 09:29:29 +02:00
nonamethanks 5615719218 Tumblr: support highest res for new image urls 2020-08-14 01:23:27 +02:00
nonamethanks 7c03f0d6c9 Copy annotation tags when copying notes 2020-08-12 06:21:50 +02:00
nonamethanks bc8fc1839f Upload limit: don't display progress when maxed out 2020-08-11 04:24:16 +02:00
nonamethanks 9a7a1e20ca Add fanbox support 2020-08-09 00:21:57 +02:00
nonamethanks 76b0380927 Nijie: fix login
Fixes a regression in 6e6ce6e62f
2020-07-31 23:26:35 +02:00
nonamethanks cc5037d835 Post unbans: fix typo 2020-07-25 12:47:48 +02:00
nonamethanks 3179509791 Uploads: Check if strategy is enabled before use
Avoid returning bare API tracebacks from pixiv et al when login details
are not configured, and instead raise a generic error.
2020-07-11 04:56:46 +02:00
nonamethanks 79a59e52ec Twitter: don't get api without a status id 2020-06-20 15:08:49 +02:00
nonamethanks 0a396c8b95 Revert "Pixiv: don't blacklist digital tools"
This reverts commit e83d07ea7b.

It was worth a try, but unfortunately it seems that once
someone sets tools in a Pixiv upload, they become defaults and
are applied to all of their subsequent uploads, so we get some
posts with two or three different digital tags.
2020-06-19 08:08:46 +02:00
nonamethanks 8a06d3a744 Zerochan: Normalize png links 2020-06-18 08:07:45 +02:00
nonamethanks 7a41ee9c34 Add NewGrounds support 2020-06-18 03:22:30 +02:00
nonamethanks c23fee846f Add more tags to post replacements filtering and modqueue
highlighting.
2020-06-17 07:28:22 +02:00
nonamethanks 5b186f3072 Support for new nicoseiga cdn domain 2020-06-15 04:01:34 +02:00
nonamethanks 6fc4d3ec44 Nicoseiga: Add support for drm-served manga 2020-06-15 03:37:51 +02:00
nonamethanks 260bc997f6 NicoSeiga: Add preview urls 2020-06-15 03:37:51 +02:00
nonamethanks 9f0e85e1b5 Refactor nicoseiga strategy
* Get rid of mechanize, fully switch to Danbooru::Http
* Switch to mobile api, improving speed
* Merge main and manga clients
* Add full support for manga pages
* Add support for anonymous and r-15 images
* Don't fail when attempting to upload oekaki direct links
* Various misc fixes
2020-06-15 03:37:51 +02:00
nonamethanks e83d07ea7b Pixiv: don't blacklist digital tools anymore 2020-06-12 04:15:20 +02:00
nonamethanks 25b801619f Deviantart: fix api downloads 2020-05-31 07:01:43 +02:00
nonamethanks d339947647 Weibo: add source normalization 2020-05-28 01:05:11 +02:00
nonamethanks 5c7307a1c9 Add Weibo support 2020-05-27 11:30:05 +02:00
nonamethanks 116f3a67ef Nijie: fetch full commentary rather than truncated preview 2020-05-22 02:47:19 +02:00
nonamethanks 307df3b3e4 Refactor source normalization
* Move the source normalization logic out of the post model
  and into individual sources' strategies.
* Rewrite normalization tests to be handled into each source's test,
  and expand them significantly. Previously we were only testing
  a very small subset of domains and variants.
* Fix up normalization for several sites.
* Normalize fav.me urls into normal deviantart urls.
2020-05-21 22:46:51 +02:00
nonamethanks 9724b206b0 Add hentai-foundry support 2020-05-05 21:54:34 +02:00
nonamethanks 804c87a0ea Artstation: artists can have underscores in their name 2020-04-17 01:10:23 +02:00
nonamethanks 23812aaeb5 Post#normalized_source: Normalize more twitter urls 2020-04-08 13:38:02 +02:00