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
r888888888
8d58e27d0b
additional support for pximg.net hosts
2017-04-03 15:03:26 -07:00
r888888888
54f0474d49
fixes #2930 : Support new Pixiv image hostname (i.pximg.net)
2017-03-27 15:53:32 -07:00
Albert Yi
db09acf8a4
Merge pull request #2932 from evazion/fix-reltags-sqs
...
sqs_service.rb: fix exception when related tags sqs not configured.
2017-03-23 10:46:45 -07:00
Albert Yi
7f7f843763
Merge pull request #2933 from evazion/feat-doc-cosplay-autotags
...
Fix #2931 : mention automated implications on *_(cosplay) wikis.
2017-03-23 10:46:20 -07:00
evazion
d1d0fe9bc5
/moderator/dashboard: optimize sql queries
...
* Converts queries to use active record instead of raw sql. This ensures
that user objects are loaded by rails in the join, so that we
don't have to issue `User.find` calls to load users one-by-one.
* Use `.includes` to preload associations used in the view, to avoid
additional N+1 query problems (primarily, calls to link_to_user
also causing users to be loaded one-by-one).
2017-03-23 04:05:05 -05:00
evazion
90cd029f6f
wiki excerpts: show alias/implication lists even for tags without a wiki.
2017-03-23 03:54:42 -05:00
evazion
f40e50d915
sqs_service.rb: fix exception when related tags sqs not configured.
...
Fixes this exception when Danbooru.config.aws_sqs_enabled? is true but
Danborou.config.aws_sqs_reltagcalc_url is not configured:
ArgumentError exception raised
missing required parameter params[:queue_url]
app/logical/sqs_service.rb:11:in `send_message'
app/models/tag.rb:674:in `update_related_if_outdated'
app/models/tag.rb:698:in `related_tag_array'
app/presenters/post_set_presenters/post.rb:49:in `related_tags_for_single'
app/presenters/post_set_presenters/post.rb:19:in `related_tags'
app/presenters/post_set_presenters/post.rb:8:in `initialize'
app/logical/post_sets/post.rb:181:in `new'
app/logical/post_sets/post.rb:181:in `presenter'
app/views/posts/index.html.erb:14:in `_app_views_posts_index_html_erb___3235672853362939702_47243208308540'
app/controllers/posts_controller.rb:16:in `index'
2017-03-23 03:20:33 -05:00
evazion
2aa3f9ceba
/moderator/dashboard: fix exception when PostArchive isn't enabled.
...
NoMethodError exception raised
undefined method `each' for nil:NilClass
app/views/moderator/dashboards/_activity_tag.html.erb:10:in `_app_views_moderator_dashboards__activity_tag_html_erb__4366063041301266690_47304449138520'
app/views/moderator/dashboards/show.html.erb:10:in `_app_views_moderator_dashboards_show_html_erb___734721021521262965_47304462731220'
2017-03-21 17:17:19 -05:00
r888888888
022d9ede7f
expose bulk revert interface
2017-03-21 14:40:46 -07:00
r888888888
70d057f8f3
move saved search option to sidebar
2017-03-20 16:19:15 -07:00
r888888888
7c6243bca0
remove unused listbooru check in session loader
2017-03-20 13:52:54 -07:00
Albert Yi
9389d1a3a0
Merge pull request #2926 from evazion/fix-mod-dashboard
...
Fix post version reference on /moderator/dashboard
2017-03-20 12:31:30 -07:00
Albert Yi
fe9f31d871
remove timeout block
...
PostArchive isn't subject to statement timeouts so it isn't needed
2017-03-20 12:31:08 -07:00
Albert Yi
3cfacec4bf
Merge pull request #2924 from evazion/feat-hidden-notice
...
/posts: add notice when posts are hidden.
2017-03-20 12:30:15 -07:00
Albert Yi
56bb1d7ba9
Merge pull request #2923 from evazion/feat-source-xml
...
Add /sources.xml endpoint; include backtraces in json
2017-03-20 12:27:07 -07:00
evazion
8341752931
fixup! /moderator/dashboard: fix post version reference.
2017-03-19 17:02:39 -05:00
evazion
cebf592e20
/moderator/dashboard: fix post version reference.
2017-03-18 05:18:01 -05:00
r888888888
3c30e30dc8
fix listbooru reference
2017-03-17 16:44:02 -07:00
evazion
eda97dc1ff
/posts: add notice when posts are hidden.
2017-03-17 00:08:48 -05:00
evazion
28bdfce9f6
/sources: add /sources.xml endpoint.
2017-03-16 18:10:30 -05:00
r888888888
d9a26975ba
fix tests
2017-03-15 16:08:47 -07:00
r888888888
79c0dc3647
fix double escape in gbq
2017-03-13 17:22:21 -07: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
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
r888888888
12e4a82db3
fix upload tags report
2017-02-28 16:28:58 -08:00
Albert Yi
fd7cddc909
Merge branch 'master' into fix-mention-dmails
2017-02-27 17:00:24 -08:00
Albert Yi
1fa0aabbe0
Merge pull request #2896 from evazion/fix-username-whitespace
...
Disallow unicode whitespace in usernames (#2894 ).
2017-02-27 16:47:44 -08:00
r888888888
398f58684f
Merge branch 'post-archive'
2017-02-27 10:45:13 -08:00
evazion
46280f2227
mentions: include mentioner in subject line.
...
The template looks like this:
Subject:
#{creator_name} mentioned you in a comment on post ##{post_id}
Body:
@#{creator_name} mentioned you in a \"comment\":/posts/#{post_id}#comment-#{id} on post ##{post_id}:
[quote]
#{DText.excerpt(body, "@"+user_name)}
[/quote]
2017-02-25 23:05:44 -06:00
evazion
6994231801
mentions: send dmails from DanbooruBot.
2017-02-25 23:05:44 -06:00
evazion
6966b74e18
Disallow unicode whitespace in usernames ( #2894 ).
2017-02-25 01:51:33 -06:00
r888888888
8a57d38f38
remove statement about responding in automated messages
2017-02-24 10:36:45 -08:00
evazion
b1af644f67
dmails: send automated dmails from Danbooru.config.system_user.
...
Sends automated dmails from `Danbooru.config.system_user`, rather than
whichever user is performing the action happens to be (usually User.admins.first).
Also adds a notice in the view that the dmail was automated.
2017-02-23 22:51:17 -06:00
Albert Yi
5404c1d231
implement postarchive
2017-02-21 13:40:52 -08:00
r888888888
ce20a5b36a
remove janitor trial report
2017-02-21 13:10:38 -08:00
r888888888
359f48d871
remove user promotions report
2017-02-21 13:09:43 -08:00
r888888888
6ca83a2f3c
fixes #2890 : Danbooru account upgrades reset permissions
2017-02-21 12:39:45 -08:00
r888888888
f374eec4a1
fixes #2869 : Add way to differentiate Pool Descriptions from Pool History
2017-02-14 16:03:19 -08:00
r888888888
aa41c41572
fixes #2876 : Changing approver/contributor privileges should log mod action
2017-02-14 12:46:54 -08:00
Albert Yi
7aa0107e2b
Merge pull request #2882 from evazion/fix-tag-name-validation
...
Enforce stricter rules for tag names
2017-02-10 12:02:55 -08:00