evazion
4681812607
/artist_commentary_versions: format commentary as dtext.
2017-06-25 10:28:46 -05:00
evazion
1889864049
/artist_commentary_versions: show post thumbnails.
...
Show thumbnails in the /artist_commentary_versions listing. Don't show
thumbnails when viewing the version history of a single post.
2017-06-25 10:27:43 -05:00
Albert Yi
3e1b687b8d
Merge pull request #3179 from evazion/fix-tumblr-samples
...
Fix #3178 : Rewrite Tumblr image samples
2017-06-22 16:13:39 -07:00
Albert Yi
fcf80251a6
Merge pull request #3181 from evazion/feat-replacements-view
...
Post replacements: Add view; allow replacing from uploaded file.
2017-06-22 16:12:43 -07:00
evazion
6329d089ee
post replacements: add tag match field to search form.
2017-06-22 17:03:05 -05:00
evazion
8b4e598a12
post replacements: add /post_replacements view.
2017-06-22 17:03:05 -05:00
evazion
13d49467a2
post replacements: fix search[creator_name]=... param.
2017-06-22 16:53:20 -05:00
evazion
41b9a8a044
post replacements: fix post_replacements_path helper.
...
Bug: `post_replacements_path` returned the wrong path because the
`/posts/:post_id/replacements` route took precedence over the
`/post_replacements` route.
Fix: declare the `/post_replacements` route first so that it takes
precedence instead.
2017-06-22 16:53:20 -05:00
evazion
d3e8937716
post replacements: allow replacing with an uploaded file.
2017-06-22 16:52:55 -05:00
evazion
c27668d2ef
post replacements: add option to fix source after replacement.
...
Adds a "Final Source" field to the post replacement dialog. If
specified, the post's source field will be changed to this value after
replacement.
This makes fixing the source back to the HTML page after
replacement easier.
2017-06-22 16:51:55 -05:00
evazion
55512130e1
css: set text fields in dialogs to 100% width.
...
* Fixes the flag reason field being too small in the flag dialog
* Fixes the source field being too small in the post replacement dialog.
2017-06-22 14:19:28 -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
16a51533bc
tests: refactor tumblr tests to use assert_downloaded.
2017-06-21 21:10:07 -05:00
evazion
5684ba3b1d
tests: factor out assert_downloaded to DownloadTestHelper.
2017-06-21 21:10:07 -05:00
Albert Yi
73f479e240
Merge pull request #3177 from evazion/fix-nijie
...
Fix #3176 - Nijie: fetch commentary + support batch bookmarklet
2017-06-20 16:55:57 -07:00
evazion
dc36476d50
nijie: don't return bogus artists when artist finder finds no match.
2017-06-20 17:09:57 -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
Albert Yi
05f7226fdd
Merge pull request #3175 from evazion/fix-pawoo
...
Multiple Pawoo fixes (closes #2981 )
2017-06-19 15:22:51 -07:00
evazion
3560bbbd47
pawoo: don't return bogus artists when artist finder doesn't find a match.
2017-06-19 17:10:02 -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
a60520ef6a
pawoo: add credentials to default config.
2017-06-19 17:08:52 -05:00
evazion
77c78430db
pawoo_api_client.rb: convert tabs to spaces.
2017-06-19 17:08:52 -05:00
Albert Yi
f2e451c851
Merge pull request #3173 from evazion/fix-3152
...
Fix #3152 : Differentiate <div> ID's on comments controller
2017-06-19 13:24:47 -07: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
d40acc4e25
/comments: add IDs differentiating group_by=post/group_by=comment ( fixes #3152 ).
2017-06-18 22:36:20 -05:00
evazion
87da9ec873
/comments: break out index_by_post/index_by_comment into partials.
2017-06-18 22:32:51 -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
48001c1293
gems: update sanitize to 4.5.0; add addressable.
2017-06-17 11:57:32 -05:00
evazion
835f5d5426
Merge pull request #3169 from evazion/fix-upload-nil-source
...
Fix #3168 : API upload can't handle unset source.
2017-06-17 08:40:03 -05:00
evazion
ef76ec0385
uploads: fix upload failure when given nil source ( fix #3168 ).
2017-06-17 08:31:44 -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
Albert Yi
9d725f1132
Merge pull request #3163 from evazion/fix-3159
...
Fix #3159 : Upload bookmarklet not provided using same protocol accessed page.
2017-06-16 12:48:29 -07:00
Albert Yi
d74b8d8ba5
Merge pull request #3164 from evazion/feat-dtextify-twitter
...
Fix #3162 : Twitter commentary links
2017-06-16 12:48:12 -07:00
Albert Yi
2ee702075d
Merge pull request #3165 from evazion/fix-applicationrecord
...
Fix #3154 : Inherit models from ApplicationRecord
2017-06-16 12:22:23 -07:00
evazion
1a998cb3fb
Move API methods from initializer to ApplicationRecord.
2017-06-16 13:28:31 -05:00
evazion
c1834ab8dd
Inherit models from ApplicationRecord instead of ActiveRecord::Base.
2017-06-16 13:28:31 -05: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