evazion
115ed16a96
pools: store post_ids as array instead of string ( fix #3979 )
2018-11-08 15:09:31 -06:00
r888888888
8da51b4555
change default response for empty popularsearchservice response
2018-11-05 21:35:57 -08:00
evazion
628341f7f0
Fix #3969 : Translated tags should ignore artist tags.
2018-11-04 17:07:35 -06:00
evazion
0152cbe39e
moebooru: fix delegation to nil strategy (fixup for 5cf6a43).
2018-11-04 15:24:22 -06:00
evazion
5cf6a43918
sources: fix sources sometimes choosing wrong strategy ( fix #3968 )
...
Fix sources choosing the wrong strategy when the referer belongs to a
different site (for example, when uploading a twitter post with a pixiv
referer).
* Fix `match?` to only consider the main url, not the referer.
* Change `match?` to match against a list of domains given by the `domains` method.
* Change `match?` to an instance method.
2018-11-04 13:00:17 -06:00
Albert Yi
9cfbda64bf
fixes #3967
2018-11-02 14:21:41 -07:00
Albert Yi
9a12fc45d3
fix missed references to tags param when navigating posts sequentially
2018-10-31 16:15:07 -07:00
evazion
39374a70d3
posts/show: rename tags params to q in various places.
...
Fixup for 011a6f1f7 .
2018-10-30 11:32:07 -05:00
Albert Yi
04c741739d
ignore md5 dups in upload error checker
2018-10-25 14:06:44 -07:00
r888888888
a7dd05fc8f
provide default import profile for vipsthumbnail
2018-10-24 23:06:12 -07:00
Albert Yi
4d07183a1d
Merge pull request #3957 from evazion/fix-related-tags
...
Related tags: build html server-side, eliminate cookies
2018-10-24 17:34:14 -07:00
Albert Yi
9899199f33
eliminate weeklymaintenance file
2018-10-23 17:50:28 -07:00
Albert Yi
5d3f072a2f
fix wiki excerpt links
2018-10-22 13:15:33 -07:00
r888888888
e060236fb7
add exception for direct links to pixiv fanbox images
2018-10-20 23:58:19 -07:00
r888888888
77cc4ad625
marginally smarter PostSets::Post#best_post algorithm
2018-10-20 20:08:42 -07:00
r888888888
4ec92d3aa0
fix for popular search service
2018-10-20 20:00:59 -07:00
r888888888
6d27ebcbf2
go back one day on popular search service if no results are found
2018-10-20 19:48:53 -07:00
r888888888
192ac128cd
add additional meta tags for seo
2018-10-20 17:15:29 -07:00
Albert Yi
12b88f7f97
fixes #3960
2018-10-17 15:37:47 -07:00
evazion
6223f89a99
related tags: refactor /related_tags.js to avoid updating unchanged columns.
...
Refactor the /related_tags.js call so that when the "Related tags"
button is clicked, it only replaces the columns that actually changed,
not the entire related tags section.
This avoids rebuilding the Recent / Frequent / Translated Tags / Artist
columns every time the "Related tags" button is clicked.
2018-10-15 18:41:32 -05:00
Albert Yi
2aabaf56d8
Merge pull request #3951 from evazion/fix-maintenance-logging
...
Improve daily maintenance error handling
2018-10-15 14:20:44 -07:00
evazion
d536f75505
related tags: eliminate recent_tags cookie ( #3955 ).
2018-10-12 21:20:06 -05:00
evazion
ae52b487e8
related tags: eliminate favorite_tags cookie ( #3955 ).
2018-10-12 21:18:15 -05:00
evazion
4e2944ee06
related tags: build html server-side instead of client-side.
2018-10-12 21:18:15 -05:00
Albert Yi
a85f3773e3
fix nil commentary case for pixiv strategy #3948
2018-10-12 14:35:44 -07:00
Albert Yi
d15c0b8266
fix delete file delayedjob
2018-10-11 16:43:16 -07:00
Albert Yi
185d303ba1
eliminate tag cache expiry delayed job
2018-10-11 16:36:50 -07:00
Albert Yi
ca7e7e2877
add additional servers to cloudflare expiry service
2018-10-11 11:42:15 -07:00
Albert Yi
6ca9b65716
add dynamic sitemap.xml
2018-10-11 10:13:54 -07:00
evazion
5e57cccd18
maintenance: log errors to rails log and newrelic.
2018-10-09 20:11:42 -05:00
evazion
5201954413
maintenance: consolidate maintenance tasks in logical/maintenance.rb.
2018-10-09 20:11:23 -05:00
evazion
16b1b72da5
tumblr: fix video urls not being recognized.
2018-10-09 12:44:59 -05:00
evazion
184a5ebf3e
tumblr: fix _640 images not being recognized ( #3944 ).
...
Fixes _640 images not being matched by the IMAGE regex and therefore not
being rewritten to the largest size.
2018-10-09 12:44:59 -05:00
evazion
d874c68419
tumblr: fix image_urls when api data is unavailable.
2018-10-09 12:44:59 -05:00
evazion
b0d7d90103
tumblr: extract info from url when api data is unavailable.
...
Derive the artist name / profile url / page url from the source URLs when
the API response is unavailable because the Tumblr post was deleted.
This fixes the artist finder to work on bad_tumblr_id posts.
2018-10-09 12:44:59 -05:00
evazion
0c31a5d6a9
tumblr: don't fail when api data is unavailable ( #3948 ).
...
The api data is unavailable when the work is deleted (bad_tumblr_id), or
when the source is a direct image url with no page referer.
2018-10-09 12:44:59 -05:00
evazion
4c55c809b0
tumblr: don't fail when api key isn't configured.
2018-10-09 12:44:59 -05:00
evazion
8aed1e19b9
tumblr: remove obsolete cdn rewrite rule.
...
This cdn is no longer used by tumblr.
2018-10-09 12:44:59 -05:00
Albert Yi
f065186c32
change default server login from albert -> danbooru
2018-10-08 15:51:32 -07:00
Albert Yi
7eab2fc0a7
disable server sync
2018-10-08 15:51:32 -07:00
evazion
5d77f1db08
daily maintenance: remove dead tag pruner code.
2018-10-06 14:27:53 -05:00
evazion
c8d538f618
moebooru: delegate to substrategy based on post source ( #3911 ).
...
If the yande.re or konachan.com post has a source from a supported site,
for example Pixiv or Twitter, then delegate the artist and commentary
lookup to that substrategy.
Only do this for sources from recognized sites, not the null strategy.
2018-10-06 14:27:49 -05:00
evazion
e5a4193dd4
moebooru: support batch bookmarklet previews ( #3911 ).
2018-10-06 00:58:22 -05:00
evazion
864349dc7b
moebooru: fetch tags ( #3911 ).
2018-10-06 00:58:22 -05:00
evazion
7eee77d520
moebooru: proxy images to avoid hotlink protection ( #3911 ).
...
Fix image previews being broken on the upload page due to yande.re not
allowing hotlinking of images.
2018-10-06 00:58:22 -05:00
evazion
c78dece411
tag corrections: remove distributed cache logic ( #3943 ).
...
Remove logic for displaying the state of the tag category cache on both
servers.
2018-10-04 13:46:10 -05:00
r888888888
abbe181de6
add cronjob for syncing files
2018-10-04 01:51:42 -07:00
r888888888
a45bd52e89
delete files job should move to default queue
2018-10-04 01:08:30 -07:00
Albert Yi
27072d695d
add lcms2 dependency in install
2018-10-03 13:52:04 -07:00
evazion
88a177e1d5
TagSetPresenter: refactor humanized_essential_tag_string.
...
Move Post#humanized_essential_tag_string to TagSetPresenter#humanized_essential_tag_string.
This allows humanized_essential_tag_string to reuse the same set of tags
already fetched by the tag set presenter for the sidebar.
This avoids fetching the tag categories from memcache again (via
Post#typed_tags) when we're already fetched the tags once before.
This also means it's no longer necessary to cache humanized_essential_tag_string
itself in memcache, since it can be generated as quickly as the sidebar taglist.
2018-09-30 21:52:24 -05:00