Commit Graph
565 Commits
Author SHA1 Message Date
evazion c0a803e3a6 Allow ugoira to be uploaded directly from the zip URL.
This refactors things such that

* Fetching the ugoira frame data happens at the end of rewrite, not
  rewrite_html_pages. This way uploading zip URLs should work.
* The source data is cached in an instance variable in case it
  was indeed fetched during rewrite_html_pages. This way it doesn't get
  fetched a second time.
2014-10-19 02:30:03 -07:00
evazion 484224cee6 Fix rename forgotten in d253057. 2014-10-19 02:30:03 -07:00
evazion dcbe061809 Move normalize_for_artist_finder! into model.
Move the call to normalize_for_artist_finder! from the artist
controller into Artist#find_all_by_url. This makes testing easier.
It also makes it so that URLs are normalized when using the search
form on the artist listing page.
2014-10-05 14:11:32 -05:00
evazion 7f3b98969f Refactor normalize_for_artist_finder!
Refactors things such that Sources::Site has a normalize_for_artist_finder!
method that delegates to the strategy for the appropriate site. This way
any site that needs to normalize URLs for the artist finder can do so.
2014-10-05 14:11:31 -05:00
evazion ec0f226f46 Make the artist finder work with new Pixiv URLs. 2014-10-04 12:45:37 -05:00
evazion 58f0ec3dec Use the normalized source in the upload form.
This makes it so you can use the bookmarklet to upload from any of these Pixiv pages:

* http://www.pixiv.net/member_illust.php?mode=medium&illust_id=45792845
* http://www.pixiv.net/member_illust.php?mode=big&illust_id=45792845
* http://www.pixiv.net/member_illust.php?mode=manga&illust_id=45792845
* http://www.pixiv.net/member_illust.php?mode=manga_big&illust_id=45792845&page=0

and the source field in the upload form will be filled in with the
actual image URL (e.g. http://i2.pixiv.net/img18/img/ringo78/45792845_big_p0.jpg),
and it will also be used for the "This post was already uploaded" check.
2014-10-04 12:45:37 -05:00
Toks cbdc78d606 #2245 make gallery obey user's per page setting 2014-09-07 00:03:23 -04:00
Toks 4f0a83f996 #2245 allow anonymous to view gallery 2014-09-06 23:58:00 -04:00
r888888888 dec92a67c4 fix favoriting 2014-09-05 16:50:34 -07:00
r888888888 0e203c5cda add favorite/unfavorite links to mobile page 2014-09-05 16:46:22 -07:00
r888888888 267df896c6 fixes #2245 2014-08-25 16:41:27 -07:00
Toks 2e8e4e7831 fix basic members not being able to make api keys 2014-08-15 18:13:39 -04:00
r888888888 6772566665 fixes #2166 2014-07-23 15:15:47 -07:00
r888888888 c1a4bfda55 allow editing of pending aliases/implications 2014-07-18 14:49:08 -07:00
Toks 5fd6a018cb Fix anonymous users creating visit records, which do not get used 2014-07-18 16:08:47 -04:00
r888888888 bb402f5a27 fixes #2197 2014-07-17 16:34:54 -07:00
Toks 772003a55a fixes #2217 2014-07-06 12:03:48 -04:00
r888888888 dae7c615e9 fixes #2206 2014-06-24 11:07:39 -07:00
r888888888 ff86f3c298 fix bitpref references 2014-06-23 18:00:31 -07:00
Toks 9d53bdfa17 fix bulk req index 2014-06-19 02:37:50 -04:00
r888888888 f65691b5e6 fix tests 2014-06-18 16:51:55 -07:00
r888888888 f02f72fac1 implement saved searches, move user boolean settings to bitprefs 2014-06-18 16:16:27 -07:00
Toks b5ab3e1a30 fix bulk req search 2014-06-18 14:04:31 -04:00
r888888888 4ab6a2417f fixes #2199 2014-06-17 18:07:19 -07:00
Toks 60b589ba70 Potential fix for #1985 2014-06-17 16:22:33 -04:00
Toks a8a1d5e783 Order bulk reqs index by pending first 2014-06-17 02:44:30 -04:00
Toks ec4e7d39ac bulk update req api 2014-06-17 02:38:37 -04:00
r888888888 87ef2b8e0f fixes #2190 2014-06-16 17:29:35 -07:00
Toks f060e78b8f fix #2196 2014-06-16 20:07:52 -04:00
r888888888 58a0086e69 potential fix for #2192 2014-06-12 21:41:37 -07:00
r888888888 7b97ca192c fixes #2190 2014-06-12 21:16:21 -07:00
Toks f6eb27d3c8 fixes #2177 2014-06-06 20:43:20 -04:00
r888888888 7b1419c67e fix iqdb query path error 2014-06-02 13:46:33 -07:00
Toks 931559aa6b fixes #2167 2014-05-30 03:04:07 -04:00
Toks f132e42a12 Fix user renames and deletions
related to #1941
2014-05-30 02:57:23 -04:00
Toks 50ae15469e fixes #1924 2014-05-30 00:02:23 -04:00
Toks 3f61415388 Merge branch 'active-children' 2014-05-29 23:03:05 -04:00
Toks 71cd5ce783 fixes #2114 2014-05-29 22:55:35 -04:00
Toks 5f12a5e555 fixes #2165 2014-05-25 14:50:07 -04:00
r888888888 6630bd9a41 fixes #2161 2014-05-22 17:52:05 -07:00
r888888888 bfd1924481 fixes #2155 2014-05-15 22:14:08 -07:00
r888888888 6de67da280 * Refactor iqdb response collection 2014-05-08 16:42:16 -07:00
r888888888 9e2c664a41 fixes #2130 2014-05-05 17:59:54 -07:00
Toks cc3c6d989f Upload preview: use normalized image url
This means that the preview will work even when the user doesn't use the
direct image link. e.g. The user can use the bookmarklet on Pixiv
mode=medium pages.
2014-04-28 15:29:31 -04:00
Toks b16980be51 fixes #2138 2014-04-28 14:33:13 -04:00
r888888888 aab03422bc performance tweaks for rails 4.1 2014-04-24 22:24:42 -07:00
r888888888 a89c57cee0 Fix Rails 4.1 migration issues 2014-04-24 17:01:03 -07:00
r888888888 fad0ab7c93 fixes #2133 2014-04-16 17:43:34 -07:00
Toks 079853656e Fix marking all dmails as read not working fully 2014-03-29 16:27:41 -04:00
Toks 59f5fc2e1f Fix issue when deleting unread dmail 2014-03-29 16:27:18 -04:00