Commit Graph
1019 Commits
Author SHA1 Message Date
evazion 61a37a09cc Fix translated tags for pixiv (fix #3046).
Translated tags expects `tags` to be an array of `[tag_name, search_link]` pairs.
2017-05-13 19:17:33 -05:00
r888888888 7ae18d1068 bug fix for source pixiv 2017-05-12 16:42:25 -07:00
r888888888 bcec293efe pull additional data from pixiv api (fixes #3042) 2017-05-12 11:17:31 -07:00
evazion 757a7da49b fixup! /source.json: don't encode '&' as '&' in commentaries. 2017-05-10 21:03:29 -05:00
evazion a2a6a0ce27 /source.json: don't encode '&' as '&' in commentaries. 2017-05-10 18:01:52 -05:00
evazion 8015d62b46 /source.json: strip html tags from artist commentary. 2017-05-10 18:01:51 -05:00
evazion b2f62482a1 Remove artist commentary handling from download rewrite strategies. 2017-05-10 18:01:51 -05:00
r888888888 b49641f775 fixes #3033 2017-05-09 13:21:21 -07:00
r888888888 ff5586cb01 refactor twitter service to handle cards (fixes #3031) 2017-05-09 12:48:11 -07:00
r888888888 2b74fe669e increase period for deleting mod actions 2017-05-08 13:49:55 -07:00
Albert Yi f803137106 Merge pull request #3030 from evazion/feat-backups
Backup posts to S3 on creation/replacement
2017-05-08 13:39:41 -07:00
evazion fd291c8b42 bans: fix exception when user with expired ban logs in.
`ban.destroy` fails because users have many `bans`, not a single `ban`.
Destroying the expired ban isn't necessary anyway.
2017-05-07 12:13:19 -05:00
evazion 7db40fe69f backups: add amazon s3 backup service. 2017-05-05 22:18:28 -05:00
evazion 30a1f204e9 backups: add stub backup service. 2017-05-05 22:18:28 -05:00
evazion db1fa60a43 Set pawoo sources to html page after upload. 2017-05-03 00:09:51 -05:00
r888888888 3b414db844 defer to popular searches for popular tag list 2017-05-01 17:56:34 -07:00
Albert Yi d7e83bef79 Merge pull request #3003 from evazion/feat-noter-any-metatag
Add noter:<any|none>, commenter:<any|none> metatags
2017-05-01 14:52:30 -07:00
r888888888 48e9856f37 fixes #3007: Eliminate Janitor role 2017-05-01 14:38:30 -07:00
evazion b0626a9124 Add commenter:<any|none> metatags. 2017-04-26 16:51:34 -05:00
evazion 69d9cf3927 Add noter:<any|none> metatags. 2017-04-26 16:51:34 -05:00
r888888888 6842056d19 partial fix for #3000 2017-04-26 13:37:12 -07:00
Albert Yi 41b245d19d Merge pull request #2998 from evazion/fix-quote-stripping
Fix [quote] stripping for comments, forum post replies.
2017-04-26 12:43:30 -07:00
evazion c586a66e1f dtext: recognize [QUOTE] tags when quoting comments, forum_posts.
Fixes a bug with capitalized [QUOTE] tags not being handled properly
when quoting comments or forum posts.
2017-04-24 21:15:47 -05:00
evazion 869f1610fc comments: use server-side quote-stripping instead of reimplementing in js. 2017-04-24 21:15:47 -05:00
evazion 18424531fa Merge mentions quote-stripping code into DText quote-stripping code. 2017-04-24 21:15:42 -05:00
Albert Yi 13189e60b8 Merge pull request #2992 from evazion/fix-calc-reltags-from-posts
Fix slow related tag calculations when searching single metatags.
2017-04-24 14:13:41 -07:00
evazion 8404064854 related_tag_calculator.rb: fix memcache lookup in inner loop.
Remove the category constraint option from RelatedTagCalculator.calculate_from_posts.
It slows things down and isn't used.

This method is used to calculate the related tags sidebar during
searches for single metatags. Using Tag.category_for in the inner loop
caused a memcache call on every iteration. At 100 posts per page and
20-30 tags per post, this led to up to 2000-3000 total memcache calls,
which significantly slowed pageloads.
2017-04-23 17:10:20 -05:00
evazion e6d1842545 /notes: default to listing notes, not posts. Remove group_by=post.
The posts listing is replaced by a link to order:note.
2017-04-23 14:59:36 -05:00
Albert Yi d836815622 Merge pull request #2985 from evazion/feat-notes-ruby
Allow <ruby> tags for marking up furigana in notes.
2017-04-22 01:03:47 -07:00
evazion f1552539f7 notes: allow <ruby> tags for marking up furigana. 2017-04-21 14:31:05 -05:00
r888888888 bd7f4820d7 fix source js for pawoo sites 2017-04-20 16:43:41 -07:00
r888888888 b053a2d783 add source + rewrite strategy for pawoo 2017-04-20 15:50:22 -07:00
evazion c0e5c400a7 tests: fix tests for Rails.cache. 2017-04-16 16:48:36 -05:00
evazion 904abc2787 cache.rb: implement Cache in terms of Rails.cache. 2017-04-16 16:48:35 -05:00
evazion 941bcff743 cache.rb: remove unused incr, decr methods. 2017-04-16 16:48:35 -05:00
r888888888 97da8f8647 deprecate tag subscriptions with warnings 2017-04-14 16:00:20 -07:00
r888888888 8b38e4d39a adjust threshold for supervoters for jaccard method 2017-04-14 15:15:20 -07:00
r888888888 62fde705ce calculate vote similarity using jaccard instead of cosine distance 2017-04-13 14:53:03 -07:00
r888888888 19b8d41d09 refactor forum notifications for tag changes 2017-04-12 16:43:15 -07:00
evazion 423dd0b848 /iqdb_queries: include full data for each post in api response. 2017-04-05 18:01:16 -05:00
r888888888 ae4b73c650 fix jquery dropdown css 2017-04-05 15:32:54 -07:00
evazion d66d19f328 big query: raise exception if not configured. 2017-04-05 01:17:04 -05:00
evazion f57561118c reportbooru: raise exception if not configured. 2017-04-05 01:17:04 -05:00
r888888888 b00ae71957 fixes #2953: Tag change report doesn't take tags removed by user into account 2017-04-04 13:20:47 -07:00
r888888888 a5e55eda3d prune supervoters in daily maint 2017-04-04 12:39:17 -07:00
r888888888 0b8d4105aa fix tests 2017-04-04 12:39:17 -07:00
evazion 4b138be6b9 Rewrite i.pximg.net manga gallery samples. 2017-04-03 17:17:22 -05:00
evazion af4708dde9 Fix typo in i.pximg.net download strategy. 2017-04-03 17:17:22 -05:00
r888888888 70f02af8d7 fixes #2953: Tag change report doesn't take tags removed by user into account 2017-04-03 15:11:21 -07:00
evazion 964197d403 upload tags report: fix N+1 queries issues. 2017-04-03 15:03:26 -07:00