Commit Graph

5602 Commits

Author SHA1 Message Date
evazion
f1552539f7 notes: allow <ruby> tags for marking up furigana. 2017-04-21 14:31:05 -05:00
r888888888
9718c6e107 fixes to mobile responsive view 2017-04-20 14:29:11 -07:00
Albert Yi
865a8d7a0a Merge pull request #2980 from evazion/feat-bans
Improve /bans listing
2017-04-20 14:04:10 -07:00
Albert Yi
15aa12b7d0 Merge pull request #2979 from evazion/fix-structure.sql
Remove bank_balances, bank_transactions from structure.sql.
2017-04-20 14:01:41 -07:00
evazion
94e548cfe1 /bans: add test for searching bans. 2017-04-19 17:56:26 -05:00
evazion
f6fff16e75 /bans: avoid N+1 queries for user, banner.
Avoids an N+1 issue when rendering users with link_to_user.
2017-04-19 17:56:26 -05:00
evazion
9bf1c89357 /bans: add search form. 2017-04-19 17:56:25 -05:00
evazion
06f2ed685e /bans: add reason_matches, expired, order search params. 2017-04-19 17:56:25 -05:00
evazion
84c075e4bf /bans: add "»" links for narrowing search by user. 2017-04-19 17:56:25 -05:00
evazion
198b6db507 /bans: replace Expires column with Duration. 2017-04-19 17:56:25 -05:00
evazion
1bc4eda12b /bans: add Banner, Banned at columns. 2017-04-19 17:56:25 -05:00
evazion
715dcc491b /bans: size columns to avoid unnecessary wrapping.
Sizes columns such that they automatically shrink to fit. This fixes
problems with usernames and dates wrapping in the middle.
2017-04-19 17:56:25 -05:00
evazion
40fe0f595f /bans: color code expired/unexpired bans. 2017-04-19 17:56:24 -05:00
evazion
9816676bfd structure.sql: remove bank_balances, bank_transactions. 2017-04-19 17:08:28 -05:00
r888888888
113d8824d5 fix bur test 2017-04-19 14:04:36 -07:00
r888888888
cd6a1575de set viewport for default layout 2017-04-18 17:50:04 -07:00
r888888888
e547c82254 update sitemap 2017-04-18 17:30:24 -07:00
r888888888
75249427d9 add schema data for site name 2017-04-18 17:24:01 -07:00
r888888888
bf8f04df0a fix sitelinks searchbox 2017-04-18 17:12:44 -07:00
r888888888
68f057e7ba refactor how artist notes are updated 2017-04-18 17:07:12 -07:00
Albert Yi
e639be60e5 Merge pull request #2977 from evazion/feat-flag-reason-search
Add full text search for flag/appeal reasons
2017-04-17 13:10:28 -07:00
Albert Yi
42f6e8dc48 Merge pull request #2976 from evazion/fix-tests
Fix failing Pixiv tests
2017-04-17 13:09:32 -07:00
Albert Yi
24dd7b05c1 Merge pull request #2975 from evazion/feat-rails-cache
Use Rails.cache as caching backend.
2017-04-17 13:00:52 -07:00
evazion
fb0a8e8600 db: add reason index on post_flags, post_appeals. 2017-04-16 21:15:23 -05:00
evazion
cf9b67efb7 db/structure.sql: add index_pools_on_name_trgm migration. 2017-04-16 21:15:23 -05:00
evazion
54b4a2e0c5 /post_{flags,appeals}: default to fulltext search for reason field. 2017-04-16 21:15:23 -05:00
evazion
c0e5c400a7 tests: fix tests for Rails.cache. 2017-04-16 16:48:36 -05:00
evazion
192190a313 initializers/z_dalli.rb: initialize 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
evazion
87b295b632 Fix exception on /post_flags/new, /post_appeals/new. 2017-04-15 23:15:17 -05:00
evazion
b68cb174f5 tests: fix pixiv tests to use https://i.pixiv.net. 2017-04-15 23:14:41 -05:00
r888888888
6d693799a0 fix trigram index on pools 2017-04-14 16:34:51 -07: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
f5ea5c36cb fix css for remove alias/implication 2017-04-14 13:23:50 -07:00
r888888888
38a2298de9 disable statement timeout 2017-04-14 13:18:16 -07:00
r888888888
5d7d6eecf8 partial fix for #2751 2017-04-14 13:14:36 -07:00
r888888888
144febc104 remove timestamps 2017-04-14 12:49:41 -07:00
r888888888
621bef3ddf Revert "Merge pull request #2952 from evazion/fix-2950"
This reverts commit ae4509a541197684bfb0538f65afa827854b4335, reversing
changes made to eb008a0e765e231a8fdef594759a61798d6bd1d5.
2017-04-14 12:28:58 -07:00
Albert Yi
81964fa571 Merge pull request #2973 from evazion/test-2972
Test pool metatag not saving bug (#2972).
2017-04-14 11:52:35 -07:00
evazion
9b53d32b4c post_archive_test.rb: exercise pool metatag not saving bug (#2972). 2017-04-14 13:49:54 -05:00
r888888888
76b5031bbf add uniqueness constraint on user names 2017-04-13 18:04:06 -07:00
r888888888
62fde705ce calculate vote similarity using jaccard instead of cosine distance 2017-04-13 14:53:03 -07:00
Albert Yi
602a7795f9 Merge pull request #2971 from evazion/feat-flag-preview
Add dtext preview to flags and appeals
2017-04-13 14:50:28 -07:00
evazion
18a2b2a221 dtext_field: use the field name as the label, not "Body".
For flags and appeals, the reason field should be labeled Reason, not Body.
2017-04-13 15:17:55 -05:00
evazion
c90614272a /posts/:id - add dtext preview to flag/appeal dialogs. 2017-04-13 15:17:55 -05:00
r888888888
db4fa8c7da support dynamic updates of forum for bulk update requests 2017-04-12 17:09:09 -07:00
r888888888
cbc886e140 dont scope approver ip addr for tag alias/implication 2017-04-12 16:43:15 -07:00
r888888888
19b8d41d09 refactor forum notifications for tag changes 2017-04-12 16:43:15 -07:00