Albert Yi
cae86d8290
add role check for displaying ip address
2017-03-20 13:45:56 -07:00
evazion
85d1f18ba5
comments: make commenter ip addresses visible to mods.
2017-03-19 23:41:25 -05:00
evazion
396d466a9b
/posts/:id - make flagger/appealer ip addresses visible to mods.
2017-03-19 23:41:09 -05:00
r888888888
d22d655d43
fix Post#set_tag_counts
2017-03-17 19:10:55 -07:00
r888888888
f1ba075bea
support disable_cache for Tag.categories_for
2017-03-17 18:41:33 -07:00
r888888888
5cef0321f2
switch to use Cache.get_multi for tag types
2017-03-17 18:36:53 -07:00
r888888888
c5cfca3a3c
fix bug with mobile styles
2017-03-17 16:59:58 -07:00
r888888888
3c30e30dc8
fix listbooru reference
2017-03-17 16:44:02 -07:00
r888888888
c3c4952e35
do not limit flags for system user
2017-03-17 12:17:27 -07:00
r888888888
ecdea34323
revert e7b3fae215
2017-03-17 12:13:27 -07:00
r888888888
998a6494ed
drop post versions table
2017-03-16 15:56:42 -07:00
r888888888
78fdc79db9
add statement timeout to migration
2017-03-16 15:32:25 -07:00
r888888888
bdeba94b31
fix error case in saved search
2017-03-16 15:17:55 -07:00
r888888888
e7b3fae215
change daily flag limit to 5/day
2017-03-16 14:32:04 -07:00
r888888888
d9a26975ba
fix tests
2017-03-15 16:08:47 -07:00
r888888888
da06bee0ab
revamp saved search implementation
2017-03-15 15:36:48 -07:00
r888888888
79c0dc3647
fix double escape in gbq
2017-03-13 17:22:21 -07:00
r888888888
83a5856627
include cache proxy config for nginx
2017-03-13 16:26:07 -07:00
r888888888
e946d23fa7
enable s3 proxy (wave 1)
2017-03-09 18:18:06 -08:00
r888888888
97cc8b5931
ignore privacy mode settings for admins
2017-03-09 13:52:46 -08:00
r888888888
537a293761
add links for random samples of uploads and favs
2017-03-09 13:50:32 -08:00
r888888888
43f31529d7
fixes #2920 : "Undo" function not working for Post Versions
2017-03-09 11:44:28 -08:00
r888888888
865a2ca165
count searches even for tag links
2017-03-08 17:25:01 -08:00
r888888888
26267cd238
add fix script for user names
2017-03-06 16:59:24 -08:00
r888888888
51c752be2f
do not normalize name before validating
2017-03-06 16:54:24 -08:00
r888888888
3c581adbc3
fixes #2915 : Translated Tags should be smarter (split by delimiters)
2017-03-06 15:29:05 -08:00
r888888888
7f2ad3c80b
validate max length of forum topic
2017-03-06 15:13:30 -08:00
Albert Yi
8b6441a4da
Merge pull request #2917 from evazion/fix-2913
...
Possible fix for "Unable to Create New Topics With 255 Characters or Less" (#2913 )
2017-03-06 15:12:51 -08:00
evazion
ba408c8718
simple_form: regen config files ( #2913 ).
...
Regens simple form config using `rails generate simple_form:install`.
Seems to fix #2913 (erroneous minlength validations being enforced as of
simple_form 3.4.0).
2017-03-03 17:21:37 -06:00
Albert Yi
34a26d71db
Merge pull request #2912 from evazion/opt-post-archive
...
Fix N+1 queries issues on /post_versions
2017-03-03 14:40:12 -08:00
Albert Yi
495979cf3e
Merge pull request #2916 from evazion/fix-2914
...
Fix 'Posts Report "Reviewed by 0 Moderators"' (#2914 ).
2017-03-03 14:30:59 -08:00
evazion
167d86d4ec
Fix 'Posts Report "Reviewed by 0 Moderators"' ( #2914 ).
2017-03-03 15:35:01 -06:00
Albert Yi
bfca698632
Merge pull request #2909 from evazion/fix-dmail-ip-addr
...
dmails: don't default IP addr to 127.0.0.1 in database (fixes #2908 ).
2017-03-03 11:59:29 -08:00
evazion
d4b9b66c0e
post_versions_controller.rb: fix N+1 queries in post, updater.
...
Rendering the updater name at post_versions/_listing.html:25 caused
this for each post version:
SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1
PostArchive#diff caused this for each post version:
SELECT "posts".* FROM "posts" WHERE "posts"."id" = $1 LIMIT 1
2017-03-02 17:47:20 -06: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
3db7244109
post_archive.rb: readd associations.
2017-03-02 17:45:16 -06:00
Type-kun
47f0d98a0f
Update dtext gem to current revision
2017-03-02 12:35:14 +05:00
evazion
02122343c3
dmails: don't default IP addr to 127.0.0.1 in database ( fixes #2908 ).
...
Bug introduced in 1400f64; that commit changed dmails so that
creator_ip_addr defaulted to CurrentUser.ip_addr like this:
after_initialize :initialize_attributes, if: :new_record?
def initialize_attributes
self.from_id ||= CurrentUser.id
self.creator_ip_addr ||= CurrentUser.ip_addr
end
...but creator_ip_addr already defaulted to 127.0.0.1 from the database,
so the ||= assignment didn't work. Remove the database default so we
always default to CurrentUser.ip_addr.
2017-03-01 19:51:48 -06:00
r888888888
5676978096
require membership to see post history
2017-03-01 16:29:00 -08:00
Albert Yi
704d7bd560
Merge pull request #2906 from evazion/feat-modqueue-hilite-bad-tags
...
Modqueue: highlight uploads containing "bad" tags.
2017-03-01 13:36:39 -08:00
evazion
2bb134f08d
modqueue: highlight uploads containing "bad" tags.
2017-03-01 15:31:16 -06:00
Albert Yi
6de3e8ae4c
Merge pull request #2905 from evazion/fix-scss
...
Fix "DEPRECATION WARNING: Extra .css in SCSS file is unnecessary."
2017-03-01 13:18:12 -08:00
r888888888
e94edc9a75
switch approver and post pruners to use system user
2017-02-28 17:10:36 -08:00
evazion
21e76d55e6
Remove extraneous byte-ordering marks.
2017-02-28 19:01:10 -06:00
evazion
5fffbb4be5
stylesheets: fix @import "*.css.scss" to "*.scss".
2017-02-28 19:01:10 -06:00
evazion
df3925ecb4
stylesheets: rename *.css.scss -> *.scss.
...
Fixes "DEPRECATION WARNING: Extra .css in SCSS file is unnecessary."
2017-02-28 19:01:09 -06:00
r888888888
27f7f4f12e
remove postarchive export method
2017-02-28 16:50:51 -08:00
r888888888
12e4a82db3
fix upload tags report
2017-02-28 16:28:58 -08:00
r888888888
7f22baa1bc
refactor upload tags report
2017-02-28 15:34:40 -08:00