Albert Yi
5d40f5ad66
Merge pull request #3198 from evazion/feat-tumblr-dtextify-artcomm
...
Tumblr: convert artist commentaries from HTML to DText (#3184 )
2017-07-05 11:31:30 -07:00
evazion
c3ac4f3329
Fix #3197 - Post Replacement comment: use Replacement URL instead of Final Source
...
Record the URL of the image that was actually downloaded as the replacement URL.
2017-07-02 21:00:26 -05:00
evazion
0390039621
Fix expunging posts from S3 (fixup 4c4ef5c / #3180 ).
2017-07-01 12:30:59 -05:00
evazion
71f84b10af
tumblr: convert commentary to dtext.
...
* Convert Tumblr commentary to DText.
* Strip extraneous whitespace in links and blockquotes.
* Add newlines after block elements to ensure they're separated from
subsequent blocks.
2017-07-01 11:15:48 -05:00
evazion
b880b07387
sources: factor out html-to-dtext code to DText.from_html.
2017-07-01 11:15:48 -05:00
r888888888
361e98edee
fix for flagger_id_neg search case where nothing is matched
2017-06-29 13:03:36 -07:00
r888888888
4c4ef5cc5b
fixes #3180
2017-06-27 15:12:12 -07:00
r888888888
610e2bdedd
fixes #3191
2017-06-27 14:48:55 -07:00
evazion
030052bf14
tumblr: rewrite html pages to image url.
2017-06-25 15:34:15 -05:00
evazion
118843b26a
tumblr: fetch tags, commentary, and image urls.
2017-06-25 15:34:15 -05:00
evazion
d5ce6c98ef
tumblr: add tumblr api client.
2017-06-25 15:34:15 -05:00
evazion
421bbc35a2
tumblr: rewrite samples to biggest available version.
2017-06-21 22:30:53 -05:00
evazion
a9b3d28215
tumblr: fix edgecastcdn.net rewrite + add test.
...
https://data.tumblr.com doesn't have a valid SSL cert, so we must use
http:// instead when we rewrite to it.
2017-06-21 21:10:07 -05:00
evazion
294358b4a6
nijie: fetch image_urls for batch bookmarklet.
2017-06-20 16:29:31 -05:00
evazion
2d5fc191dd
nijie: convert commentary to dtext.
2017-06-20 16:11:16 -05:00
evazion
25e7db860a
nijie: fetch artist commentary.
2017-06-20 16:11:16 -05:00
evazion
655e53fe65
pawoo: rewrite /small/ images to /original/
2017-06-19 17:10:02 -05:00
evazion
14196f36d8
pawoo: convert commentary to dtext.
2017-06-19 17:10:02 -05:00
evazion
6edb5a807b
pawoo: fetch tags and commentary.
2017-06-19 17:10:02 -05:00
evazion
1bfc0a7d8a
pawoo: get status id from normalized url.
2017-06-19 17:09:57 -05:00
evazion
e91942dff3
pawoo: add source tests and docs.
2017-06-19 17:09:57 -05:00
evazion
77c78430db
pawoo_api_client.rb: convert tabs to spaces.
2017-06-19 17:08:52 -05:00
Albert Yi
584b01457b
Merge pull request #3172 from evazion/fix-twitter-tags
...
Fix #3171 : Translate Twitter Hashtags to assist with tagging
2017-06-19 13:24:13 -07:00
Albert Yi
361ba4e9ea
Merge pull request #3170 from evazion/fix-note-normalize-links
...
Convert absolute links in notes to relative links (fix #1911 )
2017-06-19 13:23:39 -07:00
Albert Yi
586a3186fd
Merge pull request #3167 from evazion/feat-dtextify-pixiv-artcomm
...
Convert Pixiv commentaries to DText (fix #2458 )
2017-06-19 13:22:31 -07:00
Type-kun
faa2d99160
Fix #3174
2017-06-19 18:22:58 +05:00
evazion
128e655aef
twitter: fetch hashtags for translated tags ( fixes #3171 ).
2017-06-17 16:15:23 -05:00
evazion
8c7c2a06e5
notes: convert internal links to Danbooru to relative urls.
2017-06-17 11:57:32 -05:00
evazion
94e48aa6f3
pixiv: convert commentary to dtext.
...
Convert pixiv links to dtext in this manner:
* https://www.pixiv.net/member_illust.php?mode=medium&illust_id=1234
=> pixiv #1234 "»":[/posts?tags=pixiv:1234]
* https://www.pixiv.net/member.php?id=1234
=> "user/1234":[https://www.pixiv.net/member.php?id=1234 ] "»":[/artists?search[url_matches]=https://www.pixiv.net/member.php?id=1234 ]
2017-06-16 18:42:37 -05:00
evazion
c638ff2e9c
pixiv: fix nil commentary fields to empty string.
2017-06-16 18:42:37 -05:00
Albert Yi
8b8b4fde71
Merge pull request #3160 from evazion/feat-note-sanitization
...
Improve note sanitization
2017-06-16 12:48:46 -07:00
evazion
5dd3151d5b
twitter: convert commentary to dtext.
...
* Convert hashtags and mentions to dtext links.
* Replace http://t.co urls to the actual url.
* Strip the http://t.co url linking to the tweet itself.
2017-06-16 12:56:55 -05:00
evazion
9909ff20cd
twitter: memoize api response.
2017-06-16 12:56:55 -05:00
evazion
91ed793120
notes: mark links as nofollow.
2017-06-15 22:58:22 -05:00
evazion
845b278b1e
notes: make allowed css properties explicit.
2017-06-15 22:58:22 -05:00
evazion
9570bf026c
notes: allow <rtc>, <sub>, <sup>, <hr>, <wbr> tags.
2017-06-15 22:58:22 -05:00
evazion
869ccad6ba
notes: allow all elements to have style/title attributes.
2017-06-15 22:58:14 -05:00
evazion
990f173b3d
notes: move sanitization from d_text.rb to note_sanitizer.rb.
2017-06-15 22:58:13 -05:00
Type-kun
bf6add5273
Add more support for negated existing metatags
2017-06-15 18:11:53 +05:00
r888888888
f27d065e1f
fixes #3119
2017-06-14 16:30:19 -07:00
r888888888
6174d0eef2
normalize nijie popup urls ( fixes #3153 )
2017-06-14 12:26:13 -07:00
Albert Yi
f780b32012
Merge pull request #3145 from r888888888/flagger_metatag
...
Add "flagger:" and "appealer:" metatags (fixes #3142 )
2017-06-14 11:02:08 -07:00
Type-kun
1375cc5307
Added privilege check for seeing flagger usernames
...
Also reworked all places dealing with flagger names to use said privilege
2017-06-14 20:43:25 +05:00
Albert Yi
ee28cf539f
Merge pull request #3146 from evazion/fix-reltags-alias
...
Fix #1608 : Show wiki page of alias consequent for Related Tags
2017-06-13 15:39:42 -07:00
evazion
c06ae5277e
Fix #1608 : Show wiki page of alias consequent for Related Tags
...
Make related tags apply aliases before fetching tags from the wiki page.
2017-06-12 19:52:19 -05:00
Type-kun
5d4592e0e0
Add "flagger:" and "appealer:" metatags ( fixes #3142 )
2017-06-13 00:15:49 +05:00
evazion
f3f55daea6
Fix #3138 : Support DeviantArt login-only works.
2017-06-10 10:34:51 -05:00
evazion
82c7537270
deviantart: force commentary encoding to utf-8.
2017-06-09 13:19:24 -05:00
evazion
ccacfb40be
deviantart: translate artist commentary from html to dtext.
2017-06-09 13:19:24 -05:00
Albert Yi
7fb0e561cc
Merge pull request #3124 from evazion/fix-artstation-sources
...
Multiple ArtStation fixes
2017-06-08 14:11:21 -07:00