Commit Graph
100 Commits
Author SHA1 Message Date
Toks 555bcad33b fix error #2408 2015-06-12 16:37:39 -04:00
Toks f94d297149 #2404 fix artist finder 2015-06-12 12:07:50 -04:00
Toks 86ce1b8deb #2404 fix nijie argumenterror 2015-06-12 11:54:52 -04:00
Toks 0120fe8acb Add "Download" link which will include post's tags in filename 2015-06-10 23:38:25 -04:00
Toks 76dd4bac22 Merge branch 'master' of https://github.com/r888888888/danbooru 2015-06-09 23:56:27 -04:00
Toks 99f55c32a4 fixes #2379 2015-06-09 23:54:22 -04:00
Toks 3bc92f1ca7 #1938 Add order:random as alternative random trigger 2015-06-09 18:15:50 -04:00
Toks 883a4cbf5a Clarify 2015-06-09 13:21:02 -04:00
Toks 7c2ce325a3 fix #2403, remove unused code 2015-06-08 17:34:13 -04:00
Toks d1bf8eb03d Fix commentary being created even if user says not to 2015-06-03 21:37:41 -04:00
Toks 854d587373 Fix upload source fetcher fetching from wrong work page for all sites
e.g. If you were on an html work page on pixiv, clicked a link to a
different html work page on pixiv, and then clicked the bookmarklet,
then it used to fetch the source from the FIRST work you were on instead
of the second.
2015-06-03 20:59:24 -04:00
Toks 04d6640792 Fix upload page fetching source for wrong page from twitter
It would always fetch from the referer, regardless of what page that
was. It didn't even have to be a page on twitter.
2015-06-03 20:12:12 -04:00
Toks 6b0eb164a3 Fix too much padding under iqdb results 2015-06-03 19:46:45 -04:00
Toks af86099ac5 #1938 remove duplicates 2015-06-02 11:12:47 -04:00
Toks 19622348c4 more #1925 fixes
Fix for newly created notes, and for notes resized up/left (#1509)
2015-05-31 03:21:34 -04:00
Toks 1949a48070 #1938 fill in blank spots 2015-05-30 18:01:03 -04:00
Toks 599548ac04 potential fix for #1938 2015-05-30 17:31:32 -04:00
Toks 1a5053e501 fix 2015-05-28 15:59:31 -04:00
Toks 367b6495ae rename 2015-05-28 02:25:25 -04:00
Toks 9481f09b93 Support rewriting direct twitter url -> full size url
If the user gives us the direct image url the twitter api is useless
since it doesn't have the status id. So just rewrite the url itself.
2015-05-28 02:20:45 -04:00
Toks f42e4044a0 Fix "No status found with that ID." when fetching from twitter 2015-05-28 02:16:17 -04:00
Toks 41c4d3095a Include backtrace in source json 2015-05-25 23:06:38 -04:00
Toks 804cbae85c Support fetching deviantart tags 2015-05-25 22:44:55 -04:00
Toks e1d10b4258 fix error on alias listing
see
http://danbooru.donmai.us/forum_topics/9127?page=85#forum_post_105019
2015-05-25 15:32:12 -04:00
Toks 6a78d75f61 Fix "mark as translated" removing url params 2015-05-23 12:26:31 -04:00
Toks 101a9d20e3 Merge branch 'master' of https://github.com/r888888888/danbooru 2015-05-23 12:14:03 -04:00
Toks 0ac21b1623 Fix pixiv batch not working on old pixiv works 2015-05-23 12:00:35 -04:00
Toks ff83e0a7a8 fix #1509 2015-05-20 17:34:00 -04:00
Toks 55f60e4568 fix #2391 2015-05-20 17:12:20 -04:00
Toks a5feec8ec6 #1938 remove duplicates, remember &random and &raw params 2015-05-18 14:10:44 -04:00
Toks 0d24a45855 fixes #1938, Add special random parameter 2015-05-17 20:06:31 -04:00
Toks 0409d6fd69 Fix diff bug for note versions from Danbooru 1 2015-05-16 12:11:27 -04:00
Toks 2f5f620cb9 #2312 show backtrace for failed uploads 2015-05-13 18:51:45 -04:00
Toks e6fd5ecc74 #1692 comment out infinite loops 2015-05-13 18:36:45 -04:00
Toks bb4267af7d remove debug 2015-05-13 18:32:02 -04:00
Toks 4f0ef8d478 fixes #2377 2015-05-13 18:31:55 -04:00
Toks 8c63bf5b72 fixes #1495 2015-05-13 18:25:01 -04:00
Toks 90a1694f62 Update for gemfile windows support
* Exclude gems that don't work on windows (kgio, dalli, gctools)
* Add new gems necessary on windows (memcache-client as dalli
replacement, tzinfo-data)
* Update gems where the old version couldn't be installed on windows but
the new version can (nokogiri, pg, bcrypt)

I don't think this should break anything on non-windows platforms since
the additions/removals only take effect on windows, and the version
updates don't appear to have changed anything huge.
2015-05-13 17:39:27 -04:00
Toks e14667e757 Autodelete invalid nicoseiga session 2015-05-10 13:08:34 -04:00
Toks 4a5ea8d785 Autodelete invalod nijie session
fixes #2324
2015-05-10 12:54:33 -04:00
Toks 9b1a0447ac tabs->spaces 2015-05-08 13:50:32 -04:00
Toks 6faa6305dd Autodelete phpsessid
fixes #2382
2015-05-08 13:30:26 -04:00
Toks 95abc58a23 fix #2347 2015-05-07 16:32:24 -04:00
Toks b7a001c6d4 #2239 disallow pools literally named series/collection 2015-05-02 12:09:11 -04:00
Toks 5a8674d342 fix #2239 2015-05-02 11:12:30 -04:00
Toks c8b41b4045 Forum activity indicator: don't count deleted topics as unread 2015-05-02 09:44:16 -04:00
Toks aa161acc02 fix #2237 2015-04-25 22:58:18 -04:00
Toks a0baaea1b2 fix #1852 2015-04-23 11:20:14 -04:00
Toks c56d16d336 Put current user first, closes #2063 2015-04-23 09:43:19 -04:00
Toks 3a66e521fc #1932 disallow css urls 2015-04-21 15:10:14 -04:00
Toks e9af343161 fix #2370 2015-04-17 17:08:44 -04:00
Toks d21e94f519 #2363 no timeout 2015-04-17 09:58:57 -04:00
Toks ad8e16aabf fix #2012 2015-04-15 11:29:15 -04:00
Toks 6026130282 add .autocomplete-antecedent class 2015-04-07 15:06:50 -04:00
Toks af8cae1ef0 merge master into autocomplete-aliased-tags 2015-04-07 15:00:39 -04:00
Toks 069648556b #2366 double check that normalized_url is not nil 2015-04-06 18:39:24 -04:00
Toks 4b36acdd19 Improve getting deviatnart url from page
fix #2366
2015-04-06 18:32:12 -04:00
Toks 2d99501f91 fix bur rejection 2015-04-06 18:30:02 -04:00
Toks 947f973d40 Fix bugged safebooru regex
Rather than matching exact tags, it would match something like grapes as
rape
2015-04-06 10:31:50 -04:00
Toks 7a37a9bd76 Remove /tag_aliases/new and /tag_implications/new
This page is bugged. It creates an alias record without doing anything
else like moving the posts. I think it's been like this for years yet
nobody noticed so I assume it never gets used and the batch import page
is just used instead.
2015-04-05 19:22:16 -04:00
Toks ece0ef844f fix #2364 2015-04-05 19:00:51 -04:00
Toks 3565d3dd08 Don't say bulk request was approved if it errored out during approval 2015-04-05 18:58:01 -04:00
Toks 99346ceb54 Better error when alias/implication fails validation
Before it would just say "Jobs cannot be created for non-persisted
records" instead of the real error
2015-04-05 18:55:38 -04:00
Toks 05d382e66e Set post count cache when alias is first created 2015-04-05 00:34:07 -04:00
Toks 7c637664d2 SELECT actual tags.post_count instead of cached 2015-04-04 14:26:54 -04:00
Toks 74ab9ae274 Exclude pending aliases 2015-04-04 12:45:35 -04:00
Toks 558fd4d8ef Include aliased tags in autocomplete 2015-04-04 12:06:06 -04:00
Toks fd438cedc8 fix logging into pixiv 2015-03-29 22:34:54 -04:00
Toks 8ee5902da8 fix #2362
Rather than removing all css now it will remove only css not listed in
the "relaxed" sanitize config.
2015-03-27 21:35:30 -04:00
Toks beb42ea72c should fix #2072 2015-03-26 18:12:07 -04:00
Toks fbad8f7a53 Allow source fetcher to work on non-mobile twitter 2015-03-16 17:55:28 -04:00
Toks c1092489d3 Use :orig twitter urls for batch upload 2015-03-13 14:34:04 -04:00
Toks 04e6aa7474 #1866 update for new deviantart urls 2015-03-13 14:12:17 -04:00
Toks cb11f5f461 #2335 normalize for search too 2015-03-08 14:52:30 -04:00
Toks 73924c6de1 Fix blank line registering as tag in subscription 2015-01-31 17:15:27 -05:00
Toks e5b6357626 #2335 normalize for search too 2015-01-30 13:43:50 -05:00
Toks 75bdc3fc63 fix regex for ruby 2 2015-01-27 17:37:04 -05:00
Toks d3ba5da8a4 Update note data attributes immediately when changed
fixes #1925
2015-01-26 14:19:03 -05:00
Toks fc5580f1e3 fix #2338 2015-01-24 21:16:01 -05:00
Toks 9788ee069a fixes #2322 2015-01-19 14:40:33 -05:00
Toks 8b2b981b80 fixes #2229 2015-01-19 14:26:25 -05:00
Toks bdb5bb49da fix #2334 2015-01-15 13:15:56 -05:00
Toks 5f1b229fb8 Fix autocomplete getting hidden under edit dialog 2015-01-14 21:00:42 -05:00
Toks 718131737e fixes #2332 2015-01-10 12:15:14 -05:00
Toks 712a5844b3 Update for new twitpic link format
related #1866
2015-01-05 21:39:19 -05:00
Toks 9d1c31a06f fixes #889 2015-01-05 14:10:20 -05:00
Toks 325fc3e864 fixes #2154 2015-01-03 14:13:53 -05:00
Toks 699b2b27d1 #2299 add script 2014-12-22 12:03:25 -05:00
Toks 6dca8d5915 Fix thumbnail rewrite for png images 2014-12-22 11:35:36 -05:00
Toks 4231fac4cb #2328: fix image board src rewrite 2014-12-18 11:14:25 -05:00
Toks c38a290f4c Only require BUR title if creating new topic 2014-12-18 11:02:22 -05:00
Toks 38c31fe5f6 fix error 2014-12-13 00:01:02 -05:00
Toks 42ad3b8d3c #2326 fix has_mail being set by wrong copy 2014-12-12 23:59:26 -05:00
Toks 6d565d9f87 Fix regression with pixiv manga uploads 2014-12-11 13:21:43 -05:00
Toks a6c389a281 #2321: Fix for 3+ dupes too 2014-12-09 21:24:00 -05:00
Toks c776ee567e Display more detailed error, only if it exists 2014-12-09 21:10:42 -05:00
Toks bc4d954ec0 Automatically remove dupe urls
fix #2321
2014-12-09 21:09:55 -05:00
Toks c601253553 Don't make pixiv http requests when displaying artist history
The reason the urls need to be normalized at all here is because legacy
urls from Danbooru 1 don't have their unnormalized counterparts stored
anywhere and thus can't be accurately compared with unnormalized urls
from Danbooru 2.
2014-12-09 17:23:44 -05:00
Toks e0b0760b39 should fix #2320
Sources::Site#normalize_for_artist_finder! catches errors that occur
during the normalization process. However it only catches
StandardErrors, not Exceptions, so this makes Sources::Error a
StandardError.
2014-12-09 17:14:28 -05:00
Toks a8176a863d search[post_id] for artist commentary 2014-12-08 16:03:20 -05:00