Commit Graph

59 Commits

Author SHA1 Message Date
evazion
ec8c427ef3 reports/uploads: remove upload report page. 2020-01-13 12:58:20 -06:00
evazion
85676ddb74 upload limits: refactor deletion confidence calculation. 2020-01-13 12:53:44 -06:00
evazion
0b08f38b8b flags: remove uploader targeting restrictions.
Remove restrictions against flagging too many posts by the same
uploader. This had problems with preventing legitimate flags in some
cases, particularly with old legacy content. This will be policed
manually instead.
2020-01-13 12:39:16 -06:00
evazion
917ffa87ed users: remove score confidence intervals from /users index.
These were originally used to find uploaders with high-scoring uploads
for promotion purposes. The weekly reports generated by Reportbooru are
better suited for this.

Also clean up some unused and redundant code.
2020-01-02 01:44:03 -06:00
evazion
309821bf73 rubocop: fix various style issues. 2019-12-22 21:23:37 -06:00
evazion
1341dbb262 Remove post changes report.
This was a mod-only report that used Google BigQuery to search post
versions by tag. 2b4ee0ee8 allows all users to search post versions by
tag, so this report is no longer necessary.
2019-09-27 21:12:53 -05:00
evazion
d0f060d8eb api: refactor api attribute declarations.
Replace the `method_attributes` and `hidden_attributes` methods with
`api_attributes`. `api_attributes` can be used as a class macro:

    # include only the given attributes.
    api_attributes :id, :created_at, :creator_name, ...

    # include all default attributes plus the `creator_name` method.
    api_attributes including: [:creator_name]

or as an instance method:

    def api_attributes
       [:id, :created_at, :creator_name, ...]
    end

By default, all attributes are included except for IP addresses and
tsvector columns.
2019-09-08 23:28:02 -05:00
Albert Yi
718e641f51 remove similar users report 2018-08-03 17:40:00 -07:00
Albert Yi
89e2071c14 remove unused code 2018-07-05 16:59:28 -07:00
Albert Yi
cdcd4d4014 Add additional post flag validation preventing targeting 2018-06-26 15:09:39 -07:00
Albert Yi
a0aa2f3f4a fixes #3276 2018-05-15 14:30:28 -07:00
r888888888
97ce9cafac add httparty option config 2017-07-12 15:52:48 -07:00
r888888888
eb6c5e3af5 switch to httparty 2017-07-12 15:52:48 -07: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
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
12e4a82db3 fix upload tags report 2017-02-28 16:28:58 -08: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
Albert Yi
e7907e0e14 rename some config keys to clarify what they are 2016-11-28 17:31:01 -08:00
r888888888
34d1f95cbf potential fix for #2687: Post changes report doesn't handle nil results 2016-09-26 12:13:41 -07:00
r888888888
bbcf2ee22d fixes #2676: fix super voters 2016-09-16 16:34:48 -07:00
r888888888
c10176e64d add upvote and downvote metatags 2016-09-08 17:48:50 -07:00
r888888888
e56d71a7d2 change super voter to look at recent votes instead 2016-09-08 17:21:46 -07:00
r888888888
e539fdecff implement post change report 2016-09-07 14:35:44 -07:00
r888888888
310538dd71 implement post version search report in danbooru (probably broken) 2016-09-06 18:02:58 -07:00
r888888888
2ce86ecb8b add support for post version queries 2016-06-21 13:14:27 -07:00
r888888888
2a87aad34e implement super voters 2016-02-22 14:11:25 -08:00
r888888888
18c84e4b0f account for https 2015-12-30 19:07:01 -08:00
r888888888
f3071e66ec add user similarity report 2015-12-30 18:13:59 -08:00
r888888888
3695ad42b3 enable reportbooru integration for upload reports 2015-12-16 15:55:38 -08:00
r888888888
4cf7effc4a fixes #2542: User promotion report shows wrong users 2015-11-02 12:45:48 -08:00
r888888888
09ca8df6b3 change user deletion scope from 120 days to 60 days 2015-10-19 14:33:05 -07:00
r888888888
6480864718 fixes #2469 2015-10-15 15:24:24 -07:00
r888888888
8b3b2d18c8 change report time range to match actual upload formula 2015-09-23 14:06:58 -07:00
r888888888
1ad8e82c70 fix user promotion report 2015-09-23 14:01:41 -07:00
r888888888
62bc85a669 fix janitor trial report 2015-09-17 11:41:44 -07:00
r888888888
486cdcb039 fixes #2517: Janitor trial report broken 2015-09-17 11:35:50 -07:00
r888888888
a098052ec1 fix report 2015-09-14 15:57:41 -07:00
r888888888
872c20e8d2 include upload limit in user promotion report 2015-09-14 15:42:29 -07:00
r888888888
e06d8a3cc7 report negative score chance on janitor trial report 2015-08-20 14:23:45 -07:00
r888888888
d44dd09a88 revise janitor trial report 2015-08-20 14:11:46 -07:00
r888888888
554a616963 fixes #2481: Include approvers on janitor trial report 2015-08-11 15:47:39 -07:00
r888888888
23dfc455d5 simplify contributor report 2015-08-07 17:29:33 -07:00
r888888888
e37775afc2 fixes #2480: Report for contributors 2015-08-07 17:23:39 -07:00
r888888888
5923d869aa include mods+admins in janitor report for comparison 2015-06-18 12:30:28 -07:00
r888888888
d44495ff9e improve janitor/promotion reports, fix bug with forum post counts 2015-06-18 12:04:19 -07:00
r888888888
b845d61db3 add quartile+median scores to promotion report 2015-06-16 17:48:49 -07:00