Commit Graph

43 Commits

Author SHA1 Message Date
r888888888
9757700ec7 fix post archive presenter 2017-05-02 15:57:42 -07:00
r888888888
48e9856f37 fixes #3007: Eliminate Janitor role 2017-05-01 14:38:30 -07:00
evazion
3290f5550a post_versions/_listing.html.erb:40: fix N+1 queries in "Undo" link.
post_version.post.versions.first.id caused an extra query for each post version:

    SELECT "post_versions".* FROM "post_versions" WHERE "post_versions"."post_id" = $1 ORDER BY updated_at ASC, id asc LIMIT 1
2017-03-02 17:46:14 -06:00
evazion
f13f9e7163 post_versions/index.html.erb:5: avoid extraneous COUNT.
@post_versions.empty? caused this query:

    SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "post_versions" WHERE (true) LIMIT 20 OFFSET 0) subquery_for_count

which is unnecessary since @post_versions can be counted directly.
2017-03-02 17:45:20 -06:00
evazion
bdf3366bcf Link IP addresses to IP searches. 2017-01-12 09:15:14 +00:00
r888888888
5b48d272f2 add basic user revert functionality 2016-09-28 11:38:34 -07:00
r888888888
e539fdecff implement post change report 2016-09-07 14:35:44 -07:00
r888888888
2ce86ecb8b add support for post version queries 2016-06-21 13:14:27 -07:00
r888888888
1d9596d7f2 fixes #2417 2015-06-29 18:17:59 -07:00
Toks
5f12a5e555 fixes #2165 2014-05-25 14:50:07 -04:00
r888888888
aab03422bc performance tweaks for rails 4.1 2014-04-24 22:24:42 -07:00
ghostrigger
0446ce588c for #1896
modify Posts to Listing in /post_versions
2013-07-27 00:27:39 +08:00
Toks
88afa23223 Standardize ip address visibility; fixes #1203 2013-07-11 21:05:56 -04:00
Toks
7726e85e33 fixes #866 2013-06-21 21:55:47 -04:00
Toks
da95c69897 add link to main post version listing from post version subnavbar 2013-06-16 22:49:01 -04:00
Toks
2d0c3d16a3 fix #1724 for posts 2013-06-09 15:18:09 -04:00
Toks
77dfd91702 fixes #1658; fixes #1592 2013-05-25 19:49:19 -04:00
Toks
b008b6f10f remove start_id link for post versions 2013-04-24 17:38:36 -04:00
Toks
9d8330e905 fixes #748 2013-04-20 12:17:13 -04:00
Toks
3648db0928 fixes #1139, fix other history page inconsistencies 2013-04-05 16:24:27 -04:00
Toks
8b33cac661 replace old user links with new format 2013-04-04 23:16:28 -04:00
Toks
b025256480 add user classes on more pages 2013-03-31 10:31:28 -04:00
小太
1a03a86592 Kill trailing whitespace in erb files 2013-03-19 23:11:58 +11:00
albert
8911738909 fix post version diff method 2013-02-23 16:04:09 -05:00
albert
63394ef161 remove unnecessary count query for post_versions listing 2013-02-20 14:18:33 -05:00
albert
359a17674c fixes #429 2013-02-19 14:36:31 -05:00
albert
f1e6a5353d fixes #352 2013-01-24 17:28:41 -05:00
albert
8749c43b3e refactored search 2013-01-10 17:45:52 -05:00
albert
0151d21470 fixes #316 2012-02-20 14:56:27 -05:00
albert
e4295dfc60 fix for #241 2012-01-07 22:49:03 -05:00
albert
19c6c8932f fixes #199 2012-01-06 18:27:46 -05:00
albert
f6367aab49 layout fixes 2011-11-03 17:14:41 -04:00
albert
34ae712be0 fixed titles 2011-10-23 16:55:57 -04:00
albert
69044f3389 reverted post version tag change for danbooru2 2011-10-22 21:34:32 -04:00
albert
ba4052e831 fixes #75: History tags dont have a revert function 2011-09-15 18:57:50 -04:00
albert
12d85416ec fixes #51: Post change search issue 2011-09-14 13:13:28 -04:00
albert
24bf21540a refactoring views 2011-08-16 18:47:01 -04:00
albert
c8afd34d15 added ip addr search 2011-07-29 18:04:50 -04:00
albert
e9bab19d51 changes 2011-06-29 13:06:25 -04:00
albert
07f8dba7f2 work 2011-06-21 12:20:22 -04:00
albert
cbd877d020 fixed comment vote functional test 2011-04-01 19:01:17 -04:00
albert
9e7efbd295 stubbed in view code from old danbooru; only janitors can lock a wiki page 2011-02-28 14:18:39 -05:00
albert
f7e2344b9f * Reworked how post versioning works, now more closely resembles the 1.18 strategy 2011-01-26 18:10:49 -05:00