Giter Site home page Giter Site logo

modlogs's People

Contributors

rhaksw avatar vitosamson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

modlogs's Issues

Show timestamps without javascript

I am very thankful for the work put into making most features work without javascript. If possible, please also render the timestamps (those in the top-right corner of each item) when it is turned off.

disable snoowrap proxy feature

r.config({ proxies: false })

this seems to be causing an issue when performing the initial log fetch for a subreddit with many thousands of logs. mem usage spikes to a gig+ during the insertMany(group) here.

it must have something to do with mongo trying to access properties on the logs that are being inserted, but since they're formatted prior to the insertion (and therefore no longer proxy objects), I'm not sure how that would be happening.

this may require changes outside of reddit.ts

example change: return await this.r.getSubreddit(subredditName).getModerationLog(opts).fetchAll() -> return (await this.r.getSubreddit(subredditName).getModerationLog(opts)).fetchAll()

No longer accepting new subs?

Hi,

I moderate a small-ish regional subreddit but members of the community have expressed interest in us setting up mod action logging. I have not been able to successfully set up the bot (I'm 99% sure I'm doing it right), and per this thread on /r/botwatch, it appears that the modlogs bot is no longer accepting new subreddits.

Is the botwatch thread accurate, and if so, is there any situation in which an exception could be made for our subreddit, or do I need to look into hosting this myself? Any guidance you can provide would be appreciated.

Not accepting invites?

I mod r/UFOs and the bot appears to not be accepting invites. I invited it eleven days ago and it never responded. I tried again today and it still won't accept the invite. Any suggestions?

Add support for configuring modlogs options from the site itself

This would allow authenticated mods to configure the modlogs options directly within the site, rather than having to edit a wikipage and worry about YAML formatting etc. The config should still be saved in the wiki.

This would require requesting wiki permissions during mod authentication.

Create a subreddit for mod issues

Currently mods have to come to github to report issues or feature requests. It would be good to have a subreddit for this for mods who aren't on github.

Bot not working?

I recently added u/modlogs as a moderator to our subreddit (r/collapse) and setup a wiki config page. A page showed up here: https://modlogs.fyi/r/collapse, but it's not populating with anything.

Did I miss a step somehow or is this the bot not working correctly?

Strategy for dealing with the reddit API rate limit

As more subs start using modlogs, it's getting harder to stay under the reddit rate limit. This is especially prevalent during the initial import of a sub's logs, I think, because of the massive amount of requests needed to fetch thousands of logs.

Some quick thoughts:

  • If a job fails, it must be removed from the queue. Otherwise it just sits there inactive but subsequent jobs for the same subreddit will not start because they think the job is already in progress.
  • If a job fails, requeue it with a delay.
  • Set a limit on the number of logs to fetch from reddit. If we fetch only e.g. 1000 at a time, it'll take longer to fetch all of them, but we may not hit the rate limit.

[Feature Request] - Exclude {{match}} keywords from removal reasons.

Hello. At my sub, we've found out that some of our users are scraping the mod logs for what keywords are triggering post removals. They might be planning to use this information to circumvent our AutoMod config. If we could exclude out of the public logs the trigger keywords which are identified by the {{match}} placeholder, this would solve this issue. Yes we can simply remove the {{match}} placeholders in the AutoMod rules themselves, but then we wouldn't have access to that information which can be useful for us. Thanks.

Logs not appearing

I may be an idiot... but logs for /r/MurderedByWords are not appearing on the website, though the subreddit is listed.

Error: Cannot find module '/app/build/server/jobs/consumers'

Hi , I am unable to run the docker image, worker exited with the following error.

worker    | internal/modules/cjs/loader.js:818
worker    |   throw err;
worker    |   ^
worker    |
worker    | Error: Cannot find module '/app/build/server/jobs/consumers'
worker    |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
worker    |     at Function.Module._load (internal/modules/cjs/loader.js:667:27)
worker    |     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
worker    |     at internal/main/run_main_module.js:17:47 {
worker    |   code: 'MODULE_NOT_FOUND',
worker    |   requireStack: []
worker    | }
worker exited with code 1

Any fix for that?

Requesting access to databse

Hi Vito,

I am a graduate research student in computer science (natural language processing) at University of Massachusetts Amherst. I am hoping to use the Reddit public moderation logs in future study of "Causal Effects of Online Moderation." Just a few questions:

(1) Just want to double-check to make sure the moderation logs are indeed public and able to be used for research purposes (not violating any terms of service or consent of the users or moderators).

(2) I could scrape the webpages from directly from https://modlogs.fyi. However, it would be much cleaner if I was able to access the database of modlogs directly. Any way you can help me out with this?

Please email me: kkeith [at] cs [dot] umass [dot] edu

Thank you for your time!
Katie

exclude_actions and exclude_moderators does not work

After a lot of fenangling I am unable to get the exclude actions or moderators working in the config.

The config is found at the correct url and the modlogs mod has wiki permissions

syntax used:

exclude_actions: [wikirevise]

exclude_moderators: [AutoModerator]

syntax tried:

exclude_actions: [ "wikirevise " ]

exclude_moderators: [ "AutoModerator" ]

Am I missing something?

top offender report seems to be triggering a user report

[ReportsQueueConsumer] 21:15:03 processing top offenders report for BTCgreece (message t4_bv5kg0)
[TopOffendersReportGenerator] 21:15:03 generating top offenders report
[TopOffendersReportGenerator] 21:15:03 subreddit: BTCgreece, period: 14 days (1525305600000), limit: 10
[TopOffendersReportGenerator] 21:15:03 finished generating top offenders report for 9 in %sms
[ReportsQueueConsumer] 21:15:03 finished processing top offenders report for BTCgreece
[UserReportGenerator] 21:15:03 running user report
[UserReportGenerator] 21:15:03 subreddit: BTCgreece, user: undefined, period: 14 days (1525305600000)
[ReportsQueueConsumer] 21:15:03 unknown report type top offenders
[ReportsQueueConsumer] 21:15:04 marked message t4_bv5kg0 as read

setup db backups to AWS glacier

backups should run weekly for the modlogs_logs and modlogs_internal databases
keep only two backups stored at a time. older backups should be deleted to reduce storage costs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.